summaryrefslogtreecommitdiff
path: root/elm/User
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-12-01 09:22:20 +0100
committerYorhel <git@yorhel.nl>2019-12-01 13:40:59 +0100
commit165b62acc991cbf30cb721af27b04a066dbc9413 (patch)
tree34cbe7fef4a020fe121ddf1026dd6be13e9498a2 /elm/User
parentb2ba46a9a0900d2b9d62a5ff84c4d4c9d9780abc (diff)
v2rw: Convert thread display + poll voting
I did not reimplement the 'poll_recast' and 'poll_preview' settings, these actions are now always permitted. Updated CSS a little bit to highlight the linked post and fix the double border at the bottom. The nice thing about the sql_visible_threads() function I wrote earlier is that is can also be used for access control on a single thread. More code re-use. \o/
Diffstat (limited to 'elm/User')
-rw-r--r--elm/User/Edit.elm2
-rw-r--r--elm/User/Login.elm2
-rw-r--r--elm/User/PassReset.elm2
-rw-r--r--elm/User/PassSet.elm2
-rw-r--r--elm/User/Register.elm2
5 files changed, 5 insertions, 5 deletions
diff --git a/elm/User/Edit.elm b/elm/User/Edit.elm
index 1a13cdb1..1a9b9a55 100644
--- a/elm/User/Edit.elm
+++ b/elm/User/Edit.elm
@@ -217,7 +217,7 @@ view model =
]
, div [ class "mainbox" ]
- [ fieldset [ class "submit" ] [ submitButton "Submit" model.state (not model.passNeq) False ]
+ [ fieldset [ class "submit" ] [ submitButton "Submit" model.state (not model.passNeq) ]
, if not model.mailConfirm then text "" else
div [ class "notice" ]
[ text "A confirmation email has been sent to your new address. Your address will be updated after following the instructions in that mail." ]
diff --git a/elm/User/Login.elm b/elm/User/Login.elm
index bef69cb5..cc25d132 100644
--- a/elm/User/Login.elm
+++ b/elm/User/Login.elm
@@ -144,6 +144,6 @@ view model =
in form_ Submit (model.state == Api.Loading)
[ if model.insecure then changeBox else loginBox
, div [ class "mainbox" ]
- [ fieldset [ class "submit" ] [ submitButton "Submit" model.state True False ]
+ [ fieldset [ class "submit" ] [ submitButton "Submit" model.state True ]
]
]
diff --git a/elm/User/PassReset.elm b/elm/User/PassReset.elm
index ad265c87..c1b5b516 100644
--- a/elm/User/PassReset.elm
+++ b/elm/User/PassReset.elm
@@ -81,6 +81,6 @@ view model =
]
]
, div [ class "mainbox" ]
- [ fieldset [ class "submit" ] [ submitButton "Submit" model.state True False ]
+ [ fieldset [ class "submit" ] [ submitButton "Submit" model.state True ]
]
]
diff --git a/elm/User/PassSet.elm b/elm/User/PassSet.elm
index 3c5c50bc..bc5cc24d 100644
--- a/elm/User/PassSet.elm
+++ b/elm/User/PassSet.elm
@@ -84,6 +84,6 @@ view model =
]
]
, div [ class "mainbox" ]
- [ fieldset [ class "submit" ] [ submitButton "Submit" model.state True False ]
+ [ fieldset [ class "submit" ] [ submitButton "Submit" model.state True ]
]
]
diff --git a/elm/User/Register.elm b/elm/User/Register.elm
index d4749e47..add16418 100644
--- a/elm/User/Register.elm
+++ b/elm/User/Register.elm
@@ -100,6 +100,6 @@ view model =
]
]
, div [ class "mainbox" ]
- [ fieldset [ class "submit" ] [ submitButton "Submit" model.state True False ]
+ [ fieldset [ class "submit" ] [ submitButton "Submit" model.state True ]
]
]