Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Géocontrib Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
externe Matthieu
Géocontrib Frontend
Commits
7d8e3d33
Commit
7d8e3d33
authored
3 years ago
by
Florent Lavelle
Browse files
Options
Downloads
Patches
Plain Diff
remove color selectors on feature type create and edit
parent
7fe24dbc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/views/FeatureType/FeatureTypeEdit.vue
+0
-122
0 additions, 122 deletions
src/views/FeatureType/FeatureTypeEdit.vue
with
0 additions
and
122 deletions
src/views/FeatureType/FeatureTypeEdit.vue
+
0
−
122
View file @
7d8e3d33
...
@@ -86,22 +86,6 @@
...
@@ -86,22 +86,6 @@
:selection.sync=
"selectedGeomType"
:selection.sync=
"selectedGeomType"
/>
/>
</div>
</div>
<div
v-if=
"selectedGeomType !== 'Point'"
class=
"required field"
>
<label
:for=
"form.color.id_for_label"
>
{{
form
.
color
.
label
}}
</label>
<input
:id=
"form.color.id_for_label"
v-model=
"form.color.value"
type=
"color"
required
style=
"width: 100%; height: 38px"
:name=
"form.color.html_name"
@
blur=
"updateStore"
>
</div>
</div>
</div>
<div
class=
"field"
>
<div
class=
"field"
>
<div
class=
"ui checkbox"
>
<div
class=
"ui checkbox"
>
...
@@ -116,114 +100,8 @@
...
@@ -116,114 +100,8 @@
</div>
</div>
</div>
</div>
<!-- //* s'affiche après sélection d'option de type liste dans type de champ -->
<div
v-if=
"colorsStyleList.length > 0 && selectedGeomType !== 'Point'"
id=
"id_style_container"
class=
"custom_style"
>
<div
id=
"id_list_selection"
class=
"list_selection"
>
<Dropdown
:options=
"colorsStyleList"
:selected=
"selected_colors_style"
:selection.sync=
"selected_colors_style"
:placeholder=
"'Sélectionner la liste de valeurs'"
/>
</div>
<div
id=
"id_colors_selection"
class=
"colors_selection"
hidden
>
<div
v-for=
"(value, key, index) in form.colors_style.value.colors"
:key=
"'colors_style-' + index"
>
<div
v-if=
"key"
class=
"color-input"
>
<label>
{{
key
}}
</label><input
:name=
"key"
type=
"color"
:value=
"value"
@
input=
"setColorStyles"
>
</div>
</div>
</div>
</div>
<span
v-if=
"action === 'duplicate' || action === 'edit'"
/>
<span
v-if=
"action === 'duplicate' || action === 'edit'"
/>
<!--
<div
v-if=
"csvFields && csvFields.length"
id=
"csv-fields"
>
<table
class=
"ui striped table"
>
<thead>
<tr>
<th>
Champ
</th>
<th>
X
</th>
<th>
Y
</th>
</tr>
</thead>
<tbody>
<tr
v-for=
"field in csvFields"
:key=
"field.field"
>
<td>
{{
field
.
field
}}
</td>
<td>
<div
class=
"ui radio checkbox"
:class=
"
{ disabled: field.y }"
>
<input
:disabled=
"field.y"
type=
"radio"
name=
"x"
@
input=
"pickXcsvCoordField(field)"
>
<label
/>
</div>
</td>
<td>
<div
class=
"ui radio checkbox"
:class=
"
{ disabled: field.x }"
>
<input
:disabled=
"field.x"
type=
"radio"
name=
"y"
@
input=
"pickYcsvCoordField(field)"
>
<label
/>
</div>
</td>
</tr>
</tbody>
</table>
<button
class=
"ui teal icon button margin-25"
type=
"button"
:disabled=
"
!csvFields.some(el => el.x === true) ||
!csvFields.some(el => el.y === true)
"
@
click=
"setCSVCoordsFields"
>
<i
class=
"white save icon"
/>
Continuer
</button>
</div>
-->
<div
v-else
>
<div
v-else
>
<div
id=
"formsets"
>
<div
id=
"formsets"
>
<FeatureTypeCustomForm
<FeatureTypeCustomForm
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment