Skip to content

Commit 0c78959

Browse files
author
Kristan Kenney
committed
Merge branch 'bugfix-ui-0305'
2 parents 9eaa6ca + 42e65a2 commit 0c78959

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+159
-122
lines changed

bin/v-list-sys-info

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,27 +30,28 @@ json_list() {
3030
"HESTIA": "'$HESTIA_VERSION'",
3131
"RELEASE": "'$HESTIA_RELEASE'",
3232
"UPTIME": "'$UPTIME'",
33-
"LOADAVERAGE": "'$LOADAVERAGE'"
33+
"LOADAVERAGE": "'$LOADAVERAGE'",
34+
"HOME_USAGE": "'$HOME_USAGE'"
3435
}'
3536
echo '}'
3637
}
3738

3839
# SHELL list function
3940
shell_list() {
40-
echo "HOSTNAME OS VER ARCH HESTIA RELEASE UPTIME LA"
41-
echo "-------- -- --- ---- ------ ------- ------ --"
42-
echo "$HOSTNAME $OS $VERSION $ARCH $HESTIA_VERSION $HESTIA_RELEASE $UPTIME $LOADAVERAGE"
41+
echo "HOSTNAME OS VER ARCH HESTIA RELEASE UPTIME LA HOME"
42+
echo "-------- -- --- ---- ------ ------- ------ -- ----"
43+
echo "$HOSTNAME $OS $VERSION $ARCH $HESTIA_VERSION $HESTIA_RELEASE $UPTIME $LOADAVERAGE $HOME_USAGE"
4344
}
4445

4546
# PLAIN list function
4647
plain_list() {
47-
echo -e "$HOSTNAME\t$OS\t$VERSION\t$ARCH\t$HESTIA_VERSION\t$HESTIA_RELEASE\t$UPTIME\t$LOADAVERAGE"
48+
echo -e "$HOSTNAME\t$OS\t$VERSION\t$ARCH\t$HESTIA_VERSION\t$HESTIA_RELEASE\t$UPTIME\t$LOADAVERAGE\t$HOME_USAGE"
4849
}
4950

5051
# CSV list function
5152
csv_list() {
52-
echo "HOSTNAME,OS,VERSION,ARCH,HESTIA,RELEASE,UPTIME,LOADAVERAGE"
53-
echo "$HOSTNAME,$OS,$VERSION,$ARCH,$HESTIA_VERSION,$HESTIA_RELEASE,$UPTIME,$LOADAVERAGE"
53+
echo "HOSTNAME,OS,VERSION,ARCH,HESTIA,RELEASE,UPTIME,LOADAVERAGE,HOMEUSAGE"
54+
echo "$HOSTNAME,$OS,$VERSION,$ARCH,$HESTIA_VERSION,$HESTIA_RELEASE,$UPTIME,$LOADAVERAGE,$HOME_USAGE"
5455
}
5556

5657

@@ -96,6 +97,9 @@ UPTIME="$(echo $UPTIME / 60 |bc)"
9697
# Check LoadAverage
9798
LOADAVERAGE=$(cat /proc/loadavg |cut -f 1 -d ' ')
9899

100+
# Check Home Partition usage
101+
HOME_USAGE=$(du -sh /home | cut -f1)
102+
99103
# Listing data
100104
case $format in
101105
json) json_list ;;

install/deb/themes/flat.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,18 @@ b, strong {
100100
background: linear-gradient(to bottom, rgba(210,232,250,1) 0%,rgba(194,224,248,1) 100%) !important;
101101
}
102102

