Skip to content

Commit

Permalink
Merge pull request #305 from mviewer/evol-rb
Browse files Browse the repository at this point in the history
Evolution Région Bretagne
  • Loading branch information
lecault authored Oct 10, 2024
2 parents 5b7d814 + d42fc35 commit 2713918
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 21 deletions.
20 changes: 10 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,13 @@ <h1>
</div>
<div class="col-md-6 advanced">
<div class="form-group">
<label for="optKeywords" i18n="head.keywords" class="form-label">Mots clés</label>
<label for="optKeywords" class="form-label"><span i18n="head.keywords">Mots clés </span><span class="tooltip-info" data-bs-toggle="tooltip" data-bs-placement="right" data-bs-title="tooltip.app.keywords"><i class="ri-information-line"></i></span></label>
<input class="form-control" onchange="mv.changeKeyWords(this)" id="optKeywords" type="text" name="textinput" placeholder="ex: carte,rennes,lycées">
</div>
</div>
<div class="col-md-6 advanced">
<div class="form-group">
<label for="optProxyUrl" i18n="head.proxyurl" class="form-label">URL du proxy</label>
<label for="optProxyUrl" class="form-label"><span i18n="head.proxyurl">URL du proxy </span><span class="tooltip-info" data-bs-toggle="tooltip" data-bs-placement="right" data-bs-title="tooltip.app.proxy"><i class="ri-information-line"></i></span></label>
<input class="form-control" id="optProxyUrl" type="text" name="textinput" placeholder="https://proxy.fr">
</div>
</div>
Expand Down Expand Up @@ -890,7 +890,7 @@ <h5 class="modal-title" i18n="modal.theme.paramspanel.title">Paramètres de la t
<input type="text" id="theme-edit-title" class="form-control" tabs.search.elastic_search.disabled="Titre">
<div class="custom-control custom-switch mt-2">
<input type="checkbox" class="custom-control-input" id="theme-edit-collapsed">
<label class="custom-control-label" for="theme-edit-collapsed"><span i18n="modal.theme.paramspanel.opt_unfolded">Déroulée par défaut</span></label>
<label class="custom-control-label" for="theme-edit-collapsed"><span i18n="modal.theme.paramspanel.opt_unfolded">Déroulée par défaut</span><span class="tooltip-info" data-bs-toggle="tooltip" data-bs-placement="right" data-bs-title="tooltip.collapsed"><i class="ri-information-line"></i></label>
</div>
</div>
<div class="col-md-6">
Expand Down Expand Up @@ -982,7 +982,7 @@ <h5 class="modal-title"><span i18n="modal.credits.title">Crédits</span></h5>
<div class="row credits">
<div class="col"><img src="https://upload.wikimedia.org/wikipedia/fr/thumb/8/83/R%C3%A9gion-bretagne-logo.svg/132px-R%C3%A9gion-bretagne-logo.svg.png" ></div>
<div class="col"><img src="https://www.hauteloire.fr/sites/cg43/local/cache-vignettes/L227xH85/logo-dept43_2018-85462.jpg"></div>
<div class="col"><img src="https://www.amenagement-numerique.gouv.fr/files/2021-06/megalis_logo.png"></div>
<div class="col"><img src="https://geobretagne.fr/pub/logo/024_megalis.png"></div>
</div>
<div class="row credits">
<div class="col"><img src="img/Logo_France_Relance_vert.svg" ></div>
Expand Down Expand Up @@ -1141,12 +1141,12 @@ <h5 class="modal-title" i18n="modal.layer.edit">Paramètres de la donnée</h5>
Interrogation
</a>
</li>
<li class="nav-item advanced layerOption-wms" role="presentation" style="display: none;">
<li class="nav-item layerOption-wms" role="presentation">
<a class="nav-link" data-bs-toggle="pill" data-bs-target="#layer_conf4" type="button" role="tab" aria-controls="pills-layer_conf4" aria-selected="false" i18n="modal.layer.edit.filter">
Filtre statique
</a>
</li>
<li class="nav-item layerOption-wms" role="presentation">
<li class="nav-item advanced layerOption-wms" role="presentation" style="display: none;">
<a class="nav-link" data-bs-toggle="pill" data-bs-target="#layer_conf5" type="button" role="tab" aria-controls="pills-layer_conf5" aria-selected="false" i18n="modal.layer.edit.choices">
Filtre dynamique
</a>
Expand Down Expand Up @@ -1349,7 +1349,7 @@ <h2 class="accordion-header" >
<input type="number" min="0" class="form-control" id="frm-layer-index" i18n="modal.layer.index"/>
</div>
<div class="col-md-4 layerOption-wms d-none">
<label for="frm-scalemin"><span i18n="modal.layer.scale.min">Echelle mini</span><span class="tooltip-info" data-bs-toggle="tooltip" data-bs-placement="right" data-bs-title="tooltip.scaleview"><i class="ri-information-line"></i></label>
<label for="frm-scalemin"><span i18n="modal.layer.scale.min">Echelle mini</span><span class="tooltip-info" data-bs-toggle="tooltip" data-bs-placement="right" data-bs-title="tooltip.scaleview.min"><i class="ri-information-line"></i></label>
<input type="number" class="form-control" id="frm-scalemin"
placeholder="Echelle mini" i18n="modal.layer.display.ph.minscale"/>
</div>
Expand All @@ -1362,7 +1362,7 @@ <h2 class="accordion-header" >
<div class="form-group mt-2">
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="frm-tiled">
<label class="custom-control-label" for="frm-tiled" i18n="modal.layer.tiled">Affichage tuilé</label>
<label class="custom-control-label" for="frm-tiled" i18n="modal.layer.tiled">Affichage tuilé</label><span class="tooltip-info" data-bs-toggle="tooltip" data-bs-placement="right" data-bs-title="tooltip.tiled"><i class="ri-information-line"></i>
</div>
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="frm-layer-exclusive">
Expand Down Expand Up @@ -1622,13 +1622,13 @@ <h2 class="accordion-header" >
<form>
<div class="form-group mt-3">
<div class="form-group">
<label for="frm-attributelabel" i18n="modal.layer.filter.clientside.label">Nom du filtre</label>
<label for="frm-attributelabel" i18n="modal.layer.filter.clientside.label">Titre du filtre</label>
<input type="textarea" class="form-control" id="frm-attributelabel"
placeholder="Texte à afficher" i18n="modal.layer.filter.clientside.label.ph">
</div>
<div class="form-group row">
<div class="col-md-6">
<label class="control-label" i18n="modal.layer.filter.fields">Champs à filtrer</label>
<label class="control-label" i18n="modal.layer.filter.fields">Champ à filtrer</label>
<select id="opt-attributefield" name="fields" class="form-control"
onchange="extractFeatures(this.value,'control')">
</select>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import StyleCustom from "../forms/StyleCustom.js";

