editor.html
1.59 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
<html>
<head>
<!--
required editor styles
-->
<meta charset="UTF-8">
<link rel="stylesheet" href="/css/bootstrap/bootstrap.min.css" />
<link rel="stylesheet" href="/css/vc-ui.css" />
<link rel="stylesheet" href="css/form-js.css">
<link rel="stylesheet" href="css/form-js-editor.css">
<link rel="stylesheet" href="css/dragula.css">
<script src="/js/vue/vue.min.js"></script>
<script src="/js/vue/vue-resource.min.js"></script>
<style>
body,
html {
margin: 0;
padding: 0;
font-family: sans-serif;
}
#form {
max-width: 100%;
}
.r {
position: fixed;
margin: auto;
left: 0;
right: 0;
bottom: 20px;
width: 300px;
text-align: center;
}
body {
background: #fff;
}
.no_display {
display: none;
}
</style>
</head>
<body>
<vc:create path="frame/bodyTop"></vc:create>
<div id="component">
</div>
<div id="form"></div>
<div>
<div class="r btn-group">
<button type="button" class="btn btn-white " onclick="_closeBpmnjs()">返回</button>
<button type="button" class="btn btn-primary" onclick="_doSaveDiagram()" style="margin-left:10px">
保存
</button>
</div>
</div>
<script src="js/form-editor.umd.js"></script>
<script src="/js/vcCore/vcFramework.js"></script>
<script src="editor.js"></script>
</body>
</html>