Browse Source

Minor fix on templates

Fabs 10 years ago
parent
commit
78e105ad05

+ 22 - 23
coin/members/templates/members/invoices.html

@@ -1,29 +1,28 @@
 {% extends "base.html" %}
 
 {% block content %}
-<div class="row">
-     <h2>Mes factures</h2>
+<h2>Mes factures</h2>
 
-    <table id="member_invoices" class="full-width">
-        <thead>
-            <tr>
-                <th>Numéro</th>
-                <th>Date</th>
-                <th>Montant</th>
-                <th></th>
-            </tr>
-        </thead>
-        <tbody>
-            {% for invoice in invoices %}
-            <tr>
-                <td>{{ invoice.number }}</td>
-                <td>{{ invoice.date }}</td>
-                <td>{{ invoice.amount }}</td>
-                <td><a href="{% url 'billing:invoice_pdf' id=invoice.number %}">PDF</a></td>
-            </tr>
-            {% endfor %}
-        </tbody>
-    </table>
+<table id="member_invoices" class="full-width">
+    <thead>
+        <tr>
+            <th>Numéro</th>
+            <th>Date</th>
+            <th>Montant</th>
+            <th></th>
+        </tr>
+    </thead>
+    <tbody>
+        {% for invoice in invoices %}
+        <tr>
+            <td>{{ invoice.number }}</td>
+            <td>{{ invoice.date }}</td>
+            <td>{{ invoice.amount }}</td>
+            <td><a href="{% url 'billing:invoice_pdf' id=invoice.number %}">PDF</a></td>
+        </tr>
+        {% endfor %}
+    </tbody>
+</table>
 <!--
      <div class="panel">
          <h3>Stats générales ADSL</h3>
@@ -33,5 +32,5 @@
          <h3>Stats générales VPN</h3>
          <a class="button">Voir le VPN</a>
      </div>-->
- </div>
+
 {% endblock %}

+ 20 - 21
coin/members/templates/members/subscriptions.html

@@ -1,27 +1,26 @@
 {% extends "base.html" %}
 
 {% block content %}
-<div class="row">
-     <h2>Mes abonnements</h2>
+<h2>Mes abonnements</h2>
 
-    <table id="member_subscriptions" class="full-width">
-        <thead>
-            <tr>
-                <th width="60">Type</th>
-                <th>Identification</th>
-                <th>Date d'activation</th>
-            </tr>
-        </thead>
-        <tbody>
-            {% for subscription in subscriptions %}
-            <tr>
-                <td>{{ subscription.offer.type }}</td>
-                <td>{{ subscription.offer.name }}</td>
-                <td>{{ subscription.subscription_date }}</td>
-            </tr>
-            {% endfor %}
-        </tbody>
-    </table>
+<table id="member_subscriptions" class="full-width">
+    <thead>
+        <tr>
+            <th width="60">Type</th>
+            <th>Identification</th>
+            <th>Date d'activation</th>
+        </tr>
+    </thead>
+    <tbody>
+        {% for subscription in subscriptions %}
+        <tr>
+            <td>{{ subscription.offer.type }}</td>
+            <td>{{ subscription.offer.name }}</td>
+            <td>{{ subscription.subscription_date }}</td>
+        </tr>
+        {% endfor %}
+    </tbody>
+</table>
 <!--
      <div class="panel">
          <h3>Stats générales ADSL</h3>
@@ -31,5 +30,5 @@
          <h3>Stats générales VPN</h3>
          <a class="button">Voir le VPN</a>
      </div>-->
- </div>
+
 {% endblock %}

+ 2 - 2
coin/static/css/illyse.css

@@ -122,7 +122,7 @@ table.full-width {
 }
 
 /* Footer */
-#footer { opacity: 0.15; }
+#footer { opacity: 0.18; }
 #footer .line {
     widht:100%;
     border-bottom: 1px solid black;
@@ -133,4 +133,4 @@ table.full-width {
     background-repeat: no-repeat;
     background-position: center top;
     height:50px;
-}
+}