103+
.ui-button.danger:hover, .button.danger:hover {
104+
background: #fcd3cf !important;
105+
color: #F4301A !important;
106+
border: 1px solid #F27E71 !important;
107+
}
108+
109+
.ui-button.danger:active, .button.danger:active, .ui-button.danger:focus, .button.danger:focus {
110+
background: #a91200 !important;
111+
color: #fff !important;
112+
border: 1px solid #F4301A !important;
113+
}
114+
103115
.alert {
104116
text-shadow: none !important;
105117
box-shadow: none !important;

web/css/jquery-custom-dialogs.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
/* Component containers
5555
----------------------------------*/
56-
.ui-widget { font-family: 'Exo'; font-size: 0.9rem; }
56+
.ui-widget { font-family: 'Exo'; font-size: 0.85rem; }
5757
.ui-widget .ui-widget { font-size: 10pt; }
5858
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: 'Exo'; }
5959
.ui-widget-content { border: 1px solid #aaaaaa; color: #ccc; }

web/css/styles.min.css

Lines changed: 64 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,13 +1057,14 @@ a {
10571057
border-radius: 4px;
10581058
box-sizing: border-box;
10591059
display: block;
1060-
font-size: 0.75rem;
1060+
font-size: 0.8rem;
10611061
font-weight: 400;
10621062
margin-top: 1rem;
10631063
padding: 0.8rem;
10641064
position: relative;
10651065
text-align: left;
10661066
box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
1067+
text-shadow: 0px 1px rgba(0,0,0,0.45);
10671068
border: 1px solid #fff;
10681069
}
10691070

@@ -1086,7 +1087,6 @@ a {
10861087
}
10871088
.alert.alert-info {
10881089
color: #fff;
1089-
text-shadow: 0px 1px rgba(0,0,0,0.45);
10901090
background-color: #618ecc;
10911091
}
10921092
.alert.alert-info i.fas {
@@ -1265,14 +1265,12 @@ form#vstobjects .alert {
12651265
font-weight: 600;
12661266
color: #5b5b5b;
12671267
min-height: 21px;
1268+
font-size: 16px;
12681269
}
12691270

12701271
.l-stat__col--active .l-stat__col-title {
12711272
color: #cc3366;
1272-
font-size: 22px;
1273-
margin-top: -7px;
1274-
letter-spacing: -1px;
1275-
margin-right: -4px;
1273+
font-size: 16px;
12761274
}
12771275

12781276
.l-stat__col .fas {
@@ -1365,8 +1363,8 @@ div.l-content > div.l-separator:nth-of-type(4) {
13651363
top: 42px;
13661364
background-color: rgba(255,255,255,0.95);
13671365
list-style-type: none;
1368-
box-shadow: 0 2px 12px 0 rgba(20, 20, 20, 0.45);
1369-
border-radius: 8px;
1366+
box-shadow: 0 2px 12px 0 rgba(20, 20, 20, 0.25);
1367+
border-radius: 4px;
13701368
border: 1px solid rgba(255,255,255,1);
13711369
padding: 0px;
13721370
}
@@ -1895,7 +1893,8 @@ div.l-content > div.l-separator:nth-of-type(4) {
18951893

18961894
.l-unit__name {
18971895
color: #414141;
1898-
font-size: 28px;
1896+
font-size: 22px;
1897+
margin-top: 10px;
18991898
margin-bottom: 10px;
19001899
font-weight: 500;
19011900
letter-spacing: -0.02em;
@@ -2517,7 +2516,7 @@ label:hover {
25172516
box-shadow: 0px 1px 4px rgba(0,0,0,0.15);
25182517
}
25192518
.vst-input:hover {
2520-
border: 1px solid #909090;
2519+
border: 1px solid #94c8f0;
25212520
}
25222521
.vst-input:focus {
25232522
border: 1px solid #3b9de8;
@@ -2535,6 +2534,12 @@ label:hover {
25352534
border-color: #f1f1f1;
25362535
background-color: #f1f1f1;
25372536
}
2537+
2538+
.vst-input:disabled:hover,
2539+
.vst-list:disabled:hover {
2540+
border-color: inherit !important;
2541+
}
2542+
25382543
.vst-input.long {
25392544
width: 832px;
25402545
}
@@ -2591,7 +2596,7 @@ select.vst-list:-moz-focusring {
25912596
padding: 6px 1px 6px 15px;
25922597
}
25932598
.vst-list:hover {
2594-
border: 1px solid #909090;
2599+
border: 1px solid #94c8f0;
25952600
}
25962601
.vst-list:focus {
25972602
border: 1px solid #3b9de8;
@@ -2663,7 +2668,7 @@ a.vst-text:active b{
26632668
box-shadow: 0px 1px 4px rgba(0,0,0,0.15);
26642669
}
26652670
.vst-textinput:hover {
2666-
border: 1px solid #909090;
2671+
border: 1px solid #94c8f0;
26672672
}
26682673
.vst-textinput:focus {
26692674
border: 1px solid #3b9de8;
@@ -2830,12 +2835,17 @@ td.hint {
28302835
}
28312836
.ftp-path-prefix { padding-top: 12px; font-size: 0.8rem; color: #555; }
28322837

2838+
.ui-dialog .ui-dialog-buttonpane button {
2839+
box-shadow: 0px 1px 4px rgba(0,0,0,0.2),
2840+
inset 0px 0px 1px #fff,
2841+
inset 0px 0px 3px rgba(255,255,255,0.5) !important;
2842+
}
28332843

28342844
.ui-button, .button {
28352845
filter:chroma(color=#000);
28362846
cursor: pointer;
28372847
border-radius: 3px 3px 3px 3px !important;
2838-
font-size: 1.0em !important;
2848+
font-size: 1.05em !important;
28392849
font-weight: 500 !important;
28402850
padding: 2px 16px 3px 20px !important;
28412851
min-width: 100px !important;
@@ -2884,6 +2894,10 @@ td.hint {
28842894
padding: 2px !important;
28852895
}
28862896

2897+
.ui-dialog .ui-button:hover span {
2898+
color: #046c98 !important;
2899+
}
2900+
28872901
.ui-button-text-only .selected {
28882902
font-weight: 600 !important;
28892903
}
@@ -2915,26 +2929,6 @@ a.button.cancel {
29152929
border: 1px solid #4b4b4b;
29162930
background-color: #4b4b4b;
29172931
}
2918-
/*
2919-
.ui-dialog button.cancel:hover {
2920-
color: #fff;
2921-
border: 1px solid #999;
2922-
background-color: #999;
2923-
}
2924-
.ui-dialog button.cancel:active {
2925-
border: 1px solid #54a6e5;
2926-
background-color: #54a6e5;
2927-
}
2928-
*/
2929-
2930-
/*
2931-
.ui-button.danger, .button.danger {
2932-
background: linear-gradient(to bottom, #fbf1ef 0%,#f7c5bf 50%,#f5ada5 51%,#fde2df 100%) !important;
2933-
color: #F4301A !important;
2934-
text-shadow: 0px 1px rgba(255,255,255,0.5) !important;
2935-
border: 1px solid #F4968B !important;
2936-
}
2937-
*/
29382932

29392933
.ui-button.danger:hover, .button.danger:hover {
29402934
background: linear-gradient(to bottom, #fbf2f1 0%,#f7cac5 50%,#f6b4ac 51%,#fde6e3 100%) !important;
@@ -2959,6 +2953,7 @@ a.button.cancel {
29592953
.ui-button:active span {
29602954
color: #4b4b4b;
29612955
}
2956+
29622957
.ui-button.cancel span {
29632958
color: #777;
29642959
}
@@ -2970,10 +2965,9 @@ a.button.cancel {
29702965
}
29712966

29722967
.ui-dialog button.cancel span {
2973-
color: #ccc;
2968+
color: #777 !important;
29742969
}
29752970

2976-
29772971
.unlim-trigger {
29782972
cursor: pointer;
29792973
padding-left: 4px;
@@ -3075,8 +3069,15 @@ a.button.cancel {
30753069

30763070
.login-welcome {
30773071
font-size: 1.05rem !important;
3072+
font-weight: 500 !important;
3073+
padding-bottom: 30px !important;
3074+
}
3075+
3076+
.page-title {
3077+
font-size: 1.2rem !important;
30783078
font-weight: 400 !important;
30793079
padding-bottom: 30px !important;
3080+
letter-spacing: -0.01em;
30803081
}
30813082

30823083
.qr-code {
@@ -3113,17 +3114,16 @@ a.button.cancel {
31133114
}
31143115

31153116
.l-unit.selected {
3116-
background-color: #fefba7;
3117+
background-color: #f8f8f8;
31173118
color: #4b4b4b;
3118-
border-bottom: 1px solid #c0b990;
31193119
box-shadow: 0px 2px 10px rgba(150,150,150,0.20);
31203120
text-shadow: 0px 1px rgba(255,255,255,0.5);
31213121
border-left: 1px solid #ddd;
31223122
border-right: 1px solid #ddd;
31233123
}
31243124

31253125
.l-unit.selected:hover {
3126-
background-color: #fefccd;
3126+
background-color: #fff5ce;
31273127
color: #4b4b4b;
31283128
box-shadow: 0px 2px 14px rgba(150,150,150,0.25);
31293129
text-shadow: 0px 1px rgba(255,255,255,0.6);
@@ -3172,9 +3172,8 @@ div.l-content.collapsed .l-sort {
31723172

31733173
.console-output {
31743174
font-family: "Inconsolata", "Lucida Console", Monaco, monospace;
3175-
font-size: 0.9rem;
3175+
font-size: 0.92rem;
31763176
color: #202020;
3177-
letter-spacing: -0.02em;
31783177
}
31793178

31803179
form#vstobjects {
@@ -3271,9 +3270,12 @@ form#vstobjects.suspended {
32713270
min-height: 24px;
32723271
line-height: 24px;
32733272
border-radius: 50%;
3274-
font-weight: 600;
3275-
box-shadow: 0px 0px 3px rgba(120,120,120,0.6);
3273+
font-weight: 700;
3274+
font-size: 0.75rem;
3275+
box-shadow: 0px 1px 2px rgba(70,70,70,0.5),
3276+
inset 0px 2px 2px #fff;
32763277
text-shadow: 0px 1px 2px rgba(0,0,0,0.5);
3278+
border: 1px solid #b8b8b8 !important;
32773279
}
32783280

32793281
.badge.large {
@@ -3646,7 +3648,7 @@ form#vstobjects.suspended {
36463648
}
36473649

36483650
.ui-dialog .ui-dialog-content {
3649-
color: #121212 !important;
3651+
color: #535353 !important;
36503652
padding: 10px 26px 30px !important;
36513653
}
36523654

@@ -3658,12 +3660,17 @@ form#vstobjects.suspended {
36583660
letter-spacing: -0.01em !important;
36593661
text-align: center !important;
36603662
float: none !important;
3663+
font-weight: 500;
36613664
}
36623665

36633666
.ui-dialog-buttonpane {
36643667
border-color: #aaaaaa !important;
36653668
}
36663669

3670+
.ui-widget {
3671+
font-size: 0.85rem !important;
3672+
}
3673+
36673674
.ui-widget-overlay {
36683675
opacity: 0.8 !important;
36693676
background: rgba(10,10,10,0.9) !important;
@@ -3781,6 +3788,12 @@ form#vstobjects.suspended {
37813788

37823789
}
37833790

3791+
.server-info-output {
3792+
color: #cc3366;
3793+
padding: 10px 0 20px 20px;
3794+
background: #fff;
3795+
}
3796+
37843797
.server-info-data {
37853798
margin-left: 100px;
37863799
margin-top: -20px;
@@ -3795,6 +3808,14 @@ form#vstobjects.suspended {
37953808
margin-right: 32px;
37963809
}
37973810

3811+
.userlist-email {
3812+
font-size: 0.75rem;
3813+
}
3814+
3815+
.userlist-username {
3816+
font-size: 1.05em;
3817+
}
3818+
37983819
@media screen and (max-width: 950px) {
37993820
.helper-container {
38003821
display: none;

web/templates/admin/add_cron.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@
361361
<table class="data-col2" width="600px">
362362
<tr>
363363
<td class="step-top">
364-
<span class="login-welcome"><?=__('Adding Cron Job')?></span>
364+
<span class="page-title"><?=__('Adding Cron Job')?></span>
365365
</td>
366366
</tr>
367367
<tr>

web/templates/admin/add_db.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<table class="data-col2" width="600px">
4545
<tr>
4646
<td class="step-top">
47-
<span class="login-welcome"><?=__('Adding database')?></span>
47+
<span class="page-title"><?=__('Adding database')?></span>
4848
</td>
4949
</tr>
5050
<tr>

web/templates/admin/add_dns.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<table class="data-col2" width="600px">
4646
<tr>
4747
<td class="step-top">
48-
<span class="login-welcome"><?=__('Adding DNS Domain')?></span>
48+
<span class="page-title"><?=__('Adding DNS Domain')?></span>
4949
</td>
5050
</tr>
5151
<tr>

0 commit comments

Comments
 (0)