forked from whimet/confluence-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
swagger-editor.html
80 lines (67 loc) · 1.71 KB
/
swagger-editor.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
<!DOCTYPE html>
<html>
<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="icon" href="favicon.ico">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-114996686-1"></script>
<script type="text/javascript" src="./js/google-analytics.js?version=2022.01"></script>
<script type="text/javascript" src="https://connect-cdn.atl-paas.net/all.js"></script>
<title>Swagger Editor</title>
<style>
* {
box-sizing: border-box;
}
body {
font-size: 9px;
line-height: 1.42857143;
color: #444;
margin: 0px;
background: white;
position: relative;
}
#swagger-editor {
font-size: 1.3em;
position: relative;
height: calc(100vh - 50px);
padding-top: 50px;
font-family: Roboto, sans-serif;
}
#editor-wrapper * {
font-family: Menlo, 'Fira Code', Monaco, source-code-pro, "Ubuntu Mono", "DejaVu sans mono", Consolas, monospace;
}
.container {
height: 100%;
max-width: 880px;
margin-left: auto;
margin-right: auto;
}
#editor-wrapper {
height: 100%;
border: 1em solid #000;
border: none;
}
.Pane2 {
overflow-y: scroll;
}
.save-and-exit {
position: fixed;
z-index: 1000;
right: 10px;
}
#header {
position: absolute;
z-index: 1;
font-size: 16px;
width: 100%;
}
</style>
</head>
<body>
<div id="header"></div>
<div id="swagger-editor"></div>
</body>
<script type="module" src="src/swagger-editor.ts"></script>
</html>