-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51dd51c
commit 41464d2
Showing
7 changed files
with
125 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>{{ storage_service_name }}: Ingest log</title> | ||
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}"> | ||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/bootstrap.min.css') }}"> | ||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/custom.css') }}"> | ||
<script type="text/javascript" language="javascript" src="{{ url_for('static', filename='js/plotly-latest.min.js') }}"></script> | ||
|
||
</head> | ||
<body> | ||
|
||
<div class="container-fluid" style="margin: 20px 0;"> | ||
|
||
<div class="alert alert-secondary"> | ||
<a class="noprint" onClick="window.print();return false"><button type="button" class="btn btn-info" style="float:right;">Print</button></a> | ||
<strong>{{ storage_service_name }}: Ingest log</strong><br /> | ||
{{ number_of_transfers }} transfers total<br /> | ||
</div> | ||
|
||
<!-- Add plotly.express here --> | ||
|
||
{{ plot|safe }} | ||
|
||
</div> | ||
|
||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>{{ storage_service_name }}: Ingest log</title> | ||
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}"> | ||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/bootstrap.min.css') }}"> | ||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/custom.css') }}"> | ||
<script type="text/javascript" language="javascript" src="{{ url_for('static', filename='js/plotly-latest.min.js') }}"></script> | ||
</head> | ||
<body> | ||
|
||
<div class="container-fluid" style="margin: 20px 0;"> | ||
|
||
<div class="alert alert-secondary"> | ||
<a class="noprint" onClick="window.print();return false"><button type="button" class="btn btn-info" style="float:right;">Print</button></a> | ||
<strong>{{ storage_service_name }}: Ingest log</strong><br /> | ||
{{ number_of_transfers }} transfers total<br /> | ||
</div> | ||
|
||
<!-- Add table here --> | ||
|
||
<table id="selectedColumn" class="table table-striped table-bordered table-sm table-hover" width="100%" style="margin: 1.25rem;"> | ||
<thead> | ||
<tr> | ||
<td> | ||
<b> | ||
<img src="{{ url_for('static', filename='assets/users-solid.svg') }}" | ||
style="height: 1.5em; margin-right: 5px;" /> | ||
User | ||
</b> | ||
</td> | ||
<td> | ||
<b> | ||
<img src="{{ url_for('static', filename='assets/archive-solid.svg') }}" | ||
style="height: 1.5em; margin-right: 5px;" /> | ||
Transfer | ||
</b> | ||
</td> | ||
<td> | ||
<b> | ||
<img src="{{ url_for('static', filename='assets/calendar-alt-regular.svg') }}" | ||
style="height: 1.5em; margin-right: 5px;" /> | ||
Start Date | ||
</b> | ||
</td> | ||
<td> | ||
<b> | ||
<img src="{{ url_for('static', filename='assets/calendar-alt-regular.svg') }}" | ||
style="height: 1.5em; margin-right: 5px;" /> | ||
End Date | ||
</b> | ||
</td> | ||
<td> | ||
<b> | ||
<img src="{{ url_for('static', filename='assets/stopwatch-solid.svg') }}" | ||
style="height: 1.5em; margin-right: 5px;" /> | ||
Duration | ||
</b> | ||
</td> | ||
<tr> | ||
</thead> | ||
<tbody> | ||
|
||
{% for row in data %} | ||
<tr> | ||
<td> | ||
<b>{{ row["user"] }}</b> | ||
</td> | ||
<td> | ||
{{ row["aip_name"] }} <code style="color: grey;">{{ row["aip"] }}</code> | ||
</td> | ||
<td> | ||
{{ row["ingest_date"] }} | ||
</td> | ||
<td> | ||
{{ row["finish_date"] }} | ||
</td> | ||
<td> | ||
{{ row["duration"] }} | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
|
||
</tbody> | ||
</table> | ||
|
||
|
||
</div> | ||
|
||
</div> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.