Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a new logo file and four template files which override the stock … #70

Merged
merged 1 commit into from
Mar 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions webapp/WEB-INF/templates/skin/site/minimal_header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<!DOCTYPE html>
<html>
<head>
<title>${page_title}</title>
<base href="${base_url}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Styles -->
<#if plugin_theme?? >
<link href="${plugin_theme.pathCss}/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="${plugin_theme.pathCss}/page_template_styles.css" type="text/css" media="screen" />
<#else>
<link href="${theme.pathCss}/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="${theme.pathCss}/page_template_styles.css" type="text/css" media="screen, projection" />
</#if>
<link href="css/font-awesome.min.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<link href="css/bootstrap-responsive.min.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="https://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="favicon.ico">
<!-- add style for wider navbar -->
<style>
.center {text-align: center; margin-left: auto; margin-right: auto; margin-bottom:2em; margin-top: auto;}
.navbar-custom {
height: 70px;
}
</style>
</head>
<body>
<!-- header -->
<header role="banner">
<nav class="navbar navbar-default navbar-fixed-top navbar-custom" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#lutece-navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">
<img src="images/logo-header-50.png" title="Home" alt="Home" />
</a>
</div>
<div class="collapse navbar-collapse" id="lutece-navbar-collapse">

<form class="navbar-form navbar-right" role="search" action="jsp/site/Portal.jsp" method="get">
<input type="hidden" name="page" value="search" >
<div class="form-group">
<input type="text" class="form-control" name="query" id="query" placeholder="#i18n{portal.site.page_menu_tools.labelSearch}">
</div>
<button type="submit" class="btn btn-default">#i18n{portal.site.page_menu_tools.labelSearch}</button>
</form>
</div>
</nav>
</header>
<!-- end header -->
127 changes: 127 additions & 0 deletions webapp/WEB-INF/templates/skin/site/page_frameset.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
<!DOCTYPE html>
<html lang="${user_context_language}">
<head>
<base href="${base_url}">
<title>${favourite} - ${page_name}</title>
<meta http-equiv="x-ua-compatible" content="IE=edge" >
<meta charset="${encoding}">
<meta http-equiv="Content-Type" content="text/html">
<meta name="author" content="${meta_author}">
<meta name="copyright" content="${meta_copyright}">
<meta name="keywords" content="${meta_keywords}">
<meta name="description" content="${meta_description}">
<meta name="generator" content="${meta_generator}">
<!-- Dublin Core metadatas -->
<meta name="DC.Creator" content="${meta_author}">
<meta name="DC.Rights" content="${meta_copyright}">
<meta name="DC.Subject" content="${meta_keywords}">
<meta name="DC.Description" content="${meta_description}">
<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Le style -->
<#if plugin_theme?? >
<#assign thetheme=plugin_theme />
<#else>
<#assign thetheme=theme />
</#if>
<link href="${thetheme.pathCss}/bootstrap.min.css" rel="stylesheet">
<link href="${thetheme.pathCss}/bootstrap-theme.min.css" rel="stylesheet">
<link href="${thetheme.pathCss}/font-awesome.min.css" rel="stylesheet">
<link href="${thetheme.pathCss}/datepicker.css" rel="stylesheet">
<link href="js/jquery/plugins/ui/css/jquery-ui-1.10.0.custom.css" rel="stylesheet">
<link href="${thetheme.pathCss}/page_template_styles.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!-- JQUERY UI: Keep for compatibility -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<link rel="stylesheet" href="js/jquery/plugins/ui/css/jquery.ui-1.10.0.ie.css">
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="${base_url}favicon.ico"/>
<!--
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-57-precomposed.png">
-->
<#if isExtendInstalled?? && isExtendInstalled >
<#if page_id??>
@Extender[${page_id},PAGE,opengraph,{header:true}]@
</#if>
@Extender[ExtendParameteredId,document,opengraph,{header:true}]@
@Extender[ExtendParameteredId,DIRECTORY_RECORD,opengraph,{header:true}]@
</#if>

