forked from indigo-dc/orchestrator-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added icsc configuration file, images and created custom home for icsc (
- Loading branch information
1 parent
189f95f
commit 7618fbe
Showing
11 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block content %} | ||
|
||
<div class = "jumbotron jumbotron-fluid jumbotron-custom"> | ||
<div class="buttonContainer"> | ||
<a class="btn btn-dark btn-lg" role="button" href="{{ url_for("iam.login") }}">Please login, or register »</a> | ||
</div> | ||
<div class="container" style="padding: 5em 2em; display: flex; flex-direction: column; justify-content: center;"> | ||
<h1 class="display-4" style="text-align: center; margin-top: 4em;"><strong>Welcome to the ICSC Dashboard!</strong></h1> | ||
<div class="imgContainer"> | ||
<div class="imgElem" style="background-image: url(/static/home/images/icsc/icsc-logo-lg.png);"></div> | ||
<div class="imgElem" style="background-image: url(/static/home/images/icsc/ecosister-logo.png);"></div> | ||
<div class="imgElem" style="background-image: url(/static/home/images/icsc/terabit-logo.png);"></div> | ||
<!-- <img src="/static/home/images/icsc/icsc-logo-lg.png" alt="ICSC Logo" class="imgElem"> | ||
<img src="/static/home/images/icsc/ecosister-logo.png" alt="Ecosister Logo" class="imgElem"> | ||
<img src="/static/home/images/icsc/terabit-logo.png" alt="Terabit Logo" class="imgElem"> --> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<style> | ||
.jumbotron-custom { | ||
height: 100vh; | ||
margin: 0; | ||
overflow: hidden; | ||
color: #333; | ||
font-weight: bold; | ||
font-family: 'Thasadith', sans-serif; | ||
background-image: url(/static/home/images/icsc/icsc-bg.png); | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
background-size: cover; | ||
} | ||
|
||
.imgContainer { | ||
display: flex; | ||
justify-content: space-around; | ||
flex-wrap: wrap; | ||
align-items: center; | ||
} | ||
|
||
.imgElem { | ||
width: 20em; | ||
height: 7em; | ||
box-shadow: -2px 2px 10px -3px #00000033; | ||
border-radius: 25px; | ||
padding: 20px; | ||
margin: 1em 0; | ||
background: white; | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
background-size: 16em; | ||
} | ||
|
||
.buttonContainer { | ||
width: 100%; | ||
display: flex; | ||
justify-content: flex-end; | ||
padding-right: 3em; | ||
} | ||
|
||
</style> | ||
|
||
<script type="text/javascript"> | ||
|
||
if (!localStorage.DoNotShowGettingStartedMessageAgain || localStorage.DoNotShowGettingStartedMessageAgain != "true") { | ||
$(window).on('load',() => { | ||
$('#gettingStarted').modal('show'); | ||
}); | ||
|
||
$('#gettingStartedCheckbox').click(() => { | ||
if ($('#gettingStartedCheckbox').attr('checked', true)) { | ||
localStorage.DoNotShowGettingStartedMessageAgain = "true"; | ||
} | ||
}); | ||
} | ||
|
||
</script> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#### LOOK AND FEEL SETTINGS | ||
WELCOME_MESSAGE = "Welcome to the ICSC Dashboard!" | ||
NAVBAR_BRAND_TEXT = "Dashboard" | ||
NAVBAR_BRAND_ICON = "/static/home/images/icsc/icsc-logo-md.png" | ||
FAVICON_PATH = "/static/home/images/icsc/icsc-logo-sm.ico" | ||
HELP_PAGE_URL = "https://servicedesk.infn.it" | ||
BRAND_COLOR_1 = "#bdb1b5" | ||
BRAND_COLOR_2 = "#0010a0" | ||
|
||
FEATURE_REQUIRE_USER_SSH_PUBKEY = "yes" | ||
FEATURE_PORTS_REQUEST = "yes" | ||
FEATURE_ACCESS_REQUEST = "no" | ||
|
||
### Template Paths | ||
HOME_TEMPLATE = "icsc/home.html" | ||
FOOTER_TEMPLATE = "icsc/footer.html" | ||
|
||
### Links | ||
PRIVACY_POLICY_URL = "/" |