diff --git a/Dockerfile b/Dockerfile index 38a56fc2..de5860a5 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.20 AS builder +FROM alpine:3.21 AS builder ARG INSTALL_DIR=/app @@ -14,7 +14,7 @@ ENV PATH="/opt/venv/bin:$PATH" COPY . ${INSTALL_DIR}/ -RUN pip install openwrt-luci-rpc asusrouter asyncio aiohttp graphene flask netifaces tplink-omada-client wakeonlan pycryptodome requests paho-mqtt scapy cron-converter pytz json2table dhcp-leases pyunifi speedtest-cli chardet python-nmap dnspython librouteros git+https://github.com/foreign-sub/aiofreepybox.git \ +RUN pip install openwrt-luci-rpc asusrouter asyncio aiohttp graphene flask tplink-omada-client wakeonlan pycryptodome requests paho-mqtt scapy cron-converter pytz json2table dhcp-leases pyunifi speedtest-cli chardet python-nmap dnspython librouteros git+https://github.com/foreign-sub/aiofreepybox.git \ && bash -c "find ${INSTALL_DIR} -type d -exec chmod 750 {} \;" \ && bash -c "find ${INSTALL_DIR} -type f -exec chmod 640 {} \;" \ && bash -c "find ${INSTALL_DIR} -type f \( -name '*.sh' -o -name '*.py' -o -name 'speedtest-cli' \) -exec chmod 750 {} \;" @@ -23,7 +23,7 @@ RUN pip install openwrt-luci-rpc asusrouter asyncio aiohttp graphene flask netif RUN cat ${INSTALL_DIR}/install/freebox_certificate.pem >> /opt/venv/lib/python3.12/site-packages/aiofreepybox/freebox_certificates.pem # second stage -FROM alpine:3.20 AS runner +FROM alpine:3.21 AS runner ARG INSTALL_DIR=/app diff --git a/Dockerfile.debian b/Dockerfile.debian index 736b61f5..9cd785dc 100755 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -43,7 +43,7 @@ RUN phpenmod -v 8.2 sqlite3 RUN apt-get install -y python3-venv RUN python3 -m venv myenv -RUN /bin/bash -c "source myenv/bin/activate && update-alternatives --install /usr/bin/python python /usr/bin/python3 10 && pip3 install openwrt-luci-rpc asusrouter asyncio aiohttp graphene flask netifaces tplink-omada-client wakeonlan pycryptodome requests paho-mqtt scapy cron-converter pytz json2table dhcp-leases pyunifi speedtest-cli chardet python-nmap dnspython librouteros " +RUN /bin/bash -c "source myenv/bin/activate && update-alternatives --install /usr/bin/python python /usr/bin/python3 10 && pip3 install openwrt-luci-rpc asusrouter asyncio aiohttp graphene flask tplink-omada-client wakeonlan pycryptodome requests paho-mqtt scapy cron-converter pytz json2table dhcp-leases pyunifi speedtest-cli chardet python-nmap dnspython librouteros " # Create a buildtimestamp.txt to later check if a new version was released RUN date +%s > ${INSTALL_DIR}/front/buildtimestamp.txt diff --git a/docker-compose.yml b/docker-compose.yml index cdca7e7b..165c3930 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -62,7 +62,6 @@ services: - ${DEV_LOCATION}/front/workflows.php:/app/front/workflows.php - ${DEV_LOCATION}/front/appEventsCore.php:/app/front/appEventsCore.php - ${DEV_LOCATION}/front/multiEditCore.php:/app/front/multiEditCore.php - - ${DEV_LOCATION}/front/donations.php:/app/front/donations.php - ${DEV_LOCATION}/front/plugins:/app/front/plugins # DELETE END anyone trying to use this file: comment out / delete ABOVE lines, they are only for development purposes # --------------------------------------------------------------------------- diff --git a/front/css/app.css b/front/css/app.css index dd925a02..dd6c533e 100755 --- a/front/css/app.css +++ b/front/css/app.css @@ -1331,8 +1331,8 @@ input[readonly] { top: -6px; position: absolute; z-index: 1; - left: 0px; - font-size: large; + left: 4px; + font-size: smaller; } .drag @@ -1397,6 +1397,7 @@ input[readonly] { { display: none; padding-top: 2em; + cursor: default; } /* ----------------------------------------------------------------- */ @@ -1618,6 +1619,20 @@ input[readonly] { } } +/* ----------------------------------------------------------------- */ +/* EVENTS page */ +/* ----------------------------------------------------------------- */ + +.eventsPeriodSelectWrap{ + display: inline; + float: right; +} + +.eventsPage #tableEventsTitle +{ + float: left ; +} + /* ----------------------------------------------------------------- */ /* PLUGINS page */ /* ----------------------------------------------------------------- */ @@ -1800,10 +1815,7 @@ input[readonly] { ----------------------------------------------------------------------------- */ #multiEditPlc { - position: fixed; - bottom: 50px; - right: 0px; - z-index: 10; + padding-right: 10px; } diff --git a/front/devices.php b/front/devices.php index 04087828..8cb26730 100755 --- a/front/devices.php +++ b/front/devices.php @@ -28,14 +28,6 @@
- -
-

