diff --git a/static/style.css b/static/style.css index 0052995..ba70f33 100644 --- a/static/style.css +++ b/static/style.css @@ -476,7 +476,7 @@ background-color:#FF0B7E } .editContainerLine { - padding: 10px 0px 10px 0px; + padding: 0px 0px 0px 0px; } .editContainerSection { @@ -485,4 +485,8 @@ background-color:#FF0B7E .editContainerSection h2 { display: inline; +} + +span { + margin-right: 10px; } \ No newline at end of file diff --git a/templates/createTest.html b/templates/createTest.html index 5ad210a..6ed0f38 100644 --- a/templates/createTest.html +++ b/templates/createTest.html @@ -18,8 +18,8 @@

- - - Jeśli test ma nie posiadać hasła pozostaw puste pole + +

diff --git a/templates/editTest.html b/templates/editTest.html index 5b841a8..ba46285 100644 --- a/templates/editTest.html +++ b/templates/editTest.html @@ -82,27 +82,37 @@
- - - + + +
-
- - + {% if test.visible %} + - - - - - - + {% endif %} + {% if not test.visible %} + + + {% endif %} + + +
+
+ + + +
+
{% for question in test.questions.all %} @@ -124,7 +134,7 @@ Dodaj pytanie
diff --git a/templates/home.html b/templates/home.html index 9e53cfc..7b00cfc 100644 --- a/templates/home.html +++ b/templates/home.html @@ -8,6 +8,7 @@
{{test.name}} +
Kategoria: {{test.category}}
diff --git a/templates/result.html b/templates/result.html index aec8b7b..afb7102 100644 --- a/templates/result.html +++ b/templates/result.html @@ -27,11 +27,12 @@
Maksymalny wynik: {{ max }}
Wynik procentowy: {{ percentage }}%
- {% if password == "" %} - Udostępnij: - {% post_to_facebook object_or_url "Post to Facebook!" %} - {% post_to_linkedin object_or_url %} - {% endif %} + {% if password == "" %} +
+
Udostępnij:
+ {% post_to_facebook object_or_url %} + {% post_to_linkedin object_or_url %} + {% endif %}