/
nav.Master
155 lines (126 loc) · 5.38 KB
/
nav.Master
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
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="nav.master.cs" Inherits="WebApplication1.nav" %>
<!DOCTYPE html>
<html>
<head runat="server">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<!-- Bootstrap -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link href="css/style.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:300,400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Nixie+One|Open+Sans" rel="stylesheet">
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<link rel="icon" href="img/favicon.ico" type="image/x-icon">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script>
$(document).ready(function () {
$(".clickIcon").click(function (evt) {
evt.stopImmediatePropagation(); //stops click event from firing more than once
$(".profileBar").slideToggle("slow");
});
});
</script>
<style>
.button {
display: inline-block;
background-color: #e6a303;
border: none;
color: #FFFFFF;
text-align: center;
font-size: 15px;
font-family: 'Roboto';
font-weight: 700;
padding: 10px;
width: 200px;
transition: all 0.5s;
cursor: pointer;
margin: 5px;
}
</style>
<link href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.css" rel="stylesheet" type='text/css'>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body id="top" >
<form runat="server">
<div class="profileBar"style="width:100%; height:100px; display:none;">
<div class="container">
<div class="col-sm-6" style="text-align:right; margin-top:40px">
<asp:Label runat="server" ID="userName" ></asp:Label>
</div>
<div class="col-sm-6" style="margin-top:25px">
<asp:Button runat="server" Text="Log Out" OnClick="logout" class="button"/>
</div>
</div>
</div>
<header style="height: 80px; background: #333; margin-bottom:-100px;">
<div class="fixed">
<a href="home.aspx">
<h1>EduCaterers</h1>
</a>
<a class="menu-btn hamburger" href="#">
<img src="img/menu.png" alt="menu"></a>
<nav>
<div class="navbar">
<ul>
<asp:ContentPlaceHolder ID="navLinks" runat="server">
</asp:ContentPlaceHolder>
<li runat="server" id="loginIcon1"></li>
</ul>
</div>
</nav>
</div>
<h1>EduCaterers</h1>
<a class="menu-btn hamburger" href="#">
<img src="img/menu.png" alt="menu"></a>
<nav>
<div class="navbar">
<ul>
<asp:ContentPlaceHolder ID="fixedNavLinks" runat="server">
</asp:ContentPlaceHolder>
<li runat="server" id="loginIcon2"></li>
</ul>
</div>
</nav>
<div class="menu">
<a href="#" class="menu-close">
<img src="img/close.png" alt="close-menu"></a>
<ul style="list-style: none; text-align: left !important;">
<li><a href="home.aspx">Home</a></li>
<li><a href="universities.aspx">Universities</a></li>
<li><a href="Prepare.aspx">Prepare</a></li>
<li><a href="myPortal.aspx">My Portal</a></li>
<li runat="server" id="loginIcon3"></li>
</ul>
</div>
</header>
<div class="wrapper">
<div>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</div>
<footer>
<h1>EduCaterers</h1>
<ul>
<li><a href="home.aspx">Home</a></li>
<li><a href="universities.aspx">Universities</a></li>
<li><a href="Prepare.aspx">Prepare</a></li>
<li><a href="myPortal.aspx">My Portal</a></li>
</ul>
<p>EduCaterers 2017. All Rights Reserved.</p>
</footer>
</form>
</body>
<script src="js/menu.js"></script>
</html>