-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathselectsector.aspx
113 lines (88 loc) · 4.47 KB
/
selectsector.aspx
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
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="selectsector.aspx.cs" Inherits="selectsector" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<title>Direct Me- Select Sector</title>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
<script src="Scripts/jquery-2.1.3.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<link href='http://fonts.googleapis.com/css?family=Slabo+27px' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/sector.css">
</head>
<body>
<form id="form1" runat="server">
<div class="container">
<div class="logo"><a href="index.html"><img src="img/logo.png" width="170" /> </a> </div>
<div class="heading"><h1>Select Sector</h1>
<p>Select a sector where you would like to live.</p>
</div>
<!-- <div class="cloud">
<div id="cloud1"><img src="img/cloud1.png" id="cloud1Image" /></div>
<div id="cloud2"><img src="img/cloud2.png" id="cloud2Image" /></div>
</div>-->
<div class="buildingContainer">
<asp:LinkButton runat="server" CommandArgument="1" ID="lnk_click" OnClick="lnk_click_Click">
<div id="building1Div" class="building" onclick="div_click(this)">
<h1>Sector 1</h1>
<div class="arrowDown"><img src="img/arrowdown.png" width="32" /></div>
<img src="img/building/building1.png" class="buildingImage" style="width:200px;" />
</div>
</asp:LinkButton>
<asp:LinkButton runat="server" CommandArgument="2" OnClick="lnk_click_Click">
<div id="building2Div" class="building" onclick="div_click(this)">
<h1>Sector 2</h1>
<div class="arrowDown"><img src="img/arrowdown.png" width="32" /></div>
<img src="img/building/building2.png" class="buildingImage" />
</div>
</asp:LinkButton>
<asp:LinkButton runat="server" CommandArgument="3" OnClick="lnk_click_Click">
<div id="building3Div" class="building" onclick="div_click(this)">
<h1>Sector 3</h1>
<div class="arrowDown"><img src="img/arrowdown.png" width="32" /></div>
<img src="img/building/building3.png" class="buildingImage" style="width:200px;" />
</div>
</asp:LinkButton>
<asp:LinkButton runat="server" CommandArgument="4" OnClick="lnk_click_Click">
<div id="building4Div" class="building" onclick="div_click(this)">
<h1>Sector 4</h1>
<div class="arrowDown"><img src="img/arrowdown.png" width="32" /></div>
<img src="img/building/building4.png" class="buildingImage" />
</div>
</asp:LinkButton>
</div>
<div class="footer">
<!--<img src="img/road6.png" id="roadImage"/>-->
</div>
<div class="carContainer">
<div class="car"><img src="img/car.png" ></div>
</div>
<%-- <div >
<asp:Button class="continue" runat="server" Text="Continue" OnClick="Unnamed_Click" />
</div>--%>
</div>
<asp:HiddenField runat="server" id="hidden_server" />
<!-- container ends -->
</form>
<%--BACKGROUND COLOR ACCRDN TO TYM--%>
<script type="text/javascript">
var currentTime = new Date().getHours();
if (7 <= currentTime && currentTime < 17) {
if (document.body) {
document.body.style.backgroundColor = "rgb(175, 230, 255)";
}
}
else if (17 <= currentTime && currentTime < 22) {
if (document.body) {
document.body.style.backgroundColor = "rgb(247, 219, 157)";
}
}
else {
if (document.body) {
document.body.style.backgroundColor = "rgb(55,55,55)";
}
}
</script>
</body>
</html>