|
85 | 85 | </li> |
86 | 86 |
|
87 | 87 | <li class="header text-uppercase">DNS Control</li> |
88 | | - <!-- Local DNS Records --> |
89 | 88 | <!-- Enable/Disable Blocking --> |
90 | 89 | <li id="pihole-disable" class="menu-dns treeview"> |
91 | 90 | <a href="<?=webhome?>#"> |
|
133 | 132 | </li> |
134 | 133 | <li class="header text-uppercase">System</li> |
135 | 134 | <!-- Settings --> |
136 | | - <li class="menu-system treeview <? if startsWith(scriptname, 'settings/') then ?> active<? end ?>"> |
| 135 | + <li class="menu-system treeview<? if startsWith(scriptname, 'settings/') then ?> active<? end ?>"> |
137 | 136 | <a href="<?=webhome?>#"> |
138 | 137 | <i class="fa fa-fw menu-icon fa-cogs"></i> <span>Settings</span> |
139 | 138 | <span class="pull-right-container"> |
140 | 139 | <i class="fa fa-angle-left pull-right"></i> |
141 | 140 | </span> |
142 | 141 | </a> |
143 | 142 | <ul class="treeview-menu"> |
144 | | - <li class="<? if scriptname == 'settings/system' then ?> active<? end ?>"> |
| 143 | + <li<? if scriptname == 'settings/system' then ?> class="active"<? end ?>> |
145 | 144 | <a href="<?=webhome?>settings/system"> |
146 | 145 | <i class="fa-fw menu-icon fa-solid fa-circle-info"></i> <span>System</span> |
147 | 146 | </a> |
148 | 147 | </li> |
149 | | - <li class="<? if scriptname == 'settings/dns' then ?> active<? end ?>"> |
| 148 | + <li<? if scriptname == 'settings/dns' then ?> class="active"<? end ?>> |
150 | 149 | <a href="<?=webhome?>settings/dns"> |
151 | 150 | <i class="fa-fw menu-icon fa-solid fa-book-atlas"></i> <span>DNS</span> |
152 | 151 | </a> |
153 | 152 | </li> |
154 | | - <li class="<? if scriptname == 'settings/dhcp' then ?> active<? end ?>"> |
| 153 | + <li<? if scriptname == 'settings/dhcp' then ?> class="active"<? end ?>> |
155 | 154 | <a href="<?=webhome?>settings/dhcp"> |
156 | 155 | <i class="fa-fw menu-icon fa-solid fa-sitemap"></i> <span>DHCP</span> |
157 | 156 | </a> |
158 | 157 | </li> |
159 | | - <li class="<? if scriptname == 'settings/api' then ?> active<? end ?>"> |
| 158 | + <li<? if scriptname == 'settings/api' then ?> class="active"<? end ?>> |
160 | 159 | <a href="<?=webhome?>settings/api"> |
161 | 160 | <i class="fa-fw menu-icon fa-solid fa-window-restore"></i> <span>Web interface / API</span> |
162 | 161 | </a> |
163 | 162 | </li> |
164 | | - <li class="<? if scriptname == 'settings/privacy' then ?> active<? end ?>"> |
| 163 | + <li<? if scriptname == 'settings/privacy' then ?> class="active"<? end ?>> |
165 | 164 | <a href="<?=webhome?>settings/privacy"> |
166 | 165 | <i class="fa-fw menu-icon fa-solid fa-binoculars"></i> <span>Privacy</span> |
167 | 166 | </a> |
168 | 167 | </li> |
169 | | - <li class="<? if scriptname == 'settings/teleporter' then ?> active<? end ?>"> |
| 168 | + <li<? if scriptname == 'settings/teleporter' then ?> class="active"<? end ?>> |
170 | 169 | <a href="<?=webhome?>settings/teleporter"> |
171 | 170 | <i class="fa-fw menu-icon fa-solid fa-file-export"></i> <span>Teleporter</span> |
172 | 171 | </a> |
173 | 172 | </li> |
174 | | - <li class="<? if scriptname == 'settings/dnsrecords' then ?> active<? end ?>"> |
| 173 | + <li<? if scriptname == 'settings/dnsrecords' then ?> class="active"<? end ?>> |
175 | 174 | <a href="<?=webhome?>settings/dnsrecords"> |
176 | 175 | <i class="fa-fw menu-icon fa-solid fa-address-book"></i> <span>Local DNS Records</span> |
177 | 176 | </a> |
178 | 177 | </li> |
179 | | - <li class="<? if scriptname == 'settings/all' then ?> active<? end ?> settings-level-expert"> |
| 178 | + <li class="settings-level-expert<? if scriptname == 'settings/all' then ?> active<? end ?>"> |
180 | 179 | <a href="<?=webhome?>settings/all"> |
181 | 180 | <i class="fa-fw menu-icon fa-solid fa-pen-to-square"></i> <span>All settings</span> |
182 | 181 | </a> |
|
194 | 193 | </a> |
195 | 194 | <ul class="treeview-menu"> |
196 | 195 | <!-- Pi-hole diagnosis --> |
197 | | - <li class="<? if scriptname == 'messages' then ?> active<? end ?>"> |
| 196 | + <li<? if scriptname == 'messages' then ?> class="active"<? end ?>> |
198 | 197 | <a href="<?=webhome?>messages"> |
199 | 198 | <i class="fa fa-fw menu-icon fa-file-medical-alt"></i> <span>Pi-hole diagnosis</span> |
200 | 199 | <span class="pull-right-container warning-count hidden"></span> |
201 | 200 | </a> |
202 | 201 | </li> |
203 | 202 | <!-- Tail log files --> |
204 | | - <li class="treeview <? if scriptname == 'taillog' then ?> active<? end ?>"> |
| 203 | + <li class="treeview<? if scriptname == 'taillog' then ?> active<? end ?>"> |
205 | 204 | <a href="<?=webhome?>#"> |
206 | 205 | <i class="fa-fw menu-icon fa-solid fa-list-ul"></i> <span>Tail log files</span> |
207 | 206 | <span class="pull-right-container"> |
|
210 | 209 | </a> |
211 | 210 | <ul class="treeview-menu"> |
212 | 211 | <!-- Tail pihole.log --> |
213 | | - <li class="<? if scriptname == 'taillog' and GET("file") == "dnsmasq" then ?> active<? end ?>"> |
| 212 | + <li<? if scriptname == 'taillog' and GET("file") == "dnsmasq" then ?> class="active"<? end ?>> |
214 | 213 | <a href="<?=webhome?>taillog?file=dnsmasq"> |
215 | 214 | <i class="fa-fw menu-icon fa-solid fa-list-ul"></i> pihole.log |
216 | 215 | </a> |
217 | 216 | </li> |
218 | 217 | <!-- Tail FTL.log --> |
219 | | - <li class="<? if scriptname == 'taillog' and GET("file") == "ftl" then ?> active<? end ?>"> |
| 218 | + <li<? if scriptname == 'taillog' and GET("file") == "ftl" then ?> class="active"<? end ?>> |
220 | 219 | <a href="<?=webhome?>taillog?file=ftl"> |
221 | 220 | <i class="fa-fw menu-icon fa-solid fa-list-ul"></i> FTL.log |
222 | 221 | </a> |
223 | 222 | </li> |
224 | 223 | <!-- Tail webserver.log --> |
225 | | - <li class="<? if scriptname == 'taillog' and GET("file") == "webserver" then ?> active<? end ?>"> |
| 224 | + <li<? if scriptname == 'taillog' and GET("file") == "webserver" then ?> class="active"<? end ?>> |
226 | 225 | <a href="<?=webhome?>taillog?file=webserver"> |
227 | 226 | <i class="fa-fw menu-icon fa-solid fa-list-ul"></i> webserver.log |
228 | 227 | </a> |
229 | 228 | </li> |
230 | 229 | </ul> |
231 | 230 | </li> |
232 | | - <!-- Run gravity.sh --> |
233 | | - <li class="<? if scriptname == 'gravity' then ?> active<? end ?>"> |
| 231 | + <!-- Update Gravity --> |
| 232 | + <li<? if scriptname == 'gravity' then ?> class="active"<? end ?>> |
234 | 233 | <a href="<?=webhome?>gravity"> |
235 | 234 | <i class="fa fa-fw menu-icon fa-arrow-circle-down"></i> <span>Update Gravity</span> |
236 | 235 | </a> |
237 | 236 | </li> |
238 | 237 | <!-- Query Lists --> |
239 | | - <li class="<? if scriptname == 'search' then ?> active<? end ?>"> |
| 238 | + <li<? if scriptname == 'search' then ?> class="active"<? end ?>> |
240 | 239 | <a href="<?=webhome?>search"> |
241 | 240 | <i class="fa fa-fw menu-icon fa-search"></i> <span>Search Lists</span> |
242 | 241 | </a> |
243 | 242 | </li> |
244 | 243 | <!-- Interfaces --> |
245 | | - <li class="<? if scriptname == 'interfaces' then ?> active<? end ?>"> |
| 244 | + <li<? if scriptname == 'interfaces' then ?> class="active"<? end ?>> |
246 | 245 | <a href="<?=webhome?>interfaces"> |
247 | 246 | <i class="fa fa-fw menu-icon fa-wifi"></i> <span>Interfaces</span> |
248 | 247 | </a> |
249 | 248 | </li> |
250 | 249 | <!-- Network --> |
251 | | - <li class="<? if scriptname == 'network' then ?> active<? end ?>"> |
| 250 | + <li<? if scriptname == 'network' then ?> class="active"<? end ?>> |
252 | 251 | <a href="<?=webhome?>network"> |
253 | 252 | <i class="fa fa-fw menu-icon fa-network-wired"></i> <span>Network</span> |
254 | 253 | </a> |
|
0 commit comments