Ver Fonte

v0.60 release

lllllllillllllillll há 1 ano atrás
pai
commit
b4d472f414
4 ficheiros alterados com 62 adições e 8 exclusões
  1. 2 2
      CHANGELOG.md
  2. 2 0
      README.md
  3. 6 6
      templates/json/default.json
  4. 52 0
      views/modals/details.html

+ 2 - 2
CHANGELOG.md

@@ -1,4 +1,4 @@
-## v0.60 (dev)
+## v0.60 (June 9th 2024) - Permissions system and import templates
 * Converted JS template literals into HTML.
 * Converted JS template literals into HTML.
 * Converted modals into HTML/HTMX.
 * Converted modals into HTML/HTMX.
 * Moved functions into dashboard controller.
 * Moved functions into dashboard controller.
@@ -24,7 +24,7 @@
 * Image pull gets latest if not set.
 * Image pull gets latest if not set.
 * Updated buttons to trigger from 'mousedown' (John Carmack + Theo told me to).
 * Updated buttons to trigger from 'mousedown' (John Carmack + Theo told me to).
 * Volumes page displays type (Volume or Bind).
 * Volumes page displays type (Volume or Bind).
-* New Volume button is now functional.
+* Volume button is now functional.
 
 
 ## v0.40 (Feb 26th 2024) - HTMX rewrite
 ## v0.40 (Feb 26th 2024) - HTMX rewrite
 * Pages rewritten to use HTMX.
 * Pages rewritten to use HTMX.

+ 2 - 0
README.md

@@ -69,6 +69,8 @@ networks:
     driver: bridge
     driver: bridge
 ```
 ```
 
 
+[Windows and MacOS Setup](https://github.com/lllllllillllllillll/DweebUI/wiki/Setup)
+
 Compose setup:
 Compose setup:
 
 
 * Paste the above content into a file named ```docker-compose.yml``` then place it in a folder named ```dweebui```.
 * Paste the above content into a file named ```docker-compose.yml``` then place it in a folder named ```dweebui```.

+ 6 - 6
templates/json/default.json

@@ -3359,7 +3359,7 @@
       "type": 1,
       "type": 1,
       "volumes": [
       "volumes": [
         {
         {
-          "bind": "/portainer/Downloads",
+          "bind": "/home/docker/downloads",
           "container": "/data"
           "container": "/data"
         },
         },
         {
         {
@@ -4299,7 +4299,7 @@
           "container": "/config"
           "container": "/config"
         },
         },
         {
         {
-          "bind": "/portainer/Downloads",
+          "bind": "/home/docker/Downloads",
           "container": "/app/qBittorrent/downloads"
           "container": "/app/qBittorrent/downloads"
         }
         }
       ]
       ]
@@ -4707,7 +4707,7 @@
           "container": "/etc/localtime"
           "container": "/etc/localtime"
         },
         },
         {
         {
-          "bind": "/portainer/Downloads",
+          "bind": "/home/docker/Downloads",
           "container": "/downloads"
           "container": "/downloads"
         },
         },
         {
         {
@@ -4734,7 +4734,7 @@
           "container": "/app/configs"
           "container": "/app/configs"
         },
         },
         {
         {
-          "bind": "/portainer/Downloads",
+          "bind": "/home/docker/Downloads",
           "container": "/downloads"
           "container": "/downloads"
         }
         }
       ],
       ],
@@ -5125,11 +5125,11 @@
       "type": 1,
       "type": 1,
       "volumes": [
       "volumes": [
         {
         {
-          "bind": "/portainer/Files/AppData/Adguard/Workdir",
+          "bind": "/home/docker/Files/AppData/Adguard/Workdir",
           "container": "/opt/adguardhome/work"
           "container": "/opt/adguardhome/work"
         },
         },
         {
         {
-          "bind": "/portainer/Files/AppData/Adguard/Conf",
+          "bind": "/home/docker/Files/AppData/Adguard/Conf",
           "container": "/opt/adguardhome/conf"
           "container": "/opt/adguardhome/conf"
         }
         }
       ]
       ]

+ 52 - 0
views/modals/details.html

@@ -490,6 +490,58 @@
                                 <input type="text" class="form-control" name="env_11_default" value="Env11Value"/>
                                 <input type="text" class="form-control" name="env_11_default" value="Env11Value"/>
                                 </div>
                                 </div>
                             </div>
                             </div>
+
+                            <div class="row mb-1 align-items-end">
+                                <div class="col-auto">
+                                    <input class="form-check-input" type="checkbox" name="env_12_check" Env12Check>
+                                </div>
+                                <div class="col">
+                                    <input type="text" class="form-control" name="env_12_name" value="Env12Key"/>
+                                </div>
+                                <div class="col">
+                                    <input type="text" class="form-control" name="env_12_default" value="Env12Value"/>
+                                </div>
+                            </div>
+
+                            <div class="row mb-1 align-items-end">
+                                <div class="col-auto">
+                                    <input class="form-check-input" type="checkbox" name="env_12_check" Env13Check>
+                                </div>
+                                <div class="col">
+                                    <input type="text" class="form-control" name="env_12_name" value="Env13Key"/>
+                                </div>
+                                <div class="col">
+                                    <input type="text" class="form-control" name="env_12_default" value="Env13Value"/>
+                                </div>
+                            </div>
+
+                            <div class="row mb-1 align-items-end">
+                                <div class="col-auto">
+                                    <input class="form-check-input" type="checkbox" name="env_12_check" Env14Check>
+                                </div>
+                                <div class="col">
+                                    <input type="text" class="form-control" name="env_12_name" value="Env14Key"/>
+                                </div>
+                                <div class="col">
+                                    <input type="text" class="form-control" name="env_12_default" value="Env14Value"/>
+                                </div>
+                            </div>
+
+                            <div class="row mb-1 align-items-end">
+                                <div class="col-auto">
+                                    <input class="form-check-input" type="checkbox" name="env_12_check" Env15Check>
+                                </div>
+                                <div class="col">
+                                    <input type="text" class="form-control" name="env_12_name" value="Env15Key"/>
+                                </div>
+                                <div class="col">
+                                    <input type="text" class="form-control" name="env_12_default" value="Env15Value"/>
+                                </div>
+                            </div>
+
+
+                            
+
     
     
                         </div>
                         </div>
                     </div>
                     </div>