Files
snipe-it/resources/views/blade/gallery-card.blade.php
T
snipe c9eac66a93 Tweaked button layout
Signed-off-by: snipe <snipe@snipe.net>
2025-07-31 13:21:58 +01:00

38 lines
1.5 KiB
PHP

<!-- HTML for the file gallery template -->
<template id="fileGalleryTemplate">
<div class="col-md-4 col-lg-3 col-xl-2">
<div class="panel panel-%PANEL_CLASS%">
<div class="panel-heading">
<h3 class="panel-title" style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
<i class="%ICON%" /></i>
%ID% - %FILENAME%
</h3>
</div>
<div class="panel-body" style="height: 300px; overflow: scroll !important;">
<div class="col-md-12 text-center">
%FILE_EMBED%
</div>
<div class="col-md-12">
<p>
%NOTE%
<br>
%CREATED_AT% - %CREATED_BY%
</p>
</div>
</div>
<div class="panel-footer">
<div class="row">
<div class="text-left col-lg-2 col-md-2 col-sm-2">
%DELETE_BUTTON%
</div>
<div class="text-right col-lg-10 col-md-10 col-sm-10" style="white-space: nowrap">
%DOWNLOAD_BUTTON% %NEW_WINDOW_BUTTON%
</div>
</div>
</div><!-- /.panel-footer -->
</div> <!-- /.panel panel-%PANEL_CLASS% -->
</div><!-- /.col-md-4 col-lg-3 col-xl-1 -->
</template>
<!-- ./ HTML for the file gallery template -->