Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GeoInt_SIDT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
GeoInt_SIDT
Commits
b1779c9d
Commit
b1779c9d
authored
Oct 11, 2019
by
Luis Dominguez
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of gitlab.geoint.mx:mario.chirinos/GeoInt_SIDT into dev
parents
a5949114
06ca6105
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
Reports_scripts.js
reports/static/reports/js/Reports_scripts.js
+11
-0
Reports.html
reports/templates/Reports.html
+8
-0
No files found.
reports/static/reports/js/Reports_scripts.js
View file @
b1779c9d
...
...
@@ -79,6 +79,9 @@ function showMyModalSetTitle(name, data) {
$
(
'#myModalTitle'
).
empty
();
$
(
'#myModalTitle'
).
append
(
name
);
$
(
"#mapmodal"
).
modal
();
//console.log(data)
document
.
getElementById
(
"polygonText"
).
value
=
data
;
setTimeout
(
function
()
{
...
...
@@ -88,6 +91,14 @@ function showMyModalSetTitle(name, data) {
}
function
copyPolygonText
(){
const
textarea
=
document
.
getElementById
(
"polygonText"
);
textarea
.
select
();
document
.
execCommand
(
'copy'
);
//console.log("copy")
}
function
createmap
(
data
)
{
/*var map = new ol.Map({
...
...
reports/templates/Reports.html
View file @
b1779c9d
...
...
@@ -310,7 +310,15 @@
<div
id=
"map"
class=
"map"
></div>
</div>
<div
class=
"modal-footer"
>
<div
align =
"left"
>
<textarea
id =
"polygonText"
readonly
rows=
"5"
style=
"width: 61em; resize:none; font-size: 7pt;"
>
POLYGON
</textarea>
</div>
<button
style=
"float: left; type="
button
"
class=
"btn btn-default"
onclick=
"copyPolygonText()"
>
Copy polygon
</button>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
Close
</button>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment