-
Notifications
You must be signed in to change notification settings - Fork 0
/
paths.html
219 lines (219 loc) · 7.74 KB
/
paths.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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>PendoElement - Paths</title>
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<link rel="stylesheet" href="https://use.typekit.net/awf7pyi.css">
<link rel="stylesheet" href="css/pendoelement.css">
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script src="https://unpkg.com/element-ui/lib/umd/locale/en.js"></script>
</head>
<body>
<div id="app">
<!-- breadcrumb -->
<el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item :to="{ path: '/' }">Page 1</el-breadcrumb-item>
<el-breadcrumb-item>Page 2</el-breadcrumb-item>
</el-breadcrumb>
<!-- row -->
<el-row :gutter="16">
<!-- col header -->
<el-col :span="16">
<h1 class="page-title">Paths</h1>
</el-col>
<!-- col search -->
<el-col :span="8">
<el-button type="primary" style="float: right;">Create Path</el-button>
</el-col>
</el-row>
<!-- row -->
<el-row :gutter="16">
<!-- col applications -->
<el-col :xs="24" :sm="24" :md="8" :lg="8" :xl="8">
<el-form ref="form" :model="form">
<el-form-item label="Application">
<el-select v-model="value4" placeholder="Choose Application">
<el-option label="All Applications" value="AllApplications"></el-option>
<el-option label="Web Applications" value="WebApplications"></el-option>
<el-option label="Mobile Applications" value="MobileApplications"></el-option>
<el-divider></el-divider>
<el-option label="Application 1" value="Application1"></el-option>
<el-option label="Application 2" value="Application2"></el-option>
<el-option label="Application 3" value="Application3"></el-option>
<el-option label="Application 4" value="Application4"></el-option>
<el-option label="Application 5" value="Application5"></el-option>
<el-option label="Application 6" value="Application6"></el-option>
</el-select>
</el-form-item>
</el-form>
</el-col>
</el-row>
<!-- row -->
<el-row :gutter="16">
<el-col :span="24">
<el-card class="box-card">
<el-table :data="tableData" style="width: 100%" height="80vh">
<el-table-column fixed sortable label="Path">
<div slot-scope="{row}">
<button type="button" class="el-button el-button--text">{{row.Path}}</button>
</div>
</el-table-column>
<el-table-column sortable prop="DateRange" label="Date Range"></el-table-column>
<el-table-column sortable prop="Direction" label="Direction"></el-table-column>
<el-table-column sortable prop="Visibility" label="Visibility"></el-table-column>
<el-table-column sortable prop="Application" label="Application"></el-table-column>
</el-table>
</el-card>
</el-col>
</el-row>
</app>
<script>
ELEMENT.locale(ELEMENT.lang.en)
var Main = {
data() {
return {
//table
tableData: [{
Path: 'Path Name',
DateRange: 'Jun 10, 2019 - Oct 12, 2020',
Direction: 'Previous',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Another Path Name',
DateRange: 'Jan 11, 2019 - Oct 12, 2020',
Direction: 'Previous',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Path Name',
DateRange: 'Mar 19, 2019 - Oct 12, 2020',
Direction: 'Next',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Path Name',
DateRange: 'Apr 19, 2019 - Oct 12, 2020',
Direction: 'Previous',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Path Name',
DateRange: 'May 12, 2019 - Oct 12, 2020',
Direction: 'Next',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Path Name',
DateRange: 'Jan 31, 2019 - Oct 12, 2020',
Direction: 'Next',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Path Name',
DateRange: 'Aug 19, 2019 - Oct 12, 2020',
Direction: 'Previous',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Path Name',
DateRange: 'Apr 19, 2019 - Oct 12, 2020',
Direction: 'Next',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Another Path Name',
DateRange: 'Feb 22, 2019 - Oct 12, 2020',
Direction: 'Next',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Another Path Name',
DateRange: 'Apr 12, 2019 - Oct 12, 2020',
Direction: 'Previous',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Path Name',
DateRange: 'Apr 16, 2019 - Oct 12, 2020',
Direction: 'Next',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Path Name',
DateRange: 'Sep 19, 2019 - Oct 12, 2020',
Direction: 'Previous',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Another Path Name',
DateRange: 'May 29, 2019 - Oct 12, 2020',
Direction: 'Previous',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Some Path Name',
DateRange: 'Oct 19, 2019 - Oct 12, 2020',
Direction: 'Previous',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Path Name',
DateRange: 'Nov 19, 2019 - Oct 12, 2020',
Direction: 'Next',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Path Name',
DateRange: 'Dec 19, 2019 - Oct 12, 2020',
Direction: 'Previous',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Some Path Name',
DateRange: 'Apr 19, 2019 - Oct 12, 2020',
Direction: 'Next',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Some Path Name',
DateRange: 'Sep 17, 2019 - Oct 12, 2020',
Direction: 'Next',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Path Name',
DateRange: 'Nov 11, 2019 - Oct 12, 2020',
Direction: 'Next',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Path Name',
DateRange: 'Dec 12, 2019 - Oct 12, 2020',
Direction: 'Previous',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Path Name',
DateRange: 'Apr 19, 2019 - Oct 12, 2020',
Direction: 'Next',
Visibility: 'Everyone',
Application: 'Application Name'
}, {
Path: 'Some Path Name',
DateRange: 'Dec 25, 2019 - Oct 12, 2020',
Direction: 'Next',
Visibility: 'Everyone',
Application: 'Application Name'
}]
}
}
};
var Ctor = Vue.extend(Main)
new Ctor().$mount('#app');
</script>
</body>
</html>