Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions views/files.tt
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,31 @@
}]
});
END;

%]
<div class="d-flex justify-content-between align-items-end">
[%
# add standardized page header
INCLUDE layouts/page_header.tt
title = "Files"
description = "Below are all the files that have been uploaded for use on the dashboard or to share data with Ctrl O for support purposes, such as data imports or screen shots."
aside_buttons = [{
description = "
<p>Below are all the files that have been uploaded for use on the dashboard or to share data with Ctrl O for support purposes, such as data imports or screen shots.</p>
<p><strong>Files uploaded to this file store can be accessed by all users of this system, irrespective of their permissions.</strong></p>
<p>It is provided as a repository for:
<ul>
<li>files that are linked on dashboards</li>
<li>securely sharing screenshots with Ctrl O for support purposes</li>
<li>retaining reference documents that do not have any secure storage requirements</li>
</ul>
</p>
";
INCLUDE snippets/button_list.tt buttons = [{
type = "modal_button"
modalId = "uploadFile"
class = "btn btn-default"
label = "Upload a file"
}];
%]
</div>

<div class="content-block__main">
[% INCLUDE tables/basic_table.tt; %]
Expand Down
4 changes: 3 additions & 1 deletion views/layouts/page_header.tt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# }];
-%]
<div class="content-block__head row">
<div class="content-block__info col-lg-6">
<div class="content-block__info[% IF aside_buttons %] col-lg-6[% END; %]">
<h1 class="content-block__title">
[% IF back_button AND back_button.url %]
<a href="[%- back_button.url -%]" class="btn btn-title-back">
Expand All @@ -40,6 +40,7 @@
[% description || '' %]
</div>
</div>
[% IF aside_buttons; %]
<div class="content-block__aside col-lg-6">
[%
IF aside_buttons;
Expand All @@ -49,4 +50,5 @@
END;
%]
</div>
[% END; %]
</div>
Loading