-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.html
152 lines (116 loc) · 4.17 KB
/
profile.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
<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">
<!-- User's Profile -->
<div class="row userBio"></div>
<!-- User's Ideas -->
<h3 class="ideasHeader">Ideas</h3>
<div class="row">
<div class="small-12 columns authorIdeas">
</div>
</div>
<h3 class="interestHeader">Interests</h3>
<div class="small-12 columns userInterests">
</div>
<!-- Footer -->
<footer class="row">
<div class="small-12 columns">
<hr />
<div class="row">
<div class="small-5 columns">
<p>We haz idea!</p>
</div>
<div class="small-7 columns">
<ul class="inline-list right">
<li><a href="#" class="myProfile">My Profile</a></li>
<li><a href="#" class="logout">Logout</a></li>
<li><a href="form.html">Add Idea</a></li>
</ul>
</div>
</div>
</div>
</footer>
</div>
<!--Start Templating-->
<div id="templates">
<!-- Bio Template -->
<script class="bioTemp" type="text/templates">
<div class="columns small-2">
<img src="{{ avatar }}" alt=""/>
</div>
<div class="columns small-6 left">
<h3>{{ username }}</h3><br>
<h4><a href="mailto:{{ email }}">Email</a></h4><br>
<h4><a href="{{ profileUrl }}">Github</a></h4><br>
</div>
</script>
<!-- Idea Template -->
<script class="userAuthorTemp" type="text/templates">
<div class="oneUserIdea"><h5><a href="idea.html?ideaId={{ ideaId }}">{{ ideaTitle }}</a></h5>
<span>Seeking {{ numWanted }} members</span>
{{ ideaDesc }}
</div>
</script>
<!-- Interest Template -->
<script class="userInterestTemp" type="text/templates">
<div class="row">
<div class="small-3 columns avatar">
<img src="{{ avatar }}" alt=""/>
<span class="author"><a href="profile.html?profileId={{ authorId }}">{{ author }}</a></span>
</div>
<div class="small-10 columns">
<h4><a href="idea.html?ideaId={{ ideaId }}">{{ ideaTitle }}</a></h4>
{{ ideaDesc }}
</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/profileViews.js"></script>
<!-- Main js -->
<script type="text/javascript" src="src/Inits/profileInit.js"></script>
<script type="text/javascript" src="src/main.js"></script>
<script type="text/javascript" src="src/route.js"></script>
</body>
</html>