2023-07-28 05:55:57 -04:00
|
|
|
<div id="delegation" class="generic-page-wrapper">
|
|
|
|
<h2>{{$l10n.title}}</h2>
|
|
|
|
<p id="identity-delegation-desc">{{$l10n.desc}}</p>
|
|
|
|
<p id="identity-delegation-choose">{{$l10n.choose}}</p>
|
2019-10-11 12:37:24 -04:00
|
|
|
|
2023-07-28 05:55:57 -04:00
|
|
|
<div id="identity-selector-wrapper" role="menu">
|
|
|
|
<form action="delegation" method="post">
|
2019-10-11 12:37:24 -04:00
|
|
|
|
2023-07-28 05:55:57 -04:00
|
|
|
{{foreach $identities as $identity}}
|
2023-03-22 00:07:33 -04:00
|
|
|
<div class="identity-match-wrapper {{if $identity.selected}}selected-identity{{/if}}" id="identity-match-{{$identity.uid}}">
|
2019-10-11 12:37:24 -04:00
|
|
|
<div class="identity-match-photo" id="identity-match-photo-{{$identity.uid}}">
|
|
|
|
<button type="submit" name="identity" value="{{$identity.uid}}" title="{{$identity.username}}">
|
|
|
|
<img src="{{$identity.thumb}}" alt="{{$identity.username}}" />
|
|
|
|
{{if $identity.notifications}}<span class="delegation-notify badge">{{$identity.notifications}}</span>{{/if}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="identity-match-break"></div>
|
|
|
|
|
|
|
|
<div class="identity-match-desc">
|
|
|
|
<div class="identity-match-name" id="identity-match-name-{{$identity.uid}}">
|
|
|
|
{{if $identity.selected}}
|
|
|
|
{{$identity.username}}
|
|
|
|
{{else}}
|
|
|
|
<button type="submit" name="identity" class="btn-link" value="{{$identity.uid}}">{{$identity.username}}</button>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="identity-match-details" id="identity-match-nick-{{$identity.uid}}">({{$identity.nickname}})</div>
|
|
|
|
</div>
|
|
|
|
<div class="identity-match-end"></div>
|
|
|
|
</div>
|
2023-07-28 05:55:57 -04:00
|
|
|
{{/foreach}}
|
2019-10-11 12:37:24 -04:00
|
|
|
|
2023-07-28 05:55:57 -04:00
|
|
|
<div class="identity-match-break"></div>
|
2019-10-11 12:37:24 -04:00
|
|
|
|
2023-07-28 05:55:57 -04:00
|
|
|
</form>
|
|
|
|
</div>
|
2020-11-08 02:26:52 -05:00
|
|
|
|
2023-07-28 05:55:57 -04:00
|
|
|
<p>
|
|
|
|
<a href="settings/delegation" class="btn btn-primary"><i class="fa fa-cog"></i> {{$l10n.settings_label}}</a>
|
|
|
|
</p>
|
|
|
|
</div>
|