-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (54 loc) · 2.3 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>cyOverflow</title>
<link type="text/css" rel="stylesheet" href="overflow.css">
<script type="text/javascript" src="vendor/underscore-min.js"></script>
<script type="text/javascript" src="vendor/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="vendor/backbone.js"></script>
<script type="text/javascript" src="vendor/backbone.localstorage.js"></script>
<script type="text/javascript" src="scripts/namespaces.js"></script>
</head>
<body>
<header>
<hgroup>
<h1>cyOverflow</h1>
</hgroup>
</header>
<div class="content">
<section id="userInput">
<div id="loginView">
<label for="userName" id="logInPrompt">Your name:</label>
<input id="userName" type="text"/>
<a id="logIn" class="button">That's me!</a>
</div>
<div id="newQuestionView" class="hidden">
<label for="newQuestion" id="questionPrompt"><span id="asker">Adventurer</span> wants to know....</label>
<textarea cols=20 rows=2 id="newQuestion" name="newQuestion"></textarea>
<a id="addItem" class="button">Ask now!</a>
</div>
</section>
<ul id="questions"></ul>
<script type="text/template" id="question-template">
<div class="voteStatus">
<a class="vote voteup"></a>
<div class="votecount">1</div>
<a class="vote votedown selected"></a>
</div>
<div class="questionText">
<p><%- text %></p>
<div class="questionAuthor">From: <%- userName %></div>
</script>
</div>
<script type="text/javascript" src="scripts/app.js"></script>
<script type="text/javascript" src="scripts/models/user.js"></script>
<script type="text/javascript" src="scripts/models/question.js"></script>
<script type="text/javascript" src="scripts/collections/questions.js"></script>
<script type="text/javascript" src="scripts/views/login.js"></script>
<script type="text/javascript" src="scripts/views/new_question.js"></script>
<script type="text/javascript" src="scripts/views/questions.js"></script>
<script type="text/javascript" src="scripts/views/question.js"></script>
</body>
</html>