Commit 468306b1 authored by EL HASSANE GARGEM's avatar EL HASSANE GARGEM
Browse files

introjs steps files

parent a95522ae
function exitonboarding() {
$.ajax({type: 'PUT', url:'/api/users/onboarding/',
contentType: "application/json; charset=utf-8",
data:JSON.stringify({
onboarding : "False",
})
}).done($.proxy(function(data){
}, this)).fail(function(data) {
alert(data);
});
}
steps_intro = [
{
element: '#document-transcriptions',
intro: 'Here you can select which transcription to display. You may have several transcriptions for a given page,<br> for instance a manual one and one created automatically, or two different editions that you have imported.\n',
position: 'bottom',
},
{
element: '#toggle-panels',
intro: 'Show/hide panels',
position: 'bottom',
},
{
element: '#part-edit',
intro : 'Here you can edit your document, by adding or correcting lines and regions, and by entering or correcting transcriptions',
position: 'right',
},
{
element: '#segmentation-panel',
intro : 'In this pane you can manually segment the image or correct the segmentation. You can draw regions or lines onto the image, or change existing lines or regions,<br> and you can also add categories to the different regions and lines (‘main text’, ‘marginal gloss’, ‘page number’ etc.)',
position: 'right',
},
{
element: '#transcription-panel',
intro : 'In this pane you can enter or correct a transcription line-by-line.<br> Clicking on a line of text will bring up a window showing the image of that line, and a box where you can enter or correct the transcription.',
position: 'right',
},
{
element: '#diplomatic-panel',
intro : 'This shows another form for entering transcription.<br> Here you can enter and work with multiple lines at a time, for instance copying and pasting a block of text from another source.\n.',
position: 'left',
},
]
\ No newline at end of file
var document_images_intro = introJs();
document_images_intro.setOptions('doneLabel', 'Next page');
document_images_intro.setOptions({steps: [
{
element: '#nav-doc-tab',
intro: 'Update Document description (Name, Text direction or metadata).<br>',
position: 'bottom'
},
{
element: '#nav-edit-tab',
intro: 'Edit Document Part. Panels to update transcriptions, baselines and masks',
position: 'bottom'
},
{
element: '#nav-models-tab',
intro: 'Handle Transcription and Segmentation models related to this document.',
position: 'bottom'
},
{
element: '#import-selected',
intro: 'Import document part. <br> accepted formats : IIIF, Pagexml, Alto.',
position: 'bottom'
},
{
element: '#document-export',
intro: 'Import document part. <br> accepted formats : Text, Pagexml, Alto.',
position: 'bottom'
},
{
element: '#train-selected',
intro: 'Train a Segmentation or Transcription model',
position: 'bottom'
},
{
element: '#binarize-selected',
intro: 'Binarize the color of selected images.',
position: 'bottom'
},
{
element: '#segment-selected',
intro: 'Segment selected images.',
position: 'bottom'
},
{
element: '#transcribe-selected',
intro: 'Transcribe automatically the selected images.',
position: 'left'
},
]});
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment