Browse Source

password field autocomple disabled

master
Christian Mueller 14 years ago
parent
commit
a3c3ccf589
  1. 2
      README.md
  2. 2
      src/NoteHub/views/css_generator.clj
  3. 2
      src/NoteHub/views/pages.clj

2
README.md

@ -40,7 +40,7 @@ After you've specified this in the url, you can copy the corresponding short url
## After Publishing ## After Publishing
During the note publishing a password can be set. During the note publishing a password can be set.
This password unlocks the note for an editing. This password unlocks the note for editing.
The edit mode can be entered by appending of `/edit`to the note url. The edit mode can be entered by appending of `/edit`to the note url.
By appending of `/stats` to any note url, everyone can see a rudimentary statistics (currently, the number of note views only). By appending of `/stats` to any note url, everyone can see a rudimentary statistics (currently, the number of note views only).
By appending of `/export`, the original markdown content will be displayed in plain text format. By appending of `/export`, the original markdown content will be displayed in plain text format.

2
src/NoteHub/views/css_generator.clj

@ -73,6 +73,8 @@
:color link-hover) :color link-hover)
(rule "&:visited" (rule "&:visited"
:color link-visited)) :color link-visited))
(rule "#draft"
:margin-bottom :3em)
(rule ".ui-border" (rule ".ui-border"
(thin-border foreground)) (thin-border foreground))
(rule ".button" (rule ".button"

2
src/NoteHub/views/pages.clj

@ -91,7 +91,7 @@
[:article#preview " "] [:article#preview " "]
[:div#dashed-line {:class css-class}] [:div#dashed-line {:class css-class}]
[:div.central-element.helvetica-neue {:style "margin-bottom: 3em"} [:div.central-element.helvetica-neue {:style "margin-bottom: 3em"}
(form-to [:post form-url] (form-to {:autocomplete :off} [:post form-url]
(hidden-field :action command) (hidden-field :action command)
(hidden-field :password) (hidden-field :password)
fields fields

Loading…
Cancel
Save