Commit 8ee34406d5680021eedcac676e3a35d2f1156511

Authored by Matheus Lins
1 parent c89211e5

change create button. Removing in the dashboard, puted in the list curses

app/templates/home.html
... ... @@ -117,18 +117,13 @@
117 117 <div id="timeline">
118 118 {% include page_template %}
119 119 </div>
120   - <a class="btn-floating btn-large waves-effect waves-light red" href="{% url 'course:create' %}">
121   - <i class="fa fa-plus" aria-hidden="true"></i>
122   - </a>
  120 +
123 121 {% else %}
124 122 <ul class="timeline" style="-webkit-padding-start: 0px">
125 123 <div id="timeline">
126 124 {% include page_template %}
127 125 </div>
128 126 </ul>
129   - <a class="btn-floating btn-large waves-effect waves-light red" href="{% url 'course:create' %}">
130   - <i class="fa fa-plus" aria-hidden="true"></i>
131   - </a>
132 127 {% endif %}
133 128  
134 129 <div id="loading" class="alert alert-primary" role="alert" style="display: none">
... ...
courses/templates/course/view.html
... ... @@ -148,6 +148,9 @@
148 148 </div>
149 149 </div>
150 150 {% endfor %}
  151 +<a class="btn-floating btn-large waves-effect waves-light red" href="{% url 'course:create' %}">
  152 + <i class="fa fa-plus" aria-hidden="true"></i>
  153 + </a>
151 154 {% endblock %}
152 155  
153 156  
... ...