mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-15 18:40:40 +00:00
Some fixes and improve jinja2 template performance by reducing include statements
This commit is contained in:
@ -72,6 +72,9 @@
|
||||
{{ super() }}
|
||||
<div class="modal no-autoinit" id="corpus-analysis-init-modal">
|
||||
<div class="modal-content">
|
||||
<div class="card-panel service-color darken white-text" data-service="corpus-analysis">
|
||||
<h4 class="m-3"><i class="material-icons left" style="font-size: inherit; line-height: inherit;">hourglass_empty</i>We are preparing your analysis session</h4>
|
||||
</div>
|
||||
<h4>We are preparing your analysis session</h4>
|
||||
<p>
|
||||
Our server works as hard as it can to prepare your analysis session. Please be patient and give it some time.<br>
|
||||
|
@ -46,7 +46,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{% if cfr.has_permission('VIEW') %}
|
||||
<div class="col s12 l5">
|
||||
<div class="card">
|
||||
@ -151,9 +151,9 @@
|
||||
<div class="modal-content">
|
||||
<h4>Invite a nopaque user by username</h4>
|
||||
<p>
|
||||
Add other nopaque users as followers to your corpus. You can also add multiple
|
||||
users at the same time. Added users get the role of "viewer"
|
||||
by default, so they are only allowed to analyze files within nopaque, but not
|
||||
Add other nopaque users as followers to your corpus. You can also add multiple
|
||||
users at the same time. Added users get the role of "viewer"
|
||||
by default, so they are only allowed to analyze files within nopaque, but not
|
||||
to download or edit them. You can customize the roles later below.
|
||||
</p>
|
||||
<p><b>Please make sure that the invited users are legally allowed to view the included corpus files.</b></p>
|
||||
@ -176,8 +176,8 @@
|
||||
<div class="modal-content">
|
||||
<h4>Create a link to share your corpus</h4>
|
||||
<p>
|
||||
With the link other users follow your corpus directly, if it has not expired.
|
||||
You can set different roles via the link, you can also edit them later in the menu below.
|
||||
With the link other users follow your corpus directly, if it has not expired.
|
||||
You can set different roles via the link, you can also edit them later in the menu below.
|
||||
It is recommended not to set the expiration date of the link too far.
|
||||
</p>
|
||||
<p><b>Please make sure that the invited users are legally allowed to view the included corpus files.</b></p>
|
||||
@ -367,7 +367,7 @@ shareLinkModalOutputCopyButtonElement.addEventListener('click', (event) => {
|
||||
() => {app.flash('Copied!');},
|
||||
() => {app.flash('Could not copy to clipboard. Please copy manually.', 'error');}
|
||||
);
|
||||
|
||||
|
||||
});
|
||||
// #endregion Share link
|
||||
{% endif %}
|
||||
|
@ -85,7 +85,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<div class="col s12">
|
||||
<div class="card">
|
||||
@ -161,9 +161,9 @@
|
||||
<div class="modal-content">
|
||||
<h4>Invite a nopaque user by username</h4>
|
||||
<p>
|
||||
Add other nopaque users as followers to your corpus. You can also add multiple
|
||||
users at the same time. Added users get the role of "viewer"
|
||||
by default, so they are only allowed to analyze files within nopaque, but not
|
||||
Add other nopaque users as followers to your corpus. You can also add multiple
|
||||
users at the same time. Added users get the role of "viewer"
|
||||
by default, so they are only allowed to analyze files within nopaque, but not
|
||||
to download or edit them. You can customize the roles later below.
|
||||
</p>
|
||||
<p><b>Please make sure that the invited users are legally allowed to view the included corpus files.</b></p>
|
||||
@ -186,8 +186,8 @@
|
||||
<div class="modal-content">
|
||||
<h4>Create a link to share your corpus</h4>
|
||||
<p>
|
||||
With the link other users follow your corpus directly, if it has not expired.
|
||||
You can set different roles via the link, you can also edit them later in the menu below.
|
||||
With the link other users follow your corpus directly, if it has not expired.
|
||||
You can set different roles via the link, you can also edit them later in the menu below.
|
||||
It is recommended not to set the expiration date of the link too far.
|
||||
</p>
|
||||
<p><b>Please make sure that the invited users are legally allowed to view the included corpus files.</b></p>
|
||||
@ -399,7 +399,7 @@ shareLinkModalOutputCopyButtonElement.addEventListener('click', (event) => {
|
||||
() => {app.flash('Copied!');},
|
||||
() => {app.flash('Could not copy to clipboard. Please copy manually.', 'error');}
|
||||
);
|
||||
|
||||
|
||||
});
|
||||
// #endregion Share link
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user