-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (52 loc) · 2.17 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="essential_files/editor_style.css" />
<link rel="icon" href="essential_files/favico.ico" />
<meta charset="utf-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="essential_files/rubynaxela_toolbox_1.13.1.js"></script>
<script type="text/javascript" src="essential_files/utils.js"></script>
<script type="text/javascript" src="essential_files/table_manager.js"></script>
<script type="text/javascript" src="essential_files/data_reader.js"></script>
<script type="text/javascript" src="essential_files/main.js"></script>
<title>Sapphire JSON Editor</title>
</head>
<body onload="main()">
<div id="header">
<div id="title"><span id="name">Sapphire</span> JSON Editor</div>
<div class="menu">
Plik
<div class="sub-menu">
<div class="menu-item" onclick="update_database(new Object())">Nowy</div>
<div class="menu-item" onclick="removeClass(selectElement('#upload-window'), 'closed')">Otwórz</div>
<div class="menu-item" onclick="save_file()">Zapisz</div>
</div>
</div>
<div id="version">Sapphire v1.2.1 Copyright © 2021 by RubyNaxela</div>
</div>
<div id="container">
<div id="preview-pane">
<pre id="preview"></pre>
</div>
<div id="editor-pane">
<div id="editor"></div>
</div>
</div>
<div class="closed window-cover" id="upload-window">
<div class="window">
<div class="window-bar">
<div class="window-close-button" onclick="close_window('upload-window')"></div>
Otwieranie pliku
</div>
<div class="window-container">
<input type="file" accept=".json,application/json" id="json-upload-input">
<br>
<div class="window-buttons">
<div class="blue button" onclick="confirm_upload()">OK</div>
</div>
</div>
</div>
</div>
</body>
</html>