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
7 years ago
by
Michael Kroes
Committed by
Joshua Tauberer
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fetch whole bootstrap - fixes missing icons in admin (#1185)
parent
a13fd903
Changes
2
Hide 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 @@
<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>
body
{
overflow-y
:
scroll
;
...
...
@@ -63,7 +63,7 @@
margin-bottom
:
1em
;
}
</style>
<link
rel=
"stylesheet"
href=
"/admin/assets/bootstrap-theme.min.css"
>
<link
rel=
"stylesheet"
href=
"/admin/assets/bootstrap
/css/bootstrap
-theme.min.css"
>
</head>
<body>
...
...
@@ -192,7 +192,7 @@
</div>
<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>
var
global_modal_state
=
null
;
...
...
This diff is collapsed.
Click to expand it.
setup/management.sh
View file @
e49c9989
...
...
@@ -66,6 +66,7 @@ fi
# Make sure we have the directory to save to.
assets_dir
=
/usr/local/lib/mailinabox/vendor/assets
rm
-rf
$assets_dir
mkdir
-p
$assets_dir
# jQuery CDN URL
...
...
@@ -77,15 +78,13 @@ wget_verify $jquery_url/jquery-$jquery_version.min.js 43dc554608df885a59ddeece15
# Bootstrap CDN URL
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
wget_verify
$bootstrap_url
/js/bootstrap.min.js 430a443d74830fe9be26efca431f448c1b3740f9
$assets_dir
/bootstrap.min.js
wget_verify
$bootstrap_url
/css/bootstrap-theme.min.css 8256575374f430476bdcd49de98c77990229ce31
$assets_dir
/bootstrap-theme.min.css
wget_verify
$bootstrap_url
/css/bootstrap-theme.min.css.map 87f7dfd79d77051ac2eca7d093d961fbd1c8f6eb
$assets_dir
/bootstrap-theme.min.css.map
wget_verify
$bootstrap_url
/css/bootstrap.min.css 6527d8bf3e1e9368bab8c7b60f56bc01fa3afd68
$assets_dir
/bootstrap.min.css
wget_verify
$bootstrap_url
/css/bootstrap.min.css.map e0d7b2bde55a0bac1b658a507e8ca491a6729e06
$assets_dir
/bootstrap.min.css.map
wget_verify
$bootstrap_url
e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a /tmp/bootstrap.zip
unzip
-q
/tmp/bootstrap.zip
-d
/usr/local/lib/mailinabox/vendor/assets
mv
/usr/local/lib/mailinabox/vendor/assets/bootstrap-
$bootstrap_version
-dist
/usr/local/lib/mailinabox/vendor/assets/bootstrap
rm
-f
/tmp/bootstrap.zip
# Link the management server daemon into a well known location.
rm
-f
/usr/local/bin/mailinabox-daemon
...
...
This diff is collapsed.
Click to expand it.
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