mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
Move add script to a best place
Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
parent
711818f005
commit
9d9dbd43c4
2 changed files with 3 additions and 5 deletions
|
|
@ -5,9 +5,11 @@ namespace OCA\Libresign\Settings;
|
|||
use OCA\Libresign\AppInfo\Application;
|
||||
use OCP\AppFramework\Http\TemplateResponse;
|
||||
use OCP\Settings\ISettings;
|
||||
use OCP\Util;
|
||||
|
||||
class Admin implements ISettings {
|
||||
public function getForm(): TemplateResponse {
|
||||
Util::addScript(Application::APP_ID, 'libresign-settings');
|
||||
return new TemplateResponse(Application::APP_ID, 'admin_settings');
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1 @@
|
|||
<?php
|
||||
script('libresign', 'libresign-settings');
|
||||
?>
|
||||
<div id="libresign-admin-settings" class="section">
|
||||
</div>
|
||||
<div id="libresign-admin-settings" class="section"></div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue