Commit 32c2302d authored by f00wl's avatar f00wl 🦉

Merge branch 'master' of git.felinn.org:balises/website/balises-theatres.com

parents f8cb175c 5f93f739
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg37"
version="1.1"
viewBox="0 0 160 160"
height="160mm"
width="160mm"
sodipodi:docname="épingle.svg"
inkscape:version="0.92.4 5da689c313, 2019-01-14">
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1600"
inkscape:window-height="864"
id="namedview11"
showgrid="false"
inkscape:zoom="0.78052083"
inkscape:cx="301.366"
inkscape:cy="288.09878"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs31" />
<metadata
id="metadata34">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="translate(-14.6297,-53.982147)"
id="layer1">
<circle
r="80"
cy="133.98215"
cx="94.6297"
id="path39"
style="opacity:1;fill-opacity:1;fill-rule:nonzero;stroke-width:0.30238092" />
<circle
r="65"
cy="133.98215"
cx="94.6297"
id="path39-3"
style="opacity:1;fill:#fee800;fill-opacity:1;fill-rule:nonzero;stroke-width:0.24568449" />
<circle
r="50"
cy="133.98215"
cx="94.6297"
id="path39-6"
style="opacity:1;fill-opacity:1;fill-rule:nonzero;stroke-width:0.18898806" />
<circle
cy="133.98215"
cx="94.6297"
id="path39-6-3"
style="opacity:1;fill:#fee800;fill-opacity:1;fill-rule:nonzero;stroke-width:0.13200817"
r="34.924999" />
<circle
cy="133.98215"
cx="94.6297"
id="path39-6-3-6"
style="opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke-width:0.07500464"
r="19.84375" />
</g>
</svg>
......@@ -20,7 +20,7 @@
<div class="wrapper">
<nav id="sidebar" class="bg-dark">
<div class="sidebar-header my-3">
<img class="mx-auto mb-3 d-block" src="{{ asset('build/img/balises.png') }}" height=80 width=80>
<a href="https://balises-theatres.com"> <img class="mx-auto mb-3 d-block" src="{{ asset('build/img/balises.png') }}" height=80 width=80></a>
<p class="text-white font-weight-bold text-center">ADMIN BALISES</p>
</div>
<ul class="list-group">
......@@ -49,20 +49,17 @@
</div>
</nav>
{% block body %}
{% if app.request.hasPreviousSession %}
{% for category, messages in app.flashes %}
{% for message in messages %}
<div class="alert alert-{{ category }}">
{{ message }}
</div>
{% endfor %}
{% endfor %}
{% for label, messages in app.flashes %}
{% for message in messages %}
<div class="p-2 alert-{{ label }}">
{{ message }}
</div>
{% endfor %}
{% endfor %}
{% endif %}
{% block body %}
{% endblock %}
</div>
......
......@@ -19,7 +19,7 @@
<div class="wrapper">
<nav id="sidebar" class="bg-dark">
<div class="sidebar-header my-3">
<img class="mx-auto mb-3 d-block" src="{{ asset('build/img/balises.png') }}" height=80 width=80>
<a href="https://balises-theatres.com"> <img class="mx-auto mb-3 d-block" src="{{ asset('build/img/balises.png') }}" height=80 width=80></a>
<p class="text-white font-weight-bold text-center">ADMIN<br>{{ theater.name }}</p>
</div>
<ul class="list-group">
......@@ -50,21 +50,19 @@
</button>
</div>
</nav>
{% block body %}
{# read and display all flash messages #}
{% if app.request.hasPreviousSession %}
{% for category, messages in app.flashes %}
{% for message in messages %}
<div class="alert alert-{{ category }}">
{{ message }}
</div>
{% endfor %}
{% endfor %}
{% for label, messages in app.flashes %}
{% for message in messages %}
<div class="p-2 alert-{{ label }}">
{{ message }}
</div>
{% endfor %}
{% endfor %}
{% endif %}
{% block body %}
{% endblock %}
</div>
......
......@@ -13,6 +13,16 @@
<div class="container-fluid p-0">
<div class="container rounded border border-light bg-dark" id="presentation_spectacle"></div>
{% if app.request.hasPreviousSession %}
{% for label, messages in app.flashes %}
{% for message in messages %}
<div class="p-2 alert-{{ label }}">
{{ message }}
</div>
{% endfor %}
{% endfor %}
{% endif %}
{% block body %}
{% endblock %}
......
......@@ -14,13 +14,16 @@
{% include 'header.html.twig' %}
<div class="container rounded border border-light bg-dark" id="presentation_spectacle"></div>
<div class="container mb-5">
{% for category, messages in app.flashes %}
{% if app.request.hasPreviousSession %}
{% for label, messages in app.flashes %}
{% for message in messages %}
<div class="alert alert-{{ category }}">
<div class="p-2 alert-{{ label }}">
{{ message }}
</div>
{% endfor %}
{% endfor %}
{% endif %}
{% block body %}
{% endblock %}
......
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>{% block title %}Balises{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
{% block stylesheets %}
{{ encore_entry_link_tags('index') }}
{{ encore_entry_link_tags('datepicker') }}
{% endblock %}
</head>
<head>
<meta charset="UTF-8">
<title>{% block title %}Balises{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
{% block stylesheets %}
{{ encore_entry_link_tags('index') }}
{{ encore_entry_link_tags('datepicker') }}
{% endblock %}
</head>
<body id="baseResa">
{% block body %}
{% endblock %}
</div>
</body>
<body id="baseResa">
{% if app.request.hasPreviousSession %}
{% for label, messages in app.flashes %}
{% for message in messages %}
<div class="p-2 alert-{{ label }}">
{{ message }}
</div>
{% endfor %}
{% endfor %}
{% endif %}
{% block body %}
{% endblock %}
</div>
</body>
</html>
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>{% block title %}Balises{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
{% block stylesheets %}
<head>
<meta charset="UTF-8">
<title>{% block title %}Balises{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
{% block stylesheets %}
{{ encore_entry_link_tags('index') }}
{% endblock %}
{% endblock %}
</head>
</head>
{% if app.request.hasPreviousSession %}
{% for label, messages in app.flashes %}
{% for message in messages %}
<div class="p-2 alert-{{ label }}">
{{ message }}
</div>
{% endfor %}
{% endfor %}
{% endif %}
{% block body %}
{% block body %}
{% endblock %}
{% endblock %}
{% block header %}
<a class="float-left" style="position: fixed; left: 5px; top: 10px; z-index: 1000" href="{{ path('home') }}">
<img class="" src="{{ asset('build/img/accueil.png') }}" style="max-height: 80px">
</a>
</a>
{% endblock %}
{% block stylesheets %}
{{ encore_entry_link_tags('places') }}
{% endblock %}
{{ form_start(form) }}
{# read and display just one flash message type #}
<div class="row justify-content-center">
<div class="col-md-6">
<h6 class="mt-3 font-weight-bold text-uppercase m-0">{{ form_label(form.name, 'Nom du Théâtre') }}</h6>
......@@ -111,8 +111,6 @@
{% endif %}
{{ form_end(form) }}
{% block javascripts %}
{{ encore_entry_script_tags('places') }}
<script>
function preview_logo(event) {
var img = 'oye';
......@@ -133,5 +131,3 @@
reader.readAsDataURL(event.target.files[0]);
}
</script>
{% endblock javascripts %}
{% extends is_granted('ROLE_ADMIN')
? 'baseAdmin.html.twig'
: 'baseAdminTheater.html.twig' %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags('places') }}
{% endblock %}
{% block title %}Modification Théâtre{% endblock %}
{% block body %}
......@@ -17,6 +23,8 @@
{% endblock %}
{% block javascripts %}
{{ parent() }}
{{ encore_entry_script_tags('places') }}
<script type="text/javascript">
$(document).ready(function () {
......
......@@ -5,6 +5,7 @@
{% block title %}Theater{% endblock %}
{% block body %}
<div class="card">
<div class="card-header d-flex align-items-center">
<h4 class="text-dark font-weight-bold text-uppercase m-0"> {{ theater.name }}</h4>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment