diff --git a/wortschlucker/database.sqlite b/wortschlucker/database.sqlite index ac96d5e..a6a138d 100644 Binary files a/wortschlucker/database.sqlite and b/wortschlucker/database.sqlite differ diff --git a/wortschlucker/templates/layout.html b/wortschlucker/templates/layout.html index faa0332..bcd35ae 100644 --- a/wortschlucker/templates/layout.html +++ b/wortschlucker/templates/layout.html @@ -15,11 +15,8 @@
- - - - + ${errors.title} diff --git a/wortschlucker/templates/media/images/poll_new_button.png b/wortschlucker/templates/media/images/poll_new_button.png new file mode 100644 index 0000000..0feda7a Binary files /dev/null and b/wortschlucker/templates/media/images/poll_new_button.png differ diff --git a/wortschlucker/templates/media/images/poll_new_button.svg b/wortschlucker/templates/media/images/poll_new_button.svg new file mode 100644 index 0000000..c27c2e3 --- /dev/null +++ b/wortschlucker/templates/media/images/poll_new_button.svg @@ -0,0 +1,85 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/wortschlucker/templates/media/images/poll_new_text.png b/wortschlucker/templates/media/images/poll_new_text.png new file mode 100644 index 0000000..214ce7e Binary files /dev/null and b/wortschlucker/templates/media/images/poll_new_text.png differ diff --git a/wortschlucker/templates/media/images/poll_new_text.svg b/wortschlucker/templates/media/images/poll_new_text.svg new file mode 100644 index 0000000..65e007b --- /dev/null +++ b/wortschlucker/templates/media/images/poll_new_text.svg @@ -0,0 +1,85 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/wortschlucker/templates/media/style.css b/wortschlucker/templates/media/style.css index 326c3ee..e86ee29 100644 --- a/wortschlucker/templates/media/style.css +++ b/wortschlucker/templates/media/style.css @@ -337,8 +337,6 @@ hr { display: none; } padding-right:10px; padding-top:10px; padding-bottom:10px; - - } .poll_new_small_button{ @@ -350,6 +348,51 @@ hr { display: none; } background: url(images/poll_new_small_button.png) no-repeat left top; } +.poll_new_text { + font-size: 12px; + border:none; + width:280px; + height:18px; + background: url(images/poll_new_text.png) no-repeat left top; + + vertical-align:middle; + flo at:left; + padding-left:10px; + margin-left:10px; + margin-right:10px; + padding-right:10px; + padding-top:5px; + padding-bottom:5px; +} + +.poll_new label { + font-size: 14px; + font-weight:bold; + display: inline-block; + padding:0px; + padding-bottom:5px; + padding-left:10px; + margin-left:10px; + width:90px; +} +.poll_new_buttons{ + border:none; + width:100%; + text-align:left; + float:both; + padding-left:20px; +} + +.poll_new_button{ + font-size: 20px; + margin-right:100px; + border:none; + width:150px; + height:36px; + background: url(images/poll_new_button.png) no-repeat left top; +} + + /* Post */ .post { diff --git a/wortschlucker/templates/poll_new.html b/wortschlucker/templates/poll_new.html index c6878f3..f36ab88 100644 --- a/wortschlucker/templates/poll_new.html +++ b/wortschlucker/templates/poll_new.html @@ -9,28 +9,29 @@

New poll

- - -

- - - ${errors.author} -

-

- - - ${errors.title} -

-

- - - ${errors.description} -

-

- - -

-
+
+
+

+ + + ${errors.author} +

+

+ + + ${errors.title} +

+

+ + + ${errors.description} +

+
+ + +
+
+