Add more space between device name link and button on index; add edit button to core.hbs.
This commit is contained in:
parent
7223da2596
commit
41e739aeec
@ -1,11 +1,17 @@
|
|||||||
{{!< default}}
|
{{!< default}}
|
||||||
|
|
||||||
{{! Grab 1st coreName value (it will be same value for entire set).}}
|
<p>
|
||||||
{{#if alerts.0.coreName}}
|
<b>
|
||||||
<h2>Alerts from Particle Core: {{alerts.0.coreName}} </h2>
|
{{! Grab 1st coreName value (it will be same value for entire set).}}
|
||||||
{{else}}
|
{{#if alerts.0.coreName}}
|
||||||
<h2>Alerts from Particle Core: {{alerts.0.coreId}} </h2>
|
Alerts from Particle Core: {{alerts.0.coreName}}
|
||||||
{{/if}}
|
{{else}}
|
||||||
|
Alerts from Particle Core: # No Name #
|
||||||
|
{{/if}}
|
||||||
|
</b>
|
||||||
|
|
||||||
|
<a href="https://particle.kaplon.us/core/edit/{{this.coreId}}" class="btn btn-primary">Edit Details</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
{{else}}
|
{{else}}
|
||||||
<a href="https://particle.kaplon.us/core/{{this.coreId}}"># No Name #</a>
|
<a href="https://particle.kaplon.us/core/{{this.coreId}}"># No Name #</a>
|
||||||
</br>
|
</br>
|
||||||
|
</br>
|
||||||
<a href="https://particle.kaplon.us/core/edit/{{this.coreId}}" class="btn btn-primary">Edit Details</a>
|
<a href="https://particle.kaplon.us/core/edit/{{this.coreId}}" class="btn btn-primary">Edit Details</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</td>
|
</td>
|
||||||
@ -28,6 +29,7 @@
|
|||||||
{{else}}
|
{{else}}
|
||||||
# No Location #
|
# No Location #
|
||||||
</br>
|
</br>
|
||||||
|
</br>
|
||||||
<a href="https://particle.kaplon.us/core/edit/{{this.coreId}}" class="btn btn-primary">Edit Details</a>
|
<a href="https://particle.kaplon.us/core/edit/{{this.coreId}}" class="btn btn-primary">Edit Details</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user