Modified location of banner to assets/images

modified index.html to point to correct bootstrap resource.
modified index.js to open ResourcesLandingPage.html
Modified ResourcesLandingPage.html to remove foot and point to correct bootstrap resource.
moved ResourcesLandingPage.css to assets/pages/styles folder
build-validation
David Tookey 5 years ago
parent 19b9212339
commit 87067fe3d9

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

@ -6,10 +6,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<link rel="stylesheet" href="styles/bootstrap.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="ResourcesLandingPage.css">
<link rel="stylesheet" href="styles/ResourcesLandingPage.css">
<title>Resources</title>
</head>
@ -215,8 +215,8 @@
<p class="float-right">
<a href="#">Back to top</a>
</p>
<p>Album example is &copy; Bootstrap, but please download and customize it for yourself!</p>
<p>New to Bootstrap? <a href="https://getbootstrap.com/">Visit the homepage</a> or read our <a href="/docs/4.5/getting-started/introduction/">getting started guide</a>.</p>
<!-- <p>Album example is &copy; Bootstrap, but please download and customize it for yourself!</p>-->
<!-- <p>New to Bootstrap? <a href="https://getbootstrap.com/">Visit the homepage</a> or read our <a href="/docs/4.5/getting-started/introduction/">getting started guide</a>.</p>-->
</div>
</footer>
<!-- Option 2: jQuery, Popper.js, and Bootstrap JS

@ -6,16 +6,20 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<link rel="stylesheet" href="styles/bootstrap.css">
<title>Resources</title>
</head>
<body>
<h1>Resources</h1>
<!-- Option 2: jQuery, Popper.js, and Bootstrap JS
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js" integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s" crossorigin="anonymous"></script>
-->
</body>
<!-- Option 2: jQuery, Popper.js, and Bootstrap JS
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js" integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s" crossorigin="anonymous"></script>
-->
<script>let $ = require('jquery');</script>
<script>require('popper.js')</script>
<script>require('bootstrap')</script>
</html>

@ -3,7 +3,7 @@
padding-bottom: 3rem;
margin-bottom: 0;
background-color: #fff;
background-image: url('FilesImage_WebBanner_1800x600.png');
background-image: url('../../images/FilesImage_WebBanner_1800x600.png');
background-repeat: no-repeat;
background-position:bottom center;
background-size:cover;
@ -32,7 +32,7 @@
.jumbotron p {
color: white;
text-shadow 0 0 10px rgba(0,0,0,0.5);
text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
footer {

@ -24,8 +24,6 @@ function initialize () {
nodeIntegration: true,
preload: path.join(__dirname, 'util', 'preload.js')
},
}
if (process.platform === 'linux') {
@ -33,7 +31,7 @@ function initialize () {
}
mainWindow = new BrowserWindow(windowOptions)
mainWindow.loadURL(path.join('file://', __dirname, '/assets/pages/index.html'))
mainWindow.loadURL(path.join('file://', __dirname, '/assets/pages/ResourcesLandingPage.html'))
// Launch fullscreen with DevTools open, usage: npm run debug
if (debug) {

Loading…
Cancel
Save