Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
P
Pimaza
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Wiki externe
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Extraits de code
Déploiement
Releases
Registre de conteneurs
Registre de modèles
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté GitLab
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Naze à Gilles
Pimaza
Validations
daff5f27
Valider
daff5f27
rédigé
Il y a 5 ans
par
louis.fourcade@ensiie.fr
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
fix du classement sortant de l'image
parent
89af8cbb
Branches
Branches contenant la validation
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Modifications
1
Afficher les modifications d'espaces
En ligne
Côte à côte
Affichage de
1 fichier modifié
public/js/picture_displayer.js
+143
-136
143 ajouts, 136 suppressions
public/js/picture_displayer.js
avec
143 ajouts
et
136 suppressions
public/js/picture_displayer.js
+
143
−
136
Voir le fichier @
daff5f27
...
@@ -98,21 +98,25 @@ var displayerMoyReview = {
...
@@ -98,21 +98,25 @@ var displayerMoyReview = {
'
<h4>
'
+
real_im
.
data
[
0
].
title
+
'
</h4>
'
+
'
<h4>
'
+
real_im
.
data
[
0
].
title
+
'
</h4>
'
+
'
<p style="font-size: 15px">
'
+
real_im
.
data
[
0
].
description
+
'
</p>
'
+
'
<p style="font-size: 15px">
'
+
real_im
.
data
[
0
].
description
+
'
</p>
'
+
'
</div>
'
+
'
</div>
'
+
'
<div class="actionrow" style="
left: -120px;
margin-bottom:15px;">
'
+
'
<div class="actionrow" style="margin-bottom:15px;">
'
+
'
<form method="POST" action="download.php" target="_blank">
'
+
'
<form method="POST" action="download.php" target="_blank">
'
+
'
<input type="hidden" name="urlget" value="
'
+
correctionURLLink
(
real_im
.
href
)
+
'
">
'
+
'
<input type="hidden" name="urlget" value="
'
+
correctionURLLink
(
real_im
.
href
)
+
'
">
'
+
'
<input type="hidden" name="nasa_id" value="
'
+
currentID
+
'
">
'
+
'
<input type="hidden" name="nasa_id" value="
'
+
currentID
+
'
">
'
+
'
<input type="hidden" name="title" value="
'
+
real_im
.
data
[
0
].
title
+
'
">
'
+
'
<input type="hidden" name="title" value="
'
+
real_im
.
data
[
0
].
title
+
'
">
'
+
'
<input type="hidden" name="preview" value="
'
+
real_im
.
links
[
0
].
href
+
'
"">
'
+
'
<input type="hidden" name="preview" value="
'
+
real_im
.
links
[
0
].
href
+
'
"">
'
+
'
<input type="image" name="submit" alt="Submit" class="download" width="13%" src="./ressources/icons/dwnld.png" onmouseover="this.src=
\'
./ressources/icons/dwnldVert.png
\'
" onmouseout="this.src=
\'
./ressources/icons/dwnld.png
\'
">
'
+
'
<table style="margin-right:5%">
'
+
'
<tbody><tr><td align="left" width="10%">
'
+
'
<input type="image" name="submit" alt="Submit" class="download" width="100%" src="./ressources/icons/dwnld.png" onmouseover="this.src=
\'
./ressources/icons/dwnldVert.png
\'
" onmouseout="this.src=
\'
./ressources/icons/dwnld.png
\'
">
'
+
'
</td>
'
+
'
<td width="51%">
'
+
'
</td>
'
+
'
<td width="29%" style="color:
'
+
color
+
'
; font-size:170%;font-family: abang">
'
+
tab
[
1
]
+
'
</td>
'
+
'
<td align="right" width="10%" style="color:
'
+
color
+
'
; font-size:170%;font-family: abang">
'
+
tab
[
2
]
+
'
</td>
'
+
'
</tr></tbody></table>
'
+
'
</form>
'
+
'
</form>
'
+
'
</div>
'
+
'
</div>
'
+
'
<div class="actionrow" style="color:
'
+
color
+
'
;left:15px;margin-bottom:15px;right:15px;font-size:35px;font-family: abang">
'
+
tab
[
1
]
+
'
</div>
'
+
'
<div class="actionrow" style="color:
'
+
color
+
'
;margin-left: 45%;margin-bottom:15px;right:15px;font-size:35px;font-family: abang">
'
+
tab
[
2
]
+
'
</div>
'
+
'
</div>
'
+
'
</div>
'
+
'
</div>
'
+
'
</div>
'
+
'
</div>
'
);
'
</div>
'
);
...
@@ -157,14 +161,6 @@ var displayerNbCDC = {
...
@@ -157,14 +161,6 @@ var displayerNbCDC = {
// console.log("ascii:" + tab[0] + ", " + tab[1]);
// console.log("ascii:" + tab[0] + ", " + tab[1]);
var
currentID
=
intListToString
(
tab
[
0
]);
var
currentID
=
intListToString
(
tab
[
0
]);
var
nbCDC
=
parseInt
(
tab
[
1
]);
var
nbCDC
=
parseInt
(
tab
[
1
]);
console
.
log
(
10000
*
parseInt
(
tab
[
2
],
10
));
setTimeout
(
affiche_dans_lordre
(
whereToDisplay
,
tab
,
currentID
,
nbCDC
),
100
*
parseInt
(
tab
[
2
],
10
));
}
);
}
}
function
affiche_dans_lordre
(
whereToDisplay
,
tab
,
currentID
,
nbCDC
)
{
if
(
nbCDC
>=
25
)
if
(
nbCDC
>=
25
)
var
color
=
"
yellow
"
var
color
=
"
yellow
"
else
else
...
@@ -193,26 +189,37 @@ function affiche_dans_lordre(whereToDisplay, tab, currentID, nbCDC ) {
...
@@ -193,26 +189,37 @@ function affiche_dans_lordre(whereToDisplay, tab, currentID, nbCDC ) {
'
<h4>
'
+
real_im
.
data
[
0
].
title
+
'
</h4>
'
+
'
<h4>
'
+
real_im
.
data
[
0
].
title
+
'
</h4>
'
+
'
<p style="font-size: 15px">
'
+
real_im
.
data
[
0
].
description
+
'
</p>
'
+
'
<p style="font-size: 15px">
'
+
real_im
.
data
[
0
].
description
+
'
</p>
'
+
'
</div>
'
+
'
</div>
'
+
'
<div class="actionrow" style="
left: -120px;
margin-bottom:15px;">
'
+
'
<div class="actionrow" style="margin-bottom:15px;">
'
+
'
<form method="POST" action="download.php" target="_blank">
'
+
'
<form method="POST" action="download.php" target="_blank">
'
+
'
<input type="hidden" name="urlget" value="
'
+
correctionURLLink
(
real_im
.
href
)
+
'
">
'
+
'
<input type="hidden" name="urlget" value="
'
+
correctionURLLink
(
real_im
.
href
)
+
'
">
'
+
'
<input type="hidden" name="nasa_id" value="
'
+
currentID
+
'
">
'
+
'
<input type="hidden" name="nasa_id" value="
'
+
currentID
+
'
">
'
+
'
<input type="hidden" name="title" value="
'
+
real_im
.
data
[
0
].
title
+
'
">
'
+
'
<input type="hidden" name="title" value="
'
+
real_im
.
data
[
0
].
title
+
'
">
'
+
'
<input type="hidden" name="preview" value="
'
+
real_im
.
links
[
0
].
href
+
'
"">
'
+
'
<input type="hidden" name="preview" value="
'
+
real_im
.
links
[
0
].
href
+
'
"">
'
+
'
<input type="image" name="submit" alt="Submit" class="download" width="13%" src="./ressources/icons/dwnld.png" onmouseover="this.src=
\'
./ressources/icons/dwnldVert.png
\'
" onmouseout="this.src=
\'
./ressources/icons/dwnld.png
\'
">
'
+
'
<table style="margin-right:5%">
'
+
'
<tbody><tr><td align="left" width="10%">
'
+
'
<input type="image" name="submit" alt="Submit" class="download" width="100%" src="./ressources/icons/dwnld.png" onmouseover="this.src=
\'
./ressources/icons/dwnldVert.png
\'
" onmouseout="this.src=
\'
./ressources/icons/dwnld.png
\'
">
'
+
'
</td>
'
+
'
<td width="51%">
'
+
'
</td>
'
+
'
<td width="29%" style="color:
'
+
color
+
'
; font-size:170%;font-family: abang">
'
+
tab
[
1
]
+
'
</td>
'
+
'
<td align="right" width="10%" style="color:
'
+
color
+
'
; font-size:170%;font-family: abang">
'
+
tab
[
2
]
+
'
</td>
'
+
'
</tr></tbody></table>
'
+
'
</form>
'
+
'
</form>
'
+
'
</div>
'
+
'
</div>
'
+
'
<div class="actionrow" style="color:
'
+
color
+
'
;left:15px;margin-bottom:15px;right:15px;font-size:35px;font-family: abang">
'
+
tab
[
1
]
+
'
</div>
'
+
'
<div class="actionrow" style="color:
'
+
color
+
'
;margin-left: 45%;margin-bottom:15px;right:15px;font-size:35px;font-family: abang">
'
+
tab
[
2
]
+
'
</div>
'
+
'
</div>
'
+
'
</div>
'
+
'
</div>
'
+
'
</div>
'
+
'
</div>
'
);
'
</div>
'
);
});
});
}
}
);
}
}
function
affiche_dans_lordre
(
whereToDisplay
,
tab
,
currentID
,
nbCDC
)
{
}
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter