Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit af955572 authored by Sylvain Coulange's avatar Sylvain Coulange
Browse files

Mise à jour CSS et recupPhon() cartes noTextClip + ajout PhonoDrop en CrossOrigin

parent c9d87c42
......@@ -30,10 +30,12 @@ ALLOWED_HOSTS = ['phonographe.alem-app.fr','127.0.0.1','phonographe-preprod.alem
CORS_ORIGIN_ALLOW_ALL = False
CORS_ALLOWED_ORIGINS = [
"http://127.0.0.1:8000"
"http://127.0.0.1:8000",
"http://phonodrop.alem-app.fr"
]
CSRF_TRUSTED_ORIGINS = [
"http://127.0.0.1:8000"
"http://127.0.0.1:8000",
"http://phonodrop.alem-app.fr"
]
# Application definition
......
......@@ -143,7 +143,7 @@ function recupPhon(identifiant){
var phonId = rectId.replace("rect", "phon")
var newCarte = document.createElement('div')
newCarte.classList = "carte text " + phonId;
newCarte.classList = "carte text " + phonId + " noTextClip";
newCarte.draggable = true
if (identifiant != "space") newCarte.style.backgroundImage = "url('/static/bouches/"+ boucheId + ".jpg')"
// if (identifiant != "space") newCarte.style.background = "url('/static/bouches/"+ boucheId + ".jpg'), linear-gradient(to bottom, #7abcff 0%,#4096ee 100%);"
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment