Commit b09f4ecbfd1c023d9b18a91650715bd31ca1b4e9
1 parent
47f6d57b
Exists in
master
and in
5 other branches
changing position list category subjects
Showing
1 changed file
with
7 additions
and
9 deletions
Show diff stats
courses/templates/course/view.html
@@ -48,14 +48,7 @@ | @@ -48,14 +48,7 @@ | ||
48 | {% endblock %} | 48 | {% endblock %} |
49 | 49 | ||
50 | {% block content %} | 50 | {% block content %} |
51 | -<div class="col-md-12"> | ||
52 | - <div class="btn-group btn-group-justified btn-group-raised"> | ||
53 | - <a href="?category=all" class="btn btn-raised btn-info">Todos</a> | ||
54 | - {% for category_subject in categorys_subjects %} | ||
55 | - <a href="?category={{category_subject.name}}" class="btn btn-raised btn-primary">{{category_subject.name}}</a> | ||
56 | - {% endfor %} | ||
57 | - </div> | ||
58 | -</div> | 51 | + |
59 | <div class="col-md-12"> | 52 | <div class="col-md-12"> |
60 | <div class="panel panel-info"> | 53 | <div class="panel panel-info"> |
61 | <div class="panel-heading headingOne"> | 54 | <div class="panel-heading headingOne"> |
@@ -93,7 +86,12 @@ | @@ -93,7 +86,12 @@ | ||
93 | 86 | ||
94 | </div> | 87 | </div> |
95 | </div> | 88 | </div> |
96 | - | 89 | + <div class="btn-group btn-group-justified btn-group-raised"> |
90 | + <a href="?category=all" class="btn btn-raised btn-info">Todos</a> | ||
91 | + {% for category_subject in categorys_subjects %} | ||
92 | + <a href="?category={{category_subject.name}}" class="btn btn-raised btn-primary">{{category_subject.name}}</a> | ||
93 | + {% endfor %} | ||
94 | + </div> | ||
97 | <!-- MODAL CREATE SUBJECT --> | 95 | <!-- MODAL CREATE SUBJECT --> |
98 | <div class="modal" tabindex="-1" role="dialog " id="createSubject"> | 96 | <div class="modal" tabindex="-1" role="dialog " id="createSubject"> |
99 | <div class="modal-dialog"> | 97 | <div class="modal-dialog"> |