- - -

-
-
@@ -78,6 +70,9 @@

+ + + @@ -106,7 +101,7 @@ -
+
@@ -749,9 +744,9 @@ function initializeDatatable (status) { // add multi-edit button $('#multiEditPlc').append( - ``) + ``) // Event listener for row selection in DataTable $('#tableDevices').on('click', 'tr', function (e) { diff --git a/front/donations.php b/front/donations.php deleted file mode 100755 index 0d4d428c..00000000 --- a/front/donations.php +++ /dev/null @@ -1,70 +0,0 @@ - - -
- -
-

- -

-
- - -
-
-
-

-
-
-
-
- - Sponsor Me on GitHub - -
-
- - Buy Me A Coffee - -
-
- - Support me on patreon - -
-
-
-
-

-
-
-
-
-
    -
  • Bitcoin: 1N8tupjeCK12qRVU2XrV17WvKK7LCawyZM
  • -
  • Ethereum: 0x6e2749Cb42F4411bc98501406BdcD82244e3f9C7
  • -
-
-
-
-
-
- -
- - - - \ No newline at end of file diff --git a/front/events.php b/front/events.php index eba002b6..a62fc9bd 100755 --- a/front/events.php +++ b/front/events.php @@ -1,17 +1,3 @@ - - @@ -19,26 +5,7 @@ -
- - -
-

- - -

- - - - - -
+
@@ -123,15 +90,31 @@
+
-
-

Events

+
+

Events

+
+ +
+
+ +
+ + + diff --git a/front/help_faq.php b/front/help_faq.php index c212e003..8bacc5e4 100755 --- a/front/help_faq.php +++ b/front/help_faq.php @@ -1,18 +1,9 @@
- - -
- -

- - -

-
-

diff --git a/front/maintenance.php b/front/maintenance.php index ffc3604b..abeabe09 100755 --- a/front/maintenance.php +++ b/front/maintenance.php @@ -1,47 +1,16 @@ - - - - - - -
- -
- -

- - -

-
- - -
+ +
- close();
-
-
">' .lang('Maintenance_new_version').''.'' .lang('Maintenance_current_version').'';?>
+
"> + ' .lang('Maintenance_new_version').''.'' .lang('Maintenance_current_version').'';?> +
diff --git a/front/network.php b/front/network.php index ba8f0af0..c318145b 100755 --- a/front/network.php +++ b/front/network.php @@ -1,6 +1,7 @@ Online
'); @@ -15,21 +16,13 @@ // show spinning icon showSpinner() -
- -
- -

- - -

-
+
diff --git a/front/php/templates/header.php b/front/php/templates/header.php index 756ab493..6969f0f3 100755 --- a/front/php/templates/header.php +++ b/front/php/templates/header.php @@ -356,7 +356,10 @@ -