fixed navigation
This commit is contained in:
		@@ -15,9 +15,11 @@
 | 
			
		||||
        <nextcloud min-version="13" max-version="15"/>
 | 
			
		||||
    </dependencies>
 | 
			
		||||
    <navigations>
 | 
			
		||||
        <navigation>
 | 
			
		||||
        <navigation role="admin">
 | 
			
		||||
            <name>OCCWeb</name>
 | 
			
		||||
            <route>occweb.page.index</route>
 | 
			
		||||
            <icon>app.svg</icon>
 | 
			
		||||
            <type>link</type>
 | 
			
		||||
            <route>occweb.occ.index</route>
 | 
			
		||||
        </navigation>
 | 
			
		||||
    </navigations>
 | 
			
		||||
</info>
 | 
			
		||||
 
 | 
			
		||||
@@ -23,7 +23,7 @@
 | 
			
		||||
          term.echo('\n' + response).resume();
 | 
			
		||||
        });
 | 
			
		||||
      }, {
 | 
			
		||||
        greetings: '[[;green;]' + new Date().toString().slice(0, 24) + "]\n\nPress Enter for more information on occ commands.\n",
 | 
			
		||||
        greetings: '[[;green;]' + new Date().toString().slice(0, 24) + "]\n\nPress [[;#ff5e99;]Enter] for more information on [[;#009ae3;]occ] commands.\n",
 | 
			
		||||
        name: 'occ',
 | 
			
		||||
        prompt: 'occ $ ',
 | 
			
		||||
        completion: response,
 | 
			
		||||
 
 | 
			
		||||
@@ -51,7 +51,6 @@ class OCCController extends Controller implements IRequest
 | 
			
		||||
   *          basically the only required method to add this exemption, don't
 | 
			
		||||
   *          add it to any other method if you don't exactly know what it does
 | 
			
		||||
   *
 | 
			
		||||
   * @NoAdminRequired
 | 
			
		||||
   * @NoCSRFRequired
 | 
			
		||||
   */
 | 
			
		||||
  public function index()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user