Skip to content

Commit

Permalink
add sheet version tour help, template fixes (#1583)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed Aug 28, 2023
1 parent ded7d1f commit 4cada8a
Show file tree
Hide file tree
Showing 2 changed files with 212 additions and 97 deletions.
87 changes: 44 additions & 43 deletions samplesheets/templates/samplesheets/irods_access_tickets.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ <h3>iRODS Access Tickets</h3>
<div class="container-fluid sodar-page-container">

{% if object_list.count > 0 %}
<div class="card" id="sodar-ss-version-list">
<div class="card" id="sodar-ss-ticket-list">
<div class="card-body p-0">
<table class="table table-striped sodar-card-table"
id="sodar-ss-ticket-table">
Expand Down Expand Up @@ -203,60 +203,61 @@ <h3>iRODS Access Tickets</h3>
showCancelLink: true
});

if ($('#sodar-ss-version-list').length) {
tour.addStep('irods_ticket_list', {
title: 'iRODS Access Ticket List',
text: 'This list displays the iRODS access tickets created for this ' +
'project.',
attachTo: '#sodar-ss-version-list top',
advanceOn: '.docs-link click',
showCancelLink: true
});
if ($('#sodar-ss-ticket-list').length) {
tour.addStep('irods_ticket_list', {
title: 'iRODS Access Ticket List',
text: 'This list displays the iRODS access tickets created for ' +
'this project.',
attachTo: '#sodar-ss-ticket-list top',
advanceOn: '.docs-link click',
showCancelLink: true
});
}

if ($('.sodar-ss-ticket-item-title').length) {
tour.addStep('irods_ticket_title', {
title: 'iRODS Access Ticket Title',
text: 'The title of the ticket is displayed here. It consists of the ' +
'collection the ticket targets along with an optional string ' +
'identified or the ticket creation timestamp. The title links ' +
'to the anonymous ticket URL via WebDAV. The column also ' +
'includes a link for copying the URL into the clipboard.',
attachTo: '.sodar-ss-ticket-item-title top',
advanceOn: '.docs-link click',
showCancelLink: true
});
tour.addStep('irods_ticket_title', {
title: 'iRODS Access Ticket Title',
text: 'The title of the ticket is displayed here. It consists of ' +
'the collection the ticket targets along with an optional ' +
'string identified or the ticket creation timestamp. The ' +
'title links to the anonymous ticket URL via WebDAV. The ' +
'column also includes a link for copying the URL into the ' +
'clipboard.',
attachTo: '.sodar-ss-ticket-item-title top',
advanceOn: '.docs-link click',
showCancelLink: true
});
}

if ($('.sodar-ss-ticket-item-str').length) {
tour.addStep('irods_ticket_str', {
title: 'iRODS Access Ticket String',
text: 'The access ticket string is displayed here.',
attachTo: '.sodar-ss-ticket-item-str top',
advanceOn: '.docs-link click',
showCancelLink: true
});
tour.addStep('irods_ticket_str', {
title: 'iRODS Access Ticket String',
text: 'The access ticket string is displayed here.',
attachTo: '.sodar-ss-ticket-item-str top',
advanceOn: '.docs-link click',
showCancelLink: true
});
}

if ($('.sodar-ss-ticket-item-expiry').length) {
tour.addStep('irods_ticket_expiry', {
title: 'iRODS Access Ticket Expiration',
text: 'The expiration date is displayed here.',
attachTo: '.sodar-ss-ticket-item-expiry top',
advanceOn: '.docs-link click',
showCancelLink: true
});
tour.addStep('irods_ticket_expiry', {
title: 'iRODS Access Ticket Expiration',
text: 'The expiration date is displayed here.',
attachTo: '.sodar-ss-ticket-item-expiry top',
advanceOn: '.docs-link click',
showCancelLink: true
});
}

if ($('.sodar-ss-ticket-dropdown').length) {
tour.addStep('irods_ticket_dropdown', {
title: 'iRODS Access Ticket Dropdown',
text: 'From the dropdown associated with a ticket, you can update ' +
'or delete it.',
attachTo: '.sodar-ss-ticket-dropdown left',
advanceOn: '.docs-link click',
showCancelLink: true
});
tour.addStep('irods_ticket_dropdown', {
title: 'iRODS Access Ticket Dropdown',
text: 'From the dropdown associated with a ticket, you can ' +
'update or delete it.',
attachTo: '.sodar-ss-ticket-dropdown left',
advanceOn: '.docs-link click',
showCancelLink: true
});
}

tour.addStep('irods_ticket_create', {
Expand Down
Loading

0 comments on commit 4cada8a

Please sign in to comment.