mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Fix vnstat interface with latest release
This commit is contained in:
		
							parent
							
								
									5a6ef8ca2a
								
							
						
					
					
						commit
						a28b5b347d
					
				
					 32 changed files with 2286 additions and 1 deletions
				
			
		
							
								
								
									
										11
									
								
								luci-app-vnstat/luasrc/controller/vnstat.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								luci-app-vnstat/luasrc/controller/vnstat.lua
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| module("luci.controller.vnstat", package.seeall) | ||||
| 
 | ||||
| function index() | ||||
| 	entry({"admin", "status", "vnstat"}, alias("admin", "status", "vnstat", "graphs"), _("VnStat Traffic Monitor"), 90) | ||||
| 	entry({"admin", "status", "vnstat", "graphs"}, template("vnstat"), _("Graphs"), 1) | ||||
| 	entry({"admin", "status", "vnstat", "config"}, cbi("vnstat"), _("Configuration"), 2) | ||||
| 
 | ||||
| 	entry({"mini", "network", "vnstat"}, alias("mini", "network", "vnstat", "graphs"), _("VnStat Traffic Monitor"), 90) | ||||
| 	entry({"mini", "network", "vnstat", "graphs"}, template("vnstat"), _("Graphs"), 1) | ||||
| 	entry({"mini", "network", "vnstat", "config"}, cbi("vnstat"), _("Configuration"), 2) | ||||
| end | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue