From e1339550f40584d518e10c9a9e9c33258dae868d Mon Sep 17 00:00:00 2001 From: benaryorg Date: Fri, 30 May 2014 21:12:05 +0200 Subject: [PATCH 1/9] New Lines are now supported! --- static/style.css | 4 ++++ templates/diary.html | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/static/style.css b/static/style.css index eb56593..b9d397c 100644 --- a/static/style.css +++ b/static/style.css @@ -85,6 +85,10 @@ a, a:active, a:visited { padding: 0px 0px 0px 0px; } +#listing p { + white-space:pre-wrap; +} + .error { padding: 5px; color: red; diff --git a/templates/diary.html b/templates/diary.html index 73e0d7f..c50cc10 100644 --- a/templates/diary.html +++ b/templates/diary.html @@ -26,9 +26,7 @@ {% for e in entries %}
{{ e.date }}
-

- {{ e.text }} -

+

{{ e.text }}

{% endfor %} From ff09f1c54cf7d5a0c4b10aa91c569a4540117b6d Mon Sep 17 00:00:00 2001 From: benaryorg Date: Fri, 30 May 2014 21:18:16 +0200 Subject: [PATCH 2/9] Resized the textarea for adding entries --- templates/diary.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/diary.html b/templates/diary.html index c50cc10..2207500 100644 --- a/templates/diary.html +++ b/templates/diary.html @@ -19,7 +19,7 @@
Add new entry:
-
+
From 5a0cfb05cedcefbe5d9f9f757939c8e8f113f071 Mon Sep 17 00:00:00 2001 From: benaryorg Date: Fri, 30 May 2014 21:56:53 +0200 Subject: [PATCH 3/9] Removed logout from login site --- templates/login.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/templates/login.html b/templates/login.html index 53fd846..148b15b 100644 --- a/templates/login.html +++ b/templates/login.html @@ -11,9 +11,6 @@
From 96d949a1c226a2aa2c83e5664379f548705fdda4 Mon Sep 17 00:00:00 2001 From: benaryorg Date: Fri, 30 May 2014 21:58:42 +0200 Subject: [PATCH 4/9] Added Links to the GitHub Project! --- templates/diary.html | 2 +- templates/index.html | 2 +- templates/login.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/diary.html b/templates/diary.html index 2207500..d392c2d 100644 --- a/templates/diary.html +++ b/templates/diary.html @@ -10,7 +10,7 @@