diff --git a/modules/webapp/src/main/elm/App/View.elm b/modules/webapp/src/main/elm/App/View.elm index 63e4839f..8ff8e890 100644 --- a/modules/webapp/src/main/elm/App/View.elm +++ b/modules/webapp/src/main/elm/App/View.elm @@ -230,7 +230,7 @@ loginInfo model = , div [ class "divider" ] [] , a [ class "icon item" - , href "" + , href "#" , onClick Logout ] [ i [ class "sign out icon" ] [] diff --git a/modules/webapp/src/main/elm/Comp/ContactField.elm b/modules/webapp/src/main/elm/Comp/ContactField.elm index f93c34ac..cc283783 100644 --- a/modules/webapp/src/main/elm/Comp/ContactField.elm +++ b/modules/webapp/src/main/elm/Comp/ContactField.elm @@ -135,7 +135,7 @@ view1 settings compact model = , value model.value ] [] - , a [ class "ui button", onClick AddContact, href "" ] + , a [ class "ui button", onClick AddContact, href "#" ] [ text "Add" ] ] diff --git a/modules/webapp/src/main/elm/Comp/Dropzone.elm b/modules/webapp/src/main/elm/Comp/Dropzone.elm index b34381ec..8c650593 100644 --- a/modules/webapp/src/main/elm/Comp/Dropzone.elm +++ b/modules/webapp/src/main/elm/Comp/Dropzone.elm @@ -129,7 +129,7 @@ view model = , ( "disabled", not model.state.active ) ] , onClick PickFiles - , href "" + , href "#" ] [ i [ class "folder open icon" ] [] , text "Select ..." diff --git a/modules/webapp/src/main/elm/Comp/EmailSettingsManage.elm b/modules/webapp/src/main/elm/Comp/EmailSettingsManage.elm index 953e2c7c..100d92d4 100644 --- a/modules/webapp/src/main/elm/Comp/EmailSettingsManage.elm +++ b/modules/webapp/src/main/elm/Comp/EmailSettingsManage.elm @@ -268,12 +268,12 @@ viewForm settings model = , a [ class "ui secondary button" , onClick (SetViewMode Table) - , href "" + , href "#" ] [ text "Cancel" ] , if model.formModel.settings.name /= "" then - a [ class "ui right floated red button", href "", onClick RequestDelete ] + a [ class "ui right floated red button", href "#", onClick RequestDelete ] [ text "Delete" ] else diff --git a/modules/webapp/src/main/elm/Comp/EquipmentManage.elm b/modules/webapp/src/main/elm/Comp/EquipmentManage.elm index 9542f518..8bf4e1a9 100644 --- a/modules/webapp/src/main/elm/Comp/EquipmentManage.elm +++ b/modules/webapp/src/main/elm/Comp/EquipmentManage.elm @@ -282,11 +282,11 @@ viewForm model = , button [ class "ui primary button", type_ "submit" ] [ text "Submit" ] - , a [ class "ui secondary button", onClick (SetViewMode Table), href "" ] + , a [ class "ui secondary button", onClick (SetViewMode Table), href "#" ] [ text "Cancel" ] , if not newEquipment then - a [ class "ui right floated red button", href "", onClick RequestDelete ] + a [ class "ui right floated red button", href "#", onClick RequestDelete ] [ text "Delete" ] else diff --git a/modules/webapp/src/main/elm/Comp/ImapSettingsManage.elm b/modules/webapp/src/main/elm/Comp/ImapSettingsManage.elm index 7536e91f..bb33e10e 100644 --- a/modules/webapp/src/main/elm/Comp/ImapSettingsManage.elm +++ b/modules/webapp/src/main/elm/Comp/ImapSettingsManage.elm @@ -268,12 +268,12 @@ viewForm settings model = , a [ class "ui secondary button" , onClick (SetViewMode Table) - , href "" + , href "#" ] [ text "Cancel" ] , if model.formModel.settings.name /= "" then - a [ class "ui right floated red button", href "", onClick RequestDelete ] + a [ class "ui right floated red button", href "#", onClick RequestDelete ] [ text "Delete" ] else diff --git a/modules/webapp/src/main/elm/Comp/ItemDetail/EditMenu.elm b/modules/webapp/src/main/elm/Comp/ItemDetail/EditMenu.elm index 82578a52..8bd70dd0 100644 --- a/modules/webapp/src/main/elm/Comp/ItemDetail/EditMenu.elm +++ b/modules/webapp/src/main/elm/Comp/ItemDetail/EditMenu.elm @@ -772,7 +772,7 @@ item visible. This message will disappear then. actionInputDatePicker model.itemDatePicker ) - , a [ class "ui icon button", href "", onClick RemoveDate ] + , a [ class "ui icon button", href "#", onClick RemoveDate ] [ i [ class "trash alternate outline icon" ] [] ] , Icons.dateIcon "" @@ -791,7 +791,7 @@ item visible. This message will disappear then. actionInputDatePicker model.dueDatePicker ) - , a [ class "ui icon button", href "", onClick RemoveDueDate ] + , a [ class "ui icon button", href "#", onClick RemoveDueDate ] [ i [ class "trash alternate outline icon" ] [] ] , Icons.dueDateIcon "" ] diff --git a/modules/webapp/src/main/elm/Comp/ItemDetail/View.elm b/modules/webapp/src/main/elm/Comp/ItemDetail/View.elm index 2529b6b7..b541f20b 100644 --- a/modules/webapp/src/main/elm/Comp/ItemDetail/View.elm +++ b/modules/webapp/src/main/elm/Comp/ItemDetail/View.elm @@ -155,7 +155,7 @@ renderDetailMenu settings inav model = ] , title "Edit Metadata" , onClick ToggleMenu - , href "" + , href "#" ] [ i [ class "edit icon" ] [] ] @@ -835,7 +835,7 @@ item visible. This message will disappear then. actionInputDatePicker model.itemDatePicker ) - , a [ class "ui icon button", href "", onClick RemoveDate ] + , a [ class "ui icon button", href "#", onClick RemoveDate ] [ i [ class "trash alternate outline icon" ] [] ] , Icons.dateIcon "" @@ -855,7 +855,7 @@ item visible. This message will disappear then. actionInputDatePicker model.dueDatePicker ) - , a [ class "ui icon button", href "", onClick RemoveDueDate ] + , a [ class "ui icon button", href "#", onClick RemoveDueDate ] [ i [ class "trash alternate outline icon" ] [] ] , Icons.dueDateIcon "" ] @@ -957,7 +957,7 @@ renderSuggestions model mkName idnames tagger = , div [ class "menu" ] <| (idnames |> List.take 5 - |> List.map (\p -> a [ class "item", href "", onClick (tagger p) ] [ text (mkName p) ]) + |> List.map (\p -> a [ class "item", href "#", onClick (tagger p) ] [ text (mkName p) ]) ) ] ] diff --git a/modules/webapp/src/main/elm/Comp/ItemList.elm b/modules/webapp/src/main/elm/Comp/ItemList.elm index a6876184..dc1dee5f 100644 --- a/modules/webapp/src/main/elm/Comp/ItemList.elm +++ b/modules/webapp/src/main/elm/Comp/ItemList.elm @@ -108,7 +108,7 @@ view model = [ class "item" , title "Expand all" , onClick ExpandAll - , href "" + , href "#" ] [ i [ class "double angle down icon" ] [] ] @@ -116,7 +116,7 @@ view model = [ class "item" , title "Collapse all" , onClick CollapseAll - , href "" + , href "#" ] [ i [ class "double angle up icon" ] [] ] @@ -166,7 +166,7 @@ viewGroup model group = , a [ class "header" , onClick (ToggleGroupState group) - , href "" + , href "#" ] [ text group.name ] diff --git a/modules/webapp/src/main/elm/Comp/OrgManage.elm b/modules/webapp/src/main/elm/Comp/OrgManage.elm index ad56269d..5bd7659b 100644 --- a/modules/webapp/src/main/elm/Comp/OrgManage.elm +++ b/modules/webapp/src/main/elm/Comp/OrgManage.elm @@ -283,11 +283,11 @@ viewForm settings model = , button [ class "ui primary button", type_ "submit" ] [ text "Submit" ] - , a [ class "ui secondary button", onClick (SetViewMode Table), href "" ] + , a [ class "ui secondary button", onClick (SetViewMode Table), href "#" ] [ text "Cancel" ] , if not newOrg then - a [ class "ui right floated red button", href "", onClick RequestDelete ] + a [ class "ui right floated red button", href "#", onClick RequestDelete ] [ text "Delete" ] else diff --git a/modules/webapp/src/main/elm/Comp/PersonManage.elm b/modules/webapp/src/main/elm/Comp/PersonManage.elm index 14241bf0..7d73fc1e 100644 --- a/modules/webapp/src/main/elm/Comp/PersonManage.elm +++ b/modules/webapp/src/main/elm/Comp/PersonManage.elm @@ -326,14 +326,14 @@ viewForm settings model = , a [ class "ui secondary button" , onClick (SetViewMode Table) - , href "" + , href "#" ] [ text "Cancel" ] , if not newPerson then a [ class "ui right floated red button" - , href "" + , href "#" , onClick RequestDelete ] [ text "Delete" ] diff --git a/modules/webapp/src/main/elm/Comp/SourceManage.elm b/modules/webapp/src/main/elm/Comp/SourceManage.elm index 4e79cd8c..42a33446 100644 --- a/modules/webapp/src/main/elm/Comp/SourceManage.elm +++ b/modules/webapp/src/main/elm/Comp/SourceManage.elm @@ -389,11 +389,11 @@ viewForm flags settings model = , button [ class "ui primary button", type_ "submit" ] [ text "Submit" ] - , a [ class "ui secondary button", onClick SetTableView, href "" ] + , a [ class "ui secondary button", onClick SetTableView, href "#" ] [ text "Cancel" ] , if not newSource then - a [ class "ui right floated red button", href "", onClick RequestDelete ] + a [ class "ui right floated red button", href "#", onClick RequestDelete ] [ text "Delete" ] else diff --git a/modules/webapp/src/main/elm/Comp/TagManage.elm b/modules/webapp/src/main/elm/Comp/TagManage.elm index 41a2f708..feff8c18 100644 --- a/modules/webapp/src/main/elm/Comp/TagManage.elm +++ b/modules/webapp/src/main/elm/Comp/TagManage.elm @@ -291,11 +291,11 @@ viewForm model = , button [ class "ui primary button", type_ "submit" ] [ text "Submit" ] - , a [ class "ui secondary button", onClick (SetViewMode Table), href "" ] + , a [ class "ui secondary button", onClick (SetViewMode Table), href "#" ] [ text "Cancel" ] , if not newTag then - a [ class "ui right floated red button", href "", onClick RequestDelete ] + a [ class "ui right floated red button", href "#", onClick RequestDelete ] [ text "Delete" ] else diff --git a/modules/webapp/src/main/elm/Comp/UserManage.elm b/modules/webapp/src/main/elm/Comp/UserManage.elm index a8d077b3..d007e562 100644 --- a/modules/webapp/src/main/elm/Comp/UserManage.elm +++ b/modules/webapp/src/main/elm/Comp/UserManage.elm @@ -253,11 +253,11 @@ viewForm settings model = , button [ class "ui primary button", type_ "submit" ] [ text "Submit" ] - , a [ class "ui secondary button", onClick (SetViewMode Table), href "" ] + , a [ class "ui secondary button", onClick (SetViewMode Table), href "#" ] [ text "Cancel" ] , if not newUser then - a [ class "ui right floated red button", href "", onClick RequestDelete ] + a [ class "ui right floated red button", href "#", onClick RequestDelete ] [ text "Delete" ] else diff --git a/modules/webapp/src/main/elm/Comp/YesNoDimmer.elm b/modules/webapp/src/main/elm/Comp/YesNoDimmer.elm index 8421bdb5..a985f4d4 100644 --- a/modules/webapp/src/main/elm/Comp/YesNoDimmer.elm +++ b/modules/webapp/src/main/elm/Comp/YesNoDimmer.elm @@ -120,11 +120,11 @@ view2 active settings model = ] , div [ class "content" ] [ div [ class "ui buttons" ] - [ a [ class "ui primary button", onClick ConfirmDelete, href "" ] + [ a [ class "ui primary button", onClick ConfirmDelete, href "#" ] [ text settings.confirmButton ] , div [ class "or" ] [] - , a [ class "ui secondary button", onClick Disable, href "" ] + , a [ class "ui secondary button", onClick Disable, href "#" ] [ text settings.cancelButton ] ] diff --git a/modules/webapp/src/main/elm/Page/Home/View.elm b/modules/webapp/src/main/elm/Page/Home/View.elm index b4c93634..435aa293 100644 --- a/modules/webapp/src/main/elm/Page/Home/View.elm +++ b/modules/webapp/src/main/elm/Page/Home/View.elm @@ -87,7 +87,7 @@ view flags settings model = [ class "borderless item" , onClick (DoSearch BasicSearch) , title "Run search query" - , href "" + , href "#" , disabled model.searchInProgress ] [ i diff --git a/modules/webapp/src/main/elm/Page/NewInvite/View.elm b/modules/webapp/src/main/elm/Page/NewInvite/View.elm index 7e6f8b50..95ef0723 100644 --- a/modules/webapp/src/main/elm/Page/NewInvite/View.elm +++ b/modules/webapp/src/main/elm/Page/NewInvite/View.elm @@ -51,7 +51,7 @@ view flags model = ] [ text "Submit" ] - , a [ class "ui right floated button", href "", onClick Reset ] + , a [ class "ui right floated button", href "#", onClick Reset ] [ text "Reset" ] , resultMessage model diff --git a/modules/webapp/src/main/elm/Page/Upload/View.elm b/modules/webapp/src/main/elm/Page/Upload/View.elm index b5b96ae3..02fb04b6 100644 --- a/modules/webapp/src/main/elm/Page/Upload/View.elm +++ b/modules/webapp/src/main/elm/Page/Upload/View.elm @@ -25,10 +25,10 @@ view mid model = ] , Html.map DropzoneMsg (Comp.Dropzone.view model.dropzone) , div [ class "ui bottom attached segment" ] - [ a [ class "ui primary button", href "", onClick SubmitUpload ] + [ a [ class "ui primary button", href "#", onClick SubmitUpload ] [ text "Submit" ] - , a [ class "ui secondary button", href "", onClick Clear ] + , a [ class "ui secondary button", href "#", onClick Clear ] [ text "Reset" ] ] @@ -91,7 +91,7 @@ renderSuccessMsg public _ = ] , p [] [ text "Click " - , a [ class "ui link", href "", onClick Clear ] + , a [ class "ui link", href "#", onClick Clear ] [ text "Reset" ] , text " to upload more files."