Add more space between device name link and button on index; add edit button to core.hbs.

This commit is contained in:
jkaplon 2015-07-20 13:28:53 -04:00
parent 7223da2596
commit 41e739aeec
2 changed files with 14 additions and 6 deletions

View File

@ -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>

View File

@ -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>