Skip to content

Commit

Permalink
move media details thumbnail to right side of header
Browse files Browse the repository at this point in the history
  • Loading branch information
brookgagnon committed Aug 25, 2024
1 parent 0b39ea5 commit 5bc19db
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 102 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.3.3-20240821
5.3.3-20240825
203 changes: 102 additions & 101 deletions html/media/details.html
Original file line number Diff line number Diff line change
@@ -1,103 +1,104 @@
<ob-tabs>
<ob-tab data-name="Details">

<h1 id="media_heading" data-t>Media Details</h1>

<p>
<button data-t id="media_details_download" class="hidden add">Download</button>
<button data-t id="media_details_edit" class="hidden edit">Edit</button>
<button data-t id="media_details_restore" class="hidden">Restore</button>
<button data-t id="media_details_delete" class="hidden delete">Delete</button>
<button data-t id="media_details_versions" class="hidden">Versions</button>
</p>

<fieldset id="media_details_fieldset">

<div class="hidden" id="media_details_table">

<div class="fieldrow">
<label data-t>ID</label><span id="media_details_id"></span>
</div>

<div class="fieldrow">
<label data-t>Thumbnail</label><ob-field-thumbnail readonly id="media_details_thumbnail"></ob-field-thumbnail>
</div>

<div class="fieldrow">
<label data-t>Artist</label><span id="media_details_artist"></span>
</div>

<div class="fieldrow">
<label data-t>Title</label><span id="media_details_title"></span>
</div>

<div class="fieldrow">
<label data-t>Album</label><span id="media_details_album"></span>
</div>

<div class="fieldrow">
<label data-t>Year</label><span id="media_details_year"></span>
</div>

<div class="fieldrow">
<label data-t>Category</label><span id="media_details_category"></span>
</div>

<div class="fieldrow">
<label data-t>Country</label><span id="media_details_country"></span>
</div>

<div class="fieldrow">
<label data-t>Language</label><span id="media_details_language"></span>
</div>

<div class="fieldrow">
<label data-t>Genre</label><span id="media_details_genre"></span>
</div>

<div class="fieldrow">
<label data-t>Comments</label><span id="media_details_comments"></span>
</div>

<div id="media_details_metadata"></div>

<div class="fieldrow">
<label data-t>Uploader</label><span id="media_details_uploader"></span>
</div>

<div class="fieldrow">
<label data-t>Created</label><span id="media_details_created"></span>
</div>

<div class="fieldrow">
<label data-t>Last Updated</label><span id="media_details_updated"></span>
</div>

<div class="fieldrow">
<label data-t>Copyright</label><span id="media_details_copyright"></span>
</div>

<div class="fieldrow">
<label data-t>Approval</label><span id="media_details_approval"></span>
</div>

<div class="fieldrow">
<label data-t>Status</label><span id="media_details_visibility"></span>
</div>

<div class="fieldrow">
<label data-t>Dynamic Selections</label><span id="media_details_dynamic"></span>
</div>

</div>

</fieldset>
</ob-tab>
<ob-tab data-name="Where Used">
<h1>Where is this media used?</h1>
<div class="hidden" id="media_details_used">
<ul>
</ul>
</div>
</ob-tab>
<ob-tab data-name="Details">

<div style="display: flex; justify-content: space-between;">
<div>
<h1 id="media_heading" data-t>Media Details</h1>
<p>
<button data-t id="media_details_download" class="hidden add">Download</button>
<button data-t id="media_details_edit" class="hidden edit">Edit</button>
<button data-t id="media_details_restore" class="hidden">Restore</button>
<button data-t id="media_details_delete" class="hidden delete">Delete</button>
<button data-t id="media_details_versions" class="hidden">Versions</button>
</p>
</div>
<ob-field-thumbnail readonly id="media_details_thumbnail"
style="position: relative; top: -25px; margin-bottom: -25px;"></ob-field-thumbnail>
</div>

<fieldset id="media_details_fieldset" style="margin-top: 7px;">

<div class="hidden" id="media_details_table">

<div class="fieldrow">
<label data-t>ID</label><span id="media_details_id"></span>
</div>

<div class="fieldrow">
<label data-t>Artist</label><span id="media_details_artist"></span>
</div>

<div class="fieldrow">
<label data-t>Title</label><span id="media_details_title"></span>
</div>

<div class="fieldrow">
<label data-t>Album</label><span id="media_details_album"></span>
</div>

<div class="fieldrow">
<label data-t>Year</label><span id="media_details_year"></span>
</div>

<div class="fieldrow">
<label data-t>Category</label><span id="media_details_category"></span>
</div>

<div class="fieldrow">
<label data-t>Country</label><span id="media_details_country"></span>
</div>

<div class="fieldrow">
<label data-t>Language</label><span id="media_details_language"></span>
</div>

<div class="fieldrow">
<label data-t>Genre</label><span id="media_details_genre"></span>
</div>

<div class="fieldrow">
<label data-t>Comments</label><span id="media_details_comments"></span>
</div>

<div id="media_details_metadata"></div>

<div class="fieldrow">
<label data-t>Uploader</label><span id="media_details_uploader"></span>
</div>

<div class="fieldrow">
<label data-t>Created</label><span id="media_details_created"></span>
</div>

<div class="fieldrow">
<label data-t>Last Updated</label><span id="media_details_updated"></span>
</div>

<div class="fieldrow">
<label data-t>Copyright</label><span id="media_details_copyright"></span>
</div>

<div class="fieldrow">
<label data-t>Approval</label><span id="media_details_approval"></span>
</div>

<div class="fieldrow">
<label data-t>Status</label><span id="media_details_visibility"></span>
</div>

<div class="fieldrow">
<label data-t>Dynamic Selections</label><span id="media_details_dynamic"></span>
</div>

</div>

</fieldset>
</ob-tab>
<ob-tab data-name="Where Used">
<h1>Where is this media used?</h1>
<div class="hidden" id="media_details_used">
<ul>
</ul>
</div>
</ob-tab>
</ob-tabs>

0 comments on commit 5bc19db

Please sign in to comment.