Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
web app
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ICNML
web app
Commits
561b65bb
Commit
561b65bb
authored
5 years ago
by
Marco De Donno
Browse files
Options
Downloads
Patches
Plain Diff
Add the action for the buttons on the update_donnor page (to go to the latent and tenprint pages)
parent
8a7e9a8c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/data_update/update_donnor.html
+29
-3
29 additions, 3 deletions
templates/data_update/update_donnor.html
with
29 additions
and
3 deletions
templates/data_update/update_donnor.html
+
29
−
3
View file @
561b65bb
...
@@ -15,6 +15,18 @@
...
@@ -15,6 +15,18 @@
baseurl
=
"
{{ baseurl }}
"
;
baseurl
=
"
{{ baseurl }}
"
;
upload_id
=
"
{{ upload_id }}
"
;
upload_id
=
"
{{ upload_id }}
"
;
</script>
</script>
<style
type=
"text/css"
>
.icnml_next_buttons
{
margin-top
:
20px
;
padding-left
:
50px
;
padding-right
:
50px
;
}
.icnml_next_button
{
width
:
100%
;
margin-bottom
:
5px
;
}
</style>
</head>
</head>
<body
class=
"icnml_main_layout"
>
<body
class=
"icnml_main_layout"
>
{% include "header.html" %}
{% include "header.html" %}
...
@@ -69,9 +81,13 @@
...
@@ -69,9 +81,13 @@
<div
id=
"icnml_sub_error"
class=
"icnml_box_error"
></div>
<div
id=
"icnml_sub_error"
class=
"icnml_box_error"
></div>
<div
class=
"icnml_button"
>
<div
class=
"icnml_button icnml_next_buttons"
>
<a
class=
"ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
id=
"next_button"
role=
"button"
aria-disabled=
"false"
>
<a
class=
"ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only icnml_next_button"
id=
"next_front_button"
role=
"button"
aria-disabled=
"false"
>
<span
class=
"ui-button-text"
>
Next
</span>
<span
class=
"ui-button-text"
>
Tenprint card(s) front
</span>
</a>
<br>
<a
class=
"ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only icnml_next_button"
id=
"next_latent_button"
role=
"button"
aria-disabled=
"false"
>
<span
class=
"ui-button-text"
>
Latent(s)
</span>
</a>
</a>
</div>
</div>
</div>
</div>
...
@@ -201,6 +217,16 @@
...
@@ -201,6 +217,16 @@
}
);
}
);
}
);
}
);
$
(
'
#next_front_button
'
).
on
(
'
click
'
,
function
()
{
window
.
location
=
"
{{ url_for( 'update_submission_tenprint', id = upload_id ) }}
"
;
}
);
$
(
'
#next_latent_button
'
).
on
(
'
click
'
,
function
()
{
window
.
location
=
"
{{ url_for( 'update_files_folder', id = upload_id ) }}
"
;
}
);
$
(
'
#icnml_navigation_updatedonnor
'
)
$
(
'
#icnml_navigation_updatedonnor
'
)
.
addClass
(
'
activated
'
);
.
addClass
(
'
activated
'
);
</script>
</script>
...
...
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