diff --git a/README.md b/README.md index b2c680f..07a409b 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/NoteHub/views/css_generator.clj b/src/NoteHub/views/css_generator.clj index 4ffc00d..0ceb534 100644 --- a/src/NoteHub/views/css_generator.clj +++ b/src/NoteHub/views/css_generator.clj @@ -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" diff --git a/src/NoteHub/views/pages.clj b/src/NoteHub/views/pages.clj index 159bb62..8341f33 100644 --- a/src/NoteHub/views/pages.clj +++ b/src/NoteHub/views/pages.clj @@ -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