-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.html
149 lines (126 loc) · 6.64 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
<style>
div.index-row{
background-color: #f4f4f4;
}
div.main-sidebar{
margin: 10px 0px;
padding: 10px;
}
h4.sidebar-header{
background-color:#56A0D3;
color: white;
font-weight: 700;
display: block;
margin: 10px 5px;
padding: 5px;
text-align:center;
border-radius: 3px;
}
ul.useful-links{
list-style-type: circle;
color: #848484;
}
#welcome-msg {
font-weight: bold;
}
</style>
<div class="row index-row">
<div class="col-md-3">
<div class="container-fluid">
<div class="row">
<div class="panel panel-default main-sidebar">
<div class="container-fluid">
<div class="row"><h4 class="sidebar-header">Logout</h4></div>
<ul class="profile-links">
<li><a href="/accounts/password/change/">Change Password</a></li>
</ul>
<div class="row"><h4 class="sidebar-header">Your Posts in Project Market</h4></div>
<ul class="profile-list">
<li style="text-align: left;"><a href="{% url 'get_post_project' post_id=post.pk %}"><span>{{post.post_type|title}} - {{post.title}} </span></a></li>
<li><span>Nothing new added recently!</span></li>
</ul>
<div class="row"><h4 class="sidebar-header">Your Posts in Getting Hired</h4></div>
<ul class="profile-list">
<li style="text-align: left;"><a href="{% url 'get_post' post_type=post.post_type.lower post_id=post.pk %}"><span>{{post.post_type|title}} - {{post.company.name}} </span></a></li>
<li><span>Nothing new added recently!</span></li>
</ul>
<div class="row"><h4 class="sidebar-header">Your Posts in Job Market</h4></div>
<ul class="profile-list">
<li style="text-align: left;"><a href="{% url 'get_post_job' post_id=post.pk %}"><span>{{post.post_type|title}} - {{post.company.name}} </span><span class="date" style="float:right;">{{post.date_posted|naturaltime}}</span></a></li>
<li><span>Nothing new added recently!</span></li>
</ul>
<div class="row"><h4 class="sidebar-header">Upcoming Events</h4></div>
<div class="row">
<!-- start feedwind code -->
<script type="text/javascript">
document.write('<script type="text/javascript" src="' + ('https:' == document.location.protocol ? 'https://' : 'http://') + 'feed.mikle.com/js/rssmikle.js"><\/script>');
</script>
<script type="text/javascript">
function dateAdd(date, interval, units) {
var ret = new Date(date);
switch(interval.toLowerCase()) {
case 'year' : ret.setFullYear(ret.getFullYear() + units); break;
case 'quarter': ret.setMonth(ret.getMonth() + 3*units); break;
case 'month' : ret.setMonth(ret.getMonth() + units); break;
case 'week' : ret.setDate(ret.getDate() + 7*units); break;
case 'day' : ret.setDate(ret.getDate() + units); break;
case 'hour' : ret.setTime(ret.getTime() + units*3600000); break;
case 'minute' : ret.setTime(ret.getTime() + units*60000); break;
case 'second' : ret.setTime(ret.getTime() + units*1000); break;
default : ret = undefined; break;
}
return ret;
}
function getURL() {
var d = new Date();
return "https://www.google.com/calendar/feeds/cs.unc.edu_d58v7pr1keka8slvhu6r4hm044%40group.calendar.google.com/public/basic?start-min=" + d.toISOString() + "&ctz=America/New_York" + "&singleevents=true";
}
(function() {var params = {rssmikle_url: getURL(),rssmikle_frame_width: "250",rssmikle_frame_height: "300",rssmikle_target: "_blank",rssmikle_font: "Geneva, Arial, sans-serif",rssmikle_font_size: "10",rssmikle_border: "on",responsive: "on",rssmikle_css_url: "",text_align: "left",corner: "on",autoscroll: "off",scrolldirection: "up",scrollstep: "3",mcspeed: "20",sort: "Old",rssmikle_title: "off",rssmikle_title_sentence: "",rssmikle_title_link: "",rssmikle_title_bgcolor: "#9ACD32",rssmikle_title_color: "#FFFFFF",rssmikle_title_bgimage: "",rssmikle_item_bgcolor: "#FFFFFF",rssmikle_item_bgimage: "",rssmikle_item_title_length: "55",rssmikle_item_title_color: "#666666",rssmikle_item_border_bottom: "on",rssmikle_item_description: "on",rssmikle_item_description_length: "15",rssmikle_item_description_color: "#666666",rssmikle_item_date: "on",rssmikle_timezone: "America/New_York",datetime_format: "%b %e, %Y %l:%M:%S %p",rssmikle_item_description_tag: "on_flexcroll",rssmikle_item_description_image_scaling: "off",rssmikle_item_podcast: "off"};feedwind_show_widget_iframe(params);})();
</script>
<div style="font-size:10px; text-align:center; "><a href="http://feed.mikle.com/" target="_blank" style="color:#CCCCCC;">RSS Feed Widget</a><!--Please display the above link in your web page according to Terms of Service.--></div><!-- end feedwind code -->
</div>
</div>
<div class="container-fluid">
<div class="row"><h4 class="sidebar-header">Useful Links</h4></div>
<div class="row">
<ul class="useful-links">
<li><a href ="{% url 'faq_view' %}">Student Portal FAQ</a></li>
<li><a href ="http://www.unc.edu/ugradbulletin/depts/compsci.html" target="_blank">Undergraduate Course Descriptions</a></li>
<li><a href ="https://www.cs.unc.edu/Admin/Schedules/index.html" target="_blank">CS Course Listings</a></li>
<li><a href ="http://advising.unc.edu/curriculum/academic-worksheets/#CES" target="_blank">Academic Worksheets</a></li> <li><a href ="http://www.cs.unc.edu" target="_blank">UNC CS Homepage</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="profle-dash col-md-9">
<div class="container-fluid">
<h2 class="styled">User Dash</h2>
<div class="row">
<div class="col-md-12">
<p>Username: {{user.username}}</p>
<p>E-mail: {{user.email}}</p>
</div>
</div>
<div class="row">
<h4 class="profile-header">Recent posts in Getting Hired:</h4>
<ul class="profile-list">
<li><a href="{% url 'get_post' post_type=post.post_type.lower post_id=post.pk %}"><span>{{post.post_type|title}} - {{post.company.name}} </span><span class="date" style="float:right;">{{post.date_posted|naturaltime}}</span></a></li>
</ul>
</div>
<div class="row">
<h4 class="profile-header">Recent posts in Project Market:</h4>
<ul class="profile-list">
<li><a href="{% url 'get_post_project' post_id=post.pk %}"><span>{{post.post_type|title}} - {{post.title}} </span><span class="date" style="float:right;">{{post.date_posted|naturaltime}}</span></a></li>
</ul>
</div>
<div class="row">
<h4 class="profile-header">Recent posts in Job Market:</h4>
<ul class="profile-list">
<li><a href="{% url 'get_post_job' post_id=post.pk %}"><span>{{post.post_type|title}} - {{post.company.name}} </span><span class="date" style="float:right;">{{post.date_posted|naturaltime}}</span></a></li>
</ul>
</div>
</div>
</div>