Commit 3dea456f449a1d40579ec83d71d6266888f1ce63

Authored by Felipe Henrique de Almeida Bormann
1 parent d2e60741

fixed margin bottom create new subject button

amadeus/static/css/base/amadeus.css
@@ -151,6 +151,7 @@ @@ -151,6 +151,7 @@
151 background-color: #26A69A; 151 background-color: #26A69A;
152 color: white; 152 color: white;
153 border: 0px; 153 border: 0px;
  154 + margin-bottom: 10px;
154 } 155 }
155 156
156 .category-search-users{ 157 .category-search-users{
categories/templates/categories/list.html
@@ -94,7 +94,7 @@ @@ -94,7 +94,7 @@
94 {{category.description|safe}} 94 {{category.description|safe}}
95 95
96 {% if user in category.coordinators.all %} 96 {% if user in category.coordinators.all %}
97 - <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "create new subject" %} </button></a> 97 + <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "Create new subject" %} </button></a>
98 {% endif %} 98 {% endif %}
99 <div class="panel-group" id="subject-accordion" role="tablist" aria-multiselectable="true"> 99 <div class="panel-group" id="subject-accordion" role="tablist" aria-multiselectable="true">
100 {% for subject in category.subjects %} 100 {% for subject in category.subjects %}
@@ -174,7 +174,7 @@ @@ -174,7 +174,7 @@
174 {{category.description|safe}} 174 {{category.description|safe}}
175 175
176 {% if user in category.coordinators.all %} 176 {% if user in category.coordinators.all %}
177 - <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "create new subject" %} </button></a> 177 + <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "Create new subject" %} </button></a>
178 {% endif %} 178 {% endif %}
179 <div class="panel-group" id="subject-accordion" role="tablist" aria-multiselectable="true"> 179 <div class="panel-group" id="subject-accordion" role="tablist" aria-multiselectable="true">
180 {% for subject in category.subjects %} 180 {% for subject in category.subjects %}
subjects/templates/subjects/list.html
@@ -97,7 +97,7 @@ @@ -97,7 +97,7 @@
97 {{category.description|safe}} 97 {{category.description|safe}}
98 98
99 {% if user in category.coordinators.all %} 99 {% if user in category.coordinators.all %}
100 - <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "create new subject" %} </button></a> 100 + <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "Create new subject" %} </button></a>
101 {% endif %} 101 {% endif %}
102 102
103 <div class="panel-group" id="subject-accordion" role="tablist" aria-multiselectable="true"> 103 <div class="panel-group" id="subject-accordion" role="tablist" aria-multiselectable="true">
@@ -178,7 +178,7 @@ @@ -178,7 +178,7 @@
178 {{category.description|safe}} 178 {{category.description|safe}}
179 179
180 {% if user in category.coordinators.all %} 180 {% if user in category.coordinators.all %}
181 - <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "create new subject" %} </button></a> 181 + <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "Create new subject" %} </button></a>
182 {% endif %} 182 {% endif %}
183 <div class="panel-group" id="subject-accordion" role="tablist" aria-multiselectable="true"> 183 <div class="panel-group" id="subject-accordion" role="tablist" aria-multiselectable="true">
184 {% for subject in category.subjects %} 184 {% for subject in category.subjects %}