Compare commits
4 Commits
pkg/stable
...
master
Author | SHA1 | Date | |
---|---|---|---|
7ef76fbbff | |||
50b9c9fd33 | |||
78831a1bec | |||
c54a8c3005 |
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
|
||||||
|
1
debian/compat
vendored
1
debian/compat
vendored
@ -1 +0,0 @@
|
|||||||
7
|
|
14
debian/control
vendored
14
debian/control
vendored
@ -1,14 +0,0 @@
|
|||||||
Source: eole-lemonldap-themes
|
|
||||||
Section: web
|
|
||||||
Priority: optional
|
|
||||||
Maintainer: CADOLES <contact@cadoles.com>
|
|
||||||
Build-Depends: debhelper (>= 7.0.50)
|
|
||||||
Standards-Version: 3.8.4
|
|
||||||
Homepage: https://forge.cadoles.com/afornerot/eole-lemonldap-themes.git
|
|
||||||
Vcs-Git: https://forge.cadoles.com/afornerot/eole-lemonldap-themes.git
|
|
||||||
Vcs-Browser: https://forge.cadoles.com/afornerot/eole-lemonldap-themes.git
|
|
||||||
|
|
||||||
Package: eole-lemonldap-themes
|
|
||||||
Architecture: all
|
|
||||||
Depends: ${misc:Depends}, eole-lemonldap
|
|
||||||
Description: Templates Lemonldap.
|
|
44
debian/copyright
vendored
44
debian/copyright
vendored
@ -1,44 +0,0 @@
|
|||||||
Format: http://dep.debian.net/deps/dep5
|
|
||||||
Upstream-Name: {PROJECT}
|
|
||||||
Source: {URL}
|
|
||||||
|
|
||||||
Files: *
|
|
||||||
Copyright: YEAR {UPSTREAM} {AUTHOR} <{MAIL}>
|
|
||||||
License: {UPSTREAM LICENSE}
|
|
||||||
|
|
||||||
Files: debian/*
|
|
||||||
Copyright: Cadoles <contact@cadoles.com>
|
|
||||||
License: CeCILL-2
|
|
||||||
|
|
||||||
License: {UPSTREAM LICENSE}
|
|
||||||
{TEXT OF THE LICENSE}
|
|
||||||
|
|
||||||
License: CeCILL-2
|
|
||||||
This software is governed by the CeCILL-2 license under French law and
|
|
||||||
abiding by the rules of distribution of free software. You can use,
|
|
||||||
modify and or redistribute the software under the terms of the CeCILL-2
|
|
||||||
license as circulated by CEA, CNRS and INRIA at the following URL
|
|
||||||
"http://www.cecill.info";.
|
|
||||||
.
|
|
||||||
As a counterpart to the access to the source code and rights to copy,
|
|
||||||
modify and redistribute granted by the license, users are provided only
|
|
||||||
with a limited warranty and the software's author, the holder of the
|
|
||||||
economic rights, and the successive licensors have only limited
|
|
||||||
liability.
|
|
||||||
.
|
|
||||||
In this respect, the user's attention is drawn to the risks associated
|
|
||||||
with loading, using, modifying and/or developing or reproducing the
|
|
||||||
software by the user in light of its specific status of free software,
|
|
||||||
that may mean that it is complicated to manipulate, and that also
|
|
||||||
therefore means that it is reserved for developers and experienced
|
|
||||||
professionals having in-depth computer knowledge. Users are therefore
|
|
||||||
encouraged to load and test the software's suitability as regards their
|
|
||||||
requirements in conditions enabling the security of their systems and/or
|
|
||||||
data to be ensured and, more generally, to use and operate it in the
|
|
||||||
same conditions as regards security.
|
|
||||||
.
|
|
||||||
The fact that you are presently reading this means that you have had
|
|
||||||
knowledge of the CeCILL-2 license and that you accept its terms.
|
|
||||||
.
|
|
||||||
On Eole systems, the complete text of the CeCILL-2 License can be found
|
|
||||||
in '/usr/share/common-licenses/CeCILL-2-en'.
|
|
1
debian/eole-lemonldap-themes.install
vendored
1
debian/eole-lemonldap-themes.install
vendored
@ -1 +0,0 @@
|
|||||||
/usr/share/lemonldap-ng/portal-skins
|
|
7
debian/eole-lemonldap-themes.postinst
vendored
7
debian/eole-lemonldap-themes.postinst
vendored
@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Création du lien de template transnum
|
|
||||||
if [ ! -L "/usr/share/lemonldap-ng/portal/templates/transnum" ]
|
|
||||||
then
|
|
||||||
ln -s /usr/share/lemonldap-ng/portal/templates/transnum /var/lib/lemonldap-ng/portal/skins/transnum
|
|
||||||
fi
|
|
3
debian/gbp.conf
vendored
3
debian/gbp.conf
vendored
@ -1,3 +0,0 @@
|
|||||||
# Set per distribution debian tag
|
|
||||||
[DEFAULT]
|
|
||||||
debian-tag = debian/envole/%(version)s
|
|
20
debian/rules
vendored
20
debian/rules
vendored
@ -1,20 +0,0 @@
|
|||||||
#!/usr/bin/make -f
|
|
||||||
# -*- makefile -*-
|
|
||||||
|
|
||||||
# Uncomment this to turn on verbose mode.
|
|
||||||
#export DH_VERBOSE=1
|
|
||||||
|
|
||||||
%:
|
|
||||||
dh $@
|
|
||||||
|
|
||||||
override_dh_install:
|
|
||||||
dh_install -peole-draaf --exclude=slapd.conf.patch \
|
|
||||||
--exclude=cas.inc.php.tmpl.patch \
|
|
||||||
--exclude=25-bdd-admin \
|
|
||||||
--exclude=25_bdd_server.xml
|
|
||||||
dh_install -pdraaf-apps
|
|
||||||
dh_install -pdraaf-lemontheme
|
|
||||||
dh_install -pdraaf-envoletheme
|
|
||||||
dh_install -pdraaf-ldap
|
|
||||||
dh_install -pdraaf-patchsso
|
|
||||||
dh_install -pdraaf-bdd
|
|
1
debian/source/format
vendored
1
debian/source/format
vendored
@ -1 +0,0 @@
|
|||||||
3.0 (native)
|
|
BIN
src/cadoles/static/LexendDeca-Regular.ttf
Normal file
BIN
src/cadoles/static/LexendDeca-Regular.ttf
Normal file
Binary file not shown.
BIN
src/cadoles/static/cadoles-header.jpg
Normal file
BIN
src/cadoles/static/cadoles-header.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 545 KiB |
BIN
src/cadoles/static/cadoles-logo.png
Executable file
BIN
src/cadoles/static/cadoles-logo.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
19
src/cadoles/static/js/skin.js
Normal file
19
src/cadoles/static/js/skin.js
Normal file
@ -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");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
1
src/cadoles/static/js/skin.min.js
vendored
Normal file
1
src/cadoles/static/js/skin.min.js
vendored
Normal file
@ -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")})});
|
1
src/cadoles/static/js/skin.min.js.map
Normal file
1
src/cadoles/static/js/skin.min.js.map
Normal file
@ -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"}
|
42
src/cadoles/static/styles.css
Normal file
42
src/cadoles/static/styles.css
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
@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 {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
border-radius: 10px;
|
||||||
|
|
||||||
|
}
|
||||||
|
#footer{
|
||||||
|
display: none;
|
||||||
|
}
|
5
src/cadoles/template/customheader.tpl
Normal file
5
src/cadoles/template/customheader.tpl
Normal file
@ -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>
|
40
src/cadoles/template/header.tpl
Normal file
40
src/cadoles/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>
|
||||||
|
|
19
src/transnum/static/js/skin.js
Normal file
19
src/transnum/static/js/skin.js
Normal file
@ -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");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
1
src/transnum/static/js/skin.min.js
vendored
Normal file
1
src/transnum/static/js/skin.min.js
vendored
Normal file
@ -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")})});
|
1
src/transnum/static/js/skin.min.js.map
Normal file
1
src/transnum/static/js/skin.min.js.map
Normal file
@ -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"}
|
@ -30,7 +30,9 @@ body{
|
|||||||
}
|
}
|
||||||
|
|
||||||
.alert {
|
.alert {
|
||||||
color:#ffffff;
|
background-color: #96281b;
|
||||||
|
border-color: #96281b;
|
||||||
|
color:#fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user