This repository has been archived by the owner on Jan 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
128 lines (110 loc) · 5.59 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta tags -->
<meta charset="utf-8">
<meta content="initial-scale=1, shrink-to-fit=no, width=device-width" name="viewport">
<title>Poll.Pizza</title>
<!-- CSS -->
<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="css/material.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!-- Icons -->
<link rel="icon" href="favicon.ico">
<link rel="icon" sizes="192x192" href="pizza_192x192.png">
<link rel="icon" sizes="128x128" href="pizza_128x128.png">
<link rel="apple-touch-icon" href="pizza_180x180.png">
<!-- Android Web App Meta -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#f7cf6d">
<!-- Apple Web App Meta -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Poll.Pizza">
<link rel="apple-touch-startup-image" href="pizza_load.png">
</head>
<body class="pt-4">
<div class="navbar navbar-dark fixed-top bg-primary toolbar-waterfall" id="navbar">
<button aria-controls="navdrawer" aria-expanded="false" aria-label="Toggle Navdrawer" class="navbar-toggler" data-target="#navdrawer" data-toggle="navdrawer">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand ml-auto" href="index.html" target="_self"><i class="material-icons text-secondary"></i> Poll.Pizza</a>
</div>
<div class="navdrawer" id="navdrawer" tabindex="-1" aria-hidden="true" style="display: none;">
<div class="navdrawer-content">
<div class="d-flex flex-column min-height">
<div class="navdrawer-header">
<a class="navbar-brand px-0" href="index.html" target="_self"><i class="material-icons text-secondary"></i> Poll.Pizza</a>
</div>
<nav class="navdrawer-nav">
<a class="nav-item nav-link active" href="index.html" target="_self">
<i class="material-icons mr-md"></i> <strong>Home</strong>
</a>
<a class="nav-item nav-link" href="create.html" target="_self">
<i class="material-icons mr-md"></i> <strong>Create A Poll</strong>
</a>
<div class="navdrawer-divider"></div>
<a class="nav-item nav-link collapsed" data-toggle="collapse" href="#nav_example">
<i class="material-icons mr-md"></i> <strong>Example Poll</strong>
</a>
<div class="collapse pb-sm " id="nav_example">
<a class="nav-item nav-link pl-lg text-black-secondary" href="vote.html?poll=pizza" target="_self"><span class="font-weight-normal">Pizza Vote</span></a>
<a class="nav-item nav-link pl-lg text-black-secondary" href="result.html?poll=pizza" target="_self"><span class="font-weight-normal">Pizza Results</span></a>
</div>
</nav>
<div class="mt-auto">
<div class="navdrawer-divider mt-no"></div>
<div class="navdrawer-nav">
<a class="nav-item nav-link text-muted">
<i class="material-icons mr-md text-muted"></i> s3490602
</a>
</div>
</div>
</div>
</div>
</div>
<div class="container pt-5">
<h3 class="mb-3">Welcome!</h3>
<div class="card mb-3">
<div class="card-header bg-light text-muted font-weight-bold">Create Instant Polls</div>
<div class="card-body pt-3">
<p><strong>Poll.Pizza</strong> allows you to instantly create disposable short-term-use polls. Simply create a new question with two to four options and you're ready to share the voting link via your unique <abbr title="https://poll.pizza/vote.html?poll=url">url</abbr>!</p>
<p>Voting can be <em>anonymous</em> or you can specify a name, then results are publicly displayed on a <abbr title="read: pie">pizza</abbr> chart.</p>
<p>When a poll with the same <em>url</em> is created, it takes the previous poll's place. Have fun!</p>
</div>
</div>
<div class="card mb-1">
<div class="card-header bg-light text-muted font-weight-bold">Recently Created Polls</div>
<div class="card-body">
<table id="recentTable" class="table table-bordered table-sm table-striped table-responsive w-100 d-block d-sm-table">
<thead>
<tr>
<th>Title</th>
<th class="d-none d-sm-table-cell">Question</th>
<th>URL</th>
<th>Created By</th>
<th class="d-none d-md-table-cell">Date/Time</th>
</tr>
</thead>
</table>
</div>
</div>
</div><!-- /.container -->
<div class="container mt-4">
<footer class="footer">
<hr />
<p>© Poll.Pizza 2017</p>
</footer>
</div><!-- /.container -->
<!-- JavaScript -->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.6/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/material.min.js"></script>
<script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script>
<script src="js/dataTables.bootstrap4.min.js"></script>
<script src="app/pizza-recent.js"></script>
</body>
</html>