78 lines
3.4 KiB
HTML
78 lines
3.4 KiB
HTML
|
{{define "title"}}Add to {{.MuteListName}} Mute List{{end}}
|
||
|
{{define "content"}}
|
||
|
<div class="container">
|
||
|
<section class="hero is-link is-bold">
|
||
|
<div class="hero-body">
|
||
|
<div class="container">
|
||
|
<h1 class="title">
|
||
|
<i class="fa fa-eye-slash mr-2"></i>
|
||
|
Add to {{.MuteListName}} Mute List
|
||
|
</h1>
|
||
|
</div>
|
||
|
</div>
|
||
|
</section>
|
||
|
|
||
|
<div class="block p-4">
|
||
|
<div class="columns is-centered">
|
||
|
<div class="column is-half">
|
||
|
|
||
|
<div class="card" style="width: 100%; max-width: 640px">
|
||
|
<header class="card-header has-background-link">
|
||
|
<p class="card-header-title has-text-light">
|
||
|
<span class="icon mr-2"><i class="fa fa-eye-slash"></i></span>
|
||
|
<span>Add to {{.MuteListName}} Mute List</span>
|
||
|
</p>
|
||
|
</header>
|
||
|
<div class="card-content">
|
||
|
|
||
|
<div class="block">
|
||
|
Confirm that you wish to add <strong>{{.User.Username}}</strong>
|
||
|
to your <strong>{{.MuteListName}}</strong> mute list by clicking the button below.
|
||
|
</div>
|
||
|
<div class="media block">
|
||
|
<div class="media-left">
|
||
|
{{template "avatar-64x64" .User}}
|
||
|
</div>
|
||
|
<div class="media-content">
|
||
|
<p class="title is-4">{{.User.NameOrUsername}}</p>
|
||
|
<p class="subtitle is-6">
|
||
|
<span class="icon"><i class="fa fa-user"></i></span>
|
||
|
<a href="/u/{{.User.Username}}" target="_blank">{{.User.Username}}</a>
|
||
|
</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<form action="/users/mutelist/add" method="POST">
|
||
|
{{InputCSRF}}
|
||
|
<input type="hidden" name="username" value="{{.User.Username}}">
|
||
|
<input type="hidden" name="context" value="{{.Context}}">
|
||
|
<input type="hidden" name="next" value="{{.Next}}">
|
||
|
|
||
|
<!-- Explain what will happen -->
|
||
|
{{if eq .Context "site_gallery"}}
|
||
|
<div class="block">
|
||
|
By continuing, <strong>you will no longer see <a href="/u/{{.User.Username}}">{{.User.Username}}</a>'s photos appear on the site-wide Photo Gallery.</strong>
|
||
|
You may still see their photos when looking at their own Photo Gallery directly, from their profile page.
|
||
|
</div>
|
||
|
{{end}}
|
||
|
|
||
|
<div class="field has-text-centered">
|
||
|
<button type="submit" class="button is-success">
|
||
|
Continue
|
||
|
</button>
|
||
|
<a href="{{.Next}}" class="button">
|
||
|
Cancel
|
||
|
</a>
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
{{end}}
|