play.html.twig 2.69 KB
Newer Older
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
1
2
3
4
5
6
7
{% extends '::base.html.twig' %}

{% import "MagicWordBundle:Player:macros.html.twig" as pmacros %}

{% block body -%}
{% set languages = get_languages() %}

Arnaud Bey's avatar
Arnaud Bey committed
8
9
10
11
12
13
14
<nav aria-label="breadcrumb">
  <ol class="breadcrumb" style="background-color: #fff;">
    <li class="breadcrumb-item"><a href="{{path('home')}}">Accueil</a></li>
    <li class="breadcrumb-item active" aria-current="page">Jouer</li>
  </ol>
</nav>

Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
15
16
17
18
19
<div class="row">
  <!-- TRAIN -->
  <div class="col-sm-4 mb-2">
    <div class="card">
      <div class="card-body">
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
20
21
        <p class="text-center">
            <i class="fas fa-running fa-4x" aria-hidden="true"></i> {{'Entrainement'|upper}}
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
22
        </p>
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
23
24
25
26
27
28
29
30
31
32
        <p>Blabla Blab laBlabla BlablaBlabla Blabla Blabla</p>

        <div class="dropdown">
          <button class="btn btn-primary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
            S'entrainer
          </button>
          <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
            {% for language in languages %}
              <a class="please-wait dropdown-item" data-message="Génération de la grille" href="{{ path('train', {id: language.id}) }}">
                {{ language.value | trans }}
Arnaud Bey's avatar
Arnaud Bey committed
33
              </a>
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
34
35
36
            {% endfor %}
          </div>
        </div>
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
37
38
39
40
      </div>
    </div>
  </div>

Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
41
  <!-- CHALLENGE -->
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
42
43
44
  <div class="col-sm-4 mb-2">
    <div class="card">
      <div class="card-body">
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
45
        <p class="text-center">
Arnaud Bey's avatar
Arnaud Bey committed
46
            <i class="fas fa-chess fa-4x"></i> {{'Défi'|upper}}
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
47
        </p>
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
48
49
        <p>Blabla labla Blab laBlabla BlablaBlabla Blabla Blabla</p>
        <a class="btn btn-primary" href="{{ path('challenge') }}">{{ 'challenge_someone' | trans }}</a>
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
50
51
52
53
      </div>
    </div>
  </div>

Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
54
  <!-- MASSIVES -->
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
55
56
57
  <div class="col-sm-4 mb-2">
    <div class="card">
      <div class="card-body">
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
58
59
60
61
        <p class="text-center">
            <i class="fa fa-bolt fa-4x" aria-hidden="true"></i> {{'Parties massives'|upper}}
        </p>
        <p>
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
62
63
          Blabla labla Blab laBlabla BlablaBlabla Blabla Blabla
        </p>
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
64
        <a class="btn btn-primary" href="{{ path('massives') }}">{{ 'massives' | trans }}</a>
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
65
66
67
68
      </div>
    </div>
  </div>

Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
69
  <!-- IN PROGRESS -->
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
70
71
72
  <div class="col-sm-4 mb-2">
    <div class="card">
      <div class="card-body">
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
73
74
75
76
        <p class="text-center">
            <i class="fa fa-spinner fa-4x" aria-hidden="true"></i> {{'Parties en cours' | upper}}
        </p>
        <p>
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
77
78
          Blabla labla Blab laBlabla BlablaBlabla Blabla Blabla
        </p>
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
79
        <a class="btn btn-primary" href="{{ path('games_started') }}">{{ 'games_started' | trans }}</a>
Arnaud Bey's avatar
WIP UI    
Arnaud Bey committed
80
81
82
83
84
85
      </div>
    </div>
  </div>

</div>
{% endblock %}