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,18 +117,13 @@
117 <div id="timeline"> 117 <div id="timeline">
118 {% include page_template %} 118 {% include page_template %}
119 </div> 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 {% else %} 121 {% else %}
124 <ul class="timeline" style="-webkit-padding-start: 0px"> 122 <ul class="timeline" style="-webkit-padding-start: 0px">
125 <div id="timeline"> 123 <div id="timeline">
126 {% include page_template %} 124 {% include page_template %}
127 </div> 125 </div>
128 </ul> 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 {% endif %} 127 {% endif %}
133 128
134 <div id="loading" class="alert alert-primary" role="alert" style="display: none"> 129 <div id="loading" class="alert alert-primary" role="alert" style="display: none">
courses/templates/course/view.html
@@ -148,6 +148,9 @@ @@ -148,6 +148,9 @@
148 </div> 148 </div>
149 </div> 149 </div>
150 {% endfor %} 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 {% endblock %} 154 {% endblock %}
152 155
153 156