Browse Source

remove content in header, upgrade deps

master
Tykayn 1 year ago committed by tykayn
parent
commit
8c03b1c521
  1. 808
      composer.lock
  2. 8
      templates/base.html.twig
  3. 74
      templates/index.html.twig
  4. 2
      templates/poll/index.html.twig
  5. 2
      templates/poll/show.html.twig
  6. 18
      templates/split/header.html.twig

808
composer.lock generated

File diff suppressed because it is too large Load Diff

8
templates/base.html.twig

@ -4,9 +4,9 @@
<meta charset="UTF-8">
<base href="/">
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<link href="favicon.ico" rel="icon" type="image/x-icon"/>
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/>
<link href="img/logo.png" rel="icon" type="image/png"/>
{# <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet"/>#}
{# <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/>#}
<link rel="stylesheet" href="styles.css" crossorigin="anonymous">
<title>{% block title %}{{ WEBSITE_NAME }}{% endblock %}</title>
@ -22,7 +22,7 @@
<div class="container">
{% block body %}
coucou!
{% endblock %}
</div>
{% endblock %}

74
templates/index.html.twig

@ -12,56 +12,58 @@
rel="icon"
type="image/x-icon">
<link
rel="stylesheet"
href="assets/css/bootstrap-reboot-4.3.1.css">
{# <link#}
{# rel="stylesheet"#}
{# href="/assets/css/bootstrap-reboot-4.3.1.css">#}
<link
rel="stylesheet"
href="styles.css"
crossorigin="anonymous">
</head>
<body>
<app-root></app-root>
<app-root>
Chargement de l'app, hopla!
</app-root>
<footer id="main-footer" class="text-center">
<a href="https://framagit.org/tykayn/date-poll-api">
Sources
<i class="fa fa-gitlab"></i>
</a>
<a href="mailto:contact@cipherbliss.com">
<a href="mailto:contact+framadate@cipherbliss.com">
Contact
<i class="fa fa-envelope"></i>
</a>
</footer>
<script
src="runtime-es2018.js"
crossorigin="anonymous"
type="module"></script>
<script
src="runtime-es5.js"
crossorigin="anonymous"
nomodule
defer></script>
<script
src="polyfills-es5.js"
crossorigin="anonymous"
nomodule
defer></script>
<script
src="polyfills-es2018.js"
crossorigin="anonymous"
type="module"></script>
<script
src="scripts.js"
crossorigin="anonymous"
defer></script>
<script
src="main-es2018.js"
crossorigin="anonymous"
type="module"></script>
<script
src="main-es5.js"
crossorigin="anonymous"
nomodule
defer></script>
{#<script#}
{# src="/runtime-es2018.js"#}
{# crossorigin="anonymous"#}
{# type="module"></script>#}
{#<script#}
{# src="runtime-es5.js"#}
{# crossorigin="anonymous"#}
{# nomodule#}
{# defer></script>#}
{#<script#}
{# src="polyfills-es5.js"#}
{# crossorigin="anonymous"#}
{# nomodule#}
{# defer></script>#}
{#<script#}
{# src="polyfills-es2018.js"#}
{# crossorigin="anonymous"#}
{# type="module"></script>#}
{#<script#}
{# src="scripts.js"#}
{# crossorigin="anonymous"#}
{# defer></script>#}
{#<script#}
{# src="main-es2018.js"#}
{# crossorigin="anonymous"#}
{# type="module"></script>#}
{#<script#}
{# src="main-es5.js"#}
{# crossorigin="anonymous"#}
{# nomodule#}
{# defer></script>#}
</body>
</html>

2
templates/poll/index.html.twig

@ -33,7 +33,7 @@
<td>{{ poll.title }}</td>
<td>{{ poll.customUrl }}</td>
<td>{{ poll.description }}</td>
<td>{{ poll.creationDate ? poll.creationDate|date('Y-m-d H:i:s') : '' }}</td>
<td>{{ poll.createdAt ? poll.createdAt|date('Y-m-d H:i:s') : '' }}</td>
<td>{{ poll.expiracyDate ? poll.expiracyDate|date('Y-m-d H:i:s') : '' }}</td>
<td>{{ poll.kind }}</td>
<td>{{ poll.allowedAnswers ? poll.allowedAnswers|join(', ') : '' }}</td>

2
templates/poll/show.html.twig

@ -25,7 +25,7 @@
</tr>
<tr>
<th>CreationDate</th>
<td>{{ poll.creationDate ? poll.creationDate|date('Y-m-d H:i:s') : '' }}</td>
<td>{{ poll.createdAt ? poll.createdAt|date('Y-m-d H:i:s') : '' }}</td>
</tr>
<tr>
<th>ExpiracyDate</th>

18
templates/split/header.html.twig

@ -1,20 +1,6 @@
{% block header %}
<header class="bg-purple-300 p-4 block">
<div class="container">
{# <img src="{{ WEBSITE_LOGO }}" alt="logo">#}
{# {{ WEBSITE_NAME }}#}
<nav>
<ul>
<li>
<a class="btn button rounded bg-purple-200 p-2" href="/">
<i class="fa fa-home"></i>
<img src="{{ WEBSITE_LOGO }}" alt="logo">
{{ WEBSITE_NAME }}
</a>
</li>
</ul>
</nav>
</div>
</header>
{% endblock %}

Loading…
Cancel
Save