icons arranged

This commit is contained in:
mridulnagpal 2016-11-30 21:53:02 +05:30 committed by James Valleroy
parent 9c6cf38155
commit d8b41f1200
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 19 additions and 6 deletions

View File

@ -160,7 +160,7 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
{% block content_row %} {% block content_row %}
<div class="col-md-3"> <div class="col-md-4 ">
{% block submenu %} {% block submenu %}
{% if submenu %} {% if submenu %}
<div class="sidebar"> <div class="sidebar">
@ -187,8 +187,21 @@
{# main content goes here #} {# main content goes here #}
{% endblock %} {% endblock %}
</div><!--/col--> </div><!--/col-->
{% endblock %} <div class="col-md-12">
{% block icons %}
{# icons go here #}
{% endblock %}
</div>
</div><!--/row--> </div><!--/row-->
{% endblock %}
<div class="text-center">
{% block center-header %}
{# this center-header should contain help texts but no menus#}
{% endblock %}
</div>
<hr> <hr>

View File

@ -20,14 +20,14 @@
{% load i18n %} {% load i18n %}
{% block content %} {% block icons %}
<div class="row"> <div class="row">
{% if shortcuts %} {% if shortcuts %}
{% for shortcut in shortcuts %} {% for shortcut in shortcuts %}
{% if user.is_authenticated or shortcut.login_required is False %} {% if user.is_authenticated or shortcut.login_required is False %}
<div class="col-sm-4"> <div class="col-sm-3">
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
{% if selected_id == shortcut.id %} {% if selected_id == shortcut.id %}
<li class="active"> <li class="active">
@ -38,7 +38,7 @@
{% endif %} {% endif %}
<center> <center>
<span class="{{ shortcut.icon }} glyphicon" <span class="{{ shortcut.icon }} glyphicon"
style="font-size: 400%"></span> style="font-size: 450%"></span>
<br> <br>
{{ shortcut.label }} {{ shortcut.label }}
</center> </center>
@ -87,7 +87,7 @@
{% endblock %} {% endblock %}
{% block sidebar %} {% block center-header %}
<h4> <h4>
{% blocktrans trimmed %} {% blocktrans trimmed %}