export const header = () => ({
icon: "bi-code-slash",
title: "template.img.title",
title: "template.iframe.title",
id: mv.uuidv4(),
click: () => IframeComponent,
class: "iframeComponent",
Expand Down
28 changes: 18 additions & 10 deletions mviewerstudio.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@
"modal.layer.edit.base": "Général",
"modal.layer.edit.sheet": "Interrogation",
"modal.layer.edit.display": "Options avancées",
"modal.layer.edit.filter": "Filtre statique",
"modal.layer.edit.choices": "Filtre dynamique",
"modal.layer.edit.filter": "Filtre",
"modal.layer.edit.choices": "Liste de choix",
"modal.layer.edit.search": "Recherche",
"modal.layer.name": "Nom",
"modal.layer.name.ph": "Nom de la donnée",
Expand Down Expand Up @@ -252,19 +252,19 @@
"modal.layer.scale.max": "Echelle maxi",
"modal.layer.styles": "Style(s) de la donnée disponible(s)",
"modal.layer.styles.note": "Si plusieurs styles sont sélectionnés, indiquer les libéllés des styles qui apparaîtront dans la liste déroulante.",
"modal.layer.filter.serverside": "Cette fonctionnalité permet de définir des conditions d'affichage des objets de la donnée, selon des valeurs attributaires ou une emprise géographique. Ce filtre statique ne peut pas être désactivé par vos utilisateurs au sein de l'application.",
"modal.layer.filter.serverside": "Cette fonctionnalité permet de filtrer l'affichage des objets de la donnée, selon une valeur attributaire ou une emprise géographique. Ce filtre ne peut pas être désactivé par vos utilisateurs au sein de l'application.",
"modal.layer.filter.geoserver-only-warning.h": "Activable uniquement avec GeoServer.",
"modal.layer.filter.geoserver-only-warning.txt": "Cette fonctionnalité est basée sur un filtre CQL. Les filtres CQL ne peuvent activés qu'avec des données de données issues de Geoserver. Il ne s'agit pas d'une fonction standard de WMS.",
"modal.layer.filter.geoserver-only-warning.txt": "Cette fonctionnalité est basée sur un filtre CQL utilisable uniquement avec des données issues de GeoServer.",
"modal.layer.filter.serverside.active": "Filtre actif",
"modal.layer.filter.cql.ph": "Expression CQL",
"modal.layer.filter.serverside.create": "Créer un filtre",
"modal.layer.filter.serverside.filter.attributes": "Filtre attributaire",
"modal.layer.filter.serverside.filter.geo": "Filtre géographique",
"modal.layer.filter.fields": "Champs à filtrer",
"modal.layer.filter.fields": "Champ à filtrer",
"modal.layer.filter.serverside.filter.operator": "Opérateur",
"modal.layer.filter.selected": "Valeur(s) sélectionnée(s)",
"modal.layer.filter.serverside.filter.apply": "Appliquer le filtre",
"modal.layer.filter.clientside": "Cette fonctionnalité permet de pré-définir des conditions d'affichage attributairs des objets de la donnée. L'utilisateur pourra filtrer les entités selon les conditions définies ci-dessous à l'aide d'une liste déroulante disponible dans le bloc légende.",
"modal.layer.filter.clientside": "Cette fonctionnalité permet de pré-définir des conditions d'affichage attributaires des objets de la donnée via une liste déroulante disponible dans le bloc légende.",
"modal.layer.filter.clientside.label": "Nom du filtre",
"modal.layer.filter.clientside.label.ph": "Texte à afficher",
"modal.layer.search.alert": "Pour utiliser cette fonctionnalité, les entités de la donnée doivent être indexées par ElasticSearch.",
Expand Down Expand Up @@ -298,7 +298,7 @@
"modal.layer.new.provider.ph": "URL du fournisseur",
"modal.layer.new.provider.csw": "CSW",
"modal.layer.new.provider.wms": "WMS",
"modal.layer.new.provider.add": "Ajouter un catalogue de données",
"modal.layer.new.provider.add": "Ajouter une source de données",
"modal.icon.list": "Icône de la thématique",
"modal.iconhelp.list": "Icône du bouton vers la fenêtre d'aide",
"modal.exit.title": "Attention",
Expand Down Expand Up @@ -358,7 +358,7 @@
"msg.xml_save": "Document non sauvegardé. \nVeuillez consulter votre administrateur.",
"template.add_component": "Ajouter un composant",
"template.preview": "Aperçu",
"template.ph.add_field": "Ajouter un champs...",
"template.ph.add_field": "Ajouter un champ...",
"template.msg.invalid_field": "Veuillez choisir un champ valide !",
"template.select_json_field": "Veuillez choisir un champ type JSON !",
"template.input.text": "Saisir un texte...",
Expand Down Expand Up @@ -436,6 +436,8 @@
"template.bg.color": "Background color",
"template.input.static.ph": "Saisir une valeur...",
"template.btn.txt": "Texte du bouton",
"tooltip.app.keywords": "Mots clés à insérer dans la métadonnées de l'application",
"tooltip.app.proxy": "Utilisation d'un proxy pour affichage de données externes",
"tooltip.app.logo": "Logo affiché dans l'onglet du navigateur",
"tooltip.redirect.logo": "Redirection vers la page indiquée lors du clique sur le logo",
"tooltip.logo": "Logo affiché en haut à gauche du mviewer",
Expand All @@ -454,6 +456,7 @@
"tooltip.style.tms.name": "Nom du style à associer à la couche | TMS : voir la documentation mviewer",
"tooltip.pyramid.img.name": "Nom de la pyramide d'images | Voir la documentation mviewer",
"tooltip.home.url": "Lien vers une page .HTML définissant la page d'accueil",
"tooltip.collapsed": "Afficher la liste des couches dans le panneau gauche (possible pour une seule thématique).",
"tooltip.data.source": "Texte permettant de définir la/les source(s) de la donnée",
"tooltip.toplayer": "En activant cette option, la donnée sera toujours en premier plan sur la carte (toplayer)",
"tooltip.expanded": "En activant cette option, le panneau de la couche sera agrandi au démarrage : filtre, analyse, opacité, métadonnées...",
Expand All @@ -464,6 +467,7 @@
"tooltip.indexlayer": "Cette option permet de modifier l'ordre d'apparition d'une donnée par rapport au menu des thématiques. Une couche avec le paramètre index=2 s'affichera en 2e position sur la carte et dans la légende. Pour en savoir plus, consulter la documentation.",
"tooltip.scaleview.min": "Cette option permet d'activer une échelle minimale de visibilité pour cette donnée.",
"tooltip.scaleview.max": "Cette option permet d'activer une échelle maximale de visibilité pour cette donnée.",
"tooltip.tiled": "En activant cette option, l'affichage de la couche est progressif favorisant la performance.",
"tooltip.exclusivelayer": "En activant cette option, l'affichage de cette donnée masquera automatiquement toutes les autres données de la carte ayant ce paramètre activé.",
"tooltip.showintoc": "Cette option permet d'activer l'affichage de la donnée seulement sur la carte et non dans le menu thématique et la légende. Il n'est donc pas possible pour l'utilisateur de modifier les réglages de la donnée (showintoc). Exemple : Donnée permettant de créer un masque pour un territoire.",
"tooltip.external.sld": "Lien vers un fichier au format .SLD définissant le style de la couche"
Expand Down Expand Up @@ -603,7 +607,7 @@
"modal.layer.scale.min": "Min scale",
"modal.layer.scale.max": "Max scale",
"modal.layer.styles": "Styles",
"modal.layer.filter.serverside": "Predefined CQL filter : static attributes filter on objects displayed in the layer.",
"modal.layer.filter.serverside": "This feature allows you to filter the display of data objects by attribute value or geographical area. This filter cannot be deactivated by your users within the application.",
"modal.layer.filter.geoserver-only-warning.h": "Can be activated only with GeoServer",
"modal.layer.filter.geoserver-only-warning.txt": " The CQL filters can only be ativated on layers from GeoServer. This is not a standard WMS functionality.",
"modal.layer.filter.serverside.active": "Active filter",
Expand All @@ -615,7 +619,7 @@
"modal.layer.filter.serverside.filter.operator": "Operator",
"modal.layer.filter.selected": "Selected values",
"modal.layer.filter.serverside.filter.apply": "Apply filter",
"modal.layer.filter.clientside": "Dynamic CQL filter : attributes filter on the objects displayed in the layer, using drop-down lists available under the layer's legend.",
"modal.layer.filter.clientside": "This feature allows you to pre-define the conditions for displaying data objects via a drop-down list available in the legend block.",
"modal.layer.filter.clientside.label": "Label",
"modal.layer.filter.clientside.label.ph": "Text to display",
"modal.layer.search.enable": " Enable search for this data",
Expand Down Expand Up @@ -925,6 +929,8 @@
"template.input.static.ph": "Input value...",
"template.btn.txt": "Button text",
"tooltip.app.logo": "Logo displayed in the browser tab",
"tooltip.app.keywords": "Keywords to insert in application metadata",
"tooltip.app.proxy": "Using a proxy to display external data",
"tooltip.redirect.logo": "Redirect to the page indicated when clicking on the logo",
"tooltip.logo": "Logo displayed at top left of mviewer",
"tooltip.maxzoom": "Option to select the maximum zoom level of the application. Default 20.",
Expand All @@ -942,6 +948,7 @@
"tooltip.style.tms.name": "Name of the style to associate with the layer | TMS: see mviewer documentation",
"tooltip.pyramid.img.name": "Name of image pyramid | See mviewer documentation",
"tooltip.home.url": "Link to an HTML that define the home page",
"tooltip.collapsed": "Display the list of layers in the left panel (possible for a single theme).",
"tooltip.data.source": "Text used to define the data source(s)",
"tooltip.toplayer": "By activating this option, the data will always be in the foreground of the map (toplayer).",
"tooltip.expanded": "By activating this option, the layer panel will be enlarged on start-up : filter, analysis, opacity, metadata...",
Expand All @@ -952,6 +959,7 @@
"tooltip.indexlayer": "This option allows you to change the order in which data appears in the thematic menu. A layer with the parameter index=2 will be displayed in 2nd position on the map and in the legend. To find out more, consult the documentation.",
"tooltip.scaleview.min": "This option activates a minimum visibility scale for this data.",
"tooltip.scaleview.max": "This option activates a maximum visibility scale for this data.",
"tooltip.tiled": "If you activate this option, the display of this data will be progressive. Best for performance.",
"tooltip.exclusivelayer": "If you activate this option, the display of this data will automatically hide all the other data on the map with this parameter activated.",
"tooltip.showintoc": "This option enables the data to be displayed only on the map and not in the thematic menu and legend. It is therefore not possible for the user to modify the data settings (showintoc). Example: Data used to create a mask for an area.",
"tooltip.external.sld": "Link to a file in .SLD format defining the style of the layer"
Expand Down

0 comments on commit 2713918

Please sign in to comment.