Commit 80b05f2c authored by Bastien Zigmann's avatar Bastien Zigmann Committed by Vincent Dubois

Ajout de statistiques dans le menu de droite, celles-ci sont stockées dans les préférences user OSM

parent bae68be6
This diff is collapsed.
......@@ -16,6 +16,8 @@ class MyNotification {
DisconnectionNOK: "Echec de la deconnexion du compte OSM", //DONE BUT NOT TESTED
ValidatedOK: "Element validé", //DONE
ValidatedNOK: "Echec de la validation de l'élement", //DONE BUT NOT TESTED
InvalidatedOK: "Element signalé",
InvalidatedNOK: "Echec de la signalisation de l'élement",
LocalisationNOK: "Echec de la localisation", //DONE
AutoServerChanged: "Problème de connexion avec le server, changement automatique", //DONE BUT NOT TESTED
ServerChanged: "Changement de server éffectué", //DONE
......@@ -46,6 +48,12 @@ class MyNotification {
ValidatedNOK() {
this.box.show(this.notif.ValidatedNOK);
}
InvalidatedOK(){
this.box.show(this.notif.InvalidatedOK);
}
InvalidatedNOK(){
this.box.show(this.notif.InvalidatedNOK);
}
LocalisationNOK() {
this.box.show(this.notif.LocalisationNOK);
}
......
......@@ -127,6 +127,12 @@ $(document).ready(() => {
$('#userAction #login').hide();
$('#userAction #logout').show();
$('.map-menu-item:has(#userImage)').show();
$('#userInfo').show();
}
let updateStats = () => {
$('#userNbValid').text(`Validations : ${geocropping._userNbValidated}`);
$('#userNbInvalid').text(`Signalements : ${geocropping._userNbInvalidated}`);
}
/**
* Cacher les information nécessaire a la connection
......@@ -144,8 +150,8 @@ $(document).ready(() => {
}
$geocropping.on('userDisconnected', userDisconnected);
$geocropping.on('userConnected', userConnected);
$geocropping.on('updateStats', updateStats);
/**
* Mettre a jour les informations de l'utilisateur qui sont affichées
......@@ -169,7 +175,7 @@ $(document).ready(() => {
geocropping.createMap('map');
// pour permettre le redimentionnement après la crétion de la carte leaflet
// pour permettre le redimentionnement après la création de la carte leaflet
document.getElementById('mapArea').style.width = "auto";
geocropping.startLocateUser();
......
......@@ -8,6 +8,8 @@
* @class Geocropping
*/
declare class Geocropping {
_userNbValidated: number;
_userNbInvalidated: number;
/**
* Gestion de la connexion à osm
*
......@@ -312,4 +314,5 @@ declare class Geocropping {
_checkChanges(): void;
_removeChanges(resPref: any, changes: number[]): void;
_ajoutPreferenceUnique(id: any, version: any): void;
_getStats(): void;
}
......@@ -15,6 +15,8 @@ declare class MyNotification {
DisconnectionNOK(): void;
ValidatedOK(): void;
ValidatedNOK(): void;
InvalidatedOK(): void;
InvalidatedNOK(): void;
LocalisationNOK(): void;
AutoServerChanged(): void;
ServerChanged(): void;
......
......@@ -126,6 +126,14 @@ body {
padding-right: initial;
}
.popup-info h3{
margin-top: 0px;
}
.popup-info .table{
margin-bottom: 0px;
}
.popup-info {
word-wrap: break-word;
margin: 10px;
......@@ -134,6 +142,11 @@ body {
max-height: inherit;
}
.signalTitle {
font-size: initial;
font-weight: bold;
}
@media screen and (max-height: 450px) {
.side-nav {
padding-top: 15px;
......
......@@ -72,13 +72,16 @@ if (empty($_SERVER['HTTPS'])) {
</div>
<div class="side-nav fit-right fit-top menu" style="right:-250px;width:250px">
<div class="side-nav-body">
<div id="userInfo" style="display:none;">
<div id="userName">User Name</div>
</div>
<div id="userAction">
<button class="btn" id="login">Connexion</button>
<button class="btn" id="logout" style="display:none;">Déconnexion</button>
</div>
<div id="userInfo"><br>
<div id="userName">User Name</div><br>
<div id="userNbValid">Nombre d'éléments validés : </div>
<div id="userNbInvalid">Nombre d'éléments signalés : </div>
</div>
<hr>
<div id="menu">
<div class="form-group">
<label for="urlInterpreter">Serveur:</label>
......
This diff is collapsed.
This diff is collapsed.
......@@ -12,6 +12,8 @@ var MyNotification = (function () {
DisconnectionNOK: "Echec de la deconnexion du compte OSM",
ValidatedOK: "Element validé",
ValidatedNOK: "Echec de la validation de l'élement",
InvalidatedOK: "Element signalé",
InvalidatedNOK: "Echec de la signalisation de l'élement",
LocalisationNOK: "Echec de la localisation",
AutoServerChanged: "Problème de connexion avec le server, changement automatique",
ServerChanged: "Changement de server éffectué",
......@@ -41,6 +43,12 @@ var MyNotification = (function () {
MyNotification.prototype.ValidatedNOK = function () {
this.box.show(this.notif.ValidatedNOK);
};
MyNotification.prototype.InvalidatedOK = function () {
this.box.show(this.notif.InvalidatedOK);
};
MyNotification.prototype.InvalidatedNOK = function () {
this.box.show(this.notif.InvalidatedNOK);
};
MyNotification.prototype.LocalisationNOK = function () {
this.box.show(this.notif.LocalisationNOK);
};
......
{"version":3,"file":"MyNotification.js","sourceRoot":"","sources":["../.ts/MyNotification.ts"],"names":[],"mappings":";AAAA,yCAAyC;AACzC,2CAA2C;AAE3C;IAMC,wBAAY,GAAU;QAJtB,YAAO,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC;QAKnD,IAAI,CAAC,GAAG,GAAI,CAAC,CAAC,OAAe,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAClE,IAAI,CAAC,KAAK,GAAG;YACZ,YAAY,EAAE,iCAAiC;YAC/C,aAAa,EAAE,qCAAqC;YACpD,eAAe,EAAE,2BAA2B;YAC5C,gBAAgB,EAAE,uCAAuC;YACzD,WAAW,EAAE,gBAAgB;YAC7B,YAAY,EAAE,qCAAqC;YACnD,eAAe,EAAE,0BAA0B;YAC3C,iBAAiB,EAAE,8DAA8D;YACjF,aAAa,EAAE,+BAA+B;YAC9C,cAAc,EAAE,gDAAgD;YAChE,eAAe,EAAE,+BAA+B;YAChD,YAAY,EAAE,wGAAwG;YACtH,kBAAkB,EAAE,mCAAmC;YACvD,iBAAiB,EAAE,iCAAiC;YACpD,iBAAiB,EAAE,2CAA2C;SAC9D,CAAC;IACH,CAAC;IAED,qCAAY,GAAZ;QACC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IACxC,CAAC;IACD,sCAAa,GAAb;QACC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,C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,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA,CAAC;QAC5B,IAAI,CAAC,CAAC;YACL,IAAI,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC;YACxC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACzC,IAAI,IAAI,6EAA0E,OAAO,CAAC,CAAC,CAAC,8BAAsB,OAAO,CAAC,CAAC,CAAC,WAAQ,CAAC;YACtI,CAAC;YACD,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;YAClD,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACpB,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;QACjC,CAAC;IACF,CAAC;IACD,2CAAkB,GAAlB;QACC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;IAC9C,CAAC;IACD,0CAAiB,GAAjB;QACC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAA;IAC5C,CAAC;IACF,qBAAC;AAAD,CAAC,AA3FD,IA2FC"}
\ No newline at end of file
......@@ -116,6 +116,11 @@ $(document).ready(function () {
$('#userAction #login').hide();
$('#userAction #logout').show();
$('.map-menu-item:has(#userImage)').show();
$('#userInfo').show();
};
var updateStats = function () {
$('#userNbValid').text("Validations : " + geocropping._userNbValidated);
$('#userNbInvalid').text("Signalements : " + geocropping._userNbInvalidated);
};
/**
* Cacher les information nécessaire a la connection
......@@ -131,6 +136,7 @@ $(document).ready(function () {
};
$geocropping.on('userDisconnected', userDisconnected);
$geocropping.on('userConnected', userConnected);
$geocropping.on('updateStats', updateStats);
/**
* Mettre a jour les informations de l'utilisateur qui sont affichées
*
......@@ -152,7 +158,7 @@ $(document).ready(function () {
}
;
geocropping.createMap('map');
// pour permettre le redimentionnement après la crétion de la carte leaflet
// pour permettre le redimentionnement après la création de la carte leaflet
document.getElementById('mapArea').style.width = "auto";
geocropping.startLocateUser();
});
......
{"version":3,"file":"index.js","sourceRoot":"","sources":["../.ts/index.ts"],"names":[],"mappings":";AAAA,yCAAyC;AACzC,2CAA2C;AAE3C;;;GAGG;AACH;IACI,IAAI,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,GAAG,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC;IACpF,EAAE,CAAC,CAAC,WAAW,KAAK,CAAC,CAAC;QAClB,cAAc,EAAE,CAAC;IACrB,IAAI;QACA,aAAa,EAAE,CAAC;AACxB,CAAC;AAED;;;GAGG;AACH;IACI,EAAE,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE,CAAC,IAAI,GAAG,CAAC,CAAC,oBAAoB,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QAChF,aAAa,EAAE,CAAC;IACpB,IAAI;QACA,YAAY,EAAE,CAAC;AACvB,CAAC;AAED;;;GAGG;AACH;IACI,YAAY,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AACD;;;;GAIG;AACH,sBAAsB,KAAc;IAChC,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,oBAAoB,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;IACnE,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC;QACZ,CAAC,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;IAC1E,IAAI,CAAC,CAAC;QACF,CAAC,CAAC,o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;QAC1B,aAAa,EAAE,CAAC;IACpB,CAAC;IAAC,IAAI,CAAC,CAAC;QACJ,gBAAgB,EAAE,CAAC;IACvB,CAAC;IAAA,CAAC;IAEF,WAAW,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAE7B,4EAA4E;IAC5E,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,KAAK,GAAG,MAAM,CAAC;IAExD,WAAW,CAAC,eAAe,EAAE,CAAC;AAClC,CAAC,CAAC,CAAC"}
\ No newline at end of file
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