-
Notifications
You must be signed in to change notification settings - Fork 38
/
index.html
77 lines (67 loc) · 2.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="content-security-policy" content="
base-uri 'self';
default-src 'none';
script-src 'self';
style-src 'self' 'sha256-s7UPtBgvov5WNF9C1DlTZDpqwLgEmfiWha5a5p/Zn7E=';
connect-src 'self';
font-src 'self' data:;
img-src 'self' blob:;
frame-src 'self';
form-action 'self';
">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, minimal-ui">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="format-detection" content="telephone=no">
<title>Sequence Diagram</title>
<link rel="icon" href="web/resources/favicon.png">
<link rel="apple-touch-icon" href="web/resources/apple-touch-icon.png">
<link rel="stylesheet" href="web/styles/editor.css">
<link rel="stylesheet" href="web/lib/codemirror.css">
<link rel="stylesheet" href="web/styles/codemirror-override.css">
<script src="web/lib/editor.js" type="module"></script>
</head>
<body>
<div id="loader">
<h1>Sequence Diagram Online Editor</h1>
<p class="loadmsg">Loading…</p>
<nav>
<a href="#" data-touch="Files">My Diagrams</a>
<a href="library.htm" target="_blank" rel="noopener" data-touch="API">Library</a>
<a href="https://github.com/davidje13/SequenceDiagram" target="_blank" rel="noopener" data-touch="">GitHub</a>
</nav>
</div>
<noscript>
<link rel="stylesheet" href="web/styles/noscript.css">
<main>
<section class="banner">
Enable JavaScript for live rendering, templates, PNG export, and local file saving.
<nav><a href="library.htm" target="_blank" rel="noopener">Library</a><a href="https://github.com/davidje13/SequenceDiagram" target="_blank" rel="noopener">GitHub</a></nav>
</section>
<form target="preview" action="preview" method="GET">
<textarea name="c">
title Labyrinth
Bowie -> Goblin: You remind me of the babe
Goblin -> Bowie: What babe?
Bowie -> Goblin: The babe with the power
Goblin -> Bowie: What power?
note right of Bowie, Goblin: Most people get muddled here!
Bowie -> Goblin: "The power of voodoo"
Goblin -> Bowie: "Who-do?"
Bowie -> Goblin: You do!
Goblin -> Bowie: Do what?
Bowie -> Goblin: Remind me of the babe!
Bowie -> Audience: Sings
terminators box
</textarea>
<button type="submit">Update</button>
</form>
<iframe name="preview" src="web/resources/preview.htm"></iframe>
</main>
</noscript>
</body>
</html>