-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmy-profile.html
111 lines (88 loc) · 4.33 KB
/
my-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
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html">
<title>User Profile</title>
<link rel="stylesheet" type="text/css" media="all" href="css/styles.css">
<script src="scripts/jquery-3.1.1.min.js"></script>
<script src="scripts/main.js"></script>
<link href="bootstrap/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<link href="font-awesome/css/font-awesome.css" rel="stylesheet" />
<link href="bootstrap/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet" />
<link href="main-css/main.css" rel="stylesheet" />
<link href="main-css/menu.css" rel="stylesheet" />
<link href="main-css/styles.css" rel="stylesheet" />
<link href="main-css/footer.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900" rel="stylesheet">
</head>
<body>
<header class = "nav-bar">
<ul>
<img src = "images/sidonia_logo.png" id = "logo" width:"150px" height: "43px" />
<li ><a href="index.html"><span id="pink"> Home </span></a>
<li><a href="about.html"><span id="orange">About</span> </a>
<li ><a href="main-forum.html"><span id="dyellow">Forum</span> </a>
<li><a href="signup.html"><span id="neon-green">Sign Up </span></a>
<li ><a href="login.html"><span id ="cyan">Log In</span></a>
</ul>
</header>
<div id="w">
<div id="content" class="clearfix">
<div id="userphoto"><img src="images/avatar.png" alt="default avatar"></div>
<h1>Minimal User Profile Layout</h1>
<nav id="profiletabs">
<ul class="clearfix">
<li><a href="#bio" class="sel">Bio</a></li>
<li><a href="#activity">Activity</a></li>
<li><a href="#friends">Friends</a></li>
<li><a href="#settings">Settings</a></li>
</ul>
</nav>
<section id="bio">
<p>Various content snippets courtesy of <a href="http://bluthipsum.com/">Bluth Ipsum</a>.</p>
<p>Can't a guy call his mother pretty without it seeming strange? Amen. I think that's one of Mom's little fibs, you know, like I'll sacrifice anything for my children.</p>
<p>She's always got to wedge herself in the middle of us so that she can control everything. Yeah. Mom's awesome. I run a pretty tight ship around here. With a pool table.</p>
</section>
<section id="activity" class="hidden">
<p>Most recent actions:</p>
<p class="activity">@10:15PM - Submitted a news article</p>
<p class="activity">@9:50PM - Submitted a news article</p>
<p class="activity">@8:15PM - Posted a comment</p>
<p class="activity">@4:30PM - Added <strong>someusername</strong> as a friend</p>
<p class="activity">@12:30PM - Submitted a news article</p>
</section>
<section id="friends" class="hidden">
<p>Friends list:</p>
<ul id="friendslist" class="clearfix">
<li><a href="#"><img src="images/avatar.png" width="22" height="22"> Username</a></li>
<li><a href="#"><img src="images/avatar.png" width="22" height="22"> SomeGuy123</a></li>
<li><a href="#"><img src="images/avatar.png" width="22" height="22"> PurpleGiraffe</a></li>
</ul>
</section>
<section id="settings" class="hidden">
<p>Edit your user settings:</p>
<p class="setting"><span>E-mail Address <img src="images/edit.png" alt="*Edit*"></span> [email protected]</p>
<p class="setting"><span>Language <img src="images/edit.png" alt="*Edit*"></span> English(US)</p>
<p class="setting"><span>Profile Status <img src="images/edit.png" alt="*Edit*"></span> Public</p>
<p class="setting"><span>Update Frequency <img src="images/edit.png" alt="*Edit*"></span> Weekly</p>
<p class="setting"><span>Connected Accounts <img src="images/edit.png" alt="*Edit*"></span> None</p>
</section>
</div><!-- @end #content -->
</div><!-- @end #w -->
<script type="text/javascript">
$(function(){
$('#profiletabs ul li a').on('click', function(e){
e.preventDefault();
var newcontent = $(this).attr('href');
$('#profiletabs ul li a').removeClass('sel');
$(this).addClass('sel');
$('#content section').each(function(){
if(!$(this).hasClass('hidden')) { $(this).addClass('hidden'); }
});
$(newcontent).removeClass('hidden');
});
});
</script>
</body>
</html>