4
mirror of git://git.acid.vegas/anope.git synced 2024-11-15 12:16:41 +00:00
anope/modules/webcpanel/templates/default/chanserv/chanlist.html
2023-05-07 13:44:21 -04:00

18 lines
750 B
HTML

<div class="panel-heading">Channels you have access in</div>
<div class="panel-body">
{IF EXISTS CHANNEL_NAMES}
<div>
<h3 style="margin: -12px 0 20px 0;"><small>Choose a channel to access it's Settings, Access or Akick pages.</small></h3>
{FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES}
{IF EQ PAGE_NAME /chanserv/info}
<a href="set?channel={ECH}" class="btn btn-sm btn-primary {IF EQ ECH ESCAPED_CHANNEL}disabled{END IF}" style="margin-bottom: 4px;">{CH}</a>
{ELSE}
<a href="{PAGE_NAME}?channel={ECH}" class="btn btn-sm btn-primary {IF EQ ECH ESCAPED_CHANNEL}disabled{END IF}" style="margin-bottom: 4px;">{CH}</a>
{END IF}
{END FOR}
</div>
{ELSE}
<em>You don't have access in any channels.</em><br>
{END IF}
</div>