Better speccing and cleanup in between commit

This commit is contained in:
2014-08-15 13:12:47 +02:00
parent 9c570fdbcd
commit 4ab9f63b33
19 changed files with 14 additions and 552 deletions
@@ -1,4 +0,0 @@
<tr class="order-row-{{id}} {{state}}">
<td>{{display}}</td>
<td class="currency">{{#currency}}{{total_amount}}{{/currency}}</td>
</tr>
-38
View File
@@ -1,38 +0,0 @@
<table id="active-order-table" class="table">
<thead>
<tr>
<th data-t="models.product"></th>
<th>#</th>
<th class="currency" data-t="basket.total"></th>
</tr>
</thead>
<tbody>
{{#products}}
<tr>
<td>{{name}}</td>
<td>{{number}}</td>
<td class="currency">
{{#currency}}{{product_total}}{{/currency}}
<a class="product-order-remove-button" href=""><span class="fa fa-times fa-large"></span></a>
</td>
</tr>
{{/products}}
</tbody>
<tfoot>
<tr>
<td colspan="2">
Totaal
</td>
<td class="currency"><strong id="active-order-total">{{#currency}}{{total}}{{/currency}}</strong></td>
<tr>
<tr>
<td>
<button class="btn btn btn-warning hide" onClick="Quser.clear_selected_products()" data-t="selected_products.clear"></button>
</td>
<td></td>
<td style="text-align: right">
<button class="order-selected-products" onClick="Quser.order_selected_products()" data-t="selected_products.order"></button>
</td>
<tr>
</tfoot>
</table>
-12
View File
@@ -1,12 +0,0 @@
<div class="modal hide fade" role="dialog" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>{{title}}</h3>
</div>
<div class="modal-body">
<p>{{message}}</p>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal" aria-hidden="true">{{close}}</a>
</div>
</div>
-13
View File
@@ -1,13 +0,0 @@
<div class="modal hide fade" role="dialog" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>{{title}}</h3>
</div>
<div class="modal-body">
<p>{{message}}</p>
</div>
<div class="modal-footer">
<a href="#" class="btn reject-join-request-button" onclick="Quser.reject_join_request('{{requester_id}}')" data-dismiss="modal" aria-hidden="true">{{reject}}</a>
<a href="#" class="btn btn-primary approve-join-request-button" onclick="Quser.approve_join_request('{{requester_id}}')" data-dismiss="modal" aria-hidden="true">{{approve}}</a>
</div>
</div>
@@ -1,3 +0,0 @@
<li>
<a href="#" onclick="redirect_to('history_list', {list_id: '{{id}}'})">{{display}}</a>
</li>
@@ -1,7 +0,0 @@
<tr><td colspan="2"><h4>{{category}}</h4></td></tr>
{{#products}}
<tr>
<td>{{name}}</td>
<td>{{#currency}}{{price}}{{/currency}}</td>
</tr>
{{/products}}
@@ -1,15 +0,0 @@
<tr><td colspan="3"><h4>{{category}}</h4></td></tr>
{{#products}}
<tr>
<td>{{name}}</td>
<td class="order-count-cell">
<span class="btn btn-mini hide" onclick="Quser.lower_products_counter('{{_id}}')">-</span>
<span id="order-product-count-{{_id}}" class="order-product-count">1</span>
<span class="btn btn-mini hide" onclick="Quser.increment_products_counter('{{_id}}')">+</span>
</td>
<td style="text-align: right">
{{#currency}}{{price}}{{/currency}}
<button class="btn order-product-button order-product-{{_id}}" onclick="Quser.add_product_to_order('{{_id}}', this)">Add</button>
</td>
</tr>
{{/products}}