feat(users): add create/upload buttons to UI

Introduced "Create scene" and "Upload media" buttons in the category
view to enhance usability by providing direct access to common actions.
This change aims to improve the user experience by making it easier for
users to create new scenes and upload media without navigating away from
the category page. The layout has been adjusted with flexbox to maintain
a clean, organized appearance.
This commit is contained in:
Kumi 2024-03-16 08:07:40 +01:00
parent e9e8719a93
commit ceb2d022dc
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -41,7 +41,10 @@
role="tabpanel"
aria-labelledby="scenes-tab"
>
<h5>Created scenes</h5>
<div class="d-flex justify-content-between align-items-center">
<h5>Created scenes</h5>
<button type="button" class="btn btn-primary">Create scene</button>
</div>
<table id="scenesTable" class="display">
<thead>
<tr>
@ -77,7 +80,10 @@
role="tabpanel"
aria-labelledby="media-tab"
>
<h5>Available media</h5>
<div class="d-flex justify-content-between align-items-center">
<h5>Available media</h5>
<button type="button" class="btn btn-primary">Upload media</button>
</div>
<table id="mediaTable" class="display">
<thead>
<tr>