2023-06-12 12:33:26 +00:00
|
|
|
{{ if ! User.BackgroundImage }}
|
2023-05-19 05:15:27 +00:00
|
|
|
<div class="user-background-placeholder"></div>
|
|
|
|
{{ else }}
|
2023-05-16 15:07:17 +00:00
|
|
|
<div class="user-background">
|
2023-06-12 12:33:26 +00:00
|
|
|
<img src="{{ proxyImage(User.BackgroundImage) }}" alt="{{ User.Name }}" />
|
2023-05-16 15:07:17 +00:00
|
|
|
</div>
|
2023-05-19 05:15:27 +00:00
|
|
|
{{ end }}
|
2023-05-16 15:07:17 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="user-page">
|
|
|
|
<div class="user-details">
|
2023-06-14 10:24:34 +00:00
|
|
|
<img
|
|
|
|
src="{{ proxyImage(User.Avatar) }}"
|
|
|
|
alt="avatar"
|
|
|
|
class="user-avatar"
|
|
|
|
/>
|
2023-06-12 12:33:26 +00:00
|
|
|
<h2 class="user-name">{{ User.Name }}</h2>
|
2023-05-18 15:03:21 +00:00
|
|
|
<p class="user-id">
|
2023-06-12 12:33:26 +00:00
|
|
|
{{ User.Following }} Following | {{ User.MyPixiv }} MyPixiv
|
2023-05-18 15:03:21 +00:00
|
|
|
</p>
|
2023-06-12 12:33:26 +00:00
|
|
|
<p class="user-comment">{{ raw: User.Comment }}</p>
|
2023-05-16 15:07:17 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-14 13:46:34 +00:00
|
|
|
<div class="switcher">
|
|
|
|
<span class="switch-title">Category</span>
|
|
|
|
<a href="/users/{{ User.ID }}/artworks#checkpoint" class="switch-button"
|
|
|
|
>All</a
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
href="/users/{{ User.ID }}/illustrations#checkpoint"
|
|
|
|
class="switch-button"
|
|
|
|
>Illustrations</a
|
|
|
|
>
|
|
|
|
<a href="/users/{{ User.ID }}/manga#checkpoint" class="switch-button"
|
|
|
|
>Mangas</a
|
|
|
|
>
|
2023-06-14 06:04:54 +00:00
|
|
|
</div>
|
2023-05-16 15:07:17 +00:00
|
|
|
<div>
|
2023-06-14 13:46:34 +00:00
|
|
|
<h1 id="checkpoint">Illustrations and Mangas</h1>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
{{ range User.FrequentTags }}
|
|
|
|
<a href="/tags/{{ .Name }}">
|
|
|
|
<div
|
|
|
|
class="tag-container"
|
|
|
|
style="background-color: {{ randomColor() }}"
|
|
|
|
>
|
|
|
|
{{ if ! .TranslatedName }}
|
|
|
|
<div class="main">{{ .Name }}</div>
|
|
|
|
<div class="sub">#</div>
|
|
|
|
{{ else }}
|
|
|
|
<div class="main">{{ .TranslatedName }}</div>
|
|
|
|
<div class="sub">#{{ .Name }}</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
|
2023-06-12 12:33:26 +00:00
|
|
|
{{ include "small-tn" User.Artworks }}
|
2023-05-19 15:05:55 +00:00
|
|
|
</div>
|
|
|
|
<div class="pagination">
|
2023-06-12 12:33:26 +00:00
|
|
|
{{ if Page == 1 }}
|
2023-06-01 04:23:03 +00:00
|
|
|
<a href="#" class="pagination-button disabled">First</a>
|
2023-05-19 15:05:55 +00:00
|
|
|
<a href="#" class="pagination-button disabled">Previous</a>
|
|
|
|
{{ else }}
|
2023-06-12 12:33:26 +00:00
|
|
|
<a href="/users/{{ User.ID }}?page=1" class="pagination-button">First</a>
|
2023-06-14 10:24:34 +00:00
|
|
|
<a
|
|
|
|
href="/users/{{ User.ID }}?page={{ dec(Page) }}"
|
|
|
|
class="pagination-button"
|
|
|
|
>Previous</a
|
|
|
|
>
|
2023-05-19 15:05:55 +00:00
|
|
|
{{ end }}
|
2023-06-01 04:23:03 +00:00
|
|
|
|
2023-06-12 12:33:26 +00:00
|
|
|
<a href="#" class="pagination-button disabled">{{ Page }}</a>
|
2023-06-01 04:23:03 +00:00
|
|
|
|
2023-06-12 12:33:26 +00:00
|
|
|
{{ if Page == dec(PageLimit) }}
|
2023-05-19 15:05:55 +00:00
|
|
|
<a href="#" class="pagination-button disabled">Next</a>
|
2023-06-01 04:23:03 +00:00
|
|
|
<a href="#" class="pagination-button disabled">Last</a>
|
2023-05-19 15:05:55 +00:00
|
|
|
{{ else }}
|
2023-06-14 10:24:34 +00:00
|
|
|
<a
|
|
|
|
href="/users/{{ User.ID }}?page={{ inc(Page) }}"
|
|
|
|
class="pagination-button"
|
|
|
|
>Next</a
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
href="/users/{{ User.ID }}?page={{ dec(PageLimit) }}"
|
|
|
|
class="pagination-button"
|
|
|
|
>Last</a
|
|
|
|
>
|
2023-05-19 15:05:55 +00:00
|
|
|
{{ end }}
|
2023-05-16 15:07:17 +00:00
|
|
|
</div>
|
|
|
|
</div>
|