web: fix a few small issues

This commit is contained in:
Ske 2019-05-08 21:39:30 +02:00
parent 6cd36e2c5e
commit 12e14c420c
3 changed files with 7 additions and 4 deletions

View File

@ -29,8 +29,9 @@
@RenderSection("Scripts", required: false)
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/feather-icons/4.21.0/feather.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script>
feather.replace();
</script>

View File

@ -32,17 +32,17 @@
@if (Model.System.Description != null)
{
<p>@Model.System.Description</p>
<div>@Model.System.Description</div>
}
<h2>Members</h2>
@foreach (var member in Model.Members)
{
<div class="member-card">
<div class="member-avatar" style="background-image: url(@(member.AvatarUrl)"></div>
<div class="member-avatar" style="background-image: url(@member.AvatarUrl); border-color: #@member.Color;"></div>
<div class="member-body">
<span class="member-name">@member.Name</span>
<p class="member-description">@member.Description</p>
<div class="member-description">@member.Description</div>
<ul class="taglist">
<li>

View File

@ -15,5 +15,7 @@ services:
- "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres"
links:
- db
ports:
- 2837:80
db:
image: postgres:alpine