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}}
|
||||
|
||||
{{! Grab 1st coreName value (it will be same value for entire set).}}
|
||||
{{#if alerts.0.coreName}}
|
||||
<h2>Alerts from Particle Core: {{alerts.0.coreName}} </h2>
|
||||
{{else}}
|
||||
<h2>Alerts from Particle Core: {{alerts.0.coreId}} </h2>
|
||||
{{/if}}
|
||||
<p>
|
||||
<b>
|
||||
{{! Grab 1st coreName value (it will be same value for entire set).}}
|
||||
{{#if alerts.0.coreName}}
|
||||
Alerts from Particle Core: {{alerts.0.coreName}}
|
||||
{{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">
|
||||
<thead>
|
||||
|
@ -19,6 +19,7 @@
|
||||
{{else}}
|
||||
<a href="https://particle.kaplon.us/core/{{this.coreId}}"># No Name #</a>
|
||||
</br>
|
||||
</br>
|
||||
<a href="https://particle.kaplon.us/core/edit/{{this.coreId}}" class="btn btn-primary">Edit Details</a>
|
||||
{{/if}}
|
||||
</td>
|
||||
@ -28,6 +29,7 @@
|
||||
{{else}}
|
||||
# No Location #
|
||||
</br>
|
||||
</br>
|
||||
<a href="https://particle.kaplon.us/core/edit/{{this.coreId}}" class="btn btn-primary">Edit Details</a>
|
||||
{{/if}}
|
||||
</td>
|
||||
|
Loading…
Reference in New Issue
Block a user