-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathediting.html
93 lines (79 loc) · 3.83 KB
/
editing.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="The editing guide made for the future contributors of FrostBitten Wiki!">
<meta name="keywords" content="frostbitten wiki editing, wiki, wiki editing">
<title>Wiki Editing - FrostBitten Wiki</title>
<link rel="icon" href="/home-assets/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="/home-assets/style.css">
</head>
<body>
<div id="sidebar" class="sidebar">
<script>
var activeMenu = "mainMenu";
function navigateMenu(menuId) {
var menus = document.querySelectorAll('.sidebarMenu');
menus.forEach(function(menu) {
menu.style.display = 'none';
});
var selectedMenu = document.getElementById(menuId);
if (selectedMenu) {
selectedMenu.style.display = 'block';
activeMenu = menuId;
}
}
navigateMenu(activeMenu);
</script>
<script id="sidebarLoader">
fetch('/home/sidebar')
.then(response => response.text())
.then(html => {
document.getElementById('sidebar').innerHTML = html;
})
.catch(error => console.error('Error fetching HTML:', error));
</script>
</div>
<div style="margin-left: 60px; padding: 15px; min-height: calc(100vh - 30px);">
<div style="margin-bottom: 20px;">
<text style="font-size: 30px;">Wiki Editing</text><br>
<text>Welcome, future contributor! If your looking for a way to make an edit on this Wiki, then this page has everything you need to know about editing!</text>
</div>
<div style="margin-bottom: 20px;">
<text style="font-size: 25px;">Note</text><br>
<text>It is recommended to create edits via a Computer to make editing easier. Editing on a Mobile Device is not worth trying.</text>
</div>
<div style="margin-bottom: 20px;">
<text style="font-size: 25px;">Editing Rules</text><br>
<text>Editing rules for this thing.</text><br><br>
{% if rules %}
{% for data in rules%}
<text><text style="font-size: 20px;">{{ data[0] }}</text><br>{{ data[1] }}</text><br><br>
{% endfor %}
{% endif%}
<text style="color: #d81212;">Any violations of the following rules will lead to your edits being declined. Continuous violations will get you blacklisted from creating edits.</text><br>
</div>
<div style="margin-bottom: 20px;">
<text style="font-size: 25px;">Guide Directory</text><br>
<text>The full guide of editing a Wiki Page!</text><br>
</div>
<div id="event-list">
<div style="margin-bottom: 20px;">
{% if guideLinks %}
{% for data in guideLinks %}
<div class="container" style="cursor: pointer;" onclick="location.href='/home/editing/{{ data[0] }}'">
<div style="padding: 5px;">
<text style="font-size: 25px;">{{ data[1] }}</text><br>
<text>{{ data[2] }}</text>
</div>
</div>
{% endfor %}
{% endif %}
</div>
</div>
<text style="font-size: 12px;">Editing Guide provided by Nyx (@nyxical)</text><br>
<text style="font-size: 12px;">Please notify me (Nyx) if you want to change something in this Guide. Community Edits (via Pull Requests) is declined immediately.</text><br>
</div>
</body>
</html>