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
51406255
Commit
51406255
authored
Mar 13, 2019
by
Irving David
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ahora abre las imagenes originales al hacer click en la imagen pequeña
parent
41381b9b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
reportImg.js
reports/static/reports/js/reportImg.js
+7
-2
L2ASCL_data.html
reports/templates/L2ASCL_data.html
+3
-3
No files found.
reports/static/reports/js/reportImg.js
View file @
51406255
...
@@ -70,8 +70,13 @@ function scl_on(imagePoint) {
...
@@ -70,8 +70,13 @@ function scl_on(imagePoint) {
// $(".prev").show();
// $(".prev").show();
}
}
function
scl_stop
()
{
function
open_big_image
(
image
)
{
console
.
log
(
"scl off!!"
)
console
.
log
(
"Opening big image"
)
console
.
log
(
"image:"
)
console
.
log
(
image
)
image_big
=
image
.
replace
(
"/thumbnails"
,
""
);
console
.
log
(
image_big
)
window
.
open
(
image_big
)
// $(".next").show();
// $(".next").show();
// $(".prev").show();
// $(".prev").show();
}
}
...
...
reports/templates/L2ASCL_data.html
View file @
51406255
...
@@ -197,7 +197,7 @@
...
@@ -197,7 +197,7 @@
<div
class=
"row img-comp-container"
>
<div
class=
"row img-comp-container"
>
<div
class=
"col-lg-10 col-md-9 col-xs-10 col-lg-offset-1 col-md-offset-1 col-xs-offset-2"
<div
class=
"col-lg-10 col-md-9 col-xs-10 col-lg-offset-1 col-md-offset-1 col-xs-offset-2"
style=
"padding: 0px 0px 0px 42px;"
>
style=
"padding: 0px 0px 0px 42px;"
>
<img
onclick=
"
window.open
(this.src)"
width=
"375"
id=
"satImage"
src=
"../../static/reports/tmpImages/repsat_test_dev/{{ IMAGE_PATH }}{{ dafaultLabel }}_TCI_60m.jpg"
<img
onclick=
"
open_big_image
(this.src)"
width=
"375"
id=
"satImage"
src=
"../../static/reports/tmpImages/repsat_test_dev/{{ IMAGE_PATH }}{{ dafaultLabel }}_TCI_60m.jpg"
style=
"margin-left: auto; margin-right: auto; display: block;"
>
style=
"margin-left: auto; margin-right: auto; display: block;"
>
</div>
</div>
</div>
</div>
...
@@ -243,12 +243,12 @@
...
@@ -243,12 +243,12 @@
</div>
</div>
<div
class=
"col-lg-10 col-md-9 col-xs-10 col-lg-offset-2 col-md-offset-1 col-xs-offset-2 img-comp-img"
id=
"showImage"
<div
class=
"col-lg-10 col-md-9 col-xs-10 col-lg-offset-2 col-md-offset-1 col-xs-offset-2 img-comp-img"
id=
"showImage"
style=
"padding: 0px 0px 0px 42px;"
>
style=
"padding: 0px 0px 0px 42px;"
>
<img
onclick=
"
window.open
(this.src)"
width=
"375"
id=
"satImageSecond"
src=
"../../static/reports/tmpImages/repsat_test_dev/{{ IMAGE_PATH }}{{labels.1}}_TCI_60m.jpg"
<img
onclick=
"
open_big_image
(this.src)"
width=
"375"
id=
"satImageSecond"
src=
"../../static/reports/tmpImages/repsat_test_dev/{{ IMAGE_PATH }}{{labels.1}}_TCI_60m.jpg"
style=
"margin-left: auto; margin-right: auto; display: block;"
>
style=
"margin-left: auto; margin-right: auto; display: block;"
>
</div>
</div>
<div
class=
"col-lg-10 col-md-9 col-xs-10 col-lg-offset-2 col-md-offset-1 col-xs-offset-2 img-comp-img img-comp-overlay"
<div
class=
"col-lg-10 col-md-9 col-xs-10 col-lg-offset-2 col-md-offset-1 col-xs-offset-2 img-comp-img img-comp-overlay"
id=
"showSecondImage"
style=
"padding: 0px 0px 0px 42px;"
"
>
id=
"showSecondImage"
style=
"padding: 0px 0px 0px 42px;"
"
>
<img
onclick=
"
window.open
(this.src)"
width=
"375"
id=
"satImageFirst"
src=
"../../static/reports/tmpImages/repsat_test_dev/{{ IMAGE_PATH }}{{labels.0}}_TCI_60m.jpg"
<img
onclick=
"
open_big_image
(this.src)"
width=
"375"
id=
"satImageFirst"
src=
"../../static/reports/tmpImages/repsat_test_dev/{{ IMAGE_PATH }}{{labels.0}}_TCI_60m.jpg"
style=
"margin-left: auto; margin-right: auto; display: block;"
>
style=
"margin-left: auto; margin-right: auto; display: block;"
>
</div>
</div>
</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