ISSUE-1 #3

Merged
stuzer05 merged 2 commits from ISSUE-1 into master 2022-12-31 18:36:12 +02:00
3 changed files with 10 additions and 1 deletions

1
.gitignore vendored

@ -1 +1,2 @@
.idea
config.inc.php config.inc.php

@ -19,6 +19,10 @@ class aliasmanager extends rcube_plugin {
throw new \Exception('cannot connect ot postfix db'); throw new \Exception('cannot connect ot postfix db');
} }
if ($this->rcmail->task == "mail" || $this->rcmail->task == "settings") {
$this->include_stylesheet('assets/styles/app.css');
}
if ($this->rcmail->task == "settings") { if ($this->rcmail->task == "settings") {
$this->add_hook("settings_actions", [$this, "hookSettingsActions"]); $this->add_hook("settings_actions", [$this, "hookSettingsActions"]);
$this->register_action('plugin.aliasmanager', [$this, "onShowSettingsPage"]); $this->register_action('plugin.aliasmanager', [$this, "onShowSettingsPage"]);
@ -61,7 +65,6 @@ class aliasmanager extends rcube_plugin {
*/ */
public function settingsPageHandler() { public function settingsPageHandler() {
$this->include_script('assets/scripts/app.js'); $this->include_script('assets/scripts/app.js');
$this->include_stylesheet('assets/styles/app.css');
$this->rcmail->output->add_label("settings_menu_label"); $this->rcmail->output->add_label("settings_menu_label");

@ -1,3 +1,8 @@
.scroller { .scroller {
overflow-y: scroll; overflow-y: scroll;
}
.aliasmanager :before {
font-size: 1.1em !important;
content: "\f02c" !important;
} }