-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (72 loc) · 3.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
<title>Route Editor - Test 1</title>
</head>
<body>
<!-- Wrapper -->
<div id="wrapper" class="wrapper">
<!-- Header -->
<header id="header" class="header">
<h1 class="title"><a href="">Route Editor</a></h1>
<nav id="navbar" class="navbar">
<ul id="menu" class="menu">
<li><a href="" onclick="event.preventDefault(); main.switchMode(true)" class="btn btn-active" id="editor-btn">Editor Mode</a></li>
<li><a href="" onclick="event.preventDefault(); main.switchMode(false)" class="btn" id="view-btn">View Mode</a></li>
</ul>
</nav>
</header>
<!-- End Header -->
<!-- Main -->
<main id="main" class="main">
<!-- Route Editor -->
<section id="route-editor" class="route-editor">
<svg id="app" class="app"></svg>
</section>
<!-- Route Editor -->
<!-- View Mode -->
<section id="view-mode" class="view-mode">
<!-- View Content -->
<div id="view-content" class="view-content"></div>
<!-- View Content -->
<div id="view-action" class="view-action">
<!-- View Relation -->
<div id="view-links" class="view-links"></div>
<!-- View Relation -->
</div>
</section>
<!-- Vide Mode -->
</main>
<!-- End Main -->
</div>
<!-- End Wrapper -->
<!-- Modal -->
<div id="modal" class="modal" aria-roledescription="modal">
<!-- Modal Wrapper -->
<div id="modal-wrapper" class="modal-wrapper" aria-roledescription="modal-wrapper">
<div id="modal-content" aria-roledescription="modal-content" class="modal-content">
<textarea name="content" id="content" class="input" cols="30" rows="10"></textarea>
</div>
<div id="modal-section" class="modal-section" aria-roledescription="modal-section">
</div>
<!-- Modal Action -->
<div class="modal-action" aria-roledescription="modal-action">
<a href="" onclick="event.preventDefault(); main.saveModalInput(); main.closeModal();" class="btn btn-active">Save</a>
<a href="" onclick="event.preventDefault(); main.closeModal();" class="btn">Cancel</a>
</div>
<!-- Modal Action -->
</div>
<!-- Modal Wrapper -->
</div>
<!-- End Modal -->
<script src="src/Svg.js"></script>
<script src="src/Element.js"></script>
<script src="src/Line.js"></script>
<script src="src/Main.js"></script>
<script src="src/script.js"></script>
</body>
</html>