Drop bootstrap modal.less by using <dialog> <header> and <footer>

https://snappymail.eu/demo/ updated for testing
This commit is contained in:
djmaze 2021-11-07 17:06:08 +01:00
parent 880d4a05e9
commit 6170de5aee
70 changed files with 1521 additions and 1709 deletions

View file

@ -8,6 +8,7 @@ import { AbstractViewPopup } from 'Knoin/AbstractViews';
class AccountPopupView extends AbstractViewPopup {
constructor() {
super('Account');
this.viewNoUserSelect = true;
this.addObservables({
isNew: true,

View file

@ -6,6 +6,7 @@ import { AbstractViewPopup } from 'Knoin/AbstractViews';
class AddOpenPgpKeyPopupView extends AbstractViewPopup {
constructor() {
super('AddOpenPgpKey');
this.viewNoUserSelect = true;
this.addObservables({
key: '',

View file

@ -11,6 +11,7 @@ import { FolderUserStore } from 'Stores/User/Folder';
class AdvancedSearchPopupView extends AbstractViewPopup {
constructor() {
super('AdvancedSearch');
this.viewNoUserSelect = true;
this.addObservables({
from: '',

View file

@ -7,6 +7,7 @@ import { AbstractViewPopup } from 'Knoin/AbstractViews';
class AskPopupView extends AbstractViewPopup {
constructor() {
super('Ask');
this.viewNoUserSelect = true;
this.addObservables({
askDesc: '',

View file

@ -18,6 +18,7 @@ const KEY_NAME_SUBSTR = -8,
class ComposeOpenPgpPopupView extends AbstractViewPopup {
constructor() {
super('ComposeOpenPgp');
this.viewNoUserSelect = true;
this.publicKeysOptionsCaption = i18nPGP('ADD_A_PUBLICK_KEY');
this.privateKeysOptionsCaption = i18nPGP('SELECT_A_PRIVATE_KEY');

View file

@ -11,6 +11,7 @@ import { DomainAdminStore } from 'Stores/Admin/Domain';
class DomainPopupView extends AbstractViewPopup {
constructor() {
super('Domain');
this.viewNoUserSelect = true;
this.addObservables(this.getDefaults());
this.addObservables({

View file

@ -16,6 +16,7 @@ import { folderListOptionsBuilder } from 'Common/UtilsUser';
class FilterPopupView extends AbstractViewPopup {
constructor() {
super('Filter');
this.viewNoUserSelect = true;
this.addObservables({
isNew: true,

View file

@ -11,6 +11,7 @@ import { AbstractViewPopup } from 'Knoin/AbstractViews';
class FolderClearPopupView extends AbstractViewPopup {
constructor() {
super('FolderClear');
this.viewNoUserSelect = true;
this.addObservables({
selectedFolder: null,

View file

@ -15,6 +15,7 @@ import { AbstractViewPopup } from 'Knoin/AbstractViews';
class FolderCreatePopupView extends AbstractViewPopup {
constructor() {
super('FolderCreate');
this.viewNoUserSelect = true;
this.addObservables({
folderName: '',

View file

@ -13,6 +13,7 @@ import { AbstractViewPopup } from 'Knoin/AbstractViews';
class FolderSystemPopupView extends AbstractViewPopup {
constructor() {
super('FolderSystem');
this.viewNoUserSelect = true;
this.sChooseOnText = '';
this.sUnuseText = '';

View file

@ -7,6 +7,7 @@ import { AbstractViewPopup } from 'Knoin/AbstractViews';
class LanguagesPopupView extends AbstractViewPopup {
constructor() {
super('Languages');
this.viewNoUserSelect = true;
this.fLang = null;
this.userLanguage = ko.observable('');

View file

@ -9,6 +9,7 @@ import { AbstractViewPopup } from 'Knoin/AbstractViews';
class MessageOpenPgpPopupView extends AbstractViewPopup {
constructor() {
super('MessageOpenPgp');
this.viewNoUserSelect = true;
this.addObservables({
notification: '',

View file

@ -8,6 +8,7 @@ import { AbstractViewPopup } from 'Knoin/AbstractViews';
class NewOpenPgpKeyPopupView extends AbstractViewPopup {
constructor() {
super('NewOpenPgpKey');
this.viewNoUserSelect = true;
this.addObservables({
email: '',

View file

@ -16,6 +16,7 @@ import { FilterPopupView } from 'View/Popup/Filter';
class SieveScriptPopupView extends AbstractViewPopup {
constructor() {
super('SieveScript');
this.viewNoUserSelect = true;
addObservablesTo(this, {
saveError: false,