Commit 76dfec1f73032dbf169aba15021bb75467f84902

Authored by Zambom
1 parent 1081a523

Adjusting themes screen display in mobile

Showing 1 changed file with 21 additions and 23 deletions   Show diff stats
themes/templates/themes/css_update.html
@@ -29,30 +29,28 @@ @@ -29,30 +29,28 @@
29 <br clear="all" /> 29 <br clear="all" />
30 30
31 {% for radio in field %} 31 {% for radio in field %}
32 - {% if radio.choice_value == 'contrast' %}  
33 -  
34 - {% else %}  
35 -  
36 - <label for="{{ radio.id_for_label }}" class="row text-center">  
37 - <div class="col-lg-offset-2 col-md-offset-2 col-sm-offset-2 col-lg-2 col-md-2 col-sm-2 col-xs-3 text-left">  
38 - <span class="radio">  
39 - {{ radio }}  
40 - </span>  
41 - </div>  
42 - <div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">  
43 - {% with 'img/themes/'|add:radio.choice_value|add:'.png' as img_presentation %}  
44 - <img class="radio theme_img" src="{% static img_presentation %}" />  
45 - {% endwith %}  
46 - </div>  
47 - <div class="col-md-2 col-md-2 col-sm-2 col-xs-2">  
48 - {% with 'css/themes/'|add:radio.choice_value|add:'.css' as doc_presentation %}  
49 - <a class="radio" href="{% static doc_presentation %}" target="blank">{% trans 'Documentation' %}</a>  
50 - {% endwith %}  
51 - </div>  
52 - </label>  
53 - <br clear="all" />  
54 - {% endif %} 32 + {% if radio.choice_value == 'contrast' %}
55 33
  34 + {% else %}
  35 + <label for="{{ radio.id_for_label }}" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 text-center">
  36 + <div class="col-lg-offset-2 col-md-offset-2 col-sm-offset-1 col-lg-2 col-md-2 col-sm-3 col-xs-12 text-left">
  37 + <span class="radio">
  38 + {{ radio }}
  39 + </span>
  40 + </div>
  41 + <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
  42 + {% with 'img/themes/'|add:radio.choice_value|add:'.png' as img_presentation %}
  43 + <img class="radio theme_img" src="{% static img_presentation %}" />
  44 + {% endwith %}
  45 + </div>
  46 + <div class="col-md-2 col-md-2 col-sm-2 col-xs-12">
  47 + {% with 'css/themes/'|add:radio.choice_value|add:'.css' as doc_presentation %}
  48 + <a class="radio" href="{% static doc_presentation %}" target="blank">{% trans 'Documentation' %}</a>
  49 + {% endwith %}
  50 + </div>
  51 + </label>
  52 + <br clear="all" />
  53 + {% endif %}
56 {% endfor %} 54 {% endfor %}
57 </div> 55 </div>
58 56