Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
e49c9989
Commit
e49c9989
authored
May 31, 2017
by
Michael Kroes
Committed by
Joshua Tauberer
May 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fetch whole bootstrap - fixes missing icons in admin (#1185)
parent
a13fd903
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
10 deletions
+9
-10
index.html
management/templates/index.html
+3
-3
management.sh
setup/management.sh
+6
-7
No files found.
management/templates/index.html
View file @
e49c9989
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<meta
name=
"robots"
content=
"noindex, nofollow"
>
<meta
name=
"robots"
content=
"noindex, nofollow"
>
<link
rel=
"stylesheet"
href=
"/admin/assets/bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"/admin/assets/bootstrap
/css/bootstrap
.min.css"
>
<style>
<style>
body
{
body
{
overflow-y
:
scroll
;
overflow-y
:
scroll
;
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
margin-bottom
:
1em
;
margin-bottom
:
1em
;
}
}
</style>
</style>
<link
rel=
"stylesheet"
href=
"/admin/assets/bootstrap-theme.min.css"
>
<link
rel=
"stylesheet"
href=
"/admin/assets/bootstrap
/css/bootstrap
-theme.min.css"
>
</head>
</head>
<body>
<body>
...
@@ -192,7 +192,7 @@
...
@@ -192,7 +192,7 @@
</div>
</div>
<script
src=
"/admin/assets/jquery.min.js"
></script>
<script
src=
"/admin/assets/jquery.min.js"
></script>
<script
src=
"/admin/assets/bootstrap.min.js"
></script>
<script
src=
"/admin/assets/bootstrap
/js/bootstrap
.min.js"
></script>
<script>
<script>
var
global_modal_state
=
null
;
var
global_modal_state
=
null
;
...
...
setup/management.sh
View file @
e49c9989
...
@@ -66,6 +66,7 @@ fi
...
@@ -66,6 +66,7 @@ fi
# Make sure we have the directory to save to.
# Make sure we have the directory to save to.
assets_dir
=
/usr/local/lib/mailinabox/vendor/assets
assets_dir
=
/usr/local/lib/mailinabox/vendor/assets
rm
-rf
$assets_dir
mkdir
-p
$assets_dir
mkdir
-p
$assets_dir
# jQuery CDN URL
# jQuery CDN URL
...
@@ -77,15 +78,13 @@ wget_verify $jquery_url/jquery-$jquery_version.min.js 43dc554608df885a59ddeece15
...
@@ -77,15 +78,13 @@ wget_verify $jquery_url/jquery-$jquery_version.min.js 43dc554608df885a59ddeece15
# Bootstrap CDN URL
# Bootstrap CDN URL
bootstrap_version
=
3.3.7
bootstrap_version
=
3.3.7
bootstrap_url
=
https://
maxcdn.bootstrapcdn.com/bootstrap/
$bootstrap_version
bootstrap_url
=
https://
github.com/twbs/bootstrap/releases/download/v
$bootstrap_version
/bootstrap-
$bootstrap_version
-dist
.zip
# Get Bootstrap
# Get Bootstrap
wget_verify
$bootstrap_url
/js/bootstrap.min.js 430a443d74830fe9be26efca431f448c1b3740f9
$assets_dir
/bootstrap.min.js
wget_verify
$bootstrap_url
e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a /tmp/bootstrap.zip
wget_verify
$bootstrap_url
/css/bootstrap-theme.min.css 8256575374f430476bdcd49de98c77990229ce31
$assets_dir
/bootstrap-theme.min.css
unzip
-q
/tmp/bootstrap.zip
-d
/usr/local/lib/mailinabox/vendor/assets
wget_verify
$bootstrap_url
/css/bootstrap-theme.min.css.map 87f7dfd79d77051ac2eca7d093d961fbd1c8f6eb
$assets_dir
/bootstrap-theme.min.css.map
mv
/usr/local/lib/mailinabox/vendor/assets/bootstrap-
$bootstrap_version
-dist
/usr/local/lib/mailinabox/vendor/assets/bootstrap
wget_verify
$bootstrap_url
/css/bootstrap.min.css 6527d8bf3e1e9368bab8c7b60f56bc01fa3afd68
$assets_dir
/bootstrap.min.css
rm
-f
/tmp/bootstrap.zip
wget_verify
$bootstrap_url
/css/bootstrap.min.css.map e0d7b2bde55a0bac1b658a507e8ca491a6729e06
$assets_dir
/bootstrap.min.css.map
# Link the management server daemon into a well known location.
# Link the management server daemon into a well known location.
rm
-f
/usr/local/bin/mailinabox-daemon
rm
-f
/usr/local/bin/mailinabox-daemon
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment