Commit Graph

18 Commits

Author SHA1 Message Date
Adam Warner
a284f71bd7 Merge pull request #1389 from pi-hole/js-move
Move JS files where they are used.
2020-05-29 23:39:51 +01:00
XhmikosR
c108f7eef0 Remove duplicate token div
This is already added in header.php

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-29 07:54:58 +03:00
XhmikosR
2464ffe71f network.php: move the scripts above footer
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-29 07:43:14 +03:00
DL6ER
621e65b9bb Merge pull request #1367 from pi-hole/clean-table-classes
Clean table classes
2020-05-25 20:33:48 +02:00
XhmikosR
b7540de7d0 Revert "Remove the invalid width="100% attribute"
This reverts commit 59ea121e07.

Apparently, we are doing something weird in the settings tables and this doesn't work. We should revisit this later.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-24 17:14:04 +03:00
XhmikosR
59ea121e07 Remove the invalid width="100% attribute
Also, add the missing `table` class in a network table.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-24 16:13:43 +03:00
XhmikosR
d3cd52b992 Remove the obsolete cellspacing="0" attribute.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-24 16:07:46 +03:00
XhmikosR
de71dd0fb5 Clean up table classes.
These are DataTables classes which we don't use since we use Bootstrap.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-24 16:05:24 +03:00
Adam Warner
3957e9eef1 Move some duplicated code to utils.js
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-05-23 11:04:30 +03:00
DL6ER
6b47a937fb Add network table theming.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:44:55 +02:00
XhmikosR
bfd944e41c Switch to the plain chart.js build and moment.js to v2.24
This avoids including moment.js twice since chart.js bundle included moment.js

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-12 23:05:59 +03:00
XhmikosR
8db0957a28 Minor tweaks
* use the background-color property instead of the background shorthand
* add multiple classes with one `addClass` call
* rename `underline` to `text-underline`
* use the CSS class `pointer` instead of adding CSS via JS
* change `border-color: transparent` to `border: 0` in the navbar right dropdown image
* add image dimensions in the dropdown donate image
* remove the obsolete and unneeded `center` element from network.php
* remove commented out PHP code from header.php
* fix wrong `form-control` class used in buttons

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-11 21:49:48 +03:00
XhmikosR
d65b5be5e2 A few CSS tweaks.
Add utilities classes and fix a few CSS issues.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2019-12-09 21:36:58 +02:00
XhmikosR
5275faacb1 Lowercase hex colors.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2019-12-09 16:53:21 +02:00
DL6ER
dddc791052 Move ip-address-sorting into its own file
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-05-30 12:44:09 +02:00
DL6ER
7e010ab3a5 Rename "MAC address" -> "Hardware address"
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-01-01 10:38:12 +01:00
DL6ER
67b67de4a9 Add "uses Pi-hole" column
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-12-28 12:15:16 +01:00
DL6ER
aa38b98ebc Add network details page
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-12-27 15:07:59 +01:00