(control) Highlight unavailable items (creating, deleting) in node actions views
This commit is contained in:
parent
c042650382
commit
b192373ae7
@ -22,9 +22,12 @@
|
||||
|
||||
{{#each allProcessedData}}
|
||||
<tr>
|
||||
<td><input {{#if active}}checked{{/if}} class="form-check-input" type="checkbox" name="source" id="{{id}}" value="{{id}}"></td>
|
||||
<td><input {{#if active}}checked{{/if}} {{#if new}}disabled{{/if}} {{#if delete}}disabled{{/if}} class="form-check-input" type="checkbox" name="source" id="{{id}}" value="{{id}}"></td>
|
||||
<td><label for="{{id}}" class="form-check-label" >{{path}}</label></td>
|
||||
<td>{{description}}</td>
|
||||
<td>{{description}}
|
||||
<span class="text-danger">{{#if new}}[CREATING]{{/if}}</span>
|
||||
<span class="text-danger">{{#if delete}}[DELETING]{{/if}}</span>
|
||||
</td>
|
||||
<td><a href="/nodes/{{node}}/storage/details?fid={{id}}">[Details]</a></td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
|
@ -37,9 +37,12 @@
|
||||
|
||||
{{#each allCrawlSpecs}}
|
||||
<tr>
|
||||
<td><input {{#if active}}checked{{/if}} class="form-check-input" type="checkbox" name="source" id="{{id}}" value="{{id}}"></td>
|
||||
<td><input {{#if active}}checked{{/if}} {{#if new}}disabled{{/if}} {{#if delete}}disabled{{/if}} class="form-check-input" type="checkbox" name="source" id="{{id}}" value="{{id}}"></td>
|
||||
<td><label for="{{id}}" class="form-check-label" >{{path}}</label></td>
|
||||
<td>{{description}}</td>
|
||||
<td>{{description}}
|
||||
<span class="text-danger">{{#if new}}[CREATING]{{/if}}</span>
|
||||
<span class="text-danger">{{#if delete}}[DELETING]{{/if}}</span>
|
||||
</td>
|
||||
<td><a href="/nodes/{{node}}/storage/details?fid={{id}}">[Details]</a></td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
|
@ -23,9 +23,12 @@
|
||||
</tr>
|
||||
{{#each allCrawlData}}
|
||||
<tr>
|
||||
<td><input {{#if active}}checked{{/if}} class="form-check-input" type="radio" name="source" id="{{id}}" value="{{id}}"></td>
|
||||
<td><input {{#if active}}checked{{/if}} {{#if new}}disabled{{/if}} {{#if delete}}disabled{{/if}} class="form-check-input" type="radio" name="source" id="{{id}}" value="{{id}}"></td>
|
||||
<td><label for="{{id}}" class="form-check-label" >{{path}}</label></td>
|
||||
<td>{{description}}</td>
|
||||
<td>{{description}}
|
||||
<span class="text-danger">{{#if new}}[CREATING]{{/if}}</span>
|
||||
<span class="text-danger">{{#if delete}}[DELETING]{{/if}}</span>
|
||||
</td>
|
||||
<td><a href="/nodes/{{node}}/storage/details?fid={{id}}">[Details]</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
|
@ -31,9 +31,12 @@
|
||||
</tr>
|
||||
{{#each allCrawlData}}
|
||||
<tr>
|
||||
<td><input {{#if active}}checked{{/if}} class="form-check-input" type="radio" name="source" id="{{id}}" value="{{id}}"></td>
|
||||
<td><input {{#if active}}checked{{/if}} {{#if new}}disabled{{/if}} {{#if delete}}disabled{{/if}} class="form-check-input" type="radio" name="source" id="{{id}}" value="{{id}}"></td>
|
||||
<td><label for="{{id}}" class="form-check-label" >{{path}}</label></td>
|
||||
<td>{{description}}</td>
|
||||
<td>{{description}}
|
||||
<span class="text-danger">{{#if new}}[CREATING]{{/if}}</span>
|
||||
<span class="text-danger">{{#if delete}}[DELETING]{{/if}}</span>
|
||||
</td>
|
||||
<td><a href="/nodes/{{node}}/storage/details?fid={{id}}">[Details]</a></td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
|
@ -22,9 +22,12 @@
|
||||
|
||||
{{#each allBackups}}
|
||||
<tr>
|
||||
<td><input {{#if active}}checked{{/if}} class="form-check-input" type="radio" name="source" id="{{id}}" value="{{id}}"></td>
|
||||
<td><input {{#if active}}checked{{/if}} {{#if new}}disabled{{/if}} {{#if delete}}disabled{{/if}} class="form-check-input" type="radio" name="source" id="{{id}}" value="{{id}}"></td>
|
||||
<td><label for="{{id}}" class="form-check-label" >{{path}}</label></td>
|
||||
<td>{{description}}</td>
|
||||
<td>{{description}}
|
||||
<span class="text-danger">{{#if new}}[CREATING]{{/if}}</span>
|
||||
<span class="text-danger">{{#if delete}}[DELETING]{{/if}}</span>
|
||||
</td>
|
||||
<td><a href="/nodes/{{node}}/storage/details?fid={{id}}">[Details]</a></td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
|
Loading…
Reference in New Issue
Block a user