diff --git a/contrib/ympd.freebsd b/contrib/ympd.freebsd index 4dcbedd..532a90c 100755 --- a/contrib/ympd.freebsd +++ b/contrib/ympd.freebsd @@ -12,18 +12,17 @@ name="ympd" rcvar="${name}_enable" -command="/usr/local/bin/ympd" +command="/usr/local/bin/${name}" pidfile="/var/run/${name}.pid" start_cmd="ympd_start" -load_rc_config "$name" +load_rc_config "${name}" : ${ympd_enable:="NO"} -: ${ympd_user:="nobody"} ympd_start() { check_startmsgs && echo "Starting ${name}." - /usr/sbin/daemon -f -p "${pidfile}" -t "${name}" -u "${ympd_user}" "${command}" + /usr/sbin/daemon -f -p "${pidfile}" "${command}" "${rc_flags}" } run_rc_command "$1" diff --git a/htdocs/css/mpd.css b/htdocs/css/mpd.css index 85401cb..409f78c 100644 --- a/htdocs/css/mpd.css +++ b/htdocs/css/mpd.css @@ -28,10 +28,10 @@ button { } #counter { - font-size: 24px; - margin-top: -6px; - margin-left: 10px; - min-width: 50px; + font-size: 24px; + margin-top: -6px; + margin-left: 10px; + min-width: 50px; } #search { @@ -39,7 +39,7 @@ button { } .btn-group-hover { - opacity: 20%; + opacity: 20%; } .btn:active, @@ -61,10 +61,15 @@ button { } } -#salamisandwich td:nth-child(3), th:nth-child(3) { +#salamisandwich td:nth-last-child(2), th:nth-last-child(2) { text-align: right; } +#salamisandwich td:nth-child(2) span { + font-style:italic; + font-size:90%; +} + tbody { cursor: pointer; } @@ -94,3 +99,9 @@ td:last-child, td:first-child { button { overflow: hidden; } + +#trashmode span:last-child { + display:inline-block; + text-align:left; + width:2.8em; +} diff --git a/htdocs/index.html b/htdocs/index.html index 2ce9359..565945a 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -166,7 +166,7 @@ -
+
- Save queue + Save Queue
-
- -
@@ -237,6 +232,19 @@
ympd uses following excellent software:
Mongoose GPLv2
libMPDClient BSD License
+
+
+
+ +
+
+ +
+

@@ -256,7 +264,7 @@
-
@@ -301,7 +309,7 @@