Compare commits

..

7 Commits

18 changed files with 91 additions and 120 deletions

View File

@ -19,24 +19,12 @@ installdirs:
$(INSTALL_DIR) $(DIR_TEMPLATE)/transnum
$(INSTALL_DIR) $(DIR_STATIC)/transnum
# Cadoles
$(INSTALL_DIR) $(DIR_TEMPLATE)/cadoles
$(INSTALL_DIR) $(DIR_STATIC)/cadoles
install: installdirs
# Transnum
cp -r src/transnum/template/* ${DIR_TEMPLATE}/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:
# Transnum
$(RM) -r $(DIR_TEMPLATE)/transnum
$(RM) -r $(DIR_STATIC)/transnum
# Cadoles
$(RM) -r $(DIR_TEMPLATE)/cadoles
$(RM) -r $(DIR_STATIC)/cadoles

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
7

14
debian/control vendored Normal file
View File

@ -0,0 +1,14 @@
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 Normal file
View File

@ -0,0 +1,44 @@
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 Normal file
View File

@ -0,0 +1 @@
/usr/share/lemonldap-ng/portal-skins

7
debian/eole-lemonldap-themes.postinst vendored Normal file
View File

@ -0,0 +1,7 @@
#!/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 Normal file
View File

@ -0,0 +1,3 @@
# Set per distribution debian tag
[DEFAULT]
debian-tag = debian/envole/%(version)s

20
debian/rules vendored Executable file
View File

@ -0,0 +1,20 @@
#!/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 Normal file
View File

@ -0,0 +1 @@
3.0 (native)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 545 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -1,19 +0,0 @@
$(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");
}
});
});

View File

@ -1 +0,0 @@
$(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")})});

View File

@ -1 +0,0 @@
{"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"}

View File

@ -1,42 +0,0 @@
@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;
}

View File

@ -1,5 +0,0 @@
<!-- 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>

View File

@ -1,40 +0,0 @@
<!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>