hardlounge/client/views/network.tpl

16 lines
536 B
Smarty
Raw Normal View History

2014-08-25 23:13:47 +00:00
{{#each networks}}
<section
id="network-{{id}}"
class="network name-{{slugify name}} {{#if serverOptions.NETWORK}}network-{{slugify serverOptions.NETWORK}}{{/if}} {{#unless status.connected}}not-connected{{/unless}} {{#unless status.secure}}not-secure{{/unless}}"
data-id="{{id}}"
data-nick="{{nick}}"
data-options="{{tojson serverOptions}}"
role="region"
>
<button class="collapse-network" aria-label="Collapse" data-id="{{id}}"
aria-controls="network-{{id}}" aria-expanded="true">
</button>
{{> chan}}
2014-08-25 23:13:47 +00:00
</section>
{{/each}}