diff --git a/run_dir/design/index.html b/run_dir/design/index.html index 001dba8ad..680852d4c 100644 --- a/run_dir/design/index.html +++ b/run_dir/design/index.html @@ -54,30 +54,16 @@
Project: | -Library: | -Status: | -Days waiting: | -
---|
Server | -Instrument | Disk (Used / Quota) | ||||
---|---|---|---|---|---|---|
{{ server }} | -{{ status.get('instrument') }} |
{{ status.get('space_used') }}
{{ status.get('disk_size') }}
@@ -97,11 +82,13 @@ Server Status- + + + - + {% end %} {% end %} diff --git a/run_dir/design/project_samples.html b/run_dir/design/project_samples.html index d2a1fde0a..7bced6490 100644 --- a/run_dir/design/project_samples.html +++ b/run_dir/design/project_samples.html @@ -9,9 +9,11 @@ {% block stuff %} +
-
-
{% end %}
diff --git a/run_dir/static/js/index.js b/run_dir/static/js/index.js
index 57d6f9e78..f8cbced3b 100644
--- a/run_dir/static/js/index.js
+++ b/run_dir/static/js/index.js
@@ -41,93 +41,6 @@ const fill_sensorpush_status_field = () => {
});
};
-const fill_prioprojs_table = () => {
- //Get projects that have been waiting the longest
- $.getJSON("api/v1/prio_projects", (data) => {
- $("#prio_projs_table_body").empty();
- data.forEach((project) => {
- const check_value = Math.abs(project[2]);
- let day_color = '';
- let stat_color = '';
- let status = '';
- switch (project[1]) {
- case 'days_recep_ctrl':
- day_color = check_value > 7 ? (check_value > 14 ? 'text-danger' : 'text-orange') : 'text-success';
- stat_color = 'text-recep';
- status = 'In reception control';
- break;
- case 'days_prep_start':
- day_color = check_value > 7 ? (check_value > 10 ? 'text-danger': 'text-orange') :'text-success';
- stat_color = 'text-prep-start';
- status = 'To prep';
- break;
- case 'days_prep':
- day_color = check_value > 7 ? (check_value > 10 ? 'text-danger': 'text-orange') :'text-success';
- stat_color = 'text-prep';
- status = 'In prep';
- break;
- case 'days_seq_start':
- day_color = check_value > 7 ? (check_value > 10 ? 'text-danger': 'text-orange') :'text-success';
- stat_color = 'text_seq_start';
- status = 'To sequencing';
- break;
- case 'days_seq':
- day_color = check_value > 7 ? (check_value > 10 ? 'text-danger': 'text-orange') : 'text-success';
- stat_color = 'text-seq';
- status = 'In sequencing';
- break;
- case 'days_analysis':
- day_color = check_value > 7 ? (check_value > 10 ? 'text-danger': 'text-orange') : 'text-success';
- stat_color = 'text-analysis';
- status = 'In analysis';
- break;
- case 'days_data_delivery':
- day_color = check_value > 7 ? (check_value > 10 ? 'text-danger': 'text-orange') : 'text-success';
- stat_color = 'text-delivery';
- status = 'In delivery';
- break;
- case 'days_close':
- day_color = check_value > 7 ? (check_value > 10 ? 'text-danger': 'text-orange') : 'text-success';
- stat_color = 'text-close';
- status = 'To close';
- break;
- }
- const projectLibrary = project[0].split('|');
- const library = projectLibrary[1];
- const nameProjId = projectLibrary[0].replace('(', '').replace(')', '').split(' ');
- const tblRow = `
+
${nameProjId[1]} | ` +
- `${library} | ${status} | ` +
- `${check_value} |
@@ -402,8 +347,7 @@ export const vRunningNotesTab = {
|
For further reference, see the syntax document. - Live editing tools such as dillinger.io or - Mou may also be of use.
+ Live editing tools such as dillinger.io may also be of use.This is the notes
+No running notes matched your selected filters.
+ +