forked from rDrama/rDrama
add hat preview in /submit/hats
parent
eba9666dd6
commit
e4c7a588ca
|
@ -166,6 +166,11 @@
|
|||
<div><label class="mt-3">Image</label></div>
|
||||
<img loading="lazy" src="/asset_submissions/hats/{{hat.name}}.webp?s={{range(1, 10000000)|random}}" style="max-width:50%;border:5px white solid">
|
||||
|
||||
<div class="profile-pic-100-wrapper ml-4 mt-4">
|
||||
<img loading="lazy" alt="avatar" src="{{v.profile_url}}" class="profile-pic-100">
|
||||
<img loading="lazy" class="profile-pic-100-hat" src="/asset_submissions/hats/{{hat.name}}.webp?s={{range(1, 10000000)|random}}">
|
||||
</div>
|
||||
|
||||
<div><label class="mt-3" for="{{hat.name}}-submitter">Submitter</label></div>
|
||||
<input autocomplete="off" type="text" id="{{hat.name}}-submitter" class="form-control" maxlength="30" value="{{hat.submitter.username}}" readonly>
|
||||
|
||||
|
|
Loading…
Reference in New Issue