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 @@ -40,7 +40,7 @@ After you've specified this in the url, you can copy the corresponding short url
## After Publishing
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.
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.

2
src/NoteHub/views/css_generator.clj

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

2
src/NoteHub/views/pages.clj

@ -91,7 +91,7 @@ @@ -91,7 +91,7 @@
[:article#preview " "]
[:div#dashed-line {:class css-class}]
[: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 :password)
fields

Loading…
Cancel
Save