ciclos

commit 4ec3f42d97f3e817a442bcc3d54fbc86be7b7ef4

Author: Pedro Lucas Porcellis <pedrolucasporcellis@gmail.com>

Use the new buttons classes

 src/templates/cycle.html | 6 +++---
 src/templates/orders.html | 4 ++++


diff --git a/src/templates/cycle.html b/src/templates/cycle.html
index 949ebaf85d56554ca93ab813a91f9eac19dad2d7..e5653bb055914756403b54e92093c4d938962d17 100644
--- a/src/templates/cycle.html
+++ b/src/templates/cycle.html
@@ -62,13 +62,13 @@     
     {% endif %}
 
     <div class="form-action">
-      <button type="submit" {{ "disabled" if current_order and current_order.status.value == 'confirmed' }} name="confirm" rel="button">Confirmar produtos</button>
+      <button type="submit" class="btn" {{ "disabled" if current_order and current_order.status.value == 'confirmed' }} name="confirm" rel="button">Confirmar produtos</button>
       {% if current_order and current_order.status.value == 'draft' %}
-        <button type="submit" name="draft" rel="button">Salvar pedido como rascunho</button>
+        <button type="submit" name="draft" rel="button" class="btn">Salvar pedido como rascunho</button>
       {% endif %}
     
       {% if current_order %}
-        <a href="{{url_for('orders.cancel', id = current_order.id)}}">Cancelar Pedido</a>
+        <a class=" destructive" href="{{url_for('orders.cancel', id = current_order.id)}}">Cancelar Pedido</a>
       {% endif %}
     </div>
   </form> 




diff --git a/src/templates/orders.html b/src/templates/orders.html
index b457ecd13ef3d1f2b5baca9931c1b5c74976442e..64ebdcc031298b1afb6e1c4febad9d70e5af6cb6 100644
--- a/src/templates/orders.html
+++ b/src/templates/orders.html
@@ -16,6 +16,10 @@             
  • {{ product.title }}
  • {% endfor %} </ul> + <div> + <strong> Total: </strong> <em>{{ order.total() | as_currency }}</em> + </div> + <div class="pt-5 pb-5"> <a href="{{url_for('cycles.show', id = order.cycle.id)}}">Ver ciclo</a> </div>