me.html.twig 3.92 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">Moi</li>
  </ol>
</nav>

Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
15 16 17 18
<div class="row">
  <div class="col-sm-4 mb-2">
    <div class="card">
      <div class="card-body">
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
19 20 21
        <p class="text-center">
            <i class="fa fa-motorcycle fa-4x" aria-hidden="true"></i> {{ 'wordbox' | trans | upper }}
        </p>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
22
        <p>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
23
        Blabla Blab laBlabla BlablaBlabla Blabla Blabla
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
24
        </p>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
25 26 27 28 29 30 31 32
        <div class="dropdown">
          <button class="btn btn-primary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
            Wordbox
          </button>
          <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
            {% for language in languages %}
              <a class="dropdown-item" href="{{ path('wordbox', {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 41 42 43
      </div>
    </div>
  </div>

  <div class="col-sm-4 mb-2">
    <div class="card">
      <div class="card-body">
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
44 45
        <p class="text-center">
            <i class="fa fa-star fa-4x" aria-hidden="true"></i> {{ 'found' | trans | upper }}
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
46
        </p>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
47 48 49 50 51 52 53 54 55
        <p>Blabla Blab laBlabla BlablaBlabla Blabla 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">
            Formes trouvées
          </button>
          <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
            {% for language in languages %}
              <a class="dropdown-item" href="{{ path('found', {id: language.id}) }}">
                {{ language.value | trans }}
Arnaud Bey's avatar
Arnaud Bey committed
56
              </a>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
57 58 59
            {% endfor %}
          </div>
        </div>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
60 61 62 63 64 65 66
      </div>
    </div>
  </div>

  <div class="col-sm-4 mb-2">
    <div class="card">
      <div class="card-body">
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
67
        <p class="text-center">
Arnaud Bey's avatar
Arnaud Bey committed
68
            <i class="fa fa-user-cog fa-4x" aria-hidden="true"></i> {{ 'parameters' | trans | upper }}
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
69
        </p>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
70 71
        <p>Blabla labla Blab laBlabla BlablaBlabla Blabla Blabla Blabla</p>
        <a class="btn btn-primary" href="{{ path('parameters') }}">{{ 'parameters' | trans }}</a>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
72 73 74 75 76 77 78
      </div>
    </div>
  </div>

  <div class="col-sm-4 mb-2">
    <div class="card">
      <div class="card-body">
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
79
        <p class="text-center">
Arnaud Bey's avatar
Arnaud Bey committed
80
            <i class="far fa-id-card fa-4x"></i> {{ 'my_profile' | trans | upper }}
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
81 82
        </p>
        <p>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
83 84
          Blabla labla Blab laBlabla BlablaBlabla Blabla Blabla
        </p>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
85
        <a class="btn btn-primary" href="{{ path('my_profile') }}">{{ 'my_profile' | trans }}</a>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
86 87 88 89 90 91 92
      </div>
    </div>
  </div>

  <div class="col-sm-4 mb-2">
    <div class="card">
      <div class="card-body">
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
93
        <p class="text-center">
Arnaud Bey's avatar
Arnaud Bey committed
94
            <i class="fas fa-users fa-4x"></i> {{ 'my_friends' | trans | upper }}
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
95 96
        </p>
        <p>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
97 98
          Blabla labla Blab laBlabla BlablaBlabla Blabla Blabla
        </p>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
99
        <a class="btn btn-primary" href="{{ path('my_friends') }}">{{ 'my_friends' | trans }} ({{app.user.friends|length}})</a>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
100 101 102 103 104 105 106
      </div>
    </div>
  </div>

  <div class="col-sm-4 mb-2">
    <div class="card">
      <div class="card-body">
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
107
        <p class="text-center">
Arnaud Bey's avatar
Arnaud Bey committed
108
            <i class="fas fa-award fa-4x"></i> {{ 'rankings' | trans | upper }}
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
109 110
        </p>
        <p>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
111 112
          Blabla labla Blab laBlabla BlablaBlabla Blabla Blabla
        </p>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
113
        <a class="btn btn-primary" href="{{ path('games_ended') }}">{{ 'rankings' | trans }}</a>
Arnaud Bey's avatar
WIP UI  
Arnaud Bey committed
114 115 116 117 118 119
      </div>
    </div>
  </div>

</div>
{% endblock %}