home.html 2.3 KB
Newer Older
Robin's avatar
Robin committed
1
{% extends "base.html" %}
Nicolas Joyard's avatar
Nicolas Joyard committed
2
3

{% load i18n %}
4
{% load fontawesome %}
Nicolas Joyard's avatar
Nicolas Joyard committed
5
6
{% load staticfiles %}

Robin's avatar
Robin committed
7
{% block content %}
Nicolas Joyard's avatar
Nicolas Joyard committed
8
9
10
  <div class="row">
    <div class="col-md-12">
      <h1>{% trans "Welcome to Memopol" %}</h1>
Robin's avatar
Robin committed
11
    </div>
Nicolas Joyard's avatar
Nicolas Joyard committed
12
13
14
15
16
17
18
19
20
21
22
23
  </div>

  <div class="row">
    <div class="col-md-12">
      <p>
        {% include "text/short_description.html" %}
      </p>
      <p>
        {% include "text/license.html" %}
      </p>
    </div>

Nicolas Joyard's avatar
Nicolas Joyard committed
24
25
26
27
28
29
30
31
32
33
34
35
36
37
    <div class="col-md-4">
      placeholder
    </div>

    <div class="col-md-4">
      placeholder
    </div>

    <div class="col-md-4 todays-mep">
      <h2>{% trans "Today's Representative" %}</h2>

      {% include "representatives/_representative_card.html" with representative=todays_mep cols=12 %}
    </div>

Nicolas Joyard's avatar
Nicolas Joyard committed
38
    <div class="col-md-4">
Nicolas Joyard's avatar
Nicolas Joyard committed
39
      <h3>{% trans "More information" %}</h3>
Nicolas Joyard's avatar
Nicolas Joyard committed
40
41
      <div class="btn-group">
        <a class="btn btn-primary" target="_blank" href="http://www.memopol.org/">
42
          {% fontawesome_icon "bookmark" %}
Nicolas Joyard's avatar
Nicolas Joyard committed
43
44
45
          {% trans "Memopol blog" %}
        </a>
        <a class="btn btn-primary" target="_blank" href="http://memopol.rtfd.org/">
46
          {% fontawesome_icon "info-circle" %}
Nicolas Joyard's avatar
Nicolas Joyard committed
47
48
49
50
51
52
          {% trans "Documentation" %}
        </a>
      </div>
    </div>

    <div class="col-md-4">
Nicolas Joyard's avatar
Nicolas Joyard committed
53
      <h3>{% trans "Contact us" %}</h3>
Nicolas Joyard's avatar
Nicolas Joyard committed
54
55
      <div class="btn-group">
        <a class="btn btn-primary" target="_blank" href="https://twitter.com/memopol2">
56
          {% fontawesome_icon "twitter" %}
Nicolas Joyard's avatar
Nicolas Joyard committed
57
58
59
          {% trans "Twitter" %}
        </a>
        <a class="btn btn-primary" target="_blank" href="https://webchat.freenode.net/?nick=memopol-user-...&channels=lqdn-memopol&prompt=1">
60
          {% fontawesome_icon "commenting" %}
Nicolas Joyard's avatar
Nicolas Joyard committed
61
62
63
64
65
66
          {% trans "IRC Channel" %}
        </a>
      </div>
    </div>

    <div class="col-md-4">
Nicolas Joyard's avatar
Nicolas Joyard committed
67
      <h3>{% trans "Contributing" %}</h3>
Nicolas Joyard's avatar
Nicolas Joyard committed
68
      <div class="btn-group">
okhin's avatar
okhin committed
69
        <a class="btn btn-default" target="_blank" href="https://git.laquadrature.net/political-memory/political_memory">
70
          {% fontawesome_icon "git" %}
Nicolas Joyard's avatar
Nicolas Joyard committed
71
72
          {% trans "Code repository" %}
        </a>
okhin's avatar
okhin committed
73
        <a class="btn btn-default" target="_blank" href="https://git.laquadrature.net/political-memory/political_memory/issues/new">
74
          {% fontawesome_icon "bug" %}
Nicolas Joyard's avatar
Nicolas Joyard committed
75
76
77
78
79
80
          {% trans "Report an issue" %}
        </a>
      </div>
    </div>
  </div>

Robin's avatar
Robin committed
81
{% endblock %}