sftpbrowser/templates/base.html.twig

119 lines
4.2 KiB
Twig
Raw Permalink Normal View History

2022-12-23 16:27:07 +01:00
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html"; charset="utf-8" />
<title>SFTP Browser</title>
<link rel="shortcut icon" href="/medias/logo/logo.png" />
{{ encore_entry_link_tags('app') }}
{{ encore_entry_script_tags('app') }}
{% block encoretags %}{% endblock encoretags %}
<style>
:root{
--colorbgbodylight: #ffffff;
--colorbgbodydark: #009de0;
--colorfttitlelight: #009de0;
--colorfttitledark: #ffffff;
--colorftbodylight: #343a40;
--colorftbodydark: #ffffff;
--fontbody: "Roboto-Regular";
--fonttitle: "Theboldfont";
--fontsizeh1: 40px;
--fontsizeh2: 32px;
--fontsizeh3: 28px;
--fontsizeh4: 24px;
--lineheighth1:30px;
--colorbgbodylight-darker: #f5f5f5;
--colorbgbodydark-darker: #006bae;
--colorfttitlelight-darker: #006bae;
--colorbgbodydark-rgb: 0,157,224;
}
</style>
{% block localstyle %}{% endblock %}
</head>
<body>
{% if (useheader is defined and useheader) or (usemenu is defined and usemenu) %}
<div class="header sticky-top">
<nav id="menu" class="navbar navbar-expand p-0" style="display:flex">
<a class="nav-link navbar-logo" href="{{ path('app_home')}}" style="display:none">
<img src="/medias/logo/logo.png">
</a>
<a class="nav-link ps-0" href="{{ path('app_home')}}">
SFTP Browser
</a>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
</ul>
</div>
<ul id="menuuser" class="nav navbar-right pe-3">
{% block menuuser %}
{% endblock %}
</ul>
<ul id="menulink" class="nav navbar-right pe-3" style="display:none;">
</ul>
</nav>
</div>
{% endif %}
<main>
{% if usesidebar is defined and usesidebar %}
{% block sidebar %}
{% endblock %}
{%endif%}
<div id="page" class="p-4">
{%if maxsize is defined %}<div style="max-width:{{maxsize}}px;margin:0 auto;">{%endif%}
{% block body %}{% endblock %}
{%if maxsize is defined %}</div>{%endif%}
</div>
</main>
<div id="mymodal" class="modal" role="dialog">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div id="mymodalheader" class="modal-header">
<h4 class="modal-title"></h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<iframe frameborder=0 width="100%" height="600px"></iframe>
</div>
</div>
</div>
</div>
<div id="mymodallarge" class="modal" tabindex="-1">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title"></h4>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<iframe frameborder=0 width="100%" height="700px"></iframe>
</div>
</div>
</div>
</div>
{% block localscript %}{% endblock %}
</body>
</html>