forked from nikunjness/cloudOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloudos.aspx
215 lines (148 loc) · 4.97 KB
/
cloudos.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
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="cloudos.aspx.cs" Inherits="cloudos" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>CloudOS-The Web Operating System</title>
<script type="text/javascript" src="default/jquery.min.js"></script>
<script type="text/javascript" src="default/jquery.windows-engine.js"></script>
<link type="text/css" rel="stylesheet" href="default/jquery.windows-engine.css"/>
<script type="text/javascript" src="dock/js/jquery.js"></script>
<script type="text/javascript" src="dock/js/interface.js"></script>
<script type="text/javascript" src="js/clock.js"></script>
<!--[if lt IE 7]>
<style type="text/css"> .dock img { behavior: url(iepngfix.htc) } </style><![endif]--><link href="dock/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/fmanager.js"></script>
<script type="text/javascript" src="js/jquery.blockUI.js"></script>
<script type="text/javascript">
var message="Sorry, right-click has been disabled";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
function block()
{
$.blockUI({ message:null});
setTimeout(redirect, 5000);
}
function redirect()
{
$.unblockUI();
window.location="Signout.aspx";
}
</script>
<style type="text/css">
html
{
background: url(photos/bg1.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
}
#addressbar
{
width:98%;
}
.style1
{
width: 35px;
}
.ifrm
{
background-color:#dfdfdf;
overflow:visible;
margin:0px;
padding:0px;
}
#error
{
text-align:center;
background-color:#d1d1d1;
height:100%;
width:100%;
}
#uppanel
{
position:fixed;
top:0px;
left:0px;
width:100%;
background-color:white;
opacity:0.4;
filter:alpha(opacity=40); /* For IE8 and earlier */
height:35px;
}
#clock
{
position:fixed;
right:0px;
top:0px;
height: 30px;
}
</style>
</head>
<body>
<form name="frm" id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
</asp:ScriptManager>
<div id="uppanel">
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/photos/sd.png"
Height="30px" onclick="ImageButton1_Click" Width="30px" />
<table id="clock">
<td bgcolor="black" style="font-weight:bolder;color:White">Welcome,<asp:Literal ID="Literal1" runat="server"></asp:Literal></td>
<td bgcolor="black">
<img alt="" src="photos/clock/dg8.gif" name="hr1" />
<img alt="" src="photos/clock/dg8.gif" name="hr2" />
<img alt="" src="photos/clock/dgc.gif" />
<img alt="" src="photos/clock/dg8.gif" name="mn1" />
<img alt="" src="photos/clock/dg8.gif" name="mn2" />
<img alt="" src="photos/clock/dgc.gif" />
<img alt="" src="photos/clock/dg8.gif" name="se1" />
<img alt="" src="photos/clock/dg8.gif" name="se2" />
<img alt="" src="photos/clock/dgpm.gif" name="ampm" />
</td>
</table>
</div>
<div class="dock" id="dock2">
<div class="dock-container2">
<a class="dock-item2" href="#" id="filemanager"><span>File Manager</span><img alt="" src="dock/web.png" alt="File Manager" /></a>
<a class="dock-item2" href="#" id="texteditor"><span>Text Editor</span><img alt="" src="dock/texteditor.png" alt="Text Editor" /></a>
<a class="dock-item2" href="#" id="imageviewer"><span>Image Viewer</span><img alt="" src="dock/editor.png" alt="Image Viewer" /></a>
<a class="dock-item2" href="#" id="ieditor"><span>Image Editor</span><img alt="" src="dock/pixlr.png" alt="Image Editor" /></a>
<a class="dock-item2" href="#" id="music"><span>Music Player</span><img alt="" src="dock/mplayer.png" alt="Music Player" /></a>
<a class="dock-item2" href="#" id="browser"><span>Web Browser</span><img alt="" src="dock/webbrowser.png" alt="web Browser" /></a>
</div>
</div>
<!--dock menu JS options -->
<script type="text/javascript">
$(document).ready(
function()
{
$('#dock2').Fisheye(
{
maxWidth: 60,
items: 'a',
itemsText: 'span',
container: '.dock-container2',
itemWidth: 40,
proximity: 80,
alignment : 'left',
valign: 'bottom',
halign : 'center'
}
)
}
);
</script>
</form>
</body>
</html>