Commit 420d399c authored by Riccardo Padovani's avatar Riccardo Padovani

Come da bug #1020259 è stato modificato il subheader (vedere commenti #2 e #3)...

Come da bug #1020259 è stato modificato il subheader (vedere commenti #2 e #3) per inserire il menù a tendina ed evitare che la parte destra venga spostata in basso
parent 740237bd
...@@ -219,12 +219,12 @@ blockquote blockquote { ...@@ -219,12 +219,12 @@ blockquote blockquote {
#CALeft { #CALeft {
float: left; float: left;
position: relative; position: relative;
width: 740px; width: 84%;
} }
#CARight { #CARight {
float: right; float: right;
width: 240px; width: 15%;
} }
#CAFull { #CAFull {
...@@ -248,7 +248,6 @@ blockquote blockquote { ...@@ -248,7 +248,6 @@ blockquote blockquote {
float: right; float: right;
padding: 3px; padding: 3px;
text-align: right; text-align: right;
width: 500px;
} }
#top a { #top a {
...@@ -378,10 +377,12 @@ blockquote blockquote { ...@@ -378,10 +377,12 @@ blockquote blockquote {
#sub_header_search { #sub_header_search {
float: left; float: left;
margin-left: 15px;
} }
#searchBar { #searchBar {
float: left; float: left;
margin-left: 15px;
} }
#searchBar .content { #searchBar .content {
...@@ -392,7 +393,7 @@ blockquote blockquote { ...@@ -392,7 +393,7 @@ blockquote blockquote {
padding: 3px; padding: 3px;
font-size: 13px; font-size: 13px;
height: 18px; height: 18px;
width: 400px; width: 380px;
} }
#searchBar .searchBtn { #searchBar .searchBtn {
...@@ -432,7 +433,7 @@ blockquote blockquote { ...@@ -432,7 +433,7 @@ blockquote blockquote {
overflow: hidden; overflow: hidden;
padding: 3px 0px 5px 0; padding: 3px 0px 5px 0;
position: relative; position: relative;
width: 740px; width: 100%;
} }
#listA .short-summary:first-of-type { #listA .short-summary:first-of-type {
...@@ -472,7 +473,7 @@ blockquote blockquote { ...@@ -472,7 +473,7 @@ blockquote blockquote {
} }
.short-summary .question-summary-wrapper { .short-summary .question-summary-wrapper {
float: right; float: left;
width: 565px; width: 565px;
} }
......
...@@ -32,13 +32,20 @@ ...@@ -32,13 +32,20 @@
<div id="sub_header"> <div id="sub_header">
<div id="searchBar"> <div id="searchBar">
<form action="{% url search %}" method="get"> <form action="{% url search %}" method="get">
{% csrf_token %}
<div class="options" id="sub_header_options"> <div class="options" id="sub_header_options">
<!--Metodo dei radio button
<input id="type-question" type="radio" value="question" name="t" <input id="type-question" type="radio" value="question" name="t"
checked="checked" /><label for="type-question">{% trans "questions" %}</label> checked="checked" /><label for="type-question">{% trans "questions" %}</label>
<input id="type-tag" type="radio" value="tag" name="t" /><label for="type-tag">{% trans "tags" %}</label> <input id="type-tag" type="radio" value="tag" name="t" /><label for="type-tag">{% trans "tags" %}</label>
<input id="type-user" type="radio" value="user" name="t" /><label for="type-user">{% trans "users" %}</label> <input id="type-user" type="radio" value="user" name="t" /><label for="type-user">{% trans "users" %}</label>
-->
<select name="t">
<option value="question" selected>{% trans "questions" %}</option>
<option value="tag">{% trans "tags" %}</option>
<option value="user">{% trans "users" %}</option>
</select>
</div> </div>
{% csrf_token %}
<div id="sub_header_search"> <div id="sub_header_search">
<input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" /> <input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" />
<input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" /> <input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment