tables.mustache
7.5 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<div class="row">
<div class="col-xs-12">
<table id="sample-table-1" class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th class="center">
<label class="position-relative"><input type="checkbox" class="ace" /><span class="lbl"></span></label>
</th>
<th>Domain</th>
<th>Price</th>
<th class="hidden-480">Clicks</th>
<th><i class="ace-icon fa fa-clock-o bigger-110 hidden-480"></i> Update</th>
<th class="hidden-480">Status</th>
<th></th>
</tr>
</thead>
<tbody>
{{#page.domains1}}
<tr>
<td class='center'>
<label class="position-relative">
<input type='checkbox' class="ace" />
<span class="lbl"></span>
</label>
</td>
<td><a href='#'>{{name}}</a></td>
<td>{{price}}</td>
<td class='hidden-480'>{{clicks}}</td>
<td>{{update}}</td>
<td class='hidden-480'>
{{#expiring}}
<span class='label label-sm label-warning'>Expiring</span>
{{/expiring}}
{{#registered}}
<span class='label label-sm label-success'>Registered</span>
{{/registered}}
{{#flagged}}
<span class='label label-sm label-inverse arrowed-in'>Flagged</span>
{{/flagged}}
{{#sold}}
<span class='label label-sm label-info arrowed arrowed-righ'>Sold</span>
{{/sold}}
</td>
<td>
<div class='hidden-sm hidden-xs btn-group'>
<button class='btn btn-xs btn-success'><i class='ace-icon fa fa-check bigger-120'></i></button>
<button class='btn btn-xs btn-info'><i class='ace-icon fa fa-pencil bigger-120'></i></button>
<button class='btn btn-xs btn-danger'><i class='ace-icon fa fa-trash-o bigger-120'></i></button>
<button class='btn btn-xs btn-warning'><i class='ace-icon fa fa-flag bigger-120'></i></button>
</div>
<div class='hidden-md hidden-lg'>
<div class="inline position-relative">
<button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown" data-position="auto"><i class="ace-icon fa fa-cog icon-only bigger-110"></i></button>
<ul class="dropdown-menu dropdown-only-icon dropdown-yellow dropdown-menu-right dropdown-caret dropdown-close">
<li><a href="#" class="tooltip-info" data-rel="tooltip" title="View"><span class="blue"><i class="ace-icon fa fa-search-plus bigger-120"></i></span></a></li>
<li><a href="#" class="tooltip-success" data-rel="tooltip" title="Edit"><span class="green"><i class="ace-icon fa fa-pencil-square-o bigger-120"></i></span></a></li>
<li><a href="#" class="tooltip-error" data-rel="tooltip" title="Delete"><span class="red"><i class="ace-icon fa fa-trash-o bigger-120"></i></span> </a></li>
</ul>
</div>
</div>
</td>
</tr>
{{/page.domains1}}
</tbody>
</table>
</div><!-- /.span -->
</div><!-- /.row -->
<div class="hr hr-18 dotted hr-double"></div>
<h4 class="pink">
<i class="ace-icon fa fa-hand-o-right icon-animated-hand-pointer blue"></i>
<a href="#modal-table" role="button" class="green" data-toggle="modal">
Table Inside a Modal Box
</a>
</h4>
<div class="hr hr-18 dotted hr-double"></div>
<div class="row">
<div class="col-xs-12">
<h3 class="header smaller lighter blue">jQuery dataTables</h3>
<div class="table-header">
Results for "Latest Registered Domains"
</div>
<!-- <div class="table-responsive"> -->
<!-- <div class="dataTables_borderWrap"> -->
<div>
<table id="sample-table-2" class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th class="center">
<label class="position-relative"><input type="checkbox" class="ace" /><span class="lbl"></span></label>
</th>
<th>Domain</th>
<th>Price</th>
<th class="hidden-480">Clicks</th>
<th><i class="ace-icon fa fa-clock-o bigger-110 hidden-480"></i> Update</th>
<th class="hidden-480">Status</th>
<th></th>
</tr>
</thead>
<tbody>
{{#page.domains2}}
<tr>
<td class='center'>
<label class="position-relative"><input type='checkbox' class="ace" /><span class="lbl"></span></label>
</td>
<td><a href='#'>{{name}}</a></td>
<td>{{price}}</td>
<td class='hidden-480'>{{clicks}}</td>
<td>{{update}}</td>
<td class='hidden-480'>
{{#expiring}}
<span class='label label-sm label-warning'>Expiring</span>
{{/expiring}}
{{#registered}}
<span class='label label-sm label-success'>Registered</span>
{{/registered}}
{{#flagged}}
<span class='label label-sm label-inverse arrowed-in'>Flagged</span>
{{/flagged}}
{{#sold}}
<span class='label label-sm label-info arrowed arrowed-righ'>Sold</span>
{{/sold}}
</td>
<td>
<div class='hidden-sm hidden-xs action-buttons'>
<a class="blue" href="#"><i class="ace-icon fa fa-search-plus bigger-130"></i></a>
<a class="green" href="#"><i class="ace-icon fa fa-pencil bigger-130"></i></a>
<a class="red" href="#"><i class="ace-icon fa fa-trash-o bigger-130"></i></a>
</div>
<div class='hidden-md hidden-lg'>
<div class="inline position-relative">
<button class="btn btn-minier btn-yellow dropdown-toggle" data-toggle="dropdown" data-position="auto"><i class="ace-icon fa fa-caret-down icon-only bigger-120"></i></button>
<ul class="dropdown-menu dropdown-only-icon dropdown-yellow dropdown-menu-right dropdown-caret dropdown-close">
<li><a href="#" class="tooltip-info" data-rel="tooltip" title="View"><span class="blue"><i class="ace-icon fa fa-search-plus bigger-120"></i></span></a></li>
<li><a href="#" class="tooltip-success" data-rel="tooltip" title="Edit"><span class="green"><i class="ace-icon fa fa-pencil-square-o bigger-120"></i></span></a></li>
<li><a href="#" class="tooltip-error" data-rel="tooltip" title="Delete"><span class="red"><i class="ace-icon fa fa-trash-o bigger-120"></i></span> </a></li>
</ul>
</div>
</div>
</td>
</tr>
{{/page.domains2}}
</tbody>
</table>
</div>
</div>
</div>
<div id="modal-table" class="modal fade" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header no-padding">
<div class="table-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><span class="white">×</span></button>
Results for "Latest Registered Domains
</div>
</div>
<div class="modal-body no-padding">
<table class="table table-striped table-bordered table-hover no-margin-bottom no-border-top">
<thead>
<tr>
<th>Domain</th>
<th>Price</th>
<th>Clicks</th>
<th><i class="ace-icon fa fa-clock-o bigger-110"></i> Update</th>
</tr>
</thead>
<tbody>
{{#page.domains1}}
<tr>
<td><a href='#'>{{name}}</a></td>
<td>{{price}}</td>
<td>{{clicks}}</td>
<td>{{update}}</td>
</tr>
{{/page.domains1}}
</tbody>
</table>
</div>
<div class="modal-footer no-margin-top">
<button class="btn btn-sm btn-danger pull-left" data-dismiss="modal"><i class="ace-icon fa fa-times"></i> Close</button>
<ul class="pagination pull-right no-margin">
<li class="prev disabled"><a href="#"><i class="ace-icon fa fa-angle-double-left"></i></a></li>
<li class="active"><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li class="next"><a href="#"><i class="ace-icon fa fa-angle-double-right"></i></a></li>
</ul>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div>