Skip to content

Commit 5a37d5c

Browse files
committed
backup
1 parent 7d006e5 commit 5a37d5c

File tree

4 files changed

+41
-33
lines changed

4 files changed

+41
-33
lines changed

easyweb/static/des_components/des-pages/des-all-tables.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343
Next
4444
</paper-button>
4545
</div>
46-
47-
}
4846
</des-card>
4947

5048
</paper-dialog>

easyweb/static/des_components/des-pages/des-my-jobs.html

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
<template>
1010
<style include="shared-styles">
1111

12+
/* carousel table design*/
13+
1214
paper-icon-item {
1315
--paper-item-disabled-color: black;
1416
}
@@ -35,7 +37,6 @@
3537
.green {background: var(--paper-green-500);}
3638
.red {background: var(--paper-red-500);}
3739

38-
3940
</style>
4041
<iron-ajax id="getMyJobs"
4142
auto
@@ -148,6 +149,11 @@ <h2>Job id: {{jobid}}</h2>
148149
<paper-carousel id="jobs-crs" items="1" dotText="false" controls="true">
149150
<div class="carousel-item" >
150151
<table class="crs-table" style="width:100%">
152+
153+
<tr class="crs-tr">
154+
<th class="crs-th" colspan="2">General Instruction</th>
155+
</tr>
156+
151157
<tr class="crs-tr">
152158
<th class="crs-th">Button</th>
153159
<th class="crs-th">Description</th>
@@ -190,7 +196,7 @@ <h2>Job id: {{jobid}}</h2>
190196
</tr>
191197

192198
<tr class="crs-tr">
193-
<th colspan="2">Query Job</th>
199+
<th class="crs-th" colspan="2">Query Job</th>
194200
</tr>
195201

196202
<tr class="crs-tr">
@@ -217,44 +223,46 @@ <h2>Job id: {{jobid}}</h2>
217223

218224
<tr class="crs-tr">
219225
<td class="crs-td">
220-
<paper-button class="SeeFilesButton" raised >cutouts</paper-button> to see the results.
226+
<paper-button class="SeeFilesButton" raised >cutouts</paper-button>
221227
</td>
222228
<td class="crs-td">
223229
See the result on click
224230
</td>
225231
</tr>
226232

227233
<tr class="crs-tr">
228-
<th class="crs-th" colspan="2">Legends</th>
234+
<th class="crs-th" colspan="2">Legend</th>
229235
</tr>
230236

231237
<tr class="crs-tr">
232-
<th class="crs-th row" colspan="2">
233-
<paper-icon-item disabled>
234-
<div class="status green" item-icon></div>
235-
<paper-item-body>
236-
Completed
237-
</paper-item-body>
238-
</paper-icon-item>
239-
240-
<paper-icon-item disabled>
241-
<div class="status" item-icon></div>
242-
<paper-item-body>
243-
Running
244-
</paper-item-body>
245-
</paper-icon-item>
246-
247-
<paper-icon-item disabled>
248-
<div class="status red" item-icon></div>
249-
<paper-item-body>
250-
Canceled
251-
</paper-item-body>
252-
</paper-icon-item>
253-
</th>
238+
<td class="crs-td" colspan="2">
239+
<div class="row">
240+
<paper-icon-item disabled>
241+
<div class="status green" item-icon></div>
242+
<paper-item-body>
243+
Completed
244+
</paper-item-body>
245+
</paper-icon-item>
246+
247+
<paper-icon-item disabled>
248+
<div class="status" item-icon></div>
249+
<paper-item-body>
250+
Running
251+
</paper-item-body>
252+
</paper-icon-item>
253+
254+
<paper-icon-item disabled>
255+
<div class="status red" item-icon></div>
256+
<paper-item-body>
257+
Canceled
258+
</paper-item-body>
259+
</paper-icon-item>
260+
</div>
261+
</td>
254262
</tr>
255-
256263
</table>
257264

265+
258266
<div style="text-align: left;">
259267
Select one or more jobs for deletion.
260268
</div>

easyweb/static/styles/shared-styles.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -441,15 +441,15 @@
441441
width: 100%;
442442
}
443443

444-
th.crs-table, td.crs-table {
444+
th.crs-th, td.crs-td {
445445
border: 1px solid #dddddd;
446446
padding: 8px;
447447
/*text-align: center;*/
448448
}
449449

450-
tr.crs-table:nth-child(even) {
451-
background-color: #dddddd;
452-
/*background-color: #f2f2f2;*/
450+
tr.crs-tr:nth-child(even) {
451+
/*background-color: #dddddd;*/
452+
background-color: #f2f2f2;
453453
}
454454

455455
/*tr.crs-table:last-child {*/

setup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
ps -ef | grep redis-server | grep -v grep | awk {'print $2'} | xargs kill

0 commit comments

Comments
 (0)