diff --git a/README.md b/README.md index 4f27261b..68c55dfb 100644 --- a/README.md +++ b/README.md @@ -43,12 +43,7 @@ So what I have done is added the `www-data` user to the sudoers file, but with r Add the following to the end of `/etc/sudoers`: ```sh -www-data ALL=(ALL) NOPASSWD:/sbin/ifdown wlan0,/sbin/ifup wlan0,/bin/cat -/etc/wpa_supplicant/wpa_supplicant.conf,/bin/cp /tmp/wifidata -/etc/wpa_supplicant/wpa_supplicant.conf,/sbin/wpa_cli scan_results, -/sbin/wpa_cli scan,/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf, -/etc/init.d/hostapd start,/etc/init.d/hostapd stop,/etc/init.d/dnsmasq start, -/etc/init.d/dnsmasq stop,/bin/cp /tmp/dhcpddata /etc/dnsmasq.conf +www-data ALL=(ALL) NOPASSWD:/sbin/ifdown wlan0,/sbin/ifup wlan0,/bin/cat /etc/wpa_supplicant/wpa_supplicant.conf,/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant.conf,/sbin/wpa_cli scan_results, /sbin/wpa_cli scan,/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf, /etc/init.d/hostapd start,/etc/init.d/hostapd stop,/etc/init.d/dnsmasq start, /etc/init.d/dnsmasq stop,/bin/cp /tmp/dhcpddata /etc/dnsmasq.conf, /sbin/shutdown -h now, /sbin/reboot ``` Once those modifications are done, git clone the files to `/var/www`. diff --git a/dist/css/custom.css b/dist/css/custom.css index ea237b1d..72498bce 100644 --- a/dist/css/custom.css +++ b/dist/css/custom.css @@ -27,4 +27,9 @@ .btn-primary:hover { background-color: #c61931; border-color: #c61931; -} \ No newline at end of file +} + +.info-item { + width: 160px; + float: left; +} diff --git a/includes/functions.php b/includes/functions.php index 9354c554..325dbb14 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -161,50 +161,53 @@ function DisplayDashboard(){