Commit 88c3aba9446d6ed8d32b91373eee891a3179827a

Authored by Adhidarma Hadiwinoto
1 parent 9c9e0fa0dd
Exists in master

insert space between products

Showing 1 changed file with 15 additions and 13 deletions Side-by-side Diff

views/config.index.html
... ... @@ -5,7 +5,7 @@
5 5 {% include "block.config.save.html" %}
6 6  
7 7 <table class="table table-striped table-hover">
8   -
  8 +
9 9 {% for scope, items in configs %}
10 10 <tr style="background-color: white;">
11 11 <th colspan=2 id="config.{{ scope }}">
... ... @@ -14,53 +14,55 @@
14 14 </h2>
15 15 </th>
16 16 </tr>
17   -
  17 +
18 18 {% for keyword, value in items|dictsort %}
19 19 <tr>
20 20 <td id="config.{{ scope }}.{{ keyword }}">
21 21 <strong>{{ keyword }}</strong>
22   -
  22 +
23 23 <div class="hidden-md hidden-lg">
24 24  
25 25 {% if isMask(scope, keyword) %}
26 26 ********
  27 + {% elif scope == 'globals' && keyword == 'products' %}
  28 + {{ value | replace(',', ', ') }}
27 29 {% else %}
28 30 {{ value }}
29 31 {% endif %}
30   -
  32 +
31 33 <br/>
32 34 <br/>
33   -
  35 +
34 36 <a class="btn btn-warning" role="button" href="/config/edit/{{ scope }}/{{ keyword }}">Edit</a>
35 37 <a class="btn btn-danger" role="button" href="/config/ask-delete/{{ scope }}/{{ keyword }}">Delete</a>
36 38  
37 39 </div>
38 40 </td>
39   -
  41 +
40 42 <td class="hidden-xs hidden-sm">
41 43 {% if isMask(scope, keyword) %}
42 44 ********
43 45 {% else %}
44 46 {{ value }}
45 47 {% endif %}
46   -
  48 +
47 49 <br/>
48   -
  50 +
49 51 <a class="btn btn-warning" role="button" href="/config/edit/{{ scope }}/{{ keyword }}">Edit</a>
50 52 <a class="btn btn-danger" role="button" href="/config/ask-delete/{{ scope }}/{{ keyword }}">Delete</a>
51 53 </td>
52   -
  54 +
53 55 </tr>
54 56 {% endfor %}
55   -
  57 +
56 58 <tr style="background-color: white;">
57 59 <td colspan=3 style="padding-bottom: 4em;">
58 60 <a class="btn btn-info" role="button" href="/config/add/{{ scope }}">Tambah item pada scope {{ scope }}</a>
59 61 </td>
60 62 </tr>
61   -
62   -{% endfor %}
63   -
  63 +
  64 +{% endfor %}
  65 +
64 66 </table>
65 67  
66 68 {% include "block.config.save.html" %}