59 lines
2.4 KiB
HTML
59 lines
2.4 KiB
HTML
<table class="{{ tclass }}-node-studios">
|
|
<thead>
|
|
<tr>
|
|
<th>{{ l.fleet_node_studio_panel_th_name }}</th>
|
|
<th class="tac">{{ l.fleet_node_studio_panel_th_host }}</th>
|
|
<th class="tac">{{ l.fleet_node_studio_panel_th_port }}</th>
|
|
<th class="tac">{{ l.fleet_node_studio_panel_th_enabled }}</th>
|
|
<th class="tac">{{ l.fleet_node_studio_panel_th_activity }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="empty-tr {% if node_studios|length != 0 %}hidden{% endif %}">
|
|
<td colspan="4">
|
|
{{ l.fleet_node_studio_panel_empty|replace(
|
|
'%link%',
|
|
('<a href="javascript:void(0);" class="item-add node-studio-add">'~l.fleet_node_studio_button_add~'</a>')|safe
|
|
) }}
|
|
</td>
|
|
</tr>
|
|
{% for node_studio in node_studios %}
|
|
<tr class="node-studio-item" data-level="{{ node_studio.id }}" data-entity="{{ node_studio.to_json() }}">
|
|
<td class="infos">
|
|
<div class="inner">
|
|
<a href="javascript:void(0);" class="item-sort node-studio-sort">
|
|
<i class="fa fa-sort icon-left"></i>
|
|
</a>
|
|
|
|
<div class="badge"><i class="fa fa-key icon-left"></i> {{ node_studio.id }}</div>
|
|
|
|
<i class="fa fa-server icon-left"></i>
|
|
{{ node_studio.name }}
|
|
</div>
|
|
</td>
|
|
<td class="tac">
|
|
{{ node_studio.host }}
|
|
</td>
|
|
<td class="tac">
|
|
{{ node_studio.port }}
|
|
</td>
|
|
<td class="tac">
|
|
<label class="pure-material-switch">
|
|
<input type="checkbox" {% if node_studio.enabled %}checked="checked"{% endif %}><span></span>
|
|
</label>
|
|
</td>
|
|
<td class="actions tac">
|
|
<a href="javascript:void(0);" class="item-edit node-studio-edit">
|
|
<i class="fa fa-pencil"></i>
|
|
</a>
|
|
<a href="http://{{ node_studio.host }}:{{ node_studio.port }}" target="_blank">
|
|
<i class="fa fa-eye"></i>
|
|
</a>
|
|
<a href="javascript:void(0);" class="item-delete node-studio-delete">
|
|
<i class="fa fa-trash"></i>
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table> |