forked from liarco/conosci-mep-front-end
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html.twig
65 lines (47 loc) · 2.17 KB
/
index.html.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{% extends 'base.html.twig' %}
{% block title %}Conosci Andreas!{% endblock %}
{% block stylesheets %}
{{ encore_entry_link_tags('main') }}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
{% endblock %}
{% block body %}
<div id="navbar">
<ul id="urls">
<li><a href={{Menu0.1}} > {{Menu0.0}} </a></li>
<li><a href={{Menu1.1}} > {{Menu1.0}} </a></li>
<li><a href={{Menu2.1}} > {{Menu2.0}} </a></li>
<li><a href={{Menu3.1}} > {{Menu3.0}} </a></li>
<li id="profile" style="float:right"><a href="#"> {{profile ? profile : 'Non Autenticato'}} </a></li>
</ul>
</div>
<h1>CIAO MEP!</h1>
<p class="description">
Ho iniziato da poco ad utilizzare <strong>Symfony</strong> però mi piace come framework e voglio imparare ad usarlo benissimo.
Non sono il migliore, però avendo studiato Informatica sia all'<strong> ITIS di Fermo </strong> che
all' <strong>Università di Camerino</strong> sono abituato con il continuo cambio di framework e linguaggi
e l'adattarmi è uno dei miei punti forti.
</p>
<div class="js-user-auth" data-is-authenticated="{{ profile ? 'I solemny swear that I am up to no good' : 'Nox' }}"></div>
<div class="bottone">
<button id ="spirits" type="button" class="btn btn-dark"> PRESS ME FOR SPIRITS IN CONSOLE </button>
</br>
</br>
<button id ="message" type="button" class="btn btn-dark"> PRESS ME FOR MESSAGE IN CONSOLE </button>
</div>
{% if profile != "" %}
<div class="usersofsite">
<h2>Ecco i {{users|length}} utenti registrati per le sedute spiritiche! </h2>
<ul id="users" >
{% for user in users %}
<li class="user">
{{user.name}} </br>
{{user.email}} </br>
</li> </br>
{% endfor %}
</ul>
</div>
{% endif %}
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('main') }}
{% endblock %}