blob: 156b97456c6afb6f3343c91d8e52bdaeca51ad7f (
plain)
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
51
52
53
54
55
56
57
58
|
{{ header }}{{ column_left }}
<div id="content">
<div class="page-header">
<div class="container-fluid">
<div class="pull-right">
<button type="button" id="button-setting" title="{{ button_setting }}" data-loading-text="{{ text_loading }}" class="btn btn-info"><i class="fa fa-cog"></i></button>
</div>
<h1>{{ heading_title }}</h1>
<ul class="breadcrumb">
{% for breadcrumb in breadcrumbs %}
<li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
{% endfor %}
</ul>
</div>
</div>
<div class="container-fluid">{% if error_install %}
<div class="alert alert-danger alert-dismissible">
<button type="button" class="close pull-right" data-dismiss="alert">×</button>
<i class="fa fa-exclamation-circle"></i> {{ error_install }}</div>
{% endif %}
{% for row in rows %}
<div class="row">{% for dashboard_1 in row %}
{% set class = 'col-lg-%s %s'|format(dashboard_1.width, 'col-md-3 col-sm-6') %}
{% for dashboard_2 in row %}
{% if dashboard_2.width > 3 %}
{% set class = 'col-lg-%s %s'|format(dashboard_1.width, 'col-md-12 col-sm-12') %}
{% endif %}
{% endfor %}
<div class="{{ class }}">{{ dashboard_1.output }}</div>
{% endfor %}</div>
{% endfor %}</div>
{{ security }}
<script type="text/javascript"><!--
$('#button-setting').on('click', function() {
$.ajax({
url: 'index.php?route=common/developer&user_token={{ user_token }}',
dataType: 'html',
beforeSend: function() {
$('#button-setting').button('loading');
},
complete: function() {
$('#button-setting').button('reset');
},
success: function(html) {
$('#modal-developer').remove();
$('body').prepend('<div id="modal-developer" class="modal">' + html + '</div>');
$('#modal-developer').modal('show');
},
error: function(xhr, ajaxOptions, thrownError) {
alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);
}
});
});
//--></script>
</div>
{{ footer }}
|