Skip to content

Commit 45426d5

Browse files
committed
fix for postgres service listing
1 parent 010d132 commit 45426d5

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

bin/v-list-sys-services

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ if [ ! -z "$service" ] && [ "$service" != 'remote' ]; then
180180
if [ ! -e "/etc/redhat-release" ]; then
181181
db_proc_name='postgres'
182182
fi
183+
if [ ! -e '/etc/init.d/postgresql' ]; then
184+
db_proc_name='postgres'
185+
fi
183186
fi
184187
get_srv_state $service $db_proc_name
185188
str="$str\nNAME='$service' SYSTEM='database server' STATE='$state'"

web/css/file_manager.css

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
11
body { margin: 0; padding: 0; }
22
.hidden { display: none; }
33

4+
.l-logo {
5+
background-image: url("/images/sprite.png");
6+
background-position: -117px -34px;
7+
background-repeat: no-repeat;
8+
display: inline-block;
9+
float: left;
10+
height: 22px;
11+
margin-left: 10px;
12+
margin-top: 11px;
13+
width: 73px;
14+
}
15+
416
#main{ display: inline-block; font-family: Arial; font-size: 15px; color: #777; width: 100%; }
517

618
.window { display: inline-block; float: left; /*border: 1px solid #eee;*/ width: 50%; height: 100%; background-color: #ececec; /*background: url(/images/background-dots.png) #ececec;*/ }
719
.window.active { background: #fff; }
820

9-
.pwd { background-color: #7b7b7b; height: 31px; padding: 12px 0 0 17px; }
21+
.pwd { background-color: #7b7b7b; height: 31px; padding: 12px 0 0 17px; color: yellow;}
1022
.window.active .pwd { background-color: #333; }
1123
.window.active .pwd a { color: #FFF; }
1224
.pwd a { color: #CFCFCF; margin-right: 6px; padding: 0 7px; cursor: pointer; text-decoration: none; }
@@ -227,7 +239,12 @@ ul.listing { list-style-type: none; padding: 18px 0 0; margin: 0; border-left:
227239
.context-menu.sort-order li:hover { background-color: #333; }
228240
.context-menu.sort-order span { padding: 12px 12px 12px 12px; background: ulr(/images/flat_icons.png) }
229241
.context-menu.sort-order span.up { background: url(/images/flat_icons.png) -255px -141px; padding: 12px 14px; display: inline-block; width: 16px; }
230-
.context-menu.sort-order span.name { background: url("/images/flat_icons.png") repeat scroll -162px -105px; display: inline-block; padding: 12px 28px 12px 12px; width: 64px; }
242+
.context-menu.sort-order span.name,
243+
.context-menu.sort-order span.date,
244+
.context-menu.sort-order span.size,
245+
.context-menu.sort-order span.type
246+
{ background: url("/images/flat_icons.png") repeat scroll -162px -105px; display: inline-block; padding: 12px 28px 12px 12px; width: 64px; }
247+
231248

232249

233250
.context-menu.sort-order span.active { background-color: #FFCC00; color: #FFF; }

0 commit comments

Comments
 (0)