pull/12/head
Noah 2022-08-31 22:20:16 -07:00
parent c8d7b891c1
commit ff0d6f16be
3 changed files with 24 additions and 16 deletions

View File

@ -141,7 +141,7 @@
<div class="column">
<div class="card" id="notifications">
<header class="card-header has-background-warning">
<p class="card-header-title">Notifications</p>
<p class="card-header-title has-text-dark">Notifications</p>
</header>
<div class="card-content">

View File

@ -6,6 +6,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
<!-- <link rel="stylesheet" type="text/css" href="https://unpkg.com/bulma-prefers-dark" /> -->
<link rel="stylesheet" href="/static/fontawesome-free-6.1.2-web/css/all.css">
<link rel="stylesheet" href="/static/css/theme.css">
<title>{{template "title" .}} - {{ .Title }}</title>

View File

@ -122,7 +122,7 @@
{{if ne .Comment.ID .Thread.CommentID}}
<hr class="has-background-grey my-2">
<div class="columns is-gapless mb-0">
<div class="columns is-multiline is-gapless mb-0">
<div class="column is-narrow">
<a href="/forum/thread/{{.ThreadID}}?page=-1" class="has-text-grey">
<h2 class="is-size-5 py-0 is-italic has-text-grey">
@ -131,22 +131,29 @@
</h2>
</a>
</div>
<div class="column is-narrow mx-2">
<a href="/u/{{.Comment.User.Username}}">
<figure class="image is-32x32 is-inline-block">
{{if .Comment.User.ProfilePhoto.ID}}
<img src="{{PhotoURL .Comment.User.ProfilePhoto.CroppedFilename}}" class="is-rounded">
{{else}}
<img src="/static/photos/shy.png" class="is-rounded">
{{end}}
</figure>
</a>
</div>
<div class="column is-narrow">
<h2 class="is-size-5 py-0">
<a href="/u/{{.Comment.User.Username}}" class="has-text-dark">{{.Comment.User.Username}}</a>
</h2>
<div class="columns is-gapless is-mobile">
<div class="column is-narrow mx-2">
<a href="/u/{{.Comment.User.Username}}">
<figure class="image is-32x32 is-inline-block">
{{if .Comment.User.ProfilePhoto.ID}}
<img src="{{PhotoURL .Comment.User.ProfilePhoto.CroppedFilename}}" class="is-rounded">
{{else}}
<img src="/static/photos/shy.png" class="is-rounded">
{{end}}
</figure>
</a>
</div>
<div class="column is-narrow">
<h2 class="is-size-5 py-0">
<a href="/u/{{.Comment.User.Username}}" class="has-text-dark">{{.Comment.User.Username}}</a>
</h2>
</div>
</div>
</div>
</div>
<a href="/forum/thread/{{.ThreadID}}?page=-1" class="has-text-dark">