-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms.html
More file actions
122 lines (99 loc) · 2.98 KB
/
forms.html
File metadata and controls
122 lines (99 loc) · 2.98 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>ABCD</title>
<link rel="stylesheet" href="assets/css/template.css">
<script>
function includeHTML() {
var z, i, elmnt, file, xhttp;
/*loop through a collection of all HTML elements:*/
z = document.getElementsByTagName("*");
for (i = 0; i < z.length; i++) {
elmnt = z[i];
/*search for elements with a certain atrribute:*/
file = elmnt.getAttribute("w3-include-html");
if (file) {
/*make an HTTP request using the attribute value as the file name:*/
xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4) {
if (this.status == 200) {elmnt.innerHTML = this.responseText;}
if (this.status == 404) {elmnt.innerHTML = "Page not found.";}
/*remove the attribute, and call this function once more:*/
elmnt.removeAttribute("w3-include-html");
includeHTML();
}
}
xhttp.open("GET", file, true);
xhttp.send();
/*exit the function:*/
return;
}
}
};
</script>
<link rel="stylesheet"
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/styles/default.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
</head>
<body>
<!-- Head -->
<div class="headLevel container-fluid">
<div class="ABCD_logo"><img src="assets/img/logoabcd.png"></div>
<div class="sysInfo"><ul><li>ISO-8859-1</li></ul></div>
</div>
<!-- Information level Module -->
<div class="moduleLevel container-fluid">
<div>Module name</div>
<div>Module options</div>
</div>
<!-- Information level action -->
<div class="actionLevel container-fluid">
<div>Toolbar</div>
</div>
<!-- System -->
<div class="main container-fluid">
<div class="row">
<div class="col-3 sidebar">
<div w3-include-html="menu.html"></div>
</div>
<div class="col-8 p-3">
<h1>Forms</h1>
<p> Paragraph Main</p>
<pre>
<code class="language-plaintext">
<textarea>
<body>
<!-- Head -->
<div class="headLevel"></div>
<!-- Information level Module -->
<div class="moduleLevel"></div>
<!-- Information level action -->
<div class="actionLevel"></div>
<!-- System -->
<div class="main"></div>
<!-- Footer -->
<footer class="footer"></footer>
<!--<script src="index.js"></script>-->
</body>
</textarea>
</code>
</pre>
</div>
</div>
</div>
<!-- Footer -->
<footer class="footer container-fluid">
<div class="sysInfo"><span>ABCD v2.2 - 2021-12-16</span></div>
<img src="assets/img/distributorLogo.png">
</footer>
<script>
includeHTML();
</script>
<!--<script src="index.js"></script>-->
</body>
</html>