add template page
This commit is contained in:
parent
77f4fc32ce
commit
8899d705c4
@ -780,6 +780,7 @@
|
||||
<td><%= vendor %> <%= device %></td>
|
||||
<td><%= linkState() %></td>
|
||||
</script>
|
||||
|
||||
<!-- Storage -->
|
||||
<script type="text/template" id="tpl-storages-list" data-class="container">
|
||||
|
||||
@ -808,6 +809,25 @@
|
||||
<td><%= formatSize(total) %></td>
|
||||
<td><%= formatSize(allocated) %></td>
|
||||
</script>
|
||||
|
||||
<!-- Template -->
|
||||
<script type="text/template" id="tpl-templates-list" data-class="container">
|
||||
|
||||
<table class="table table-hover table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</script>
|
||||
|
||||
<script type="text/template" id="tpl-templates-list-item" data-tag="tr">
|
||||
<td><i class="icon-file-alt"></i> <%= name %></td>
|
||||
<td><%= description %></td>
|
||||
</script>
|
||||
|
||||
<!-- JS Placed at the end of the document so the pages load faster -->
|
||||
<script src="http://underscorejs.org/underscore.js"></script>
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user