themes cadoles
This commit is contained in:
parent
78831a1bec
commit
50b9c9fd33
12
Makefile
12
Makefile
|
@ -19,12 +19,24 @@ installdirs:
|
||||||
$(INSTALL_DIR) $(DIR_TEMPLATE)/transnum
|
$(INSTALL_DIR) $(DIR_TEMPLATE)/transnum
|
||||||
$(INSTALL_DIR) $(DIR_STATIC)/transnum
|
$(INSTALL_DIR) $(DIR_STATIC)/transnum
|
||||||
|
|
||||||
|
# Cadoles
|
||||||
|
$(INSTALL_DIR) $(DIR_TEMPLATE)/cadoles
|
||||||
|
$(INSTALL_DIR) $(DIR_STATIC)/cadoles
|
||||||
|
|
||||||
install: installdirs
|
install: installdirs
|
||||||
# Transnum
|
# Transnum
|
||||||
cp -r src/transnum/template/* ${DIR_TEMPLATE}/transnum/
|
cp -r src/transnum/template/* ${DIR_TEMPLATE}/transnum/
|
||||||
cp -r src/transnum/static/* ${DIR_STATIC}/transnum/
|
cp -r src/transnum/static/* ${DIR_STATIC}/transnum/
|
||||||
|
|
||||||
|
# Cadoles
|
||||||
|
cp -r src/cadoles/template/* ${DIR_TEMPLATE}/cadoles/
|
||||||
|
cp -r src/cadoles/static/* ${DIR_STATIC}/cadoles/
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
# Transnum
|
# Transnum
|
||||||
$(RM) -r $(DIR_TEMPLATE)/transnum
|
$(RM) -r $(DIR_TEMPLATE)/transnum
|
||||||
$(RM) -r $(DIR_STATIC)/transnum
|
$(RM) -r $(DIR_STATIC)/transnum
|
||||||
|
|
||||||
|
# Cadoles
|
||||||
|
$(RM) -r $(DIR_TEMPLATE)/cadoles
|
||||||
|
$(RM) -r $(DIR_STATIC)/cadoles
|
||||||
|
|
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 545 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
|
@ -0,0 +1,19 @@
|
||||||
|
$(document).ready(function() {
|
||||||
|
|
||||||
|
// Adapt some class to fit Bootstrap theme
|
||||||
|
$("div.message-positive").addClass("alert-success");
|
||||||
|
$("div.message-warning").addClass("alert-warning");
|
||||||
|
$("div.message-negative").addClass("alert-danger");
|
||||||
|
|
||||||
|
$("table.info").addClass("table");
|
||||||
|
|
||||||
|
$(".notifCheck").addClass("checkbox");
|
||||||
|
|
||||||
|
// Collapse menu on click
|
||||||
|
$('.collapse li[class!="dropdown"]').on('click', function() {
|
||||||
|
if (!$('.navbar-toggler').hasClass('collapsed')) {
|
||||||
|
$(".navbar-toggler").trigger("click");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
|
@ -0,0 +1 @@
|
||||||
|
$(document).ready(function(){$("div.message-positive").addClass("alert-success"),$("div.message-warning").addClass("alert-warning"),$("div.message-negative").addClass("alert-danger"),$("table.info").addClass("table"),$(".notifCheck").addClass("checkbox"),$('.collapse li[class!="dropdown"]').on("click",function(){$(".navbar-toggler").hasClass("collapsed")||$(".navbar-toggler").trigger("click")})});
|
|
@ -0,0 +1 @@
|
||||||
|
{"version":3,"sources":["lemonldap-ng-portal/site/htdocs/static/bootstrap/js/skin.js"],"names":["$","document","ready","addClass","on","hasClass","trigger"],"mappings":"AAAAA,EAAEC,UAAUC,MAAM,WAGhBF,EAAE,wBAAwBG,SAAS,iBACnCH,EAAE,uBAAuBG,SAAS,iBAClCH,EAAE,wBAAwBG,SAAS,gBAEnCH,EAAE,cAAcG,SAAS,SAEzBH,EAAE,eAAeG,SAAS,YAG1BH,EAAE,mCAAmCI,GAAG,QAAS,WAC1CJ,EAAE,mBAAmBK,SAAS,cACjCL,EAAE,mBAAmBM,QAAQ"}
|
|
@ -0,0 +1,45 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: 'LexendDeca-Regular';
|
||||||
|
src: url('LexendDeca-Regular.ttf') format('truetype');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
body{
|
||||||
|
background-image: linear-gradient(90deg,rgba(14,151,174,1),rgba(14,151,174,0.8)),url(cadoles-header.jpg);
|
||||||
|
background-position-y: 0px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mytitle {
|
||||||
|
color: #ffffff;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 75px;
|
||||||
|
font-family: LexendDeca-Regular;
|
||||||
|
margin-top: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mylogo {
|
||||||
|
width:100px;
|
||||||
|
background: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#logincontent {
|
||||||
|
max-width:500px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.alert {
|
||||||
|
background-color: #cf000f;
|
||||||
|
border-color: #cf000f;
|
||||||
|
color:#fff;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
border-radius: 10px;
|
||||||
|
|
||||||
|
}
|
||||||
|
#footer{
|
||||||
|
display: none;
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
<!-- Custom HTML header -->
|
||||||
|
<TMPL_IF NAME="MAIN_LOGO">
|
||||||
|
<h1 id="mytitle">CADOLES</h1>
|
||||||
|
<img id="mylogo" src="<TMPL_VAR NAME="STATIC_PREFIX"><TMPL_VAR NAME="SKIN">/cadoles-logo.png" class="img-fluid mx-auto d-block" />
|
||||||
|
</TMPL_IF>
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue