Affichage postes
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
commit
eb3240ff4a
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 19 KiB |
@ -0,0 +1,45 @@
|
||||
|
||||
.PolitiqueDeConfidentialiteText{
|
||||
margin-top: 2%;
|
||||
margin-left: 5%;
|
||||
text-indent: 1%;
|
||||
text-align: justify;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
background-color: $color-8;
|
||||
border: 0.2px solid $color-5;
|
||||
max-width:85% ;
|
||||
min-width: 380px;
|
||||
height: 550px;
|
||||
|
||||
p{
|
||||
animation-duration: 2s;
|
||||
animation-name: slide;
|
||||
margin: 1.5%;
|
||||
|
||||
|
||||
@keyframes slide {
|
||||
from {
|
||||
margin-top: 100%;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
to {
|
||||
margin-top: 0%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
#listeNotif{
|
||||
margin-left: 10%;
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
#listeNotif{
|
||||
margin: 2%;
|
||||
margin-left: 8%;
|
||||
padding:1%;
|
||||
border-color: $color-5;
|
||||
border-style:solid;
|
||||
border-width: 0.3px;
|
||||
min-width: 410px;
|
||||
width: 84%;
|
||||
background: $color-8;
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
const UserModel = require("../models/user.model");
|
||||
|
||||
module.exports.addNotification = (userId, notification) => {
|
||||
UserModel.findById(userId, (err, user) => {
|
||||
if (err) {
|
||||
console.log(err);
|
||||
} else {
|
||||
user.notif.push(notification);
|
||||
user.save();
|
||||
}
|
||||
});
|
||||
};
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Loading…
Reference in new issue