-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcode2.html
151 lines (144 loc) · 7.77 KB
/
code2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="utf-8" />
<meta name="keywords" content="freebasic, sdl, bass, code, utility, app, github, sqlite">
<title>code</title>
<link rel="icon" type="image/x-icon" href="images/favicon.jpg">
<link rel="stylesheet" href="font.css" />
<link rel="stylesheet" href="main.css" />
</head>
<body>
<button id="darkmodeswitch" hidden>dark mode on/off</button>
<p id="listtype"></p>
<p id="tdelement"></p>
<nav class="nav">
<div id="mySidenav" class="sidenav">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<p id="sidenavcontent"></p>
</div>
<div class="nav-left">
<a class="nav-item" href="index.html">
<svg class="svglight" viewBox="-5 -5 34 34">
<path d="M12,14a3,3,0,0,0-3,3v7.026h6V17A3,3,0,0,0,12,14Z"/>
<path d="M13.338.833a2,2,0,0,0-2.676,0L0,10.429v10.4a3.2,3.2,0,0,0,3.2,3.2H7V17a5,5,0,0,1,10,0v7.026h3.8a3.2,3.2,0,0,0,3.2-3.2v-10.4Z"/>
</svg>
</a>
<a class="nav-item" style="cursor:pointer" onclick="openNav()">THRIVE4</a>
</div>
<label for="menu-toggle" class="nav-toggle">≡</label>
<input type="checkbox" id="menu-toggle" class="is-hidden"/>
<div class="nav-right nav-menu">
<a class="nav-item" href="#" onclick="document.getElementById('myModal').style.display='block'">
<svg class="svglight" viewBox="-5 -5 34 34">
<path d="M21,4c-1.402,0-2.867,0-2.867,0L17.2,2c-0.215-0.498-1.075-1-1.826-1H8.759
C8.008,1,7.148,1.502,6.933,2L6,4c0,0-1.517,0-3,0C0.611,4,0,6,0,6v14c0,0,1.5,2,3,2s16.406,0,18,0s3-2,3-2V6C24,6,23.496,4,21,4z
M12,19.001c-3.313,0-6-2.687-6-6.001c0-3.313,2.687-6,6-6c3.314,0,6,2.687,6,6C18,16.314,15.314,19.001,12,19.001z M12,9
c-2.209,0-4,1.791-4,4s1.791,4,4,4s4-1.791,4-4S14.209,9,12,9z"/>
</svg>
</a>
<a class="nav-item" href="" onclick="switchtheme(); id='darkmodeswitch';">
<svg class="svglight" viewBox="-5 -5 34 34">
<circle cx="12" cy="12" r="5"/>
<path d="M21,13H20a1,1,0,0,1,0-2h1a1,1,0,0,1,0,2Z
M4,13H3a1,1,0,0,1,0-2H4a1,1,0,0,1,0,2Z
M17.66,7.34A1,1,0,0,1,17,7.05a1,1,0,0,1,0-1.41l.71-.71a1,1,0,1,1,1.41,1.41l-.71.71A1,1,0,0,1,17.66,7.34Z
M5.64,19.36a1,1,0,0,1-.71-.29,1,1,0,0,1,0-1.41L5.64,17a1,1,0,0,1,1.41,1.41l-.71.71A1,1,0,0,1,5.64,19.36Z
M12,5a1,1,0,0,1-1-1V3a1,1,0,0,1,2,0V4A1,1,0,0,1,12,5Z
M12,22a1,1,0,0,1-1-1V20a1,1,0,0,1,2,0v1A1,1,0,0,1,12,22Z
M6.34,7.34a1,1,0,0,1-.7-.29l-.71-.71A1,1,0,0,1,6.34,4.93l.71.71a1,1,0,0,1,0,1.41A1,1,0,0,1,6.34,7.34Z
M18.36,19.36a1,1,0,0,1-.7-.29L17,18.36A1,1,0,0,1,18.36,17l.71.71a1,1,0,0,1,0,1.41A1,1,0,0,1,18.36,19.36Z"/>
</svg>
</a>
</div>
</nav>
<br><br><br>
<div class="container">
<div class="row">
<div class="dropdown"><a href="" onclick="switchlistview('tile'); localStorage.setItem('listtype', 'tile');">
<svg class="svglight" id="tileview" viewBox="0 0 1400 1400">
<path d="M313 333H153q-8 0-14-6t-6-14V153q0-8 6-14t14-6h160q8 0 14 6t6 14v160q0 8-6 14t-14 6zm265
0H418q-8 0-14-6t-6-14V153q0-8 6-14t14-6h160q8 0 14 6t6 14v160q0 8-6 14t-14 6zm265 0H683q-8 0-14-6t-6-14V153q0-8
6-14t14-6h160q8 0 14 6t6 14v160q0 8-6 14t-14 6zM313 598H153q-8 0-14-6t-6-14V418q0-8 6-14t14-6h160q8 0 14 6t6
14v160q0 8-6 14t-14 6zm265 0H418q-8 0-14-6t-6-14V418q0-8 6-14t14-6h160q8 0 14 6t6 14v160q0 8-6 14t-14
6zm265 0H683q-8 0-14-6t-6-14V418q0-8 6-14t14-6h160q8 0 14 6t6 14v160q0 8-6 14t-14 6zM313 863H153q-8
0-14-6t-6-14V683q0-8 6-14t14-6h160q8 0 14 6t6 14v160q0 8-6 14t-14 6zm265 0H418q-8 0-14-6t-6-14V683q0-8
6-14t14-6h160q8 0 14 6t6 14v160q0 8-6 14t-14 6zm265 0H683q-8 0-14-6t-6-14V683q0-8 6-14t14-6h160q8 0 14
6t6 14v160q0 8-6 14t-14 6z"/>
</svg>
</a><div class="dropdown-content"><p>tile view</p></div></div>
<div class="dropdown"><a href="" onclick="switchlistview('list'); localStorage.setItem('listtype', 'list');">
<svg class="svglight" id="listview" viewBox="0 0 1400 1400">
<path d="M582 707H166v83h416v-83zm250-333H166v83h666v-83zM166 624h666v-83H166v83zm0-416v83h666v-83H166z"/>
</svg>
</a><div class="dropdown-content"><p>list view</p></div></div>
<div class="dropdown"><a href="" onclick="switchlistview('data'); localStorage.setItem('listtype', 'data');">
<svg class="svglight" id="dataview" viewBox="0 0 0020 0020">
<path d="M2.71429 10.21429V11.5q0 .0871-.0636.15067-.0636.0636-.15067.0636H1.214306q-.08705 0-.15067-.0636Q1
11.58706 1 11.5v-1.28571q0-.0871.06362-.15067.06362-.0636.15067-.0636H2.5q.0871 0
.15067.0636.0636.0636.0636.15067zm0-2.57143v1.28572q0 .087-.0636.15067-.0636.0636-.15067.0636H1.214306q-.08705
0-.15067-.0636Q1 9.01563 1 8.92858V7.64286q0-.087.06362-.15067.06362-.0636.15067-.0636H2.5q.0871
0 .15067.0636.0636.0636.0636.15067zm0-2.57143v1.28572q0 .087-.0636.15067-.0636.0636-.15067.0636H1.214306q-.08705
0-.15067-.0636Q1 6.4442 1 6.35715V5.07143q0-.087.06362-.15067.06362-.0636.15067-.0636H2.5q.0871
0 .15067.0636.0636.0636.0636.15067zm0-2.57143v1.28572q0 .0871-.0636.15067-.0636.0636-.15067.0636H1.214306q-.08705
0-.15067-.0636Q1 3.87277 1 3.78572V2.5q0-.0871.06362-.15067.06362-.0636.15067-.0636H2.5q.0871
0 .15067.0636.0636.0636.0636.15067z"/>
<path d="M13 10.21429V11.5q0 .0871-.0636.15067-.0636.0636-.15067.0636h-9q-.087 0-.15067-.0636-.0636-.0636-.0636-.15067v-1.28571q0-.0871.0636-.15067.0636-.0636.15067-.0636h9q.0871
0 .15067.0636.0636.0636.0636.15067zm0-2.57143v1.28572q0 .087-.0636.15067-.0636.0636-.15067.0636h-9q-.087
0-.15067-.0636-.0636-.0636-.0636-.15067V7.64286q0-.087.0636-.15067.0636-.0636.15067-.0636h9q.0871
0 .15067.0636.0636.0636.0636.15067zm0-2.57143v1.28572q0 .087-.0636.15067-.0636.0636-.15067.0636h-9q-.087
0-.15067-.0636-.0636-.0636-.0636-.15067V5.07143q0-.087.0636-.15067.0636-.0636.15067-.0636h9q.0871
0 .15067.0636.0636.0636.0636.15067zM13 2.5v1.28572q0 .0871-.0636.15067-.0636.0636-.15067.0636h-9q-.087
0-.15067-.0636-.0636-.0636-.0636-.15067V2.5q0-.0871.0636-.15067.0636-.0636.15067-.0636h9q.0871
0 .15067.0636Q13 2.41293 13 2.5z"/>
</svg>
</a><div class="dropdown-content"><p>data view</p></div></div>
</div>
<div class="row">
<!-- generated table !-->
<p id="reponame"></p>
</div></div>
<footer class="footer">
<div class="container-audio">
<audio id="audio" title="" controls>
Your browser dose not Support the audio Tag
</audio>
</div>
</footer>
<!-- set myimg workaround for imageviewer link !-->
<p id='myImg'></p>
<br><br>
<br><br>
<br><br>
<br><br>
<br><br>
<br><br>
<br><br>
<br><br>
<br><br>
<!-- overlay for image navigation -->
<div id="myModal" class="modal">
<div id="imageoverlay"></div>
<span class="close">×</span>
<div class="w3-content w3-display-container">
<div class="w3-display-container mySlides">
<div class="demo" style="visibility: hidden;"></div>
</div>
</div>
</div>
<script type="text/javascript" src="lib.js"></script>
<script type="text/javascript" src="libtheme.js"></script>
<script type="text/javascript" src="imageviewer.js"></script>
<script>
function include(filename)
{
var head = document.getElementsByTagName('head')[0];
var script = document.createElement('script');
script.src = filename;
script.type = 'text/javascript';
head.appendChild(script)
}
window.onload = include("code2.js");
</script>
</body>
</html>