Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Commit

Permalink
Fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Akkadius committed May 31, 2020
1 parent 5345700 commit 53d3699
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 7 deletions.
7 changes: 0 additions & 7 deletions deploy/scripts/build-in-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ rm -rf node_modules && npm install
###################################
cd $cwd/frontend && npm install && npm run build
cp $cwd/frontend/dist/* $cwd/public/ -R
cat $cwd/frontend/dist/index.html
cat $cwd/public/index.html
ls -lsh $cwd
ls -lsh $cwd/frontend
ls -lsh $cwd/frontend/dist/

exit

###################################
# package admin panel to standalone
Expand Down
Binary file added frontend/public/favicon.ico
Binary file not shown.
67 changes: 67 additions & 0 deletions frontend/public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<!doctype html>
<html lang="en" dir="ltr">
<head>

<!-- Meta -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="msapplication-TileColor" content="#2d89ef">
<meta name="theme-color" content="#4188c9">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">

<!-- Favicon -->
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" type="image/x-icon" href="assets/images/favicon.ico"/>

<title>EQEmu Server Admin Panel</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">

<script src="/assets/js/vendors/jquery-3.2.1.min.js"></script>
<script src="/assets/js/vendors/bootstrap.bundle.min.js"></script>
<script src="/assets/js/vendors/circle-progress.min.js"></script>
<script src="/assets/plugins/charts-c3/js/d3.v3.min.js"></script>
<script src="/assets/plugins/charts-c3/js/c3.min.js"></script>
<script src="/assets/plugins/datatables/datatables.min.js"></script>

<!-- Stylesheets -->

<link href="/assets/plugins/charts-c3/plugin.css" rel="stylesheet"/>
<script src="/assets/js/require.min.js"></script>
<script>
requirejs.config({
baseUrl: '/'
})
</script>

<!-- c3.js Charts Plugin -->
<script src="/assets/plugins/charts-c3/plugin.js"></script>
</head>

<body>
<noscript>
<strong>
We're sorry but test-project doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong>
</noscript>

<div id="app"></div>
<!-- built files will be auto injected -->
</body>

<!-- Dashboard Core -->
<script src="/assets/js/dashboard.js"></script>
<!-- Input Mask Plugin -->
<script src="/assets/plugins/input-mask/plugin.js"></script>
<script src="/assets/js/core.js"></script>

<!--<script src="/assets/libs/bootstrap/dist/js/bootstrap.bundle.min.js"></script>-->

<!-- Theme JS -->
<script src="/assets/js/theme.min.js"></script>

</html>

0 comments on commit 53d3699

Please sign in to comment.