mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-27 09:08:26 +08:00
Style PopupsNextcloudFiles view
This commit is contained in:
parent
3c78f9bf04
commit
efbc7563ac
4 changed files with 18 additions and 4 deletions
|
@ -63,6 +63,7 @@ class SnappyMailHelper
|
|||
$oProvider = \RainLoop\Api::Actions()->DomainProvider();
|
||||
$oDomain = $oProvider->Load('nextcloud');
|
||||
if (!$oDomain) {
|
||||
// $oDomain = \RainLoop\Model\Domain::fromIniArray('nextcloud', []);
|
||||
$oDomain = new \RainLoop\Model\Domain('nextcloud');
|
||||
$iSecurityType = \MailSo\Net\Enumerations\ConnectionSecurityType::NONE;
|
||||
$oDomain->SetConfig(
|
||||
|
|
|
@ -18,6 +18,8 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
$this->addHook('main.fabrica', 'MainFabrica');
|
||||
$this->addHook('filter.app-data', 'FilterAppData');
|
||||
|
||||
$this->addCss('style.css');
|
||||
|
||||
$this->addJs('js/webdav.js');
|
||||
|
||||
$this->addJs('js/message.js');
|
||||
|
|
|
@ -155,7 +155,6 @@ const
|
|||
btn.name = 'select';
|
||||
btn.textContent = 'select';
|
||||
btn.className = 'button-vue';
|
||||
btn.style.marginLeft = '1em';
|
||||
summary.append(btn);
|
||||
summary.item_name = item.name;
|
||||
}
|
||||
|
@ -179,21 +178,18 @@ const
|
|||
btn.name = 'select';
|
||||
btn.textContent = 'select';
|
||||
btn.className = 'button-vue';
|
||||
btn.style.marginLeft = '1em';
|
||||
li.append(btn);
|
||||
|
||||
btn = document.createElement('button');
|
||||
btn.name = 'share-internal';
|
||||
btn.textContent = '🔗 internal';
|
||||
btn.className = 'button-vue';
|
||||
btn.style.marginLeft = '1em';
|
||||
li.append(btn);
|
||||
/*
|
||||
btn = document.createElement('button');
|
||||
btn.name = 'share-public';
|
||||
btn.textContent = '🔗 public';
|
||||
btn.className = 'button-vue';
|
||||
btn.style.marginLeft = '1em';
|
||||
li.append(btn);
|
||||
*/
|
||||
parent.append(li);
|
||||
|
|
15
plugins/nextcloud/style.css
Normal file
15
plugins/nextcloud/style.css
Normal file
|
@ -0,0 +1,15 @@
|
|||
#V-PopupsNextcloudFiles li:hover {
|
||||
background-color: var(--color-background-hover);
|
||||
}
|
||||
#V-PopupsNextcloudFiles li {
|
||||
clear: right;
|
||||
}
|
||||
#V-PopupsNextcloudFiles li button {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
margin: 0 0 0 0.5em;
|
||||
}
|
||||
|
||||
#rl-app .squire-wysiwyg a {
|
||||
text-decoration: underline;
|
||||
}
|
Loading…
Reference in a new issue