mirror of
				https://github.com/filebrowser/filebrowser.git
				synced 2025-10-31 17:23:09 +00:00 
			
		
		
		
	 cc462c8bca
			
		
	
	
		cc462c8bca
		
	
	
	
	
		
			
			Former-commit-id: 2928727a06a94c0ea87ed821a472ae662df803d1 [formerly 098bc4234803078aba013f6312d179158194fffb] [formerly d2bb681fe62ba87a29b9866e291fb975489cd3fc [formerly 3d25185a557dab1fa529499572c0e6d5bf187ca1]] Former-commit-id: 288ccb95466fbd234d278886800e1d27c54fa8dd [formerly 78c473865b085e97cf435cb230e2afa85559aba0] Former-commit-id: c5dc56f4d6198c9c306c01573e1a1af5f1827c3a
		
			
				
	
	
		
			43 lines
		
	
	
		
			846 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			846 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 'use strict'
 | |
| 
 | |
| if (window.plugins === undefined || window.plugins === null) {
 | |
|   window.plugins = []
 | |
| }
 | |
| 
 | |
| window.plugins.append({
 | |
|   sidebar: [
 | |
|     {
 | |
|       click: function (event) {
 | |
|         console.log('evt')
 | |
|       },
 | |
|       icon: 'settings_applications',
 | |
|       name: 'Settings'
 | |
|     },
 | |
|     {
 | |
|       click: function (event) {
 | |
|         console.log('evt')
 | |
|       },
 | |
|       icon: 'remove_red_eye',
 | |
|       name: 'Preview'
 | |
|     }
 | |
|   ]
 | |
| })
 | |
| 
 | |
| 
 | |
| /*
 | |
| {{ define "sidebar-addon" }}
 | |
| <a class="action" href="{{ .BaseURL }}/content/">
 | |
|     <i class="material-icons">subject</i>
 | |
|     <span>Posts and Pages</span>
 | |
| </a>
 | |
| <a class="action" href="{{ .BaseURL }}/themes/">
 | |
|     <i class="material-icons">format_paint</i>
 | |
|     <span>Themes</span>
 | |
| </a>
 | |
| <a class="action" href="{{ .BaseURL }}/settings/">
 | |
|     <i class="material-icons">settings</i>
 | |
|     <span>Settings</span>
 | |
| </a>
 | |
| {{ end }}
 | |
| */
 |