-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·108 lines (103 loc) · 3.54 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
<!doctype html>
<html lang="en-US">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" >
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
<meta name="description" content="The PHP-WVL Raffler is a tool to randomly select 1 person from the list of commenters of an event on Joind.IN" />
<link rel="stylesheet" href="css/screen.css"/>
<link href='http://fonts.googleapis.com/css?family=Roboto:400,700,300' rel='stylesheet' type='text/css'>
<script data-main="js/main" src="js/require.js"></script>
<title>PHP-WVL Raffler</title>
</head>
<body>
<script id="raffler-eventlist" type="text/x-handlebars-template">
<table class="table">
<thead>
<tr>
<th colspan="2" >{{translate 'Event name'}}</th>
</tr>
</thead>
<tbody>
{{#each events}}
<tr>
<td>{{this.name}}</td>
<td>
<button type="button" class="{{this.btnClass}} btn btn-primary btn-xs" id="search-result-{{this.id}}">
<span class="glyphicon glyphicon-thumbs-up"></span>
</button>
</td>
</tr>
{{/each}}
</tbody>
</table>
</script>
<script id="raffler-loaderLeft" type="text/x-handlebars-template">
<div class="col-sm-1">
<img src="{{path}}" title="{{translate 'Loading...'}}" alt="loader image" />
</div>
<div class="col-sm-11">{{text}}</div>
</script>
<script id="raffler-loaderRight" type="text/x-handlebars-template">
<div class="col-sm-1">
<img src="{{path}}" title="{{translate 'Loading...'}}" alt="loader image" />
</div>
<div class="col-sm-11">{{text}}</div>
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-50375074-2', 'auto');
ga('send', 'pageview');
</script>
<header>
<div id="navbar">
</div>
<div id="logo">
<h1>
<a href="#">
<img src="img/logo.png" alt="PHP-WVL" />
</a>
</h1>
</div>
</header>
<div id="content">
<div id="rafflerContent">
<h2>PHP-WVL Joind.in Raffler</h2>
<p>
Randomly selects 1 person who took the effort of providing feedback to the given Joind.in event.
</p>
<div id="msgPane" style="padding:10px;margin-bottom:15px;">
</div>
<form id="frmRaffle" class="form-inline" role="form">
<div class="form-group">
<label for="inputEventID" class="control-label">Event ID</label>
<input type="text" class="form-control" id="inputEventID" placeholder="e.g. 2177">
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary" id="btnRaffle">Raffle!</button>
<button type="button" class="btn btn-small btn-default" id="btnSearch">
<span class="glyphicon glyphicon-search"></span>
</button>
</div>
</form>
<form id="frmSearch" class="form-inline" role="form">
<div class="form-group">
<label for="inputQuery" class="control-label">Event name</label>
<input type="text" class="form-control" id="inputQuery" placeholder="e.g. WVL">
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary" id="btnSearchSubmit">Search</button>
<button type="button" class="btn btn-link" id="btnSearchCancel">Cancel</button>
</div>
</form>
<p><a href="rules" class="load">rules</a></p>
</div>
</div>
<footer>
© PHP-WVL
</footer>
</body>
</html>