forked from camerongillette/factorio_blueprint_editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (43 loc) · 2.1 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Factorio</title>
<link rel="shortcut icon" href="vendor/factorio/icons/atomic-bomb.png">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="container" class="factorio__container">
<div id="blueprint" class="factorio__blueprint-modal">
<textarea name="" id="bp" class="modal__data"></textarea>
<button onclick="decodebtn(event)">load</button>
<button onclick="copybtn(event)">copy</button>
<button onclick="closebtn(event)">close</button>
</div>
<div id="menu" class="navbar__actions navbar__inner-container">
<button onclick="loadbtn()">Load Blueprint</button>
<button onclick="bpbtn()">Generate Blueprint</button>
<button onclick="FBE.viewmodel.rotateSelectedItem()">Rotate (R)</button>
<button onclick="FBE.viewmodel.clear()">Clear Grid</button>
<div class="navbar__grid-size">
<input id="grid_width" value="34" />
<input id="grid_height" value="24" />
<button onclick="FBE.view.resizeGrid()">Resize Grid</button>
</div>
</div>
<div id="preview" class="navbar__preview navbar__inner-container preview__main"></div>
<div id="mousePreview" class="mouse__follow preview__copy mouse__preview"></div>
<div id="sidebar" class="navbar__items navbar__inner-container scrollbar"></div>
<div id="grid" class="factorio__grid"></div>
</div>
<footer>
Factorio assets come directly from the Factorio game files, and are subject to all copyright policies associated with the game.
</footer>
<script src="https://unpkg.com/[email protected]/dist/tinyemitter.js"></script>
<script src="vendor/factorio-blueprint.min.js"></script>
<script src="js/view.js"></script>
<script src="js/viewmodel.js"></script>
<script src="js/script.js"></script>
</body>
</html>