-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
146 lines (101 loc) · 4.16 KB
/
Copy pathindex.html
File metadata and controls
146 lines (101 loc) · 4.16 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Rappid Demo Application</title>
<link rel="stylesheet" type="text/css" href="build/package/rappid.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/theme-picker.css">
<!-- theme-specific application CSS -->
<link rel="stylesheet" type="text/css" href="css/style.dark.css">
<link rel="stylesheet" type="text/css" href="css/style.material.css">
<link rel="stylesheet" type="text/css" href="css/style.modern.css">
<style>
</style>
</head>
<body>
<div id="app">
<div class="app-header">
<div class="app-title">
<h1>Rappid</h1>
</div>
<div class="toolbar-container"></div>
<div class="form"></div>
</div>
<div class="app-body">
<div class="stencil-container"></div>
<div class="paper-container"></div>
<div class="inspector-container"></div>
<div class="navigator-container"></div>
</div>
<form enctype="multipart/form-data" name="form1" id="form0">
<input id="f" type="file" onchange="change()" multiple/>
<div class="upload">upload</div>
<p>post:</p>
</form>
</div>
<!-- Rappid/JointJS dependencies: -->
<script src="node_modules/jquery/dist/jquery.js"></script>
<script src="node_modules/lodash/lodash.js"></script>
<script src="node_modules/backbone/backbone.js"></script>
<script src="node_modules/graphlib/dist/graphlib.core.js"></script>
<script src="node_modules/dagre/dist/dagre.core.js"></script>
<script src="build/package/rappid.js"></script>
<!-- Application files: -->
<script src="js/config/halo.js"></script>
<script src="js/config/selection.js"></script>
<script src="js/config/inspector.js"></script>
<script src="js/config/stencil.js"></script>
<script src="js/config/toolbar.js"></script>
<script src="js/config/sample-graphs.js"></script>
<script src="js/views/main.js"></script>
<script src="js/views/theme-picker.js"></script>
<script src="js/models/joint.shapes.app.js"></script>
<script src="js/views/navigator.js"></script>
<script>
joint.setTheme('modern');
app = new App.MainView({ el: '#app' });
themePicker = new App.ThemePicker({ mainView: app });
themePicker.render().$el.appendTo(document.body);
window.addEventListener('load', function() {
app.graph.fromJSON(JSON.parse(App.config.sampleGraphs.emergencyProcedure));
});
</script>
<div class="joint-toolbar joint-theme-picker joint-theme-modern">
<div class="joint-toolbar-group joint-theme-modern" data-group="default">
<div class="joint-widget joint-theme-modern" data-type="selectButtonGroup" data-name="theme-picker">
<div class="joint-select-button-group joint-theme-modern" data-tooltip="Change Theme" data-tooltip-position="bottom">
<div class="select-button-group-button selected">Modern</div>
<div class="select-button-group-button">Dark</div>
<div class="select-button-group-button">Material</div>
</div>
</div>
</div>
</div>
<script>
(function() {
var fs = (document.location.protocol === 'file:');
var ff = (navigator.userAgent.toLowerCase().indexOf('firefox') !== -1);
if (fs && !ff) {
(new joint.ui.Dialog({
width: 300,
type: 'alert',
title: 'Local File',
content: $('#message-fs').show()
})).open();
}
})();
</script>
</body>
</html>
<script src="index.js"></script>
<form enctype="multipart/form-data" name="form1" id="form0">
<input id="f" type="file" onchange="change()" multiple/>
<div class="upload">upload</div>
<p>post:</p>
<!-- <p id="preview"></p> -->
</form>
<script src="placeImage.js"></script>
</div>
</body>
</html>