-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.html
114 lines (112 loc) · 4.5 KB
/
header.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
<html>
<head>
<meta charset="utf-8">
<title>Test Bootstrap</title>
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="bootstrap/css/color.css">
<link rel="stylesheet" type="text/css" href="css/mycss.css">
<link rel="icon" type="image/x-icon" href="image/logo.png">
<script src="js/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script type="text/javascript">
function clickCaret(){
if($(".user .dropdown-menu").hasClass("show")){
$(".user .dropdown-menu").removeClass("show");
}else{
$(".user .dropdown-menu").addClass("show");
}
}
</script>
</head>
<body>
<header>
<div class="container">
<div class="row logo-user">
<div><a href="#"><img src="image/banner_600.png" class="logo"></a></div>
<div class="user">
<!-- <div>Welcome <a href="#" class="welcome">Guest</a></div> -->
<div class="dropdown" style="float: right"><label style="color: #8a6d3b;">Xin chào</label>
<a href="#" class="welcome btn btn-warning btn-xs">Henry Thanh Hai</a>
<span onclick="clickCaret()" class="btn btn-warning btn-xs caret-click">
<b class="caret"></b>
</span>
<ul class="dropdown-menu hide" style="margin-left: 55px;">
<li><a href="#">Thông tin</a></li>
<li><a href="#">Tùy chỉnh</a></li>
<li><a href="#">Đổi mật khẩu</a></li>
</ul>
</div>
<div ="row">
<div class="reg-log">
<a href="#" class="btn btn-sm btn-login">Đăng Nhập</a>
<a href="#" class="btn btn-sm btn-register">Đăng Ký</a>
</div>
<div class="clear"></div>
</div>
</div>
</div>
<div class="row">
<nav class="navbar navbar-orange" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand navbar-home" href="#"><span class="glyphicon glyphicon-home"></span></a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Giải Đề</a></li>
<li><a href="#">Hỏi Đáp</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle">Tài Nguyên <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Môn học</a></li>
<li><a href="#">Đề thi</a></li>
<li><a href="#">Bài kiểm tra</a></li>
<!-- <li class="divider"></li>
<li><a href="#">Separated link</a></li>
<li class="divider"></li>
<li><a href="#">One more separated link</a></li> -->
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle">Trợ Giúp <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Trợ Giúp</a></li>
<li><a href="#">Đề thi</a></li>
<li><a href="#">Bài kiểm tra</a></li>
</ul>
</li>
<li><a href="#">Về Chúng Tôi</a></li>
</ul>
<!-- <form class="navbar-form navbar-left" role="search">
<div class="form-group">
<input type="text" class="form-control" placeholder="Search">
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form> -->
<!-- <ul class="nav navbar-nav navbar-right">
<li><a href="#">Link</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</li>
</ul> -->
</div><!-- /.navbar-collapse -->
</nav>
</div>
</div>
</header>
</body>
</html>