Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
scripta
eScriptorium
Commits
2567162f
Commit
2567162f
authored
Aug 11, 2020
by
EL HASSANE GARGEM
Browse files
rename onboarding
parent
95bfde97
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/escriptorium/static/js/onboarding.js
→
app/escriptorium/static/js/onboarding
_images
.js
View file @
2567162f
var
document_images_intro
=
introJs
();
document_images_intro
.
setOptions
({
document_images_intro
.
setOptions
({
'
doneLabel
'
,
'
Next page
'
,
steps
:
[
{
element
:
'
#nav-doc-tab
'
,
...
...
@@ -15,10 +15,6 @@ steps: [
element
:
'
#nav-models-tab
'
,
intro
:
'
Handle Transcription and Segmentation models related to this document.
'
,
position
:
'
bottom
'
},
{
element
:
'
#document-image-dropzone
'
,
intro
:
'
Upload a new document part image.
'
,
position
:
'
bottom
'
},
{
element
:
'
#import-selected
'
,
...
...
app/escriptorium/templates/core/document_images.html
View file @
2567162f
...
...
@@ -133,7 +133,7 @@ $(document).ready(function() {
<script
src=
"{% static 'js/image_cards.js' %}"
></script>
<script
src=
"{% static 'js/lazyload.js' %}"
></script>
<script
src=
"{% static 'js/help.js' %}"
></script>
<script
src=
"{% static 'js/onboarding.js' %}"
></script>
<script
src=
"{% static 'js/onboarding
_images
.js' %}"
></script>
{% endcompress %}
<script
type=
"text/javascript"
>
...
...
@@ -145,7 +145,8 @@ if (onboarding == "True")
});
document_images_intro
.
oncomplete
(
function
()
{
exitonboarding
();
var
edit_url
=
"
{% url 'document-part-edit' pk=document.pk %}
"
;
window
.
location
.
href
=
edit_url
;
});
}
...
...
Write
Preview
Supports
Markdown
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