minor ui improvements
This commit is contained in:
@@ -10,8 +10,8 @@ status-500 = OMG, Server Exploded.
|
||||
created-by = Created by [@chmllr](http://twitter.com/chmllr)
|
||||
|
||||
loading = Loading...
|
||||
set-passwd = Set password for editing:
|
||||
enter-passwd = Password:
|
||||
set-passwd = Password for editing
|
||||
enter-passwd = Password
|
||||
preview = Preview
|
||||
publish = Publish
|
||||
update = Save
|
||||
|
||||
+1
-1
@@ -26,8 +26,8 @@
|
||||
(def ios-detected (.match (.-userAgent js/navigator) "(iPad|iPod|iPhone)"))
|
||||
|
||||
(defn update-preview
|
||||
[]
|
||||
"Updates the preview"
|
||||
[]
|
||||
(do
|
||||
(show $dashed-line)
|
||||
(show $input-elems)
|
||||
|
||||
@@ -82,6 +82,7 @@
|
||||
(rule ".ui-elem"
|
||||
helvetica-neue
|
||||
(thin-border foreground)
|
||||
:padding :0.3em
|
||||
:opacity 0.8
|
||||
:font-size :1em
|
||||
:background background)
|
||||
|
||||
@@ -97,8 +97,8 @@
|
||||
fields
|
||||
(text-area {:class :max-width} :draft content)
|
||||
[:fieldset#input-elems {:class css-class}
|
||||
(get-message passwd-msg)
|
||||
(text-field {:class "ui-elem"} :plain-password)
|
||||
(text-field {:class "ui-elem" :placeholder (get-message passwd-msg)}
|
||||
:plain-password)
|
||||
(submit-button {:class "button ui-elem"
|
||||
:id :publish-button} (get-message command))])])))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user