This commit is contained in:
copyrighttxt
2026-07-06 13:28:00 -04:00
commit 05211f73ef
441 changed files with 94128 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
{% extends '__layout__.html' %}
{% block title %}Admin{% endblock %}
{% block head %}
<link href="/static/css/admin.css" rel="stylesheet"/> <!-- Its just easier to resuse this-->
{% endblock %}
{% block content %}
<div id="main">
<div class="container" style="max-width: 800px;">
<a href="/admin" class="btn border-primary btn-sm mb-2">Back to Admin Panel</a>
<h1>Update RBXM</h1>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
<div>
{% for category, message in messages %}
{% if category == 'error': %}
<div class="alert border p-2 text-center alert-danger border-danger">
{{ message }}
</div>
{% endif %}
{% if category == 'success': %}
<div class="alert border p-2 text-center alert-success border-success">
{{ message }}
</div>
{% endif %}
{% endfor %}
</div>
{% endif %}
{% endwith %}
<form method="post" enctype="multipart/form-data">
<div class="form-floating mt-2">
<input type="number" class="form-control" id="floatingNumber" placeholder="Value" name="asset-id" required>
<label for="floatingNumber">AssetId</label>
</div>
<input type="file" name="file" id="file" class="form-control mt-2" required/>
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<button class="btn btn-primary mt-2 w-100 btn-sm" type="submit">Update RBXM</button>
</form>
</div>
</div>
{% endblock %}