-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
227 lines (199 loc) · 12.6 KB
/
index.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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>Fiche de personnage - Le faisceau d'Aurora</title>
<meta name="description" content="Fiche de personnage - Le faisceau d'Aurora (V4.3)">
<link href='https://fonts.googleapis.com/css?family=Merriweather|Uncial+Antiqua' rel='stylesheet' type='text/css'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="normalize.css">
<link rel="stylesheet" href="main.css">
<link rel="icon" type="image/x-icon" href="favicon2.ico">
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
</head>
<body>
<page size="A4">
<main role="main">
<img style="position:absolute; right:10%; width: 200px; height: 200px; object-fit: cover; border-radius:5px; border:solid" id="imgChar" src="https://cdn1.iconfinder.com/data/icons/role-playing-game-8/64/Helmet-512.png"></img>
<h1>Le Faisceau D'aurora</h1>
<h3>Fiche de personnage <span>v4.3</span></h3>
Importer une fiche: <input type="file" id="filesImp" value="Importer la fiche" placeholder="Importer la fiche" onchange='openFile(event)'/><br />
Exporter une fiche: <button style="color:black;font-family:Arial ,sans-serif;" onclick="exportData()">Exporter</button>
<a id="downloadAnchorElem" style="display:none"></a>
<input disabled/><br>
URL Image Personnage <button style="color:black;font-family:Arial ,sans-serif;" onclick="imgChar()">Valider</button> <input type="text" id="imgUrl">
<section class="profile">
<h2>Profile</h2>
<div class="leftCol">
<p>Nom</p> <input type="text" id="charname"/>
<p>Race</p> <input type="text" id="race"/>
<p>Faction</p> <input type="text" id="faction"/>
</div>
<div class="rightCol">
<p>Taille</p> <input type="number" id="taille"/>
<p>Poids</p> <input type="number" id="poids"/>
<p>Age</p> <input type="number" id="age"/>
</div>
</section>
<section class="condition">
<h2>Condition</h2>
<div class="leftCol">
<div class="condition-body">
<p>Blessures</p>
<input type="number" id="blessure">
</div>
</div>
<div class="rightCol">
<div class="condition-spirit">
<input type="number" id="fatigue">
<p>Fatigue</p>
</div>
</div>
<div style="text-align:center;">
PV Mana<br>
<img src="moon1.png" style="position: absolute; left:5%;" width="15%"></img>
<input type="number" id="pv" style="margin-right:10px;width:10%"/><input type="number" id="manaa" style="margin-left:10px;width:10%"/><img src="moon1.png" style=" transform: scaleX(-1);position: absolute; right:5%;" width="15%"></img><br>
<input type="number" style="margin-right:10px;width:10%" id="PA"/><input type="number" style="margin-left:10px;width:10%" id="PO"/><br>
PA PO
</div>
</section>
<div class="leftCol">
<section class="traits">
<h2>Stats principales</h2><br>
Force<input type="number" class="trait" id="force"/><br>
Constitution <input type="number" class="trait" id="constitution"/><br>
Agilité <input type="number" class="trait" id="agilite"/><br>
Intelligence <input type="number" class="trait" id="intelligence"/><br>
Concentration <input type="number" class="trait" id="concentration"/><br>
Dextérité <input type="number" class="trait" id="dexterite"/><br>
Experience <input type="number" class="trait" id="experience"/><br>
Restant <input type="number" class="trait" id="remaining"/><br>
</section>
<section class="abilities">
<h2>Talents</h2>
<input type="text" style="width: 100%;" id="talent1">
<input type="text"style="width: 100%;" id="talent2">
<input type="text" style="width: 100%;" id="talent3">
<input type="text"style="width: 100%;" id="talent4">
<input type="text"style="width: 100%;" id="talent5">
<input type="text"style="width: 100%;" id="talent6">
</section>
</div>
<div class="rightCol">
<section class="abilities">
<h2>Stats secondaires</h2>
<h3>Combat</h3>
<input type="number" class="trait" id="precision" disabled/> Précision<br>
<input type="number" class="trait" id="degats" disabled/> Dégâts Phys<br>
<input type="number" class="trait" id="magie" disabled/> Magie<br>
<input type="number" class="trait" id="crit" disabled/> Critique<br>
<input type="number" class="trait" id="buff" disabled/> Buff/Debuff<br>
<input type="number" class="trait" id="parade" disabled/> Parade<br>
<input type="number" class="trait" id="esquive" disabled/> Esquive<br><br>
<h3>Social</h3>
<input type="number" class="trait" id="niveau" disabled/> Niveau<br>
<input type="number" class="trait" id="rapidite" disabled/> Rapidité<br>
<input type="number" class="trait" id="furtivite" disabled/> Furtivité<br>
<input type="number" class="trait" id="perception" disabled/> Perception<br>
<input type="number" class="trait" id="mana" disabled/> Mana<br>
<input type="number" class="trait" id="pvmax" disabled/> PV Max<br>
<input type="number" class="trait" id="charisme" disabled/> Charisme<br>
</section>
</div>
Don d'Izanagi <input type="checkbox" style="margin-left: 10px;" id="izanagi">
<h2 style="text-align: center;">🎲 Lancer un dé 🎲</h2>
<div style="text-align:center;">
<button class="open" onclick="sendMessage($('#precision').val(),'Précision')">Précision</button>
<button onclick="sendMessage($('#buff').val(),'Buff / Debuff')">Buff/debuff</button>
<button onclick="sendMessage($('#esquive').val(),'Esquive')">Esquive</button>
<button onclick="sendMessage($('#furtivite').val(),'Furtivité')">Furtivité</button>
<button onclick="sendMessage($('#perception').val(),'Perception')">Perception</button>
<button onclick="sendMessage($('#charisme').val(),'Charisme')">Charisme</button>
<button onclick="sendMessage('','D6')">Dé 6</button>
<button onclick="sendMessage('','D20')">Dé 20</button>
</div>
<h2>Compétences</h2>
<div class="leftCol" style="width:25%">
Nom & Cout
<textarea style="height:2%" id="comp1n"></textarea>
<textarea style="height:2%" id="comp2n"></textarea>
<textarea style="height:2%" id="comp3n"></textarea>
<textarea style="height:2%" id="comp4n"></textarea>
<textarea style="height:2%" id="comp5n"></textarea>
<textarea style="height:2%" id="comp6n"></textarea>
</div>
<div class="rightCol" style="width: 70%;">
Description
<textarea style="height:2%" id="comp1"></textarea>
<textarea style="height:2%" id="comp2"></textarea>
<textarea style="height:2%" id="comp3"></textarea>
<textarea style="height:2%" id="comp4"></textarea>
<textarea style="height:2%" id="comp5"></textarea>
<textarea style="height:2%" id="comp6"></textarea>
</div>
<div class="leftCol">
<section class="special">
<h2>Effets d'équipement</h2>
<textarea style="height:2%" id="equip1"></textarea>
<textarea style="height:2%" id="equip2"></textarea>
<textarea style="height:2%" id="equip3"></textarea>
<textarea style="height:2%" id="equip4"></textarea>
<textarea style="height:2%" id="equip5"></textarea>
<textarea style="height:2%" id="equip6"></textarea>
<textarea style="height:2%" id="equip7"></textarea>
</section>
</div>
<div class="rightCol">
<section class="gear">
<h2>Equipements</h2>
<h3>Noms & Stats</h3>
<div class="leftCol" style="margin-top: 3px;">
<input id="arme1n" placeholder="Arme principale"/>
<input id="arme2n" placeholder="Arme secondaire"/>
<input id="armuren" placeholder="Armure"/>
<input id="amuletten" placeholder="Amulette"/>
<input id="bottesn" placeholder="Chaussures"/>
<input id="charmen" placeholder="Charme"/>
<input id="lunetten" placeholder="Lunettes"/>
</div>
<div class="rightCol" style="margin-top: 3px;">
<input type="number" id="arme1" class="smaller"/> Dégâts<br/>
<input type="number" id="arme2" class="smaller"/> Dégâts<br/>
<input type="number" id="armure" class="smaller"/> Parade<br/>
<input type="number" id="amulette" class="smaller"/> Magie<br/>
<input type="number" id="bottes" class="smaller"/> Rapidité<br/>
<input type="number" id="charme" class="smaller"/> Charisme<br/>
<input type="number" id="lunette" class="smaller"/> Précision<br/>
</div>
</div>
<div class="inventory">
<h2>Inventaire</h2>
<input type="text" id="inv1" placeholder="Nom de l'objet"/><input type="number" id="inv1qte" placeholder="quantité">
<input type="text" id="inv2"/><input type="number" id="inv2qte">
<input type="text" id="inv3"/><input type="number" id="inv3qte">
<input type="text" id="inv4"/><input type="number" id="inv4qte">
<input type="text" id="inv5"/><input type="number" id="inv5qte">
<input type="text" id="inv6"/><input type="number" id="inv6qte">
<input type="text" id="inv7"/><input type="number" id="inv7qte">
</div>
<div>
<h2>Notes</h2>
<textarea id="notes" name="notes"
rows="5" cols="33">
</textarea>
</div>
</section>
</div>
</main>
<footer>
<div class="copyright">MIT Licensed © 2016 Ville Pelkonen<br>MIT Licensed © 2022 kyaeh</div>
</footer>
</page>
<script src="jquery.js"></script>
<script src="scripts.js"></script>
</body>
</html>