Mettre en couleur les notes modifiées
This commit is contained in:
parent
8b6e898ecc
commit
75265c8987
|
@ -351,6 +351,7 @@ tr.grayscale input{
|
|||
width: 4em;
|
||||
padding: .5em 1em;
|
||||
|
||||
|
||||
/* border */
|
||||
border-radius: 3px;
|
||||
border: 1px solid #bdbdbd;
|
||||
|
@ -362,7 +363,12 @@ tr.grayscale input:focus{
|
|||
border-color: #999;
|
||||
}
|
||||
|
||||
|
||||
/* .active */
|
||||
.saisie_note.active,
|
||||
tr.grayscale input.active{
|
||||
border-color: #2dcc70;
|
||||
color: #2dcc70;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ class DataBase{
|
|||
public static function getInstance(){
|
||||
if( DataBase::$instance == null ){
|
||||
if( $_SERVER['HTTP_HOST'] == 'sid.local' ) // si co en local
|
||||
DataBase::$instance = new DataBase("localhost", "sid2", "php", "Qt358nUdyeTxLDM8");
|
||||
DataBase::$instance = new DataBase("localhost", "sid3", "php", "Qt358nUdyeTxLDM8");
|
||||
else // si co en ligne
|
||||
DataBase::$instance = new DataBase("mysql.hostinger.fr", "u712664263_sid", "u712664263_php", "Qt358nUdyeTxLDM8");
|
||||
}
|
||||
|
|
|
@ -274,9 +274,7 @@ if( changeYear.select != null && changeYear.button != null ){
|
|||
|
||||
// on envoie la requête à l'API
|
||||
API.send(request, function(answer){
|
||||
if( answer.request == 'success' ){
|
||||
selectSection('home');
|
||||
}
|
||||
if( answer.request == 'success' ) reload();
|
||||
});
|
||||
|
||||
}, false);
|
||||
|
|
|
@ -79,6 +79,7 @@ require_once __ROOT__.'/manager/groups.php';
|
|||
<img data-sublink='settings/profil' src='src/menu/menu_icon/settings@hover.svg'/>Visualiser votre profil<br>
|
||||
<img data-sublink='settings/profil' src='src/menu/menu_icon/settings@hover.svg'/>Modifier votre profil<br>
|
||||
<img data-sublink='settings/attributionrole' src='src/menu/menu_icon/settings@hover.svg'/>Modifier les rôles des autres utilisateurs<br>
|
||||
<img data-sublink='settings/changeyear' src='src/menu/menu_icon/settings@hover.svg'/>Changer l'année de visualisation<br>
|
||||
</p>
|
||||
<?php } ?>
|
||||
|
||||
|
@ -108,6 +109,7 @@ require_once __ROOT__.'/manager/groups.php';
|
|||
<strong>Paramètres</strong><br>
|
||||
<img data-sublink='settings/profil' src='src/menu/menu_icon/settings@hover.svg'/>Visualiser votre profil<br>
|
||||
<img data-sublink='settings/profil' src='src/menu/menu_icon/settings@hover.svg'/>Modifier votre profil<br>
|
||||
<img data-sublink='settings/changeyear' src='src/menu/menu_icon/settings@hover.svg'/>Changer l'année de visualisation<br>
|
||||
</p>
|
||||
|
||||
<?php } ?>
|
||||
|
|
|
@ -291,7 +291,7 @@ if( permission('master') || permission('admin') ){
|
|||
|
||||
if( $answer->request == 'success' ){ // si pas d'erreur
|
||||
|
||||
echo "<section name='changeyear' data-title='Autre année'>";
|
||||
echo "<section name='changeyear' data-title='".anneeScolaire($_SESSION['annee'])."'>";
|
||||
echo "<div class='p center'>";
|
||||
|
||||
echo "Changement de l'année de visualisation<br>";
|
||||
|
|
Loading…
Reference in New Issue