mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-17 21:12:20 +01:00
build(frontend): bundle icons
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
This commit is contained in:
parent
ecfcae18f8
commit
1bfe691cb0
8 changed files with 7 additions and 6 deletions
|
|
@ -140,7 +140,7 @@ class TalkWidget implements IAPIWidget, IIconWidget, IButtonWidget, IOptionWidge
|
|||
*/
|
||||
#[\Override]
|
||||
public function load(): void {
|
||||
Util::addStyle('spreed', 'icons');
|
||||
Util::addStyle('spreed', 'talk-icons');
|
||||
}
|
||||
|
||||
#[\Override]
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ class TemplateLoader implements IEventListener {
|
|||
return;
|
||||
}
|
||||
|
||||
Util::addStyle(Application::APP_ID, 'icons');
|
||||
Util::addStyle(Application::APP_ID, 'talk-icons');
|
||||
if (!str_starts_with($this->request->getPathInfo(), '/apps/maps')) {
|
||||
Util::addScript(Application::APP_ID, 'talk-files-sidebar');
|
||||
Util::addStyle(Application::APP_ID, 'talk-files-sidebar');
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ class TemplateLoader implements IEventListener {
|
|||
return;
|
||||
}
|
||||
|
||||
Util::addStyle(Application::APP_ID, 'icons');
|
||||
Util::addStyle(Application::APP_ID, 'talk-icons');
|
||||
Util::addScript(Application::APP_ID, 'talk-public-share-sidebar');
|
||||
Util::addStyle(Application::APP_ID, 'talk-public-share-sidebar');
|
||||
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ class TemplateLoader implements IEventListener {
|
|||
return;
|
||||
}
|
||||
|
||||
Util::addStyle(Application::APP_ID, 'icons');
|
||||
Util::addStyle(Application::APP_ID, 'talk-icons');
|
||||
Util::addScript(Application::APP_ID, 'talk-public-share-auth-sidebar');
|
||||
Util::addStyle(Application::APP_ID, 'talk-public-share-auth-sidebar');
|
||||
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ declare(strict_types=1);
|
|||
|
||||
\OCP\Util::addScript('spreed', 'talk-main');
|
||||
\OCP\Util::addStyle('spreed', 'talk-main');
|
||||
style('spreed', 'icons');
|
||||
style('spreed', 'talk-icons');
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ declare(strict_types=1);
|
|||
|
||||
\OCP\Util::addScript('spreed', 'talk-recording');
|
||||
\OCP\Util::addStyle('spreed', 'talk-recording');
|
||||
style('spreed', 'icons');
|
||||
style('spreed', 'talk-icons');
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ module.exports = mergeWithRules({
|
|||
deck: path.join(__dirname, 'src', 'deck.js'),
|
||||
maps: path.join(__dirname, 'src', 'maps.js'),
|
||||
search: path.join(__dirname, 'src', 'search.js'),
|
||||
icons: path.join(__dirname, 'src', 'icons.css'),
|
||||
},
|
||||
|
||||
output: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue