From: Aleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl> Date: Thu, 9 May 2013 08:52:44 +0000 (+0200) Subject: UI tweaking X-Git-Url: https://git.mdrn.pl/prawokultury.git/commitdiff_plain/bae802f258696c7d28745e052227026a574f66f6?ds=inline;hp=-c UI tweaking --- bae802f258696c7d28745e052227026a574f66f6 diff --git a/questions/static/questions/tagcloud.scss b/questions/static/questions/tagcloud.scss index a10382d..3147815 100644 --- a/questions/static/questions/tagcloud.scss +++ b/questions/static/questions/tagcloud.scss @@ -1,5 +1,11 @@ +#questions-filter { + div { + margin: 10px 0; + } +} #questions-categories { margin-bottom:10px; + display: inline; a.selected { cursor: default; text-decoration: none; @@ -9,4 +15,5 @@ .questions-tags-group { display: none; -} \ No newline at end of file +} + diff --git a/questions/templates/questions/question_list.html b/questions/templates/questions/question_list.html index 3d8fe7b..5991b6a 100755 --- a/questions/templates/questions/question_list.html +++ b/questions/templates/questions/question_list.html @@ -29,8 +29,8 @@ technologii informacyjno-komunikacyjnych oraz posiada wieloletnie doÅwiadczenie doradcze w tej tematyce.</p> <div id="questions-filter"> - - {% if tag %}<a href=".">WyÅwietl wszystkie</a> lub w{% else %}W{% endif %}ybierz kategoriÄ tematów: + <h2>Filtruj pytania</h2> + Wybierz kategoriÄ tematów: <div id="questions-categories"> <a href="#" data-category-id="0">bez kategorii</a> {% for category in tag_categories %} / @@ -50,6 +50,9 @@ doÅwiadczenie doradcze w tej tematyce.</p> </div> {% endfor %} </div> + <div> + {% if tag %}<a href=".">Pokaż wszystkie pytania</a>{% endif %} + </div> </div> <h2>Odpowiedzi na już zadane pytania