${extend_meta!}
${document_meta?default("<!-- no document_meta -->")}
${rss?default("<!-- no RSS feed -->")}
${plugins_css_links}
<!-- Included JS Files -->
<script src="js/jquery/jquery.min.js"></script>
<!-- add style for wider nav bar -->
<style type='text/css'>
body {
padding: 70px;
}
.navbar-custom {
height: 70px;
}
</style>
${statistical_include_head}
</head>
<body>
<!-- header -->
<header role="banner" id="site_header">
${page_header}
</header>
<!-- end header -->
<div class="container-fluid">
<!-- container -->
${social!}
${contextinclude!}
${contextinclude_1!}
${page_path}
<#if page_id?? && isExtendInstalled?? && isExtendInstalled >
<div class="pull-right">
@Extender[${page_id},PAGE,opengraph,{header:false,footer:false}]@
@Extender[${page_id},PAGE,hit,{show:true}]@
@Extender[${page_id},PAGE,rating,{show:"all"}]@
</div>
@Extender[${page_id},PAGE,actionbar]@
</#if>

${page_content}
<#if page_id?? && isExtendInstalled?? && isExtendInstalled>
@Extender[${page_id},PAGE,comment]@
@Extender[${page_id},PAGE,feedback]@
</#if>
${contextinclude_2!}

<#if display_last_modified?? && display_last_modified >
<@row>
<div class="col-xs-12 col-sm-12 col-md-12">
<p class="text-right">#i18n{portal.site.site_property.page.lastModified} ${last_modified!} </p>
</br>
</div>
</@row>
</#if>

<!-- container -->
<br />
</div>
<footer role="contentinfo" id="site_footer">
${page_footer}
</footer>
<#if page_id?? && isExtendInstalled?? && isExtendInstalled >
@Extender[${page_id},PAGE,opengraph,{footer:true}]@
</#if>
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/bootstrap.min.js"></script>
${plugins_javascript_links}
${statistical_include}
</body>
</html>
31 changes: 31 additions & 0 deletions webapp/WEB-INF/templates/skin/site/page_header_home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<nav class="navbar navbar-default navbar-fixed-top navbar-custom" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#lutece-navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">
<img src="images/logo-header-50.png" title="Home" alt="Home" />
</a>
</div>
<div class="collapse navbar-collapse" id="lutece-navbar-collapse">
<#assign menu=page_main_menu>
<ul class="nav navbar-nav">
${page_main_menu_html!menu}
</ul>
<form class="navbar-form navbar-left" role="search" action="jsp/site/Portal.jsp" method="get">
<input type="hidden" name="page" value="search" >
<div class="input-group">
<input type="text" class="form-control" name="query" id="query" placeholder="#i18n{portal.site.page_menu_tools.labelSearch}">
<span class="input-group-btn">
<button class="btn btn-default" type="submit"><span class="glyphicon glyphicon-search" aria-hidden="true"></span></button>
</span>
</div><!-- /input-group -->
</form>
<ul class="nav navbar-nav">
${pageinclude_userlogin?default("<!-- no myLutece plugin installed -->")}
</ul>
</div>
</nav>
33 changes: 33 additions & 0 deletions webapp/WEB-INF/templates/skin/site/page_header_internal.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<nav class="navbar navbar-default navbar-fixed-top navbar-custom" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#lutece-navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">
<img src="images/logo-header-50.png" title="Home" alt="Home" />
</a>
</div>
<div class="collapse navbar-collapse" id="lutece-navbar-collapse">
<#assign menu=page_main_menu>
<ul class="nav navbar-nav">
${page_main_menu_html!menu}
</ul>
<form class="navbar-form navbar-left" role="search" action="jsp/site/Portal.jsp" method="get">
<input type="hidden" name="page" value="search" >
<div class="input-group">
<input type="text" class="form-control" name="query" id="query" placeholder="#i18n{portal.site.page_menu_tools.labelSearch}">
<span class="input-group-btn">
<button class="btn btn-default" type="submit"><span class="glyphicon glyphicon-search" aria-hidden="true"></span></button>
</span>
</div><!-- /input-group -->
</form>
<ul class="nav navbar-nav">
${pageinclude_userlogin?default("<!-- no myLutece plugin installed -->")}
</ul>
</div>
</nav>


Binary file added webapp/images/logo-header-50.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.