Sindbad~EG File Manager
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Badge Admin</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="shortcut icon" type="image/x-icon" href="{{ url_for('static', filename='images/favicon.ico') }}">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.12.1/css/jquery.dataTables.min.css">
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/badge_style.css') }}">
<!-- <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/double_dropdown.css') }}"> -->
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/drop_down_2.css') }}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">
<link href="https://cdn.jsdelivr.net/gh/NumeroTec/ntec_cdn@main/static/css/v6/all.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/gh/NumeroTec/ntec_cdn@main/static/css/v6/sharp-regular.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/gh/NumeroTec/ntec_cdn@main/static/css/v6/sharp-solid.css" rel="stylesheet">
<!-- Selectize CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.15.2/css/selectize.default.min.css">
<style type="text/css">
.badge-nav {
display: flex;
align-items: center;
height: 30px;
padding: 0 10px;
position: relative;
}
.badge-logo {
position: relative; /* Position relative to allow dropdown to be positioned under it */
cursor: pointer; /* Make the icon clickable */
}
.badge-logo i {
color: red;
font-size: 24px;
}
.layout {
display: none; /* Initially hidden */
position: absolute;
top: 100%; /* Below the icon */
left: 0;
background: rgba(30, 30, 30, 0.9);
border-radius: 5px;
color: white;
width: 240px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
z-index: 1000;
font-size: 14px;
padding: 10px 0;
}
.layout ul {
list-style: none;
margin: 0;
padding: 0;
}
.layout li {
padding: 8px 10px;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
}
.layout li a {
text-decoration: none;
color: white;
display: block;
width: 100%;
}
.layout li a:hover {
background: rgb(255, 193, 7);
color: black;
padding: 8px;
border-radius: 5px;
}
/* Ensure dropdown stays open when hovering over icon or dropdown */
.badge-logo:hover .layout,
.layout:hover {
display: block;
}
/* Additional styling for separator */
.layout li.separator {
height: 1px;
background: #4a4a4a;
margin: 4px 0;
}
.badge {
background: rgba(255, 255, 255, 0.2);
padding: 2px 8px;
border-radius: 12px;
font-size: 12px;
}
.arrow {
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
}
</style>
{% block style %} {% endblock %}
</head>
<body>
<div class="row header">
<div class="container-fluid">
<div class="row align-items-center">
<div class="col-md-1 col-sm-12 mt-2 text-left" >
<div class="badge-nav">
<div class="badge-logo">
<i class="fa-solid fa-bars" style="color:red;"></i>
<div class="dropdown-menu layout">
<ul>
<li><a href="{{url_for('badge.BadgeIndex', conf_id=conf_id, conf_key=conf_key)}}">Badge Index</a></li>
<li><a href="{{url_for('badge.PreviewBadge', conf_id=conf_id, conf_key=conf_key)}}">Badge Print</a></li>
<li><a href="{{url_for('badge.DelegateList', conf_id=conf_id, conf_key=conf_key)}}">Delegate galley list</a></li>
<li><a href="{{url_for('badge.EmptyList', conf_id=conf_id, conf_key=conf_key)}}">Empty galley list</a></li>
{% if session.get('badge') %}
<li><a href="{{url_for('badge_user.BadgeLogout', conf_id=conf_id, conf_key=conf_key)}}">Logout</a></li>
{% endif %}
</ul>
</div>
</div>
</div>
</div>
<div class="col-md-6 col-sm-12 mt-3 text-md-left">
<h3 style="color: white;">Badge</h3>
</div>
<div class="col-md-4 col-sm-12 text-md-right text-white">
<h3>{{conf_name or ''}}</h3>
</div>
</div>
</div>
</div>
<!-- Content section -->
<div class="">
{% block content %} {% endblock %}
</div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://code.jquery.com/ui/1.13.2/jquery-ui.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="{{('/static/js/drop_down_1.js')}}"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.15.2/js/selectize.min.js"></script>
{% block bottomscript %} {% endblock %}
</body>
</html>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists