Change jumbotron text; use html table on device listing template, closes issue #19
This commit is contained in:
parent
ac76f02337
commit
9915256f77
@ -17,7 +17,7 @@
|
||||
<body class="container-fluid">
|
||||
|
||||
<div style="background:#D1E0E0" class="jumbotron">
|
||||
<h1 class="text-center">Device Dashboard</h1>
|
||||
<h1 class="text-center">Alert Monitor Dashboard</h1>
|
||||
</div>
|
||||
|
||||
{{! Everything else gets inserted here }}
|
||||
|
@ -1,16 +1,31 @@
|
||||
{{!< default}}
|
||||
|
||||
<h1>Select a monitor device:</h1>
|
||||
<ul>
|
||||
{{#each cores}}
|
||||
<li>
|
||||
<a href="https://particle.kaplon.us/core/{{this.coreId}}">
|
||||
{{#if this.coreName}}
|
||||
{{this.coreName}}, {{this.locationDesc}}, {{this.MaxPub}}, {{this.MaxStatus}}
|
||||
{{else}}
|
||||
{{this.coreId}}, {{this.locationDesc}}, {{this.MaxPub}}, {{this.MaxStatus}}
|
||||
{{/if}}
|
||||
</a>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Device Name</th>
|
||||
<th>Location</th>
|
||||
<th>Last Update</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each cores}}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="https://particle.kaplon.us/core/{{this.coreId}}">
|
||||
{{#if this.coreName}}
|
||||
{{this.coreName}}
|
||||
{{else}}
|
||||
{{this.coreId}}
|
||||
{{/if}}
|
||||
</a>
|
||||
</td>
|
||||
<td>{{this.locationDesc}}</td>
|
||||
<td>{{this.MaxPub}}</td>
|
||||
<td>{{this.MaxStatus}}</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
|
Loading…
Reference in New Issue
Block a user