-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbookmarkp4v.html
115 lines (113 loc) · 3.1 KB
/
bookmarkp4v.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
<!DOCTYPE html>
<html>
<head>
<title>Bookmarks</title>
<style>
#container {
width: 100%;
height: 100%;
text-align: center;
}
#inputContainer {
display: flex;
justify-content: space-evenly;
margin-bottom: 20px;
}
#pathInput {
flex-grow: 1;
margin-right: 10px;
}
#leftButtons {
display: flex;
justify-content: flex-start;
}
#exportButton, #importButton {
width: 100px;
height: 30px;
margin: 5px;
}
#rightButtons {
display: flex;
justify-content: flex-end;
}
#addButton {
width: 300px;
height: 30px;
margin: 5px;
}
#addGroupButton {
width: 300px;
height: 30px;
margin: 5px;
}
#pathList {
width: 100%;
height: calc(100% - 60px);
margin: 0 auto;
overflow-y: auto;
border: none;
}
.listItemGroup {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
border-bottom: 1px solid #ddd;
cursor: pointer;
font-weight: bold;
font-size: 20px;
}
.listItem {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
border-bottom: 1px solid #ddd;
cursor: pointer;
}
.textStream {
flex-basis: 15%;
background-color: #ddd;
padding: 5px;
border-radius: 5px;
font-weight: bold;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.textName {
flex-basis: 15%;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.textPath {
flex-basis: 70%;
text-align: center;
opacity: 0.5;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
</style>
</head>
<body>
<div id="container">
<div id="inputContainer">
<div id="leftButtons">
<button id="addButton">ADD SELECTED DEPOT PATH(S)</button>
<button id="addGroupButton">CREATE GROUP</button>
</div>
<div id="rightButtons">
<button id="exportButton">EXPORT</button>
<button id="importButton">IMPORT</button>
</div>
</div>
<div id="pathList"></div>
<div id="jsonData" style="display: none;">JSON Data</div>
</div>
<script src="bookmarkp4v.js"></script>
</body>
</html>