mirror of
https://github.com/thelounge/thelounge
synced 2024-11-27 06:20:26 +00:00
16 lines
609 B
Smarty
16 lines
609 B
Smarty
{{#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}}"
|
|
>
|
|
<div id="network-{{id}}-chanlist" role="region" class="chanlist">
|
|
<button class="collapse-network" aria-label="Collapse" data-id="{{id}}"
|
|
aria-controls="network-{{id}}-chanlist" aria-expanded="true">
|
|
</button>
|
|
{{> chan}}
|
|
</div>
|
|
</section>
|
|
{{/each}}
|