d4science-responsive-theme/src/main/webapp/templates/portal_normal.vm

113 lines
3.6 KiB
Plaintext

<!DOCTYPE html>
#parse ($init)
<html class="$root_css_class" dir="#language ("lang.dir")" lang="$w3c_language_id">
<head>
<title>$the_title - $themeDisplay.getSiteGroupName()</title>
<meta content="initial-scale=1.0, width=device-width" name="viewport" />
<meta property="og:title" content="$the_title - $themeDisplay.getSiteGroupName()" />
<meta property="og:type" content="article" />
<meta property="og:description" content="$themeDisplay.getLayout().getGroup().getDescription()" />
<meta property="og:url" content="$site_default_url" />
<meta property="og:image" content="$site_logo" />
$theme.include($top_head_include)
<script type="text/javascript" src="$javascript_folder/jquery-1.12.0.min.js"></script>
<script type="text/javascript" src="$javascript_folder/gcube-context.js"></script>
<style>
#if ($theme.getSetting("override-logo-on-dockbar") == "true")
.aui .dockbar .navbar-inner, .aui .dockbar-split .dockbar .navbar-inner {
background-image: url($site_logo);
background-size: auto 25px;
}
#end
#if ($theme.getSetting("background-image-name") !="")
.aui div#wrapper {
background: #fff url($background-image-name) center top no-repeat;
background-size: 100% 100%;
}
#end
#if ($theme.getSetting("footer-background-color") !="")
.aui .custom-footer {
background-color: $theme.getSetting("footer-background-color");
}
#end
</style>
</head>
<body class="$css_class">
<!-- start customisation -->
<div class="modal" id="expirationModal" tabindex="-1" role="dialog" style="display: none;">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="label">Your session expired!</h4>
</div>
<div class="modal-body">
<div style="text-align:center; margin-bottom: 50px;">
<i class="icon-time" style="color: #AAA; font-size: 10em;"></i>
</div>
<div style="font-size: 18px; text-align:center; margin-bottom: 50px;">
Please try <a href="javascript:location.reload();">reload</a> this page or <a href="/c/portal/logout">logout</a>
</div>
</div>
</div>
</div>
</div>
<script>
injectClientContext();
</script>
<!-- end customisation -->
<a href="#main-content" id="skip-to-content">#language ("skip-to-content")</a>
$theme.include($body_top_include)
#if($is_signed_in)
#dockbar()
#end
<div class="container-fluid" id="wrapper">
<header id="banner" role="banner">
</header>
<div id="content">
#if ($selectable)
$theme.include($content_include)
#else
$portletDisplay.recycle()
$portletDisplay.setTitle($the_title)
$theme.wrapPortlet("portlet.vm", $content_include)
#end
</div>
</div>
<footer class="custom-footer">
<div class="custom-footer-container">
<a target="_blank" href="https://www.d4science.org/contact-us">Contact Us</a> |
<a href="/terms-of-use">Terms of Use</a> |
<a href="/cookie-policy">Cookies Policy</a> |
<a target="_blank" href="https://www.iubenda.com/privacy-policy/441050">Privacy Policy</a> |
<a target="_blank" href="$theme.getSetting("footer-website-url")">$theme.getSetting("footer-website-name")</a>
</div>
<div style="float:right; text-align: right;">
#if ($theme.getSetting("show-eu-flag") == "true")
<a href="http://ec.europa.eu/programmes/horizon2020/" target="_blank">
<img src="$themeDisplay.getPathThemeImages()/custom/logo-ec.jpg" style="width: 35px;" alt="EU H2020 programme" hspace="5" />
</a>
#end
<div style="color: #CCC; font-size: 12px;">$theme.getSetting("footer-text-about")</div>
</div>
</footer>
$theme.include($body_bottom_include)
$theme.include($bottom_include)
</body>
</html>