-
Notifications
You must be signed in to change notification settings - Fork 0
/
0.html
184 lines (169 loc) · 5.33 KB
/
0.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
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
<html onselectstart="return false">
<head>
<script src="script.js"></script>
<script src="script2.js"></script>
<script>
function startTime() {
var today = new Date();
var h = today.getHours();
var m = today.getMinutes();
var s = today.getSeconds();
m = checkTime(m);
s = checkTime(s);
document.getElementById('txt').innerHTML =
h + ":" + m + ":" + s;
var t = setTimeout(startTime, 500);
}
function checkTime(i) {
if (i < 10) {i = "0" + i}; // add zero in front of numbers < 10
return i;
}
</script>
<script>
$( function() {
$( "#draggable" ).draggable();
} );
$( function() {
$( "#draggabletwo" ).draggable();
} );
$( function() {
$( "#draggablethree" ).draggable();
} );
$( function() {
$( "#draggablefour" ).draggable();
} );
$( function() {
$( "#draggablefive" ).draggable();
} );
$( function() {
$( "#draggablesix" ).draggable();
} );
</script>
<script>
function users() {
document.getElementById("panel").innerHTML = "<br><center>[<blue>USERS</blue>]<br><red>you do not have permission to change these settings.</red></center>";
}
function styl() {
document.getElementById("panel").innerHTML = "<br><center>[<orange>STYLE</orange>]<br><red>you do not have permission to change these settings.</red></center>";
}
function broken() {
document.getElementById("bodytwo").innerHTML = "";
}
</script>
<script>
function show() {
document.getElementById("hide").innerHTML = "<button> </button><br><br>/|\\<br> / \\ O<br>";
}
</script>
<script>
function bold() {
document.getElementById("bodytwo").style.fontWeight = "900";
}
function none() {
document.getElementById("bodytwo").innerHTML = "you broke it.<br><br><br> great job.<br><br><br><a href=' '>reload</a>";
}
function unbold() {
document.getElementById("bodytwo").style.fontWeight = "400";
}
function blue() {
document.getElementById("bodytwo").style.color = "blue";
}
function white() {
document.getElementById("bodytwo").style.color = "transparent";
}
function red() {
document.getElementById("bodytwo").style.color = "red";
}
function black() {
document.getElementById("bodytwo").style.color = "black";
}
function yellow() {
document.getElementById("bodytwo").style.color = "yellow";
}
</script>
<link rel="stylesheet" href="20.css">
<Style>
#draggabletwo{left:170px; bottom:110px;}
#draggablethree{left:10px; bottom:100px;}
#draggablefour{left:50px; bottom:190px;}
#draggablefive{left:90px;bottom:500px;}
#draggablesix{left:180px;bottom:300px;}
window{background-color:silver; display:inline-block}
html{display:grid;}
#bar{vertical-align: bottom; border:2px solid black;}
</style>
</head>
<body onload="startTime()" id="bodytwo">
<div id="draggable" class="window" style="width: 150px">
<div class="title-bar">
<div class="title-bar-text">PROGRAM</div>
<div class="title-bar-controls">
<button aria-label="Minimize"></button>
<button aria-label="Maximize"></button>
<button aria-label="Close"></button></div>
</div>
<pre><center><window id="hide"><button onclick="show()">do not click</button>
<hide>O
/|\
/ \</hide>
</window></center></pre></div>
<div id="draggabletwo" class="window" style="width: 170px">
<div class="title-bar">
<div class="title-bar-text">CONTROL PANEL</div>
<div class="title-bar-controls">
<button aria-label="Minimize"></button>
<button aria-label="Maximize"></button>
<button aria-label="Close"></button></div>
</div>
<pre><center>
<window><button onclick="users()">USERS</button>
O
/‾\
‾‾‾ </window> <window><button onclick="styl()">STYLE</button>
__
|0|
‾‾ </window>
<window><button onclick="broken()"><small>?</small></button>
___
|:(|
‾‾‾ </window> <window><button onclick="styl()">???</button>
__
|?|
‾‾ </window> </center></pre></div>
<div id="draggablesix" class="window" style="width:100px; background:grey;"><div class="title-bar-controls">
<button aria-label="Minimize"></button>
<button aria-label="Maximize"></button>
<button aria-label="Close"></button>
</div>
<a href="#">user page WIP</a>
</div>
<div id="draggablefour" class="window" style="width: 290px">
<div class="title-bar">
<div class="title-bar-text">STYLE SETTINGS</div>
<div class="title-bar-controls">
<button aria-label="Minimize"></button>
<button aria-label="Maximize"></button>
<button aria-label="Close"></button></div>
</div>
<pre><button onclick="blue()">EXEC BLUE.TXC</button> <button onclick="red()">EXEC RED.TXC</button>
<button onclick="yellow()">EXEC YELLOW.TXC</button> <button onclick="white()">EXEC NONE.TXC</button>
<button onclick="black()">EXEC BLACK.TXC</button> <button onclick="bold()">EXEC BOLD.TXC</button>
<button onclick="unbold()">EXEC UNBOLD.TXC</button> <button onclick="none()">EXEC NOTHING.TXC</button>
</pre></div>
<div id="draggablethree" class="window" style="width: 170px">
<div class="title-bar">
<div class="title-bar-text">PANEL WINDOW</div>
<div class="title-bar-controls">
<button aria-label="Close"></button></div>
</div><div id="panel">(select a control catergory)
</div>
<div id="style"></div>
</div>
<div id="draggablefive" class="window" style="width: 170px">
<div class="title-bar">
<div class="title-bar-text">CLOCK</div>
<div class="title-bar-controls">
<button aria-label="Close"></button></div>
</div><center><div id="txt"></div></center>
</div>
<div id="bar">SF-INFORPORATED 2020</div>