add web
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{% extends 'develop/template.html' %}
|
||||
{% block subcontent %}
|
||||
<form action="/develop/create/9" method="post">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
||||
{% if GroupIdContext != None %}<input type="hidden" name="groupIdContext" value="{{GroupIdContext}}">{%endif%}
|
||||
<button type="submit" class="btn btn-success btn-sm w-100">Create Game</button>
|
||||
</form>
|
||||
<div class="mt-2">
|
||||
{% for place in UserPlaces: %}
|
||||
<div class="w-100 m-1 p-1 d-flex">
|
||||
<img src="/Thumbs/PlaceIcon.ashx?assetId={{place.id}}&x=100&y=100" class="rounded" height="100px" width="100px">
|
||||
<div class="ms-2">
|
||||
<a class="text-white text-decoration-none" href="/games/{{place.id}}/"><h5 class="mb-1">{{place.name}}</h5></a>
|
||||
<p class="text-secondary m-0" style="font-size:13px;">Visits: <span class="text-white">{{place.place.visitcount}}</span></p>
|
||||
</div>
|
||||
<div class="ms-auto mt-auto mb-auto">
|
||||
<a class="btn btn-sm border-primary text-white" href="/develop/universes/{{GetPlaceUniverse(place).id}}/manage">Manage</a>
|
||||
</div>
|
||||
</div>
|
||||
{%endfor%}
|
||||
{% if len(UserPlaces) == 0 %}
|
||||
<p class="mt-5 mb-5 text-secondary w-100 text-center">No games found</p>
|
||||
{%endif%}
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,32 @@
|
||||
{% extends 'develop/template.html' %}
|
||||
{% block subcontent %}
|
||||
<form action="/develop/create/1" method="post" enctype="multipart/form-data">
|
||||
<div>
|
||||
<input class="form-control" type="file" id="file" name="file" required>
|
||||
</div>
|
||||
<p class="m-0 text-secondary mb-2" style="font-size:12px;">Image has to be smaller than 3MB</p>
|
||||
<div class="mb-2">
|
||||
<input class="form-control" type="text" id="name" name="name" placeholder="Name" required>
|
||||
</div>
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
||||
{% if GroupIdContext != None %}<input type="hidden" name="groupIdContext" value="{{GroupIdContext}}">{%endif%}
|
||||
<button type="submit" class="btn btn-success btn-sm w-100">Create Image</button>
|
||||
</form>
|
||||
<div class="mt-2">
|
||||
{% for image in UserImages.items: %}
|
||||
<div class="w-100 m-1 p-1 d-flex">
|
||||
<img src="/Thumbs/Asset.ashx?assetId={{image.id}}&x=100&y=100" class="rounded" height="100px" width="100px">
|
||||
<div class="ms-2">
|
||||
<a class="text-white text-decoration-none" href="/library/{{image.id}}/"><h5 class="m-0">{{image.name}}</h5></a>
|
||||
<p class="text-secondary m-0" style="font-size:13px;">Sales: <span class="text-white">{{image.sale_count}}</span></p>
|
||||
</div>
|
||||
<div class="ms-auto mt-auto mb-auto">
|
||||
<a class="btn btn-sm border-primary text-white" href="/develop/{{image.id}}/edit">Edit</a>
|
||||
</div>
|
||||
</div>
|
||||
{%endfor%}
|
||||
{% if len(UserImages.items) == 0: %}
|
||||
<h5 class="text-center mt-3 mb-3">No items found</h5>
|
||||
{%endif%}
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,32 @@
|
||||
{% extends 'develop/template.html' %}
|
||||
{% block subcontent %}
|
||||
<p class="m-0 text-secondary mb-2">Want to create Pants? <a class="text-decoration-none" href="/static/img/TemplatePants.png">Download</a> the template</p>
|
||||
<form action="/develop/create/12" method="post" enctype="multipart/form-data">
|
||||
<div class="mb-3">
|
||||
<input class="form-control" type="file" id="file" name="file" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<input class="form-control" type="text" id="name" name="name" placeholder="Name" required>
|
||||
</div>
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
||||
{% if GroupIdContext != None %}<input type="hidden" name="groupIdContext" value="{{GroupIdContext}}">{%endif%}
|
||||
<button type="submit" class="btn btn-success btn-sm w-100">Create Pants</button>
|
||||
</form>
|
||||
<div class="mt-2">
|
||||
{% for pants in UserClothing: %}
|
||||
<div class="w-100 m-1 p-1 d-flex">
|
||||
<img src="/Thumbs/Asset.ashx?assetId={{pants.id}}&x=100&y=100" class="rounded" height="100px" width="100px">
|
||||
<div class="ms-2">
|
||||
<a class="text-white text-decoration-none" href="/catalog/{{pants.id}}/"><h5 class="m-0">{{pants.name}}</h5></a>
|
||||
<p class="text-secondary m-0" style="font-size:13px;">Sales: <span class="text-white">{{pants.sale_count}}</span></p>
|
||||
</div>
|
||||
<div class="ms-auto mt-auto mb-auto">
|
||||
<a class="btn btn-sm border-primary text-white" href="/develop/{{pants.id}}/edit">Edit</a>
|
||||
</div>
|
||||
</div>
|
||||
{%endfor%}
|
||||
{% if len(UserClothing) == 0: %}
|
||||
<h5 class="text-center mt-3 mb-3">No items found</h5>
|
||||
{%endif%}
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,32 @@
|
||||
{% extends 'develop/template.html' %}
|
||||
{% block subcontent %}
|
||||
<p class="m-0 text-secondary mb-2">Want to create Shirts? <a class="text-decoration-none" href="/static/img/TemplateShirt.png">Download</a> the template</p>
|
||||
<form action="/develop/create/11" method="post" enctype="multipart/form-data">
|
||||
<div class="mb-3">
|
||||
<input class="form-control" type="file" id="file" name="file" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<input class="form-control" type="text" id="name" name="name" placeholder="Name" required>
|
||||
</div>
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
||||
{% if GroupIdContext != None %}<input type="hidden" name="groupIdContext" value="{{GroupIdContext}}">{%endif%}
|
||||
<button type="submit" class="btn btn-success btn-sm w-100">Create Shirt</button>
|
||||
</form>
|
||||
<div class="mt-2">
|
||||
{% for shirt in UserClothing: %}
|
||||
<div class="w-100 m-1 p-1 d-flex">
|
||||
<img src="/Thumbs/Asset.ashx?assetId={{shirt.id}}&x=100&y=100" class="rounded" height="100px" width="100px">
|
||||
<div class="ms-2">
|
||||
<a class="text-white text-decoration-none" href="/catalog/{{shirt.id}}/"><h5 class="m-0">{{shirt.name}}</h5></a>
|
||||
<p class="text-secondary m-0" style="font-size:13px;">Sales: <span class="text-white">{{shirt.sale_count}}</span></p>
|
||||
</div>
|
||||
<div class="ms-auto mt-auto mb-auto">
|
||||
<a class="btn btn-sm border-primary text-white" href="/develop/{{shirt.id}}/edit">Edit</a>
|
||||
</div>
|
||||
</div>
|
||||
{%endfor%}
|
||||
{% if len(UserClothing) == 0: %}
|
||||
<h5 class="text-center mt-3 mb-3">No items found</h5>
|
||||
{%endif%}
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,32 @@
|
||||
{% extends 'develop/template.html' %}
|
||||
{% block subcontent %}
|
||||
<form action="/develop/create/3" method="post" enctype="multipart/form-data">
|
||||
<div>
|
||||
<input class="form-control" type="file" id="file" name="file" required>
|
||||
</div>
|
||||
<p class="m-0 text-secondary mb-2" style="font-size:12px;">Sound has to be a MP3 File, Lesser than 8MB and shorter than 8 minutes. Minimum: 20 Robux, every second of audio costs 0.5 robux, will round down if total is decimal point. </p>
|
||||
<div class="mb-2">
|
||||
<input class="form-control" type="text" id="name" name="name" placeholder="Name" required>
|
||||
</div>
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
||||
{% if GroupIdContext != None %}<input type="hidden" name="groupIdContext" value="{{GroupIdContext}}">{%endif%}
|
||||
<button type="submit" class="btn btn-success btn-sm w-100">Create Sound</button>
|
||||
</form>
|
||||
<div class="mt-2">
|
||||
{% for sound in UserSounds.items: %}
|
||||
<div class="w-100 m-1 p-1 d-flex">
|
||||
<img src="/Thumbs/Asset.ashx?assetId={{sound.id}}&x=100&y=100" class="rounded" height="100px" width="100px">
|
||||
<div class="ms-2">
|
||||
<a class="text-white text-decoration-none" href="/library/{{sound.id}}/"><h5 class="m-0">{{sound.name}}</h5></a>
|
||||
<p class="text-secondary m-0" style="font-size:13px;">Sales: <span class="text-white">{{sound.sale_count}}</span></p>
|
||||
</div>
|
||||
<div class="ms-auto mt-auto mb-auto">
|
||||
<a class="btn btn-sm border-primary text-white" href="/develop/{{sound.id}}/edit">Edit</a>
|
||||
</div>
|
||||
</div>
|
||||
{%endfor%}
|
||||
{% if len(UserSounds.items) == 0: %}
|
||||
<h5 class="text-center mt-3 mb-3">No items found</h5>
|
||||
{%endif%}
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,31 @@
|
||||
{% extends 'develop/template.html' %}
|
||||
{% block subcontent %}
|
||||
<form action="/develop/create/2" method="post" enctype="multipart/form-data">
|
||||
<div class="mb-3">
|
||||
<input class="form-control" type="file" id="file" name="file" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<input class="form-control" type="text" id="name" name="name" placeholder="Name" required>
|
||||
</div>
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
||||
{% if GroupIdContext != None %}<input type="hidden" name="groupIdContext" value="{{GroupIdContext}}">{%endif%}
|
||||
<button type="submit" class="btn btn-success btn-sm w-100">Create T-Shirt</button>
|
||||
</form>
|
||||
<div class="mt-2">
|
||||
{% for tshirt in UserClothing: %}
|
||||
<div class="w-100 m-1 p-1 d-flex">
|
||||
<img src="/Thumbs/Asset.ashx?assetId={{tshirt.id}}&x=100&y=100" class="rounded" height="100px" width="100px">
|
||||
<div class="ms-2">
|
||||
<a class="text-white text-decoration-none" href="/catalog/{{tshirt.id}}/"><h5 class="m-0">{{tshirt.name}}</h5></a>
|
||||
<p class="text-secondary m-0" style="font-size:13px;">Sales: <span class="text-white">{{tshirt.sale_count}}</span></p>
|
||||
</div>
|
||||
<div class="ms-auto mt-auto mb-auto">
|
||||
<a class="btn btn-sm border-primary text-white" href="/develop/{{tshirt.id}}/edit">Edit</a>
|
||||
</div>
|
||||
</div>
|
||||
{%endfor%}
|
||||
{% if len(UserClothing.items) == 0: %}
|
||||
<h5 class="text-center mt-3 mb-3">No items found</h5>
|
||||
{%endif%}
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user