-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
154 lines (133 loc) · 6.72 KB
/
index.html
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.min.css">
<style>
body {
padding-top: 50px;
padding-bottom: 20px;
}
</style>
<link rel="stylesheet" href="css/bootstrap-theme.css">
<link rel="stylesheet" href="css/circle.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<header>
<div class="container">
<div class="col-xs-8">
<a class="logo">
<img src="img/logo.png">
<span class="politweets">PoliTweets</span>
</a>
</div>
<div class="col-xs-4">
<div class="pull-right">
<div class="c100 p25 small">
<span>25%</span>
<div class="slice">
<div class="bar"></div>
<div class="fill"></div>
</div>
</div>
</div>
</div>
</div>
</header>
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<h2>Qui a dit ?</h2>
</div>
</div>
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div id="tweet" class="panel panel-default">
<div class="panel-body">
<div class="media">
<div class="media-left">
<a href="#">
<img class="media-object" src="https://cdn4.iconfinder.com/data/icons/miu/22/circle_help_question-mark-128.png" alt="">
</a>
</div>
<div class="media-body">
<h4 class="media-heading">{{ tweet.candidate.name }} <small>{{ tweet.tweet.date }}</small></h4>
{{ tweet.tweet.text }}
</div>
</div>
</div>
</div>
<div id="answers" class="panel panel-default">
<div class="panel-body">
<div class="row">
<div class="col-md-6">
<form action="." method="post">
{% csrf_token %}
<input type="hidden" name="tweetid">
<input type="hidden" name="answer" value="">
<a class="btn btn-default btn-lg btn-block" href="#" onclick="$(this).closest('form').submit();" role="button">
<img src=""> PS
</a>
</form>
</div>
<div class="col-md-6">
<form action="." method="post">
{% csrf_token %}
<input type="hidden" value="">
<a class="btn btn-default btn-lg btn-block" href="#" onclick="$(this).closest('form').submit();" role="button">
<img src=""> PS
</a>
</form>
</div>
</div>
<div class="row">
<div class="col-md-6">
<form action="." method="post">
{% csrf_token %}
<input type="hidden" value="">
<a class="btn btn-success btn-lg btn-block" href="#" onclick="$(this).closest('form').submit();" role="button">
<img src=""> PS
</a>
</form>
</div>
<div class="col-md-6">
<form action="." method="post">
{% csrf_token %}
<input type="hidden" value="">
<a class="btn btn-danger btn-lg btn-block" href="#" onclick="$(this).closest('form').submit();" role="button">
<img src=""> PS
</a>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-2">
<button type="submit" class="btn btn-default">
Suivant <span class="glyphicon glyphicon-chevron-right"></span>
</button>
</div>
</div>
</div>
<footer>
<p class="text-center">© Hackhathon Lausanne 2015</p>
</footer>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.2.min.js"><\/script>')</script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>