commit
48e67df534
@ -0,0 +1,42 @@
|
||||
<!-- all -->
|
||||
<div class="wr-hidden-operation" data-operation="all">
|
||||
<div class="panel panel-default">
|
||||
<div id="all-body" class="panel-collapse panel-body" role="tabpanel">
|
||||
<div id="error-msg" class="alert alert-danger hidden" role="alert">
|
||||
<i class="icon fw fw-error"></i><span></span>
|
||||
</div>
|
||||
|
||||
<table class="table table-striped table-hover table-bordered display data-table" id="all-notifications">
|
||||
<thead style="display: none;">
|
||||
<tr class="sort-row">
|
||||
<th>Description</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#if notifications}}
|
||||
{{#each notifications}}
|
||||
<tr data-type="selectable" data-id="{{id}}">
|
||||
<td data-display="{{description}}" data-grid-label="Description">{{description}}</td>
|
||||
<td style="text-align: center;">
|
||||
<a href="device/{{deviceType}}?id={{deviceIdentifier}}" data-click-event="remove-form">
|
||||
<span class="fw-stack">
|
||||
<i class="fw fw-circle-outline fw-stack-2x"></i>
|
||||
<i class="fw fw-view fw-stack-1x"></i>
|
||||
</span>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
{{else}}
|
||||
<div>
|
||||
You do not have any notifications
|
||||
</div>
|
||||
{{/if}}
|
||||
<br class="c-both" />
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /all -->
|
@ -0,0 +1,44 @@
|
||||
<!-- unread -->
|
||||
<div class="wr-hidden-operation" data-operation="unread" style="display: block">
|
||||
<div class="panel panel-default">
|
||||
<div id="unread-body" class="panel-collapse panel-body" role="tabpanel">
|
||||
<div id="error-msg" class="alert alert-danger hidden" role="alert">
|
||||
<i class="icon fw fw-error"></i><span></span>
|
||||
</div>
|
||||
|
||||
<table class="table table-striped table-hover table-bordered display data-table" id="unread-notifications">
|
||||
<thead style="display: none;">
|
||||
<tr class="sort-row">
|
||||
<th>Description</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#if notifications}}
|
||||
{{#each notifications}}
|
||||
{{#equal "NEW" status }}
|
||||
<tr data-type="selectable" data-id="{{id}}">
|
||||
<td data-display="{{description}}" data-grid-label="Description">{{description}}</td>
|
||||
<td style="text-align: center;">
|
||||
<a href="device/{{deviceType}}?id={{deviceIdentifier}}" data-id="{{id}}" data-url="device/{{deviceType}}?id={{deviceIdentifier}}" class="new-notification" data-click-event="remove-form">
|
||||
<span class="fw-stack">
|
||||
<i class="fw fw-circle-outline fw-stack-2x"></i>
|
||||
<i class="fw fw-view fw-stack-1x"></i>
|
||||
</span>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{{/equal}}
|
||||
{{/each}}
|
||||
{{else}}
|
||||
<div>
|
||||
You do not have any unread notifications
|
||||
</div>
|
||||
{{/if}}
|
||||
<br class="c-both" />
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- unread-->
|
@ -1,75 +0,0 @@
|
||||
<!-- unread -->
|
||||
<div class="wr-hidden-operation" data-operation="unread" style="display: block">
|
||||
<div class="panel panel-default">
|
||||
<div id="unread-body" class="panel-collapse panel-body" role="tabpanel">
|
||||
<div id="error-msg" class="alert alert-danger hidden" role="alert">
|
||||
<i class="icon fw fw-error"></i><span></span>
|
||||
</div>
|
||||
|
||||
<table class="table table-striped table-hover table-bordered display data-table" id="unread-notifications">
|
||||
<thead style="display: none;">
|
||||
<tr class="sort-row">
|
||||
<th>Description</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each notifications}}
|
||||
{{#equal "NEW" status }}
|
||||
<tr data-type="selectable" data-id="{{id}}">
|
||||
<td data-display="{{description}}" data-grid-label="Description">{{description}}</td>
|
||||
<td style="text-align: center;">
|
||||
<a href="device/{{deviceType}}?id={{deviceIdentifier}}" data-id="{{id}}" data-url="device/{{deviceType}}?id={{deviceIdentifier}}" class="new-notification" data-click-event="remove-form">
|
||||
<span class="fw-stack">
|
||||
<i class="fw fw-circle-outline fw-stack-2x"></i>
|
||||
<i class="fw fw-view fw-stack-1x"></i>
|
||||
</span>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{{/equal}}
|
||||
{{/each}}
|
||||
<br class="c-both" />
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- unread-->
|
||||
|
||||
<!-- all -->
|
||||
<div class="wr-hidden-operation" data-operation="all">
|
||||
<div class="panel panel-default">
|
||||
<div id="all-body" class="panel-collapse panel-body" role="tabpanel">
|
||||
<div id="error-msg" class="alert alert-danger hidden" role="alert">
|
||||
<i class="icon fw fw-error"></i><span></span>
|
||||
</div>
|
||||
|
||||
<table class="table table-striped table-hover table-bordered display data-table" id="all-notifications">
|
||||
<thead style="display: none;">
|
||||
<tr class="sort-row">
|
||||
<th>Description</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each notifications}}
|
||||
<tr data-type="selectable" data-id="{{id}}">
|
||||
<td data-display="{{description}}" data-grid-label="Description">{{description}}</td>
|
||||
<td style="text-align: center;">
|
||||
<a href="device/{{deviceType}}?id={{deviceIdentifier}}" data-click-event="remove-form">
|
||||
<span class="fw-stack">
|
||||
<i class="fw fw-circle-outline fw-stack-2x"></i>
|
||||
<i class="fw fw-view fw-stack-1x"></i>
|
||||
</span>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
<br class="c-both" />
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /all -->
|
@ -1,14 +1,27 @@
|
||||
{{#each notifications}}
|
||||
<li class="message message-info" data-type="selectable" >
|
||||
<h4>
|
||||
<i class="icon fw fw-info"></i>
|
||||
<a href="{{../context}}/device/{{deviceType}}?id={{deviceIdentifier}}"
|
||||
data-id="{{id}}"
|
||||
data-url="device?type={{deviceType}}&id={{deviceIdentifier}}"
|
||||
class="new-notification" data-click-event="remove-form">
|
||||
{{deviceType}} : {{deviceName}}
|
||||
</a>
|
||||
</h4>
|
||||
<p>{{description}}</p>
|
||||
<table>
|
||||
<td>
|
||||
<h4>
|
||||
<i class="icon fw fw-info"></i>
|
||||
<a href="{{../context}}/device/{{deviceType}}?id={{deviceIdentifier}}"
|
||||
data-id="{{id}}"
|
||||
data-url="{{../context}}/device/{{deviceType}}?id={{deviceIdentifier}}"
|
||||
class="new-notification" data-click-event="remove-form">
|
||||
{{deviceType}} : {{deviceName}}
|
||||
</a>
|
||||
</h4>
|
||||
<p>{{description}}</p>
|
||||
</td>
|
||||
<td>
|
||||
<a class="new-notification" data-click-event="remove-notification">
|
||||
<span class="fw-stack">
|
||||
<i class="fw fw-circle-outline fw-stack-2x"></i>
|
||||
<i class="fw fw-delete fw-stack-1x"></i>
|
||||
</span>
|
||||
</a>
|
||||
</a>
|
||||
</td>
|
||||
</table>
|
||||
</li>
|
||||
{{/each}}
|
Loading…
Reference in new issue