Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
osmaxx
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ifs
geometalab
osmaxx
Commits
6fd10bd1
Commit
6fd10bd1
authored
10 years ago
by
Raphael Das Gupta
Browse files
Options
Downloads
Patches
Plain Diff
Pre-select CRS WGS 84
parent
f41720ac
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
existing.html
+4
-4
4 additions, 4 deletions
existing.html
index.html
+2
-10
2 additions, 10 deletions
index.html
with
6 additions
and
14 deletions
existing.html
+
4
−
4
View file @
6fd10bd1
...
...
@@ -312,11 +312,11 @@
<div
class=
'form-group'
>
<div
class=
"form-group"
>
<label
for=
"excerpt-select"
>
Coordinate reference system
</label>
<select
class=
"selectpicker"
data-live-search=
"true"
title=
'<small>Choose from list</small>'
id=
"crs-select"
>
<select
class=
"selectpicker"
data-live-search=
"true"
id=
"crs-select"
>
<optgroup
label=
"Global coordinate reference systems"
>
<option
data-subtext=
"EPSG 3857"
>
Pseudo-Merkator
</option>
<option
data-subtext=
"EPSG 4322"
>
WGS 72
</option>
<option
data-subtext=
"EPSG 4326"
>
WGS 84
</option>
<option
data-subtext=
"EPSG 4326"
selected
>
WGS 84
</option>
<option
data-subtext=
"EPSG 4629"
>
NAD 83
</option>
<option
data-subtext=
"EPSG 4277"
>
OSGB 36
</option>
</optgroup>
...
...
@@ -534,13 +534,13 @@
$
(
'
.selectpicker
'
).
selectpicker
({
});
// Start with no
option
selected, so that the 'title' text is displayed instead.
// Start with no
excerpt
selected, so that the 'title' text is displayed instead.
//
// HACK: While
// $('.selectpicker').selectpicker('deselectAll');
// only works when using the 'multiple' attribute, the following (currently) works
// for regular bootstrap-selects, too. Whether it's supposed to, I don't know.
$
(
'
.selectpicker
'
).
selectpicker
(
'
val
'
,
[]);
$
(
'
#excerpt-select
'
).
selectpicker
(
'
val
'
,
[]);
});
</script>
</body>
...
...
This diff is collapsed.
Click to expand it.
index.html
+
2
−
10
View file @
6fd10bd1
...
...
@@ -98,11 +98,11 @@
<div
class=
'form-group'
>
<div
class=
"form-group"
>
<label
for=
"excerpt-select"
>
Coordinate reference system
</label>
<select
class=
"selectpicker"
data-live-search=
"true"
title=
'<small>Choose from list</small>'
id=
"crs-select"
>
<select
class=
"selectpicker"
data-live-search=
"true"
id=
"crs-select"
>
<optgroup
label=
"Global coordinate reference systems"
>
<option
data-subtext=
"EPSG 3857"
>
Pseudo-Merkator
</option>
<option
data-subtext=
"EPSG 4322"
>
WGS 72
</option>
<option
data-subtext=
"EPSG 4326"
>
WGS 84
</option>
<option
data-subtext=
"EPSG 4326"
selected
>
WGS 84
</option>
<option
data-subtext=
"EPSG 4629"
>
NAD 83
</option>
<option
data-subtext=
"EPSG 4277"
>
OSGB 36
</option>
</optgroup>
...
...
@@ -319,14 +319,6 @@
$
(
document
).
ready
(
function
(
e
)
{
$
(
'
.selectpicker
'
).
selectpicker
({
});
// Start with no option selected, so that the 'title' text is displayed instead.
//
// HACK: While
// $('.selectpicker').selectpicker('deselectAll');
// only works when using the 'multiple' attribute, the following (currently) works
// for regular bootstrap-selects, too. Whether it's supposed to, I don't know.
$
(
'
.selectpicker
'
).
selectpicker
(
'
val
'
,
[]);
});
</script>
</body>
...
...
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