-
Notifications
You must be signed in to change notification settings - Fork 0
/
idea.html
163 lines (130 loc) · 4.77 KB
/
idea.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
155
156
157
158
159
160
161
162
163
<html>
<head>
<title>Idea Hub</title>
<link rel="stylesheet" href="css/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="css/foundation.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
</head>
<body>
<!-- Header and Nav -->
<div class="navBar">
<div class="navContainer">
<div class="topLevelNav">
<h1><a href="user.html" class="login">IdeaHub</a></h1>
<i class="icon-cogs"></i>
<div class="hello"></div>
</div>
<div class="subLevelNav">
<h3 class="subHeadLine">We haz idea!</h3>
<div class="subNavLinks">
<a href="index.html" class="logout">Log out</a>
<a href="form.html">Add Idea!</a>
<a href="#" class="myProfile">My Profile</a>
</div>
</div>
</div>
</div>
<!-- End Header and Nav -->
<div class="row mainBody">
<div class="small-12 columns">
<!-- Idea Info -->
<div class="row ideaInfo">
</div>
<!-- On the Team -->
<div class="row team-interest-row">
<div class="small-2 columns">
<h5>On the team</h5>
<div class="teamDisplay">
</div>
</div>
<div class="small-10 columns">
<h5> Interested </h5>
<div class="interestDisplay">
</div>
</div>
</div>
<!-- Footer -->
<footer class="row">
<div class="small-12 columns">
<hr />
<div class="row">
<div class="small-5 columns">
<p>IdeaHub: We haz ideas!</p>
</div>
<div class="small-7 columns">
<ul class="inline-list right">
<li><a href="#" class="myProfile">My Profile</a></li>
<li><a href="form.html">Add Idea</a></li>
<li><a href="index.html" class="logout">Logout</a></li>
</ul>
</div>
</div>
</div>
</footer>
</div>
<!--Start Templating-->
<div id="templates">
<!-- Idea InfoTemplate -->
<script class="ideaInfoTemp" type="text/templates">
<div class="small-2 columns">
<img src="{{ avatar }}"><br/>
<a href="profile.html?profileId={{ authorId }}">{{ author }}</a>
</div>
<div class="small-10 columns">
<h3>{{ ideaTitle }}</h3>
<p>{{ ideaDesc }}</p>
<span>Seeking {{ numWanted }} members</span><span class="editIdea"> |
<a href="form.html?ideaId={{ ideaId }}">Edit</a></span>
<span class="deleteIdea"> |
<a href="#">delete</a></span>
<br/><br/>
<button class="buttonReset interestBtn">I’m interested!</button>
</div>
</script>
<!-- Team Mate Templates -->
<script class="teamMateTemp" type="text/templates">
<img src="{{ avatar_url }}"><br/>
<a href="profile.html?profileId={{ id }}">{{ username }}</a>
</script>
<!-- Interested Users templates -->
<script class="interestView" type="text/templates">
<div class="interestedUser">
<div>
<a href="profile.html?profileId={{ userOb.id }}">{{ userOb.username }}
<img src="{{ userOb.avatar_url }}"></a>
</div>
</div>
</script>
<script class="interestAuthorView" type="text/templates">
<div class="interestedUser">
<div>
<a href="profile.html?profileId={{ userOb.id }}">{{ userOb.username }}
<img src="{{ userOb.avatar_url }}"></a>
<button class="buttonReset pickMate">Select</button>
</div>
</div>
</script>
</div>
<!--End Templating-->
<!-- Vendor Scripts -->
<script type="text/javascript" src="vendor/jquery-1.10.2.js"></script>
<script type="text/javascript" src="vendor/underscore.js"></script>
<script type="text/javascript" src="vendor/backbone.js"></script>
<script type="text/javascript" src="vendor/tinymce/tinymce.min.js"></script>
<!-- Firebase Scripts -->
<script type="text/javascript" src="vendor/firebase.js"></script>
<script type="text/javascript" src="vendor/firebase-simple-login.js"></script>
<!-- Globals -->
<script type="text/javascript" src="src/util.js"></script>
<!-- My Firebase Script -->
<script type="text/javascript" src="src/myFirebase.js"></script>
<!--Backbone-->
<script type="text/javascript" src="src/Backbone/models.js"></script>
<script type="text/javascript" src="src/Backbone/collections.js"></script>
<script type="text/javascript" src="src/Backbone/ideaViews.js"></script>
<!-- Main js -->
<script type="text/javascript" src="src/Inits/ideaInit.js"></script>
<script type="text/javascript" src="src/main.js"></script>
<script type="text/javascript" src="src/route.js"></script>
</body>
</html>