Skip to content

Commit 0c4fb50

Browse files
committed
headers
1 parent 4692f33 commit 0c4fb50

File tree

3 files changed

+48
-42
lines changed

3 files changed

+48
-42
lines changed

lang/en/lang.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
$lang['js']['btn_start'] = 'Start';
6767
$lang['js']['syncdone'] = 'Synchronization finished.';
6868
$lang['js']['loading'] = 'Retrieving File List…';
69+
$lang['js']['summary'] = 'Summary';
6970

7071

7172
$lang['timeout'] = 'Timeout';

style.less

Lines changed: 39 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -41,70 +41,67 @@
4141
table-layout: fixed;
4242
width: 100%;
4343

44-
td {
44+
th, td {
4545
vertical-align: middle;
4646
}
4747

48+
th.dir,
4849
td.dir {
4950
width: 6em;
5051
}
5152

53+
th.local,
5254
td.local,
55+
th.remote,
5356
td.remote {
5457
white-space: nowrap;
5558
width: 9em;
5659
}
57-
}
58-
59-
// general setup for custom radio buttons
60-
label input {
61-
visibility: hidden;
62-
width: 2em;
63-
height: 2em;
6460

65-
&::before {
66-
cursor: pointer;
67-
visibility: visible;
68-
display: block;
61+
// general setup for custom radio buttons
62+
label input {
63+
visibility: hidden;
6964
width: 2em;
7065
height: 2em;
7166

72-
color: @ini_text;
73-
fill: red;
74-
}
75-
}
67+
&::before {
68+
cursor: pointer;
69+
visibility: visible;
70+
display: block;
71+
width: 2em;
72+
height: 2em;
7673

77-
// custom radio icons
78-
label.push input {
79-
&::before {
80-
content: url(pix/arrow-right-bold-circle-outline.svg);
81-
}
82-
&:checked::before {
83-
content: url(pix/arrow-right-bold-circle.svg);
74+
color: @ini_text;
75+
fill: red;
76+
}
8477
}
85-
}
8678

87-
label.skip input {
88-
&::before {
89-
content: url(pix/pause-circle-outline.svg);
90-
}
91-
&:checked::before {
92-
content: url(pix/pause-circle.svg);
79+
// custom radio icons
80+
label.push input {
81+
&::before {
82+
content: url(pix/arrow-right-bold-circle-outline.svg);
83+
}
84+
&:checked::before {
85+
content: url(pix/arrow-right-bold-circle.svg);
86+
}
9387
}
94-
}
9588

96-
label.pull input {
97-
&::before {
98-
content: url(pix/arrow-left-bold-circle-outline.svg);
89+
label.skip input {
90+
&::before {
91+
content: url(pix/pause-circle-outline.svg);
92+
}
93+
&:checked::before {
94+
content: url(pix/pause-circle.svg);
95+
}
9996
}
100-
&:checked::before {
101-
content: url(pix/arrow-left-bold-circle.svg);
97+
98+
label.pull input {
99+
&::before {
100+
content: url(pix/arrow-left-bold-circle-outline.svg);
101+
}
102+
&:checked::before {
103+
content: url(pix/arrow-left-bold-circle.svg);
104+
}
102105
}
103106
}
104-
105107
}
106-
107-
/*
108-
// arrow-left-bold-circle-outline
109-
<svg viewBox="0 0 24 24"><path d="M7,12L12,7V10H16V14H12V17L7,12M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12M20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12Z" /></svg>
110-
*/

sync.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ jQuery(function () {
3131
});
3232
$output.append($table);
3333

34+
var $lbl = jQuery('<label>');
35+
$lbl.text(LANG.plugins.sync.summary +': ');
36+
var $sum = jQuery('<input>');
37+
$sum.attr('type', 'text');
38+
$sum.addClass('edit');
39+
$lbl.append($sum);
40+
$output.append($lbl);
41+
3442
var $button = jQuery('<button>');
3543
$button.click(beginsync);
3644
$button.text(LANG.plugins.sync.btn_start);

0 commit comments

Comments
 (0)