config.index.html
1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{% extends "layout-with-topbar.html" %}
{% block content %}
{% include "block.config.save.html" %}
<table class="table table-striped table-hover">
{% for scope, items in configs %}
<tr>
<th colspan=3 id="config.{{ scope }}">{{ scope }}</th>
</tr>
{% for keyword, value in items %}
<tr>
<td id="config.{{ scope }}.{{ keyword }}">{{ keyword }}</td>
<td>
{% if isMask(scope, keyword) %}
********
{% else %}
{{ value }}
{% endif %}
</td>
<td>
[
<a href="/config/edit/{{ scope }}/{{ keyword }}">edit</a>
]
{% if (scope == 'products') %}
[
<a href="/config/ask-delete/{{ scope }}/{{ keyword }}">delete</a>
]
{% endif %}
</td>
</tr>
{% endfor %}
{% endfor %}
</table>
<a href="/config/add/products">
Tambah Pasangan Kode Produk (config.products)
</a>
{% include "block.config.save.html" %}
{% endblock %}