-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdoc-server.html
More file actions
71 lines (59 loc) · 3 KB
/
doc-server.html
File metadata and controls
71 lines (59 loc) · 3 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
<!DOCTYPE html>
<html>
<head>
<title>Documentation serveur • Battlebots</title>
<link href="./assets/css/doc-server.css" rel="stylesheet">
<script type="module" src="./js/doc-server.js"></script>
</head>
<body>
<div id="page-container">
<bb-header id="header"></bb-header>
<div id="content-wrap">
<bb-single-column-section color="normal" caret="left" spacerBottom="32" spacerTop="32">
<h1 slot="section-block-title">Documentation serveur</h1>
</bb-single-column-section>
<bb-single-column-section color="alternative-2" spacerBottom="32" spacerTop="128">
<p slot="section-block-body">
Le serveur peut être démarré de plusieurs façons. Soit en le démarrant depuis les sources Python, soit en créant un conteneur docker.
</p>
</bb-single-column-section>
<div class="w3-row tabheader">
<a href="javascript:void(0)" onclick="openTab(event, 'manual');">
<div class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding">Installation classique</div>
</a>
<a href="javascript:void(0)" onclick="openTab(event, 'docker');">
<div class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding">Installation via Docker</div>
</a>
<a href="javascript:void(0)" onclick="openTab(event, 'config');">
<div class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding">Configuration</div>
</a>
</div>
<div id="manual" class="w3-container w3-gray tabcontent" style="display:none; height: 100vh; width: 100vw;">
<iframe src="./assets/doc/installation-classique.html" style="height:100%; width:100%; border:none;" title="Documentation serveur"></iframe>
</div>
<div id="docker" class="w3-container w3-gray tabcontent" style="display:none; height: 100vh; width: 100vw;">
<iframe src="./assets/doc/installation-docker.html" style="height:100%; width:100%; border:none;" title="Documentation serveur"></iframe>
</div>
<div id="config" class="w3-container w3-gray tabcontent" style="display:none; height: 100vh; width: 100vw;">
<iframe src="./assets/doc/config-server.html" style="height:100%; width:100%; border:none;" title="Documentation serveur"></iframe>
</div>
<bb-footer></bb-footer>
</div>
</div>
<script>
function openTab(evt, tabName) {
var i, x, tablinks;
x = document.getElementsByClassName("tabcontent");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
tablinks = document.getElementsByClassName("tablink");
for (i = 0; i < x.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" w3-border-red", "");
}
document.getElementById(tabName).style.display = "block";
evt.currentTarget.firstElementChild.className += " w3-border-red";
}
</script>
</body>
</html>