forked from ONLYOFFICE/sdkjs-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
143 lines (136 loc) · 4.58 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
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
<!--
(c) Copyright Ascensio System SIA 2020
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Extended comments</title>
<style type="text/css">
html, body {
margin: 0px;
padding: 0px;
/* overflow: hidden; */
width:100%;
height:100%;
}
body {
display: flex;
flex-direction: column;
}
input {
width: 10px;
}
textarea {
resize: none;
}
.comments{
display: flex;
justify-content: space-between;
}
.comments-param {
width: 35%;
}
.comments-check {
width: 10%;
}
.comments-text {
cursor: pointer;
}
.div-hovered {
background: rgba(200, 200, 200, 0.5);
}
.div-selected {
background: #aaa;
}
.div-info {
overflow: hidden;
cursor: pointer;
white-space: nowrap;
}
.div-check {
height: 18px;
}
.border-bottom {
border-bottom: 1px solid;
}
.noselect {
-khtml-user-select: none;
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
}
.combo {
background: #fff;
border: 1px solid #cfcfcf;
border-radius: 2px;
color: #444444;
font-size: 11px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
height: 20px;
cursor: pointer;
margin: 0px 0px 10px 0px;
box-sizing: border-box;
}
.div-user-data {
display: flex;
flex-flow: column; margin-top: 10px;
justify-content: space-between;
}
</style>
<script type="text/javascript" src="https://onlyoffice.github.io/sdkjs-plugins/v1/plugins.js"></script>
<script type="text/javascript" src="https://onlyoffice.github.io/sdkjs-plugins/v1/plugins-ui.js"></script>
<link rel="stylesheet" href="https://onlyoffice.github.io/sdkjs-plugins/v1/plugins.css">
<link rel="stylesheet" href="vendor/select2-4.0.6-rc.1/dist/css/select2.css"/>
<script type="text/javascript" src="scripts/code.js"></script>
<script src="vendor/jQuery-2.2.2-min/jquery-v2.2.2-min.js"></script>
<script src="vendor/select2-4.0.6-rc.1/dist/js/select2.js"></script>
</head>
<body>
<div style="margin:10px; display: flex; flex-flow: column; height: 200px; justify-content: space-between;">
<textarea id="textarea_Comment" style="height:72px;" class="form-control" placeholder="Select the text and enter your comment here"></textarea>
<div id = "div_Edit" style=" display: flex; flex-flow: column; justify-content: space-between;">
<div class="div-user-data">
<div style="display: flex; margin-bottom: 5px;">
<label class="for-combo" style="flex-grow: 1;">Problem Category</label>
<div><select id="select_Category" class="noselect combo" ></select></div>
</div>
<div style="display: flex; margin-bottom: 5px;">
<label class="for-combo" style="flex-grow: 1;">Severity</label>
<div><select id="select_Severity" class="noselect combo"></select></div>
</div>
<div style="display: flex; margin-bottom: 5px;">
<label class="for-combo" style="flex-grow: 1;">Submitted by</label>
<div><select id="select_Submit" class="noselect combo"></select></div>
</div>
<div style="display: flex; margin-bottom: 5px;">
<label class="for-combo" style="flex-grow: 1;">Author</label>
<div><input id="inp_author" class="form-control" placeholder="Author name" style="width: 120px;" type="text"></div>
</div>
</div>
</div>
<div>
<button class="btn-text-default submit primary" style="width:90px;" id="btn_Submit">Comment</button>
<button class="btn-text-default submit" style="margin-left:5px; width:90px;" id="btn_Cancel">Cancel</button>
</div>
</div>
<div class="separator horizontal"></div>
<div style="margin:10px; flex-grow: 1; display: flex; flex-flow: column;overflow: hidden;">
<div id="scrollable-container-id" style="display: flex; flex-direction: column; overflow: auto;">
</div>
<div>
<button class="btn-text-default submit" style="width:90px;margin-top: 10px;" id="btn_Delete">Delete</button>
</div>
</div>
</body>
</html>