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
3f4fcd4e
Commit
3f4fcd4e
authored
2 years ago
by
Timothee P
Browse files
Options
Downloads
Patches
Plain Diff
add max level zoom range input to project edition
parent
546d01eb
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/Project/ProjectEdit.vue
+68
-47
68 additions, 47 deletions
src/views/Project/ProjectEdit.vue
with
68 additions
and
47 deletions
src/views/Project/ProjectEdit.vue
+
68
−
47
View file @
3f4fcd4e
...
@@ -156,55 +156,74 @@
...
@@ -156,55 +156,74 @@
</div>
</div>
</div>
</div>
<div
class=
"field"
>
<div
class=
"two fields"
>
<div
class=
"ui checkbox"
>
<div
class=
"fields grouped"
>
<input
<div
class=
"field"
>
id=
"moderation"
<div
class=
"ui checkbox"
>
v-model=
"form.moderation"
<input
class=
"hidden"
id=
"moderation"
type=
"checkbox"
v-model=
"form.moderation"
name=
"moderation"
class=
"hidden"
>
type=
"checkbox"
<label
for=
"moderation"
>
Modération
</label>
name=
"moderation"
</div>
>
</div>
<label
for=
"moderation"
>
Modération
</label>
</div>
<div
class=
"field"
>
</div>
<div
class=
"ui checkbox"
>
<input
<div
class=
"field"
>
id=
"is_project_type"
<div
class=
"ui checkbox"
>
v-model=
"form.is_project_type"
<input
class=
"hidden"
id=
"is_project_type"
type=
"checkbox"
v-model=
"form.is_project_type"
name=
"is_project_type"
class=
"hidden"
>
type=
"checkbox"
<label
for=
"is_project_type"
>
Est un projet type
</label>
name=
"is_project_type"
</div>
>
</div>
<label
for=
"is_project_type"
>
Est un projet type
</label>
</div>
<div
class=
"field"
>
</div>
<div
class=
"ui checkbox"
>
<input
<div
class=
"field"
>
id=
"generate_share_link"
<div
class=
"ui checkbox"
>
v-model=
"form.generate_share_link"
<input
class=
"hidden"
id=
"generate_share_link"
type=
"checkbox"
v-model=
"form.generate_share_link"
name=
"generate_share_link"
class=
"hidden"
>
type=
"checkbox"
<label
for=
"generate_share_link"
>
Génération d'un lien de partage externe
</label>
name=
"generate_share_link"
>
<label
for=
"generate_share_link"
>
Génération d'un lien de partage externe
</label>
</div>
</div>
<div
class=
"field"
>
<div
class=
"ui checkbox"
>
<input
id=
"fast_edition_mode"
v-model=
"form.fast_edition_mode"
class=
"hidden"
type=
"checkbox"
name=
"fast_edition_mode"
>
<label
for=
"fast_edition_mode"
>
Mode d'édition rapide de signalements
</label>
</div>
</div>
</div>
</div>
</div>
<div
class=
"field"
>
<div
class=
"field required"
>
<div
class=
"ui checkbox"
>
<label>
Niveau de zoom maximum de la carte
</label>
<input
<div
class=
"range-container"
>
id=
"fast_edition_mode"
<input
v-model=
"form.fast_edition_mode"
v-model=
"form.map_max_zoom_level"
class=
"hidden"
type=
"range"
type=
"checkbox"
min=
"0"
name=
"fast_edition_mode"
max=
"22"
>
step=
"1"
<label
for=
"fast_edition_mode"
>
Mode d'édition rapide de signalements
</label>
><output
class=
"range-output-bubble"
>
{{
form
.
map_max_zoom_level
}}
</output>
</div>
</div>
</div>
</div>
</div>
...
@@ -267,6 +286,7 @@ export default {
...
@@ -267,6 +286,7 @@ export default {
access_level_arch_feature
:
{
name
:
''
,
value
:
''
},
access_level_arch_feature
:
{
name
:
''
,
value
:
''
},
archive_feature
:
0
,
archive_feature
:
0
,
delete_feature
:
0
,
delete_feature
:
0
,
map_max_zoom_level
:
22
,
nb_features
:
0
,
nb_features
:
0
,
nb_published_features
:
0
,
nb_published_features
:
0
,
nb_comments
:
0
,
nb_comments
:
0
,
...
@@ -520,6 +540,7 @@ export default {
...
@@ -520,6 +540,7 @@ export default {
access_level_pub_feature
:
this
.
form
.
access_level_pub_feature
.
value
,
access_level_pub_feature
:
this
.
form
.
access_level_pub_feature
.
value
,
archive_feature
:
this
.
form
.
archive_feature
,
archive_feature
:
this
.
form
.
archive_feature
,
delete_feature
:
this
.
form
.
delete_feature
,
delete_feature
:
this
.
form
.
delete_feature
,
map_max_zoom_level
:
this
.
form
.
map_max_zoom_level
,
is_project_type
:
this
.
form
.
is_project_type
,
is_project_type
:
this
.
form
.
is_project_type
,
generate_share_link
:
this
.
form
.
generate_share_link
,
generate_share_link
:
this
.
form
.
generate_share_link
,
fast_edition_mode
:
this
.
form
.
fast_edition_mode
,
fast_edition_mode
:
this
.
form
.
fast_edition_mode
,
...
...
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