1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-02-26 09:56:29 +00:00

Compare commits

..

No commits in common. "ab6c94312692b0b03fece7ccbc1b1d6121d1fd9e" and "90e38719340958c3eb0589aecd1c11d2dd73240e" have entirely different histories.

2 changed files with 26 additions and 119 deletions

View File

@ -1,4 +1,4 @@
# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay
# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay
# SPDX-License-Identifier: GPL-3.0-or-later
import datetime
@ -77,8 +77,8 @@ def get_row_class(record):
c += " table-info"
elif record.note.balance < 0:
c += " table-danger"
# MODE VIEUXCON=ON
if (datetime.datetime.utcnow().timestamp() - record.note.created_at.timestamp()) > 3600 * 24 * 365 * 3:
#MODE VIEUXCON=ON
if (datetime.datetime.utcnow().timestamp() - record.note.created_at.timestamp()) > 3600*24*365*3:
c += " font-weight-bold"
return c

View File

@ -65,14 +65,10 @@ mark {
/* Last BDE colors */
.bg-primary {
/* background-color: rgb(0, 0, 0) !important; */
/* background-color: rgb(18, 67, 4) !important; */
/* MODE VIEUXCON=ON */
/*Listo/*
/* background-color: rgb(166, 0, 2) !important; */
/*Finalist*/
/* background-color: rgb(0, 119, 139) !important;*/
/*Saperlist*/
background-color: rgb(18, 67, 4) !important;
background-color: rgb(0, 0, 0) !important;
}
html {
@ -87,113 +83,51 @@ body {
.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active {
/*Last BDE*/
/* color: rgb(241, 229, 52);
color: rgb(241, 229, 52);
background-color: rgb(228, 35, 132);
border-color: rgb(228, 35, 132);*/
/*Pot Vieux*/
/*Finalist*/
/*color: #fff;
background-color: rgb(0, 119, 139);
border-color: rgb(0, 119, 139);*/
/*Saperlist*/
color: #fff;
background-color: rgb(18, 67, 46);
border-color: rgb(18, 67, 46);
border-color: rgb(228, 35, 132);
}
.btn-outline-primary {
/*Last BDE*/
/* color: #fff;
color: #fff;
background-color: #000;
border-color: #464647;*/
/*Pot Vieux*/
/*Finalist*/
/*color: rgb(0, 119, 139);
background-color: rgba(248, 249, 250, 0.9);
border-color: rgb(0, 119, 139);*/
/*Saperlist*/
color: rgb(18, 67, 46);
background-color: rgba(248, 249, 250, 0.9);
border-color: rgb(18, 67, 46);
border-color: #464647;
}
.turbolinks-progress-bar {
/*Last BDE*/
/*background-color: #12432E;*/
/*Pot Vieux*/
/*Finalist*/
/*background-color: #01D3FB;*/
/*Saperlist*/
background-color: #12432E;
}
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active {
/*Last BDE*/
/* color: rgb(241, 229, 52);
color: rgb(241, 229, 52);
background-color: rgb(228, 35, 132);
border-color: rgb(228, 35, 132);/*
/*Pot Vieux*/
/*Finalist*/
/*color: #fff;
background-color: rgb(0, 119, 139);
border-color: rgb(0, 119, 139);*/
/*Saperlist*/
color: #fff;
background-color: rgb(18, 67, 46);
border-color: rgb(18, 67, 46);
border-color: rgb(228, 35, 132);
}
.btn-primary {
/*Last BDE*/
/* color: #fff;
color: #fff;
background-color: #000;
border-color: #adb5bd;*/
/*Pot Vieux*/
/*Saperlist*/
color: rgba(248, 249, 250, 0.9);
background-color: rgb(28, 114, 10);
border-color: rgb(18, 67, 46);
border-color: #adb5bd;
}
.border-primary {
/*Last BDE*/
/* border-color: rgb(228, 35, 132) !important;*/
/*Pot Vieux*/
/*Saperlist*/
border-color: rgb(28, 114, 10) !important;
border-color: rgb(228, 35, 132) !important;
}
.btn-secondary {
/*Last BDE*/
/* color: #fff;
color: #fff;
background-color: #000;
border-color: #adb5bd;*/
/*Pot Vieux*/
/*Saperlist*/
color: rgba(248, 249, 250, 0.9);
background-color: rgb(28, 114, 10);
border-color: rgb(18, 67, 46);
border-color: #adb5bd;
}
.btn-secondary:hover,
.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active {
/*Last BDE*/
/* color: rgb(241, 229, 52);
color: rgb(241, 229, 52);
background-color: rgb(228, 35, 132);
border-color: rgb(228, 35, 132);/*
/*Pot Vieux*/
/*Finalist*/
/*color: #fff;
background-color: rgb(0, 119, 139);
border-color: rgb(0, 119, 139);*/
/*Saperlist*/
color: #fff;
background-color: rgb(18, 67, 46);
border-color: rgb(18, 67, 46);
border-color: rgb(228, 35, 132);
}
@ -205,52 +139,25 @@ body {
.btn-outline-dark:hover,
.btn-outline-dark:not(:disabled):not(.disabled).active,
.btn-outline-dark:not(:disabled):not(.disabled):active {
/*Last BDE*/
/* color: rgb(241, 229, 52);
color: rgb(241, 229, 52);
background-color: rgb(228, 35, 132);
border-color: rgb(228, 35, 132);*/
/*Pot Vieux*/
/*Finalist*/
/*color: #fff;
background-color: rgb(0, 119, 139);
border-color: rgb(0, 119, 139);*/
/*Saperlist*/
color: #fff;
background-color: rgb(18, 67, 46);
border-color: rgb(18, 67, 46);
border-color: rgb(228, 35, 132);
}
a {
/*Last BDE*/
/* color: rgb(228, 35, 132);*/
/*Pot Vieux*/
/*Saperlist*/
color: rgb(28, 114, 10);
color: rgb(228, 35, 132);
}
a:hover {
/*Last BDE*/
/* color: rgb(228, 35, 132);*/
/*Pot Vieux*/
/*Saperlist*/
color: rgb(122, 163, 75);
color: rgb(228, 35, 132);
}
.form-control:focus {
/*Last BDE*/
/* box-shadow: 0 0 0 0.25rem rgb(228 35 132 / 50%);
border-color: rgb(228, 35, 132);*/
/*Pot Vieux*/
/*Saperlist*/
box-shadow: 0 0 0 0.25rem rgba(122, 163, 75, 0.25);
border-color: rgb(122, 163, 75);
box-shadow: 0 0 0 0.25rem rgb(228 35 132 / 50%);
border-color: rgb(228, 35, 132);
}
.btn-outline-primary.focus {
/*Last BDE*/
/* box-shadow: 0 0 0 0.25rem rgb(228 35 132 / 10%);*/
/*Pot Vieux*/
/*Saperlist*/
box-shadow: 0 0 0 0.25rem rgba(122, 163, 75, 0.5);
box-shadow: 0 0 0 0.25rem rgb(228 35 132 / 10%);
}