mirror of
https://github.com/nextcloud/server.git
synced 2025-03-18 02:03:18 +00:00
Template css order
Select2 systemtags removal Settings again Fix Script Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
ed4ed7911a
commit
3e5e07aa64
5 changed files with 6 additions and 16 deletions
apps/systemtags
lib/private/legacy
settings/templates
|
@ -31,9 +31,6 @@ $eventDispatcher->addListener(
|
|||
'OCA\Files::loadAdditionalScripts',
|
||||
function() {
|
||||
// FIXME: no public API for these ?
|
||||
\OC_Util::addVendorScript('select2/select2');
|
||||
\OC_Util::addVendorStyle('select2/select2');
|
||||
\OCP\Util::addScript('select2-toggleselect');
|
||||
\OCP\Util::addScript('oc-backbone-webdav');
|
||||
\OCP\Util::addScript('systemtags/systemtags');
|
||||
\OCP\Util::addScript('systemtags/systemtagmodel');
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
vendor_script('core', 'select2/select2');
|
||||
vendor_style('core', 'select2/select2');
|
||||
script('core', [
|
||||
'oc-backbone-webdav',
|
||||
'systemtags/systemtags',
|
||||
|
|
|
@ -117,7 +117,7 @@ class OC_Template extends \OC\Template\Base {
|
|||
OC_Util::addStyle("fonts",null,true);
|
||||
OC_Util::addStyle("icons",null,true);
|
||||
OC_Util::addStyle("header",null,true);
|
||||
OC_Util::addStyle("inputs",null,true);
|
||||
OC_Util::addStyle("inputs");
|
||||
OC_Util::addStyle("styles",null,true);
|
||||
|
||||
// avatars
|
||||
|
@ -126,6 +126,10 @@ class OC_Template extends \OC\Template\Base {
|
|||
\OC_Util::addScript('placeholder', null, true);
|
||||
}
|
||||
|
||||
OC_Util::addVendorScript('select2/select2');
|
||||
OC_Util::addVendorStyle('select2/select2', null, true);
|
||||
OC_Util::addScript('select2-toggleselect');
|
||||
|
||||
OC_Util::addScript('oc-backbone', null, true);
|
||||
OC_Util::addVendorScript('core', 'backbone/backbone', true);
|
||||
OC_Util::addVendorScript('snapjs/dist/latest/snap', null, true);
|
||||
|
|
|
@ -25,8 +25,6 @@ style('settings', 'settings');
|
|||
script('settings', [ 'settings', 'admin', 'log', 'certificates'] );
|
||||
script('core', ['multiselect', 'setupchecks']);
|
||||
script('files', 'jquery.fileupload');
|
||||
vendor_script('select2/select2');
|
||||
vendor_style('select2/select2');
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
@ -1,16 +1,9 @@
|
|||
<?php
|
||||
style('settings', 'settings');
|
||||
vendor_style(
|
||||
'core',
|
||||
[
|
||||
'select2/select2',
|
||||
]
|
||||
);
|
||||
vendor_script(
|
||||
'core',
|
||||
[
|
||||
'handlebars/handlebars',
|
||||
'select2/select2'
|
||||
'handlebars/handlebars'
|
||||
]
|
||||
);
|
||||
script(
|
||||
|
|
Loading…
Reference in a new issue