mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-31 01:08:41 +00:00
Add level icons
This commit is contained in:
parent
da5671863a
commit
552acd8124
2 changed files with 7 additions and 3 deletions
|
@ -23,8 +23,10 @@
|
|||
string callbackUrl = (string)ViewData["CallbackUrl"];
|
||||
bool showLink = (bool?)ViewData["ShowLink"] ?? false;
|
||||
}
|
||||
<div class="ui grid">
|
||||
<div class="eight wide column">
|
||||
<div style="display: flex; width: 100%;">
|
||||
<div style="margin-right: 10px; background-image: url('/gameAssets/@Model.IconHash'); height: 100px; width: 100px; background-size: cover; background-position: center; border-radius: 100%;">
|
||||
</div>
|
||||
<div style="height: fit-content; vertical-align: center; align-self: center">
|
||||
@if (showLink)
|
||||
{
|
||||
<h2 style="margin-bottom: 2px;">
|
||||
|
@ -53,7 +55,8 @@
|
|||
<i>Created by <a href="/user/@Model.Creator?.UserId">@Model.Creator?.Username</a> for @Model.GameVersion.ToPrettyString()</i>
|
||||
</p>
|
||||
</div>
|
||||
<div class="eight wide right aligned column">
|
||||
<div style="height: 100px; margin-left: auto">
|
||||
<br>
|
||||
@if (user != null)
|
||||
{
|
||||
if (isHearted)
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
"ShowLink", false
|
||||
},
|
||||
})
|
||||
<br>
|
||||
|
||||
<div class="ui grid">
|
||||
<div class="eight wide column">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue