fixed navigation

This commit is contained in:
Adphi 2019-01-19 16:16:04 +01:00
parent 32837fffa6
commit c642ad90f9
3 changed files with 5 additions and 4 deletions

View File

@ -15,9 +15,11 @@
<nextcloud min-version="13" max-version="15"/> <nextcloud min-version="13" max-version="15"/>
</dependencies> </dependencies>
<navigations> <navigations>
<navigation> <navigation role="admin">
<name>OCCWeb</name> <name>OCCWeb</name>
<route>occweb.page.index</route> <icon>app.svg</icon>
<type>link</type>
<route>occweb.occ.index</route>
</navigation> </navigation>
</navigations> </navigations>
</info> </info>

View File

@ -23,7 +23,7 @@
term.echo('\n' + response).resume(); 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', name: 'occ',
prompt: 'occ $ ', prompt: 'occ $ ',
completion: response, completion: response,

View File

@ -51,7 +51,6 @@ class OCCController extends Controller implements IRequest
* basically the only required method to add this exemption, don't * 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 * add it to any other method if you don't exactly know what it does
* *
* @NoAdminRequired
* @NoCSRFRequired * @NoCSRFRequired
*/ */
public function index() public function index()