mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 05:59:21 +03:00
browserify -> webpack
Code refactoring
This commit is contained in:
parent
542c46b654
commit
27d4bd74ad
138 changed files with 27231 additions and 32424 deletions
|
|
@ -200,11 +200,12 @@ class Service
|
|||
'FaviconPngLink' => $sStaticPrefix.'favicon.png',
|
||||
'AppleTouchLink' => $sStaticPrefix.'apple-touch-icon.png',
|
||||
'AppCssLink' => $sStaticPrefix.'css/app'.($bAppCssDebug ? '' : '.min').'.css',
|
||||
'BootJsLink' => $sStaticPrefix.'js/boot.js',
|
||||
'LibJsLink' => $sStaticPrefix.'js/libs.js',
|
||||
'BootJsLink' => $sStaticPrefix.'js/min/boot.js',
|
||||
'LibJsLink' => $sStaticPrefix.'js/min/libs.js',
|
||||
'EditorJsLink' => $sStaticPrefix.'ckeditor/ckeditor.js',
|
||||
'OpenPgpJsLink' => $sStaticPrefix.'js/openpgp.min.js',
|
||||
'AppJsLink' => $sStaticPrefix.'js/'.($bAdmin ? 'admin' : 'app').($bAppJsDebug ? '' : '.min').'.js'
|
||||
'OpenPgpJsLink' => $sStaticPrefix.'js/min/openpgp.min.js',
|
||||
'CommonJsLink' => $sStaticPrefix.'js/'.($bAppJsDebug ? '' : 'min/').'common.js',
|
||||
'AppJsLink' => $sStaticPrefix.'js/'.($bAppJsDebug ? '' : 'min/').($bAdmin ? 'admin' : 'app').'.js'
|
||||
);
|
||||
|
||||
$aTemplateParameters = array(
|
||||
|
|
@ -217,6 +218,7 @@ class Service
|
|||
'{{BaseAppLibsScriptLink}}' => $aData['LibJsLink'],
|
||||
'{{BaseAppEditorScriptLink}}' => $aData['EditorJsLink'],
|
||||
'{{BaseAppOpenPgpScriptLink}}' => $aData['OpenPgpJsLink'],
|
||||
'{{BaseCommonMainScriptLink}}' => $aData['CommonJsLink'],
|
||||
'{{BaseAppMainScriptLink}}' => $aData['AppJsLink'],
|
||||
'{{BaseAppLoadingDescription}}' => \htmlspecialchars($aData['LoadingDescription'], ENT_QUOTES|ENT_IGNORE, 'UTF-8'),
|
||||
'{{BaseDir}}' => \in_array($aData['Language'], array('ar', 'he', 'ur')) ? 'rtl' : 'ltr'
|
||||
|
|
|
|||
|
|
@ -82,9 +82,13 @@
|
|||
.wait(function () {
|
||||
__simplePace(30);
|
||||
})
|
||||
.script('{{BaseCommonMainScriptLink}}')
|
||||
.wait(function () {
|
||||
__simplePace(5);
|
||||
})
|
||||
.script('{{BaseAppMainScriptLink}}')
|
||||
.wait(function () {
|
||||
__simplePace(20);
|
||||
__simplePace(15);
|
||||
})
|
||||
.script(function () {
|
||||
return window.rainloopAppData['PluginsLink'] || null;
|
||||
|
|
|
|||
|
|
@ -637,7 +637,7 @@
|
|||
filter: Alpha(Opacity=30);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
|
||||
|
||||
/* =============================================================================
|
||||
|
|
@ -1150,7 +1150,7 @@ table {
|
|||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
|
||||
@charset "UTF-8";
|
||||
|
||||
@font-face {
|
||||
|
|
@ -1522,7 +1522,7 @@ table {
|
|||
.icon-resize-out:before {
|
||||
content: "\e06d";
|
||||
}
|
||||
|
||||
|
||||
/** initial setup **/
|
||||
.nano {
|
||||
/*
|
||||
|
|
@ -1638,7 +1638,7 @@ table {
|
|||
.nano > .pane2.active > .slider2 {
|
||||
background-color: rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
|
||||
/* Magnific Popup CSS */
|
||||
.mfp-bg {
|
||||
position: fixed;
|
||||
|
|
@ -2094,7 +2094,7 @@ img.mfp-img {
|
|||
padding-top: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* overlay at start */
|
||||
.mfp-fade.mfp-bg {
|
||||
|
|
@ -2135,7 +2135,7 @@ img.mfp-img {
|
|||
-ms-transform: translateX(50px);
|
||||
transform: translateX(50px);
|
||||
}
|
||||
|
||||
|
||||
.simple-pace {
|
||||
pointer-events: none;
|
||||
|
||||
|
|
@ -2210,7 +2210,7 @@ img.mfp-img {
|
|||
transform: translate(-32px, 0);
|
||||
transform: translate(-32px, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
.inputosaurus-container {
|
||||
display: inline-block;
|
||||
margin: 0 5px 0 0;
|
||||
|
|
@ -2275,7 +2275,7 @@ img.mfp-img {
|
|||
.inputosaurus-input-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.flag-wrapper {
|
||||
display: inline-block;
|
||||
width: 24px;
|
||||
|
|
@ -2401,7 +2401,7 @@ img.mfp-img {
|
|||
.flag.flag-zh-cn,
|
||||
.flag.flag-zh-hk {
|
||||
background-position: -208px -22px;
|
||||
}
|
||||
}
|
||||
/* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */
|
||||
.clearfix {
|
||||
*zoom: 1;
|
||||
|
|
|
|||
10194
rainloop/v/0.0.0/static/js/701a517c70faed82fff3.chunk.js
Normal file
10194
rainloop/v/0.0.0/static/js/701a517c70faed82fff3.chunk.js
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
5
rainloop/v/0.0.0/static/js/admin.min.js
vendored
5
rainloop/v/0.0.0/static/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load diff
11
rainloop/v/0.0.0/static/js/app.min.js
vendored
11
rainloop/v/0.0.0/static/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
6696
rainloop/v/0.0.0/static/js/common.js
Normal file
6696
rainloop/v/0.0.0/static/js/common.js
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
3
rainloop/v/0.0.0/static/js/min/admin.js
Normal file
3
rainloop/v/0.0.0/static/js/min/admin.js
Normal file
File diff suppressed because one or more lines are too long
4
rainloop/v/0.0.0/static/js/min/app.js
Normal file
4
rainloop/v/0.0.0/static/js/min/app.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
rainloop/v/0.0.0/static/js/min/common.js
Normal file
4
rainloop/v/0.0.0/static/js/min/common.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue