adaptation lemonldap V2
This commit is contained in:
BIN
src/transnum/static/LexendDeca-Regular.ttf
Normal file
BIN
src/transnum/static/LexendDeca-Regular.ttf
Normal file
Binary file not shown.
43
src/transnum/static/styles.css
Normal file
43
src/transnum/static/styles.css
Normal file
@ -0,0 +1,43 @@
|
||||
@font-face {
|
||||
font-family: 'LexendDeca-Regular';
|
||||
src: url('LexendDeca-Regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
body{
|
||||
background: #05668d;
|
||||
background-image: url(transnum-header.png);
|
||||
background-position-y: 0px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
}
|
||||
|
||||
#mytitle {
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
font-size: 75px;
|
||||
font-family: LexendDeca-Regular;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
#mylogo {
|
||||
width:150px;
|
||||
}
|
||||
|
||||
#logincontent {
|
||||
max-width:500px;
|
||||
}
|
||||
|
||||
.alert {
|
||||
color:#ffffff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.card {
|
||||
border-radius: 10px;
|
||||
|
||||
}
|
||||
#footer{
|
||||
display: none;
|
||||
}
|
BIN
src/transnum/static/transnum-header.png
Normal file
BIN
src/transnum/static/transnum-header.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.1 KiB |
BIN
src/transnum/static/transnum-logo.png
Normal file
BIN
src/transnum/static/transnum-logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
5
src/transnum/template/customheader.tpl
Normal file
5
src/transnum/template/customheader.tpl
Normal file
@ -0,0 +1,5 @@
|
||||
<!-- Custom HTML header -->
|
||||
<TMPL_IF NAME="MAIN_LOGO">
|
||||
<h1 id="mytitle">TRANSNUM</h1>
|
||||
<img id="mylogo" src="<TMPL_VAR NAME="STATIC_PREFIX"><TMPL_VAR NAME="SKIN">/transnum-logo.png" class="img-fluid mx-auto d-block" />
|
||||
</TMPL_IF>
|
40
src/transnum/template/header.tpl
Normal file
40
src/transnum/template/header.tpl
Normal file
@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title trspan="authPortal">Authentication portal</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
||||
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
<meta http-equiv="Expires" content="0" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="STATIC_PREFIX">bwr/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="STATIC_PREFIX">bwr/font-awesome/css/font-awesome.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="STATIC_PREFIX">bootstrap/css/styles.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="STATIC_PREFIX"><TMPL_VAR NAME="SKIN">/styles.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/portal.css" />
|
||||
<!-- 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:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/javascript" src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script type="text/javascript" src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<link href="<TMPL_VAR NAME="STATIC_PREFIX">common/favicon.ico" rel="icon" type="image/vnd.microsoft.icon" sizes="16x16 32x32 48x48 64x64 128x128" />
|
||||
<link href="<TMPL_VAR NAME="STATIC_PREFIX">common/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" sizes="16x16 32x32 48x48 64x64 128x128" />
|
||||
<TMPL_IF NAME="PROVIDERURI">
|
||||
<link rel="openid.server" href="<TMPL_VAR NAME="PROVIDERURI">" />
|
||||
<link rel="openid2.provider" href="<TMPL_VAR NAME="PROVIDERURI">" />
|
||||
</TMPL_IF>
|
||||
<TMPL_INCLUDE NAME="../common/script.tpl">
|
||||
<script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX"><TMPL_VAR NAME="SKIN">/js/skin.min.js"></script>
|
||||
<script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">common/js/portal.min.js"></script>
|
||||
<script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">bwr/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||
<TMPL_VAR NAME="CUSTOM_SCRIPT">
|
||||
<TMPL_INCLUDE NAME="customhead.tpl">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="wrap">
|
||||
|
||||
<div id="header"><TMPL_INCLUDE NAME="customheader.tpl"></div>
|
||||
|
Reference in New Issue
Block a user