diff --git a/docker-compose.yml b/docker-compose.yml index 37316ec8..0fc08310 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -49,6 +49,7 @@ services: - ${DEV_LOCATION}/front/systeminfo.php:/home/pi/pialert/front/systeminfo.php - ${DEV_LOCATION}/front/report.php:/home/pi/pialert/front/report.php - ${DEV_LOCATION}/front/flows.php:/home/pi/pialert/front/flows.php + - ${DEV_LOCATION}/front/donations.php:/home/pi/pialert/front/donations.php - ${DEV_LOCATION}/front/plugins:/home/pi/pialert/front/plugins # DELETE END anyone trying to use this file: comment out / delete ABOVE lines, they are only for development purposes # --------------------------------------------------------------------------- diff --git a/docs/FRONTEND_DEVELOPMENT.md b/docs/FRONTEND_DEVELOPMENT.md old mode 100644 new mode 100755 index c87f68ea..ad646d49 --- a/docs/FRONTEND_DEVELOPMENT.md +++ b/docs/FRONTEND_DEVELOPMENT.md @@ -43,4 +43,4 @@ Some useful frontend JavaScript functions: - `getSetting(string stringKey)` - method to retrieve settings in the frontend -Check the [pialert_common.js](https://github.com/jokob-sk/Pi.Alert/blob/main-2023-06-10/front/js/pialert_common.js) file for more frontend function. \ No newline at end of file +Check the [pialert_common.js](https://github.com/jokob-sk/Pi.Alert/blob/main-2023-06-10/front/js/pialert_common.js) file for more frontend functions. \ No newline at end of file diff --git a/front/donations.php b/front/donations.php new file mode 100755 index 00000000..7d53d51a --- /dev/null +++ b/front/donations.php @@ -0,0 +1,22 @@ + + + + +
+

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

+

+ BTC: 1N8tupjeCK12qRVU2XrV17WvKK7LCawyZM +

+
\ No newline at end of file diff --git a/front/php/templates/header.php b/front/php/templates/header.php index a0418ea8..ca357e26 100755 --- a/front/php/templates/header.php +++ b/front/php/templates/header.php @@ -259,9 +259,12 @@ if ($ENABLED_DARKMODE === True) {
  • -
  • +
  • +
  • + +
  • diff --git a/front/php/templates/language/en_us.json b/front/php/templates/language/en_us.json index 46ec8a91..ac8d48a0 100755 --- a/front/php/templates/language/en_us.json +++ b/front/php/templates/language/en_us.json @@ -46,6 +46,7 @@ "Navigation_SystemInfo" : "System info", "Navigation_Flows" : "Flows", "Navigation_HelpFAQ" : "Help / FAQ", + "Navigation_Donations" : "Donations", "Device_Title" : "Devices", "Device_Shortcut_AllDevices" : "All Devices", "Device_Shortcut_Connected" : "Connected", diff --git a/front/plugins/known_template/ignore_plugin b/front/plugins/known_template/ignore_plugin old mode 100644 new mode 100755