diff --git a/python/rcdb/rcdb_cli/ls.py b/python/rcdb/rcdb_cli/ls.py
index 21e21c38..93dbf395 100644
--- a/python/rcdb/rcdb_cli/ls.py
+++ b/python/rcdb/rcdb_cli/ls.py
@@ -11,7 +11,6 @@
def ls(context, search, is_long):
"""Lists conditions"""
-
db = context.db
assert isinstance(db, RCDBProvider)
cnd_types = db.get_condition_types_by_name()
diff --git a/python/rcdb/rcdb_cli/run.py b/python/rcdb/rcdb_cli/run.py
new file mode 100644
index 00000000..418d9a07
--- /dev/null
+++ b/python/rcdb/rcdb_cli/run.py
@@ -0,0 +1,76 @@
+import click
+
+from rcdb.provider import RCDBProvider
+from .context import pass_rcdb_context
+
+
+@click.command()
+@click.argument('run_index', required=False)
+@click.argument('condition', required=False)
+@pass_rcdb_context
+def ls(context, run_index, condition):
+ """Lists conditions"""
+
+ db = context.db
+ assert isinstance(db, RCDBProvider)
+
+
+
+def show_value(db, run_number, name):
+ """
+ Shows condition value for run
+
+ :param db: RCDBProvider to database
+ :type db: RCDBProvider
+ :param run_number: The run number
+ :param name: Condition type name
+ :return:
+ """
+
+ run = db.get_run(run_number)
+ if not run:
+ print("Run number '{}' is not found in DB".format(run_number))
+ exit(1)
+
+ ct = db.get_condition_type(name)
+
+ result = db.get_condition(run, ct)
+ if not result:
+ return
+
+ condition = result
+ print(condition.value)
+
+
+def show_run_conditions(db, run_number):
+ """
+
+ :param db: RCDBProvider to database
+ :type db: RCDBProvider
+ :param run_number: The run number
+ :return:
+ """
+
+ run = db.get_run(run_number)
+ if not run:
+ print("Run number {} is not found in DB".format(run_number))
+ exit(1)
+
+ conditions = db.session.query(Condition).join(Run).join(ConditionType) \
+ .order_by(asc(ConditionType.name)) \
+ .filter(Run.number == run_number) \
+ .all()
+
+ for condition in conditions:
+ condition_type = condition.type
+
+ if condition_type.value_type in [ConditionType.INT_FIELD,
+ ConditionType.BOOL_FIELD,
+ ConditionType.FLOAT_FIELD]:
+ print("{} = {}".format(condition_type.name, condition.value))
+ elif condition_type.value_type == ConditionType.STRING_FIELD:
+ print("{} = '{}'".format(condition_type.name, condition.value))
+ else:
+ # it is something big...
+ value = str(condition.value).replace('\n', "")[:50]
+ print("{} = ({}){}...".format(condition_type.name, condition_type.value_type, value))
diff --git a/rcdb_web/.gitignore b/python/rcdb/web/.gitignore
similarity index 100%
rename from rcdb_web/.gitignore
rename to python/rcdb/web/.gitignore
diff --git a/rcdb_web/__init__.py b/python/rcdb/web/__init__.py
similarity index 79%
rename from rcdb_web/__init__.py
rename to python/rcdb/web/__init__.py
index 17bddf40..37093171 100644
--- a/rcdb_web/__init__.py
+++ b/python/rcdb/web/__init__.py
@@ -1,19 +1,19 @@
-from rcdb.alias import get_default_aliases_by_name
-from rcdb.model import Run, RunPeriod
-from flask import Flask, render_template, g, request, url_for
-import rcdb
+import os
from datetime import datetime
-
-# configuration
+from flask import Flask, render_template, g, request, url_for
from sqlalchemy.orm import subqueryload
+import rcdb
+from rcdb.alias import get_default_aliases_by_name
+from rcdb.model import Run, RunPeriod
+
# register modules
-from rcdb_web.runs.views import mod as runs_module
-from rcdb_web.logs.views import mod as logs_module
-from rcdb_web.files.views import mod as files_module
-from rcdb_web.statistics.views import mod as statistics_module
-from rcdb_web.conditions.views import mod as conditions_module
-from rcdb_web.select_values.veiws import mod as select_values_module
+from rcdb.web.modules import runs_module
+from rcdb.web.modules import logs_module
+from rcdb.web.modules import files_module
+from rcdb.web.modules import statistics_module
+from rcdb.web.modules import conditions_module
+from rcdb.web.modules import select_values_module
DEBUG = True
SECRET_KEY = 'development key'
@@ -21,9 +21,14 @@
PASSWORD = 'default'
SQL_CONNECTION_STRING = "mysql+pymysql://rcdb@127.0.0.1/rcdb"
-app = Flask(__name__)
-app.config.from_object(__name__)
+# Get the current directory
+current_directory = os.path.dirname(os.path.abspath(__file__))
+template_folder=os.path.join(current_directory, 'templates')
+print(f"template_folder={template_folder}")
+# Create Flask app with custom template folder
+app = Flask(__name__, template_folder=template_folder)
+app.config.from_object(__name__)
@app.before_request
def before_request():
diff --git a/python/rcdb/web/modules/__init__.py b/python/rcdb/web/modules/__init__.py
new file mode 100644
index 00000000..b0451ecb
--- /dev/null
+++ b/python/rcdb/web/modules/__init__.py
@@ -0,0 +1,6 @@
+from .conditions import mod as conditions_module
+from .files import mod as files_module
+from .logs import mod as logs_module
+from .runs import mod as runs_module
+from .select_values import mod as select_values_module
+from .statistics import mod as statistics_module
\ No newline at end of file
diff --git a/rcdb_web/conditions/views.py b/python/rcdb/web/modules/conditions.py
similarity index 100%
rename from rcdb_web/conditions/views.py
rename to python/rcdb/web/modules/conditions.py
diff --git a/rcdb_web/files/views.py b/python/rcdb/web/modules/files.py
similarity index 100%
rename from rcdb_web/files/views.py
rename to python/rcdb/web/modules/files.py
diff --git a/rcdb_web/logs/views.py b/python/rcdb/web/modules/logs.py
similarity index 93%
rename from rcdb_web/logs/views.py
rename to python/rcdb/web/modules/logs.py
index 357fcbea..5d2c6d3c 100644
--- a/rcdb_web/logs/views.py
+++ b/python/rcdb/web/modules/logs.py
@@ -1,7 +1,7 @@
from flask import Blueprint, render_template, g
from sqlalchemy import desc
from rcdb.model import LogRecord
-from rcdb_web.pagination import Pagination
+from rcdb.web.pagination import Pagination
mod = Blueprint('logs', __name__, url_prefix='/logs')
diff --git a/rcdb_web/runs/views.py b/python/rcdb/web/modules/runs.py
similarity index 97%
rename from rcdb_web/runs/views.py
rename to python/rcdb/web/modules/runs.py
index 09d01034..be9c4075 100644
--- a/rcdb_web/runs/views.py
+++ b/python/rcdb/web/modules/runs.py
@@ -1,20 +1,19 @@
import json
import re
import sys
-from time import mktime, time
+from time import time
import datetime
-from flask import Blueprint, request, render_template, flash, g, session, redirect, url_for, Response, jsonify
+from flask import Blueprint, request, render_template, flash, g, redirect, url_for, Response, jsonify
# from werkzeug import check_password_hash, generate_password_hash
import rcdb
-from collections import defaultdict
from rcdb import DefaultConditions
-from rcdb.model import Run, Condition, ConditionType, ConfigurationFile
+from rcdb.model import Run, ConfigurationFile
from rcdb.stopwatch import StopWatchTimer
-from rcdb_web.pagination import Pagination
+from rcdb.web.pagination import Pagination
from sqlalchemy import func
-from sqlalchemy.orm import subqueryload, joinedload
+from sqlalchemy.orm import subqueryload
mod = Blueprint('runs', __name__, url_prefix='/runs')
diff --git a/rcdb_web/select_values/veiws.py b/python/rcdb/web/modules/select_values.py
similarity index 97%
rename from rcdb_web/select_values/veiws.py
rename to python/rcdb/web/modules/select_values.py
index 656518e2..233f15fb 100644
--- a/rcdb_web/select_values/veiws.py
+++ b/python/rcdb/web/modules/select_values.py
@@ -1,6 +1,6 @@
from flask import Blueprint, request, render_template, flash, g, redirect, url_for
from rcdb.model import ConditionType, RunPeriod
-from runs.views import _parse_run_range
+from rcdb.web.modules.runs import _parse_run_range
mod = Blueprint('select_values', __name__, url_prefix='/select_values')
diff --git a/rcdb_web/statistics/views.py b/python/rcdb/web/modules/statistics.py
similarity index 100%
rename from rcdb_web/statistics/views.py
rename to python/rcdb/web/modules/statistics.py
diff --git a/rcdb_web/pagination.py b/python/rcdb/web/pagination.py
similarity index 100%
rename from rcdb_web/pagination.py
rename to python/rcdb/web/pagination.py
diff --git a/rcdb_web/rcdb_www.wsgi b/python/rcdb/web/rcdb_www.wsgi
similarity index 100%
rename from rcdb_web/rcdb_www.wsgi
rename to python/rcdb/web/rcdb_www.wsgi
diff --git a/rcdb_web/requirements.txt b/python/rcdb/web/requirements.txt
similarity index 100%
rename from rcdb_web/requirements.txt
rename to python/rcdb/web/requirements.txt
diff --git a/rcdb_web/run_table.py b/python/rcdb/web/run_table.py
similarity index 100%
rename from rcdb_web/run_table.py
rename to python/rcdb/web/run_table.py
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/css/dataTables.bootstrap.css b/python/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.bootstrap.css
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/css/dataTables.bootstrap.css
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.bootstrap.css
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/css/dataTables.bootstrap.min.css b/python/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.bootstrap.min.css
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/css/dataTables.bootstrap.min.css
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.bootstrap.min.css
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/css/dataTables.foundation.css b/python/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.foundation.css
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/css/dataTables.foundation.css
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.foundation.css
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/css/dataTables.foundation.min.css b/python/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.foundation.min.css
similarity index 70%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/css/dataTables.foundation.min.css
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.foundation.min.css
index b44d08d2..272b1bed 100644
--- a/rcdb_web/static/DataTables/DataTables-1.10.10/css/dataTables.foundation.min.css
+++ b/python/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.foundation.min.css
@@ -1 +1 @@
-table.dataTable{clear:both;margin:0.5em 0 !important;max-width:none !important;width:100%}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper{position:relative}div.dataTables_wrapper div.dataTables_length label{float:left;text-align:left;margin-bottom:0}div.dataTables_wrapper div.dataTables_length select{width:75px;margin-bottom:0}div.dataTables_wrapper div.dataTables_filter label{float:right;margin-bottom:0}div.dataTables_wrapper div.dataTables_filter input{display:inline-block !important;width:auto !important;margin-bottom:0;margin-left:0.5em}div.dataTables_wrapper div.dataTables_info{padding-top:2px}div.dataTables_wrapper div.dataTables_paginate{float:right;margin:0}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1rem 0}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:1.5rem}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc{cursor:pointer}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{background-repeat:no-repeat;background-position:center right}table.dataTable thead .sorting{background-image:url("../images/sort_both.png")}table.dataTable thead .sorting_asc{background-image:url("../images/sort_asc.png")}table.dataTable thead .sorting_desc{background-image:url("../images/sort_desc.png")}table.dataTable thead .sorting_asc_disabled{background-image:url("../images/sort_asc_disabled.png")}table.dataTable thead .sorting_desc_disabled{background-image:url("../images/sort_desc_disabled.png")}div.dataTables_scrollHead table{margin-bottom:0 !important}div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot table{margin-top:0 !important;border-top:none}
+table.dataTable{clear:both;margin:0.5em 0 !important;max-width:none !important;width:100%}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper{position:relative}div.dataTables_wrapper div.dataTables_length label{float:left;text-align:left;margin-bottom:0}div.dataTables_wrapper div.dataTables_length select{width:75px;margin-bottom:0}div.dataTables_wrapper div.dataTables_filter label{float:right;margin-bottom:0}div.dataTables_wrapper div.dataTables_filter input{display:inline-block !important;width:auto !important;margin-bottom:0;margin-left:0.5em}div.dataTables_wrapper div.dataTables_info{padding-top:2px}div.dataTables_wrapper div.dataTables_paginate{float:right;margin:0}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1rem 0}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:1.5rem}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc{cursor:pointer}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{background-repeat:no-repeat;background-position:center right}table.dataTable thead .sorting{background-image:url("../images/sort_both.png")} table.dataTable thead .sorting_asc{background-image:url("../images/sort_asc.png")} table.dataTable thead .sorting_desc{background-image:url("../images/sort_desc.png")} table.dataTable thead .sorting_asc_disabled{background-image:url("../images/sort_asc_disabled.png")} table.dataTable thead .sorting_desc_disabled{background-image:url("../images/sort_desc_disabled.png")} div.dataTables_scrollHead table{margin-bottom:0 !important} div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important} div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none} div.dataTables_scrollFoot table{margin-top:0 !important;border-top:none}
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/css/dataTables.jqueryui.css b/python/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.jqueryui.css
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/css/dataTables.jqueryui.css
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.jqueryui.css
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/css/dataTables.jqueryui.min.css b/python/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.jqueryui.min.css
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/css/dataTables.jqueryui.min.css
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.jqueryui.min.css
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables.css b/python/rcdb/web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables.css
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables.css
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables.css
diff --git a/python/rcdb/web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables.min.css b/python/rcdb/web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables.min.css
new file mode 100644
index 00000000..54cd021c
--- /dev/null
+++ b/python/rcdb/web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables.min.css
@@ -0,0 +1 @@
+table.dataTable{width:100%;margin:0 auto;clear:both;border-collapse:separate;border-spacing:0}table.dataTable thead th,table.dataTable tfoot th{font-weight:bold}table.dataTable thead th,table.dataTable thead td{padding:10px 18px;border-bottom:1px solid #111}table.dataTable thead th:active,table.dataTable thead td:active{outline:none}table.dataTable tfoot th,table.dataTable tfoot td{padding:10px 18px 6px 18px;border-top:1px solid #111}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc{cursor:pointer;*cursor:hand}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{background-repeat:no-repeat;background-position:center right}table.dataTable thead .sorting{background-image:url("../images/sort_both.png")} table.dataTable thead .sorting_asc{background-image:url("../images/sort_asc.png")} table.dataTable thead .sorting_desc{background-image:url("../images/sort_desc.png")} table.dataTable thead .sorting_asc_disabled{background-image:url("../images/sort_asc_disabled.png")} table.dataTable thead .sorting_desc_disabled{background-image:url("../images/sort_desc_disabled.png")} table.dataTable tbody tr{background-color:#ffffff} table.dataTable tbody tr.selected{background-color:#B0BED9} table.dataTable tbody th,table.dataTable tbody td{padding:8px 10px} table.dataTable.row-border tbody th,table.dataTable.row-border tbody td,table.dataTable.display tbody th,table.dataTable.display tbody td{border-top:1px solid #ddd} table.dataTable.row-border tbody tr:first-child th,table.dataTable.row-border tbody tr:first-child td,table.dataTable.display tbody tr:first-child th,table.dataTable.display tbody tr:first-child td{border-top:none} table.dataTable.cell-border tbody th,table.dataTable.cell-border tbody td{border-top:1px solid #ddd;border-right:1px solid #ddd} table.dataTable.cell-border tbody tr th:first-child,table.dataTable.cell-border tbody tr td:first-child{border-left:1px solid #ddd} table.dataTable.cell-border tbody tr:first-child th,table.dataTable.cell-border tbody tr:first-child td{border-top:none} table.dataTable.stripe tbody tr.odd,table.dataTable.display tbody tr.odd{background-color:#f9f9f9} table.dataTable.stripe tbody tr.odd.selected,table.dataTable.display tbody tr.odd.selected{background-color:#acbad4} table.dataTable.hover tbody tr:hover,table.dataTable.display tbody tr:hover{background-color:#f6f6f6} table.dataTable.hover tbody tr:hover.selected,table.dataTable.display tbody tr:hover.selected{background-color:#aab7d1} table.dataTable.order-column tbody tr>.sorting_1,table.dataTable.order-column tbody tr>.sorting_2,table.dataTable.order-column tbody tr>.sorting_3,table.dataTable.display tbody tr>.sorting_1,table.dataTable.display tbody tr>.sorting_2,table.dataTable.display tbody tr>.sorting_3{background-color:#fafafa} table.dataTable.order-column tbody tr.selected>.sorting_1,table.dataTable.order-column tbody tr.selected>.sorting_2,table.dataTable.order-column tbody tr.selected>.sorting_3,table.dataTable.display tbody tr.selected>.sorting_1,table.dataTable.display tbody tr.selected>.sorting_2,table.dataTable.display tbody tr.selected>.sorting_3{background-color:#acbad5} table.dataTable.display tbody tr.odd>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd>.sorting_1{background-color:#f1f1f1} table.dataTable.display tbody tr.odd>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd>.sorting_2{background-color:#f3f3f3} table.dataTable.display tbody tr.odd>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd>.sorting_3{background-color:whitesmoke} table.dataTable.display tbody tr.odd.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_1{background-color:#a6b4cd} table.dataTable.display tbody tr.odd.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_2{background-color:#a8b5cf} table.dataTable.display tbody tr.odd.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_3{background-color:#a9b7d1} table.dataTable.display tbody tr.even>.sorting_1,table.dataTable.order-column.stripe tbody tr.even>.sorting_1{background-color:#fafafa} table.dataTable.display tbody tr.even>.sorting_2,table.dataTable.order-column.stripe tbody tr.even>.sorting_2{background-color:#fcfcfc} table.dataTable.display tbody tr.even>.sorting_3,table.dataTable.order-column.stripe tbody tr.even>.sorting_3{background-color:#fefefe} table.dataTable.display tbody tr.even.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_1{background-color:#acbad5} table.dataTable.display tbody tr.even.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_2{background-color:#aebcd6} table.dataTable.display tbody tr.even.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_3{background-color:#afbdd8} table.dataTable.display tbody tr:hover>.sorting_1,table.dataTable.order-column.hover tbody tr:hover>.sorting_1{background-color:#eaeaea} table.dataTable.display tbody tr:hover>.sorting_2,table.dataTable.order-column.hover tbody tr:hover>.sorting_2{background-color:#ececec} table.dataTable.display tbody tr:hover>.sorting_3,table.dataTable.order-column.hover tbody tr:hover>.sorting_3{background-color:#efefef} table.dataTable.display tbody tr:hover.selected>.sorting_1,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_1{background-color:#a2aec7} table.dataTable.display tbody tr:hover.selected>.sorting_2,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_2{background-color:#a3b0c9} table.dataTable.display tbody tr:hover.selected>.sorting_3,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_3{background-color:#a5b2cb} table.dataTable.no-footer{border-bottom:1px solid #111} table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap} table.dataTable.compact thead th,table.dataTable.compact thead td{padding:4px 17px 4px 4px} table.dataTable.compact tfoot th,table.dataTable.compact tfoot td{padding:4px} table.dataTable.compact tbody th,table.dataTable.compact tbody td{padding:4px} table.dataTable th.dt-left,table.dataTable td.dt-left{text-align:left} table.dataTable th.dt-center,table.dataTable td.dt-center,table.dataTable td.dataTables_empty{text-align:center} table.dataTable th.dt-right,table.dataTable td.dt-right{text-align:right} table.dataTable th.dt-justify,table.dataTable td.dt-justify{text-align:justify} table.dataTable th.dt-nowrap,table.dataTable td.dt-nowrap{white-space:nowrap} table.dataTable thead th.dt-head-left,table.dataTable thead td.dt-head-left,table.dataTable tfoot th.dt-head-left,table.dataTable tfoot td.dt-head-left{text-align:left} table.dataTable thead th.dt-head-center,table.dataTable thead td.dt-head-center,table.dataTable tfoot th.dt-head-center,table.dataTable tfoot td.dt-head-center{text-align:center} table.dataTable thead th.dt-head-right,table.dataTable thead td.dt-head-right,table.dataTable tfoot th.dt-head-right,table.dataTable tfoot td.dt-head-right{text-align:right} table.dataTable thead th.dt-head-justify,table.dataTable thead td.dt-head-justify,table.dataTable tfoot th.dt-head-justify,table.dataTable tfoot td.dt-head-justify{text-align:justify} table.dataTable thead th.dt-head-nowrap,table.dataTable thead td.dt-head-nowrap,table.dataTable tfoot th.dt-head-nowrap,table.dataTable tfoot td.dt-head-nowrap{white-space:nowrap} table.dataTable tbody th.dt-body-left,table.dataTable tbody td.dt-body-left{text-align:left} table.dataTable tbody th.dt-body-center,table.dataTable tbody td.dt-body-center{text-align:center} table.dataTable tbody th.dt-body-right,table.dataTable tbody td.dt-body-right{text-align:right} table.dataTable tbody th.dt-body-justify,table.dataTable tbody td.dt-body-justify{text-align:justify} table.dataTable tbody th.dt-body-nowrap,table.dataTable tbody td.dt-body-nowrap{white-space:nowrap} table.dataTable,table.dataTable th,table.dataTable td{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box} .dataTables_wrapper{position:relative;clear:both;*zoom:1;zoom:1} .dataTables_wrapper .dataTables_length{float:left} .dataTables_wrapper .dataTables_filter{float:right;text-align:right} .dataTables_wrapper .dataTables_filter input{margin-left:0.5em} .dataTables_wrapper .dataTables_info{clear:both;float:left;padding-top:0.755em} .dataTables_wrapper .dataTables_paginate{float:right;text-align:right;padding-top:0.25em} .dataTables_wrapper .dataTables_paginate .paginate_button{box-sizing:border-box;display:inline-block;min-width:1.5em;padding:0.5em 1em;margin-left:2px;text-align:center;text-decoration:none !important;cursor:pointer;*cursor:hand;color:#333 !important;border:1px solid transparent;border-radius:2px} .dataTables_wrapper .dataTables_paginate .paginate_button.current,.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{color:#333 !important;border:1px solid #979797;background-color:white;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #dcdcdc));background:-webkit-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-moz-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-ms-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-o-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:linear-gradient(to bottom, #fff 0%, #dcdcdc 100%)} .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active{cursor:default;color:#666 !important;border:1px solid transparent;background:transparent;box-shadow:none} .dataTables_wrapper .dataTables_paginate .paginate_button:hover{color:white !important;border:1px solid #111;background-color:#585858;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));background:-webkit-linear-gradient(top, #585858 0%, #111 100%);background:-moz-linear-gradient(top, #585858 0%, #111 100%);background:-ms-linear-gradient(top, #585858 0%, #111 100%);background:-o-linear-gradient(top, #585858 0%, #111 100%);background:linear-gradient(to bottom, #585858 0%, #111 100%)} .dataTables_wrapper .dataTables_paginate .paginate_button:active{outline:none;background-color:#2b2b2b;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));background:-webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);box-shadow:inset 0 0 3px #111} .dataTables_wrapper .dataTables_paginate .ellipsis{padding:0 1em} .dataTables_wrapper .dataTables_processing{position:absolute;top:50%;left:50%;width:100%;height:40px;margin-left:-50%;margin-top:-25px;padding-top:20px;text-align:center;font-size:1.2em;background-color:white;background:-webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(25%, rgba(255,255,255,0.9)), color-stop(75%, rgba(255,255,255,0.9)), color-stop(100%, rgba(255,255,255,0)));background:-webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%)} .dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_processing,.dataTables_wrapper .dataTables_paginate{color:#333} .dataTables_wrapper .dataTables_scroll{clear:both} .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody{*margin-top:-1px;-webkit-overflow-scrolling:touch} .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody th,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody td{vertical-align:middle} .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody td>div.dataTables_sizing{height:0;overflow:hidden;margin:0 !important;padding:0 !important} .dataTables_wrapper.no-footer .dataTables_scrollBody{border-bottom:1px solid #111} .dataTables_wrapper.no-footer div.dataTables_scrollHead table,.dataTables_wrapper.no-footer div.dataTables_scrollBody table{border-bottom:none} .dataTables_wrapper:after{visibility:hidden;display:block;content:"";clear:both;height:0}@media screen and (max-width: 767px){.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_paginate{float:none;text-align:center} .dataTables_wrapper .dataTables_paginate{margin-top:0.5em}}@media screen and (max-width: 640px){.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter{float:none;text-align:center} .dataTables_wrapper .dataTables_filter{margin-top:0.5em}}
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables_themeroller.css b/python/rcdb/web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables_themeroller.css
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables_themeroller.css
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables_themeroller.css
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/images/sort_asc.png b/python/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_asc.png
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/images/sort_asc.png
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_asc.png
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/images/sort_asc_disabled.png b/python/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_asc_disabled.png
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/images/sort_asc_disabled.png
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_asc_disabled.png
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/images/sort_both.png b/python/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_both.png
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/images/sort_both.png
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_both.png
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/images/sort_desc.png b/python/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_desc.png
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/images/sort_desc.png
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_desc.png
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/images/sort_desc_disabled.png b/python/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_desc_disabled.png
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/images/sort_desc_disabled.png
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_desc_disabled.png
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/js/dataTables.bootstrap.js b/python/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.bootstrap.js
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/js/dataTables.bootstrap.js
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.bootstrap.js
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/js/dataTables.bootstrap.min.js b/python/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.bootstrap.min.js
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/js/dataTables.bootstrap.min.js
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.bootstrap.min.js
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/js/dataTables.foundation.js b/python/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.foundation.js
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/js/dataTables.foundation.js
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.foundation.js
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/js/dataTables.foundation.min.js b/python/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.foundation.min.js
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/js/dataTables.foundation.min.js
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.foundation.min.js
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/js/dataTables.jqueryui.js b/python/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.jqueryui.js
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/js/dataTables.jqueryui.js
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.jqueryui.js
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/js/dataTables.jqueryui.min.js b/python/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.jqueryui.min.js
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/js/dataTables.jqueryui.min.js
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.jqueryui.min.js
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/js/jquery.dataTables.js b/python/rcdb/web/static/DataTables/DataTables-1.10.10/js/jquery.dataTables.js
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/js/jquery.dataTables.js
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/js/jquery.dataTables.js
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/js/jquery.dataTables.min.js b/python/rcdb/web/static/DataTables/DataTables-1.10.10/js/jquery.dataTables.min.js
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/js/jquery.dataTables.min.js
rename to python/rcdb/web/static/DataTables/DataTables-1.10.10/js/jquery.dataTables.min.js
diff --git a/rcdb_web/static/DataTables/Responsive-2.0.0/css/responsive.bootstrap.css b/python/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.bootstrap.css
similarity index 100%
rename from rcdb_web/static/DataTables/Responsive-2.0.0/css/responsive.bootstrap.css
rename to python/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.bootstrap.css
diff --git a/rcdb_web/static/DataTables/Responsive-2.0.0/css/responsive.bootstrap.min.css b/python/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.bootstrap.min.css
similarity index 100%
rename from rcdb_web/static/DataTables/Responsive-2.0.0/css/responsive.bootstrap.min.css
rename to python/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.bootstrap.min.css
diff --git a/rcdb_web/static/DataTables/Responsive-2.0.0/css/responsive.dataTables.css b/python/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.dataTables.css
similarity index 100%
rename from rcdb_web/static/DataTables/Responsive-2.0.0/css/responsive.dataTables.css
rename to python/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.dataTables.css
diff --git a/rcdb_web/static/DataTables/Responsive-2.0.0/css/responsive.dataTables.min.css b/python/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.dataTables.min.css
similarity index 100%
rename from rcdb_web/static/DataTables/Responsive-2.0.0/css/responsive.dataTables.min.css
rename to python/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.dataTables.min.css
diff --git a/rcdb_web/static/DataTables/Responsive-2.0.0/css/responsive.foundation.css b/python/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.foundation.css
similarity index 100%
rename from rcdb_web/static/DataTables/Responsive-2.0.0/css/responsive.foundation.css
rename to python/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.foundation.css
diff --git a/rcdb_web/static/DataTables/Responsive-2.0.0/css/responsive.foundation.min.css b/python/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.foundation.min.css
similarity index 100%
rename from rcdb_web/static/DataTables/Responsive-2.0.0/css/responsive.foundation.min.css
rename to python/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.foundation.min.css
diff --git a/rcdb_web/static/DataTables/Responsive-2.0.0/css/responsive.jqueryui.css b/python/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.jqueryui.css
similarity index 100%
rename from rcdb_web/static/DataTables/Responsive-2.0.0/css/responsive.jqueryui.css
rename to python/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.jqueryui.css
diff --git a/rcdb_web/static/DataTables/Responsive-2.0.0/css/responsive.jqueryui.min.css b/python/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.jqueryui.min.css
similarity index 100%
rename from rcdb_web/static/DataTables/Responsive-2.0.0/css/responsive.jqueryui.min.css
rename to python/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.jqueryui.min.css
diff --git a/rcdb_web/static/DataTables/Responsive-2.0.0/js/dataTables.responsive.js b/python/rcdb/web/static/DataTables/Responsive-2.0.0/js/dataTables.responsive.js
similarity index 100%
rename from rcdb_web/static/DataTables/Responsive-2.0.0/js/dataTables.responsive.js
rename to python/rcdb/web/static/DataTables/Responsive-2.0.0/js/dataTables.responsive.js
diff --git a/rcdb_web/static/DataTables/Responsive-2.0.0/js/dataTables.responsive.min.js b/python/rcdb/web/static/DataTables/Responsive-2.0.0/js/dataTables.responsive.min.js
similarity index 100%
rename from rcdb_web/static/DataTables/Responsive-2.0.0/js/dataTables.responsive.min.js
rename to python/rcdb/web/static/DataTables/Responsive-2.0.0/js/dataTables.responsive.min.js
diff --git a/rcdb_web/static/DataTables/Responsive-2.0.0/js/responsive.bootstrap.js b/python/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.bootstrap.js
similarity index 100%
rename from rcdb_web/static/DataTables/Responsive-2.0.0/js/responsive.bootstrap.js
rename to python/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.bootstrap.js
diff --git a/rcdb_web/static/DataTables/Responsive-2.0.0/js/responsive.bootstrap.min.js b/python/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.bootstrap.min.js
similarity index 100%
rename from rcdb_web/static/DataTables/Responsive-2.0.0/js/responsive.bootstrap.min.js
rename to python/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.bootstrap.min.js
diff --git a/rcdb_web/static/DataTables/Responsive-2.0.0/js/responsive.foundation.js b/python/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.foundation.js
similarity index 100%
rename from rcdb_web/static/DataTables/Responsive-2.0.0/js/responsive.foundation.js
rename to python/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.foundation.js
diff --git a/rcdb_web/static/DataTables/Responsive-2.0.0/js/responsive.foundation.min.js b/python/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.foundation.min.js
similarity index 100%
rename from rcdb_web/static/DataTables/Responsive-2.0.0/js/responsive.foundation.min.js
rename to python/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.foundation.min.js
diff --git a/rcdb_web/static/DataTables/Responsive-2.0.0/js/responsive.jqueryui.js b/python/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.jqueryui.js
similarity index 100%
rename from rcdb_web/static/DataTables/Responsive-2.0.0/js/responsive.jqueryui.js
rename to python/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.jqueryui.js
diff --git a/rcdb_web/static/DataTables/Responsive-2.0.0/js/responsive.jqueryui.min.js b/python/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.jqueryui.min.js
similarity index 100%
rename from rcdb_web/static/DataTables/Responsive-2.0.0/js/responsive.jqueryui.min.js
rename to python/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.jqueryui.min.js
diff --git a/rcdb_web/static/DataTables/RowReorder-1.1.0/css/rowReorder.bootstrap.css b/python/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.bootstrap.css
similarity index 100%
rename from rcdb_web/static/DataTables/RowReorder-1.1.0/css/rowReorder.bootstrap.css
rename to python/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.bootstrap.css
diff --git a/rcdb_web/static/DataTables/RowReorder-1.1.0/css/rowReorder.bootstrap.min.css b/python/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.bootstrap.min.css
similarity index 100%
rename from rcdb_web/static/DataTables/RowReorder-1.1.0/css/rowReorder.bootstrap.min.css
rename to python/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.bootstrap.min.css
diff --git a/rcdb_web/static/DataTables/RowReorder-1.1.0/css/rowReorder.dataTables.css b/python/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.dataTables.css
similarity index 100%
rename from rcdb_web/static/DataTables/RowReorder-1.1.0/css/rowReorder.dataTables.css
rename to python/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.dataTables.css
diff --git a/rcdb_web/static/DataTables/RowReorder-1.1.0/css/rowReorder.dataTables.min.css b/python/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.dataTables.min.css
similarity index 100%
rename from rcdb_web/static/DataTables/RowReorder-1.1.0/css/rowReorder.dataTables.min.css
rename to python/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.dataTables.min.css
diff --git a/rcdb_web/static/DataTables/RowReorder-1.1.0/css/rowReorder.foundation.css b/python/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.foundation.css
similarity index 100%
rename from rcdb_web/static/DataTables/RowReorder-1.1.0/css/rowReorder.foundation.css
rename to python/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.foundation.css
diff --git a/rcdb_web/static/DataTables/RowReorder-1.1.0/css/rowReorder.foundation.min.css b/python/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.foundation.min.css
similarity index 100%
rename from rcdb_web/static/DataTables/RowReorder-1.1.0/css/rowReorder.foundation.min.css
rename to python/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.foundation.min.css
diff --git a/rcdb_web/static/DataTables/RowReorder-1.1.0/css/rowReorder.jqueryui.css b/python/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.jqueryui.css
similarity index 100%
rename from rcdb_web/static/DataTables/RowReorder-1.1.0/css/rowReorder.jqueryui.css
rename to python/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.jqueryui.css
diff --git a/rcdb_web/static/DataTables/RowReorder-1.1.0/css/rowReorder.jqueryui.min.css b/python/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.jqueryui.min.css
similarity index 100%
rename from rcdb_web/static/DataTables/RowReorder-1.1.0/css/rowReorder.jqueryui.min.css
rename to python/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.jqueryui.min.css
diff --git a/rcdb_web/static/DataTables/RowReorder-1.1.0/js/dataTables.rowReorder.js b/python/rcdb/web/static/DataTables/RowReorder-1.1.0/js/dataTables.rowReorder.js
similarity index 100%
rename from rcdb_web/static/DataTables/RowReorder-1.1.0/js/dataTables.rowReorder.js
rename to python/rcdb/web/static/DataTables/RowReorder-1.1.0/js/dataTables.rowReorder.js
diff --git a/rcdb_web/static/DataTables/RowReorder-1.1.0/js/dataTables.rowReorder.min.js b/python/rcdb/web/static/DataTables/RowReorder-1.1.0/js/dataTables.rowReorder.min.js
similarity index 100%
rename from rcdb_web/static/DataTables/RowReorder-1.1.0/js/dataTables.rowReorder.min.js
rename to python/rcdb/web/static/DataTables/RowReorder-1.1.0/js/dataTables.rowReorder.min.js
diff --git a/rcdb_web/static/DataTables/datatables.css b/python/rcdb/web/static/DataTables/datatables.css
similarity index 100%
rename from rcdb_web/static/DataTables/datatables.css
rename to python/rcdb/web/static/DataTables/datatables.css
diff --git a/rcdb_web/static/DataTables/datatables.js b/python/rcdb/web/static/DataTables/datatables.js
similarity index 100%
rename from rcdb_web/static/DataTables/datatables.js
rename to python/rcdb/web/static/DataTables/datatables.js
diff --git a/python/rcdb/web/static/DataTables/datatables.min.css b/python/rcdb/web/static/DataTables/datatables.min.css
new file mode 100644
index 00000000..bb5bbd87
--- /dev/null
+++ b/python/rcdb/web/static/DataTables/datatables.min.css
@@ -0,0 +1,21 @@
+/*
+ * This combined file was created by the DataTables downloader builder:
+ * https://datatables.net/download
+ *
+ * To rebuild or modify this file with the latest versions of the included
+ * software please visit:
+ * https://datatables.net/download/#dt/dt-1.10.10,r-2.0.0,rr-1.1.0
+ *
+ * Included libraries:
+ * DataTables 1.10.10, Responsive 2.0.0, RowReorder 1.1.0
+ */
+
+table.dataTable{width:100%;margin:0 auto;clear:both;border-collapse:separate;border-spacing:0}table.dataTable thead th,table.dataTable tfoot th{font-weight:bold}table.dataTable thead th,table.dataTable thead td{padding:10px 18px;border-bottom:1px solid #111}table.dataTable thead th:active,table.dataTable thead td:active{outline:none}table.dataTable tfoot th,table.dataTable tfoot td{padding:10px 18px 6px 18px;border-top:1px solid #111}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc{cursor:pointer;*cursor:hand}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{background-repeat:no-repeat;background-position:center right}table.dataTable thead .sorting{background-image:url("DataTables-1.10.10/images/sort_both.png")} table.dataTable thead .sorting_asc{background-image:url("DataTables-1.10.10/images/sort_asc.png")} table.dataTable thead .sorting_desc{background-image:url("DataTables-1.10.10/images/sort_desc.png")} table.dataTable thead .sorting_asc_disabled{background-image:url("DataTables-1.10.10/images/sort_asc_disabled.png")} table.dataTable thead .sorting_desc_disabled{background-image:url("DataTables-1.10.10/images/sort_desc_disabled.png")} table.dataTable tbody tr{background-color:#ffffff} table.dataTable tbody tr.selected{background-color:#B0BED9} table.dataTable tbody th,table.dataTable tbody td{padding:8px 10px} table.dataTable.row-border tbody th,table.dataTable.row-border tbody td,table.dataTable.display tbody th,table.dataTable.display tbody td{border-top:1px solid #ddd} table.dataTable.row-border tbody tr:first-child th,table.dataTable.row-border tbody tr:first-child td,table.dataTable.display tbody tr:first-child th,table.dataTable.display tbody tr:first-child td{border-top:none} table.dataTable.cell-border tbody th,table.dataTable.cell-border tbody td{border-top:1px solid #ddd;border-right:1px solid #ddd} table.dataTable.cell-border tbody tr th:first-child,table.dataTable.cell-border tbody tr td:first-child{border-left:1px solid #ddd} table.dataTable.cell-border tbody tr:first-child th,table.dataTable.cell-border tbody tr:first-child td{border-top:none} table.dataTable.stripe tbody tr.odd,table.dataTable.display tbody tr.odd{background-color:#f9f9f9} table.dataTable.stripe tbody tr.odd.selected,table.dataTable.display tbody tr.odd.selected{background-color:#acbad4} table.dataTable.hover tbody tr:hover,table.dataTable.display tbody tr:hover{background-color:#f6f6f6} table.dataTable.hover tbody tr:hover.selected,table.dataTable.display tbody tr:hover.selected{background-color:#aab7d1} table.dataTable.order-column tbody tr>.sorting_1,table.dataTable.order-column tbody tr>.sorting_2,table.dataTable.order-column tbody tr>.sorting_3,table.dataTable.display tbody tr>.sorting_1,table.dataTable.display tbody tr>.sorting_2,table.dataTable.display tbody tr>.sorting_3{background-color:#fafafa} table.dataTable.order-column tbody tr.selected>.sorting_1,table.dataTable.order-column tbody tr.selected>.sorting_2,table.dataTable.order-column tbody tr.selected>.sorting_3,table.dataTable.display tbody tr.selected>.sorting_1,table.dataTable.display tbody tr.selected>.sorting_2,table.dataTable.display tbody tr.selected>.sorting_3{background-color:#acbad5} table.dataTable.display tbody tr.odd>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd>.sorting_1{background-color:#f1f1f1} table.dataTable.display tbody tr.odd>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd>.sorting_2{background-color:#f3f3f3} table.dataTable.display tbody tr.odd>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd>.sorting_3{background-color:whitesmoke} table.dataTable.display tbody tr.odd.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_1{background-color:#a6b4cd} table.dataTable.display tbody tr.odd.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_2{background-color:#a8b5cf} table.dataTable.display tbody tr.odd.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_3{background-color:#a9b7d1} table.dataTable.display tbody tr.even>.sorting_1,table.dataTable.order-column.stripe tbody tr.even>.sorting_1{background-color:#fafafa} table.dataTable.display tbody tr.even>.sorting_2,table.dataTable.order-column.stripe tbody tr.even>.sorting_2{background-color:#fcfcfc} table.dataTable.display tbody tr.even>.sorting_3,table.dataTable.order-column.stripe tbody tr.even>.sorting_3{background-color:#fefefe} table.dataTable.display tbody tr.even.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_1{background-color:#acbad5} table.dataTable.display tbody tr.even.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_2{background-color:#aebcd6} table.dataTable.display tbody tr.even.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_3{background-color:#afbdd8} table.dataTable.display tbody tr:hover>.sorting_1,table.dataTable.order-column.hover tbody tr:hover>.sorting_1{background-color:#eaeaea} table.dataTable.display tbody tr:hover>.sorting_2,table.dataTable.order-column.hover tbody tr:hover>.sorting_2{background-color:#ececec} table.dataTable.display tbody tr:hover>.sorting_3,table.dataTable.order-column.hover tbody tr:hover>.sorting_3{background-color:#efefef} table.dataTable.display tbody tr:hover.selected>.sorting_1,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_1{background-color:#a2aec7} table.dataTable.display tbody tr:hover.selected>.sorting_2,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_2{background-color:#a3b0c9} table.dataTable.display tbody tr:hover.selected>.sorting_3,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_3{background-color:#a5b2cb} table.dataTable.no-footer{border-bottom:1px solid #111} table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap} table.dataTable.compact thead th,table.dataTable.compact thead td{padding:4px 17px 4px 4px} table.dataTable.compact tfoot th,table.dataTable.compact tfoot td{padding:4px} table.dataTable.compact tbody th,table.dataTable.compact tbody td{padding:4px} table.dataTable th.dt-left,table.dataTable td.dt-left{text-align:left} table.dataTable th.dt-center,table.dataTable td.dt-center,table.dataTable td.dataTables_empty{text-align:center} table.dataTable th.dt-right,table.dataTable td.dt-right{text-align:right} table.dataTable th.dt-justify,table.dataTable td.dt-justify{text-align:justify} table.dataTable th.dt-nowrap,table.dataTable td.dt-nowrap{white-space:nowrap} table.dataTable thead th.dt-head-left,table.dataTable thead td.dt-head-left,table.dataTable tfoot th.dt-head-left,table.dataTable tfoot td.dt-head-left{text-align:left} table.dataTable thead th.dt-head-center,table.dataTable thead td.dt-head-center,table.dataTable tfoot th.dt-head-center,table.dataTable tfoot td.dt-head-center{text-align:center} table.dataTable thead th.dt-head-right,table.dataTable thead td.dt-head-right,table.dataTable tfoot th.dt-head-right,table.dataTable tfoot td.dt-head-right{text-align:right} table.dataTable thead th.dt-head-justify,table.dataTable thead td.dt-head-justify,table.dataTable tfoot th.dt-head-justify,table.dataTable tfoot td.dt-head-justify{text-align:justify} table.dataTable thead th.dt-head-nowrap,table.dataTable thead td.dt-head-nowrap,table.dataTable tfoot th.dt-head-nowrap,table.dataTable tfoot td.dt-head-nowrap{white-space:nowrap} table.dataTable tbody th.dt-body-left,table.dataTable tbody td.dt-body-left{text-align:left} table.dataTable tbody th.dt-body-center,table.dataTable tbody td.dt-body-center{text-align:center} table.dataTable tbody th.dt-body-right,table.dataTable tbody td.dt-body-right{text-align:right} table.dataTable tbody th.dt-body-justify,table.dataTable tbody td.dt-body-justify{text-align:justify} table.dataTable tbody th.dt-body-nowrap,table.dataTable tbody td.dt-body-nowrap{white-space:nowrap} table.dataTable,table.dataTable th,table.dataTable td{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box} .dataTables_wrapper{position:relative;clear:both;*zoom:1;zoom:1} .dataTables_wrapper .dataTables_length{float:left} .dataTables_wrapper .dataTables_filter{float:right;text-align:right} .dataTables_wrapper .dataTables_filter input{margin-left:0.5em} .dataTables_wrapper .dataTables_info{clear:both;float:left;padding-top:0.755em} .dataTables_wrapper .dataTables_paginate{float:right;text-align:right;padding-top:0.25em} .dataTables_wrapper .dataTables_paginate .paginate_button{box-sizing:border-box;display:inline-block;min-width:1.5em;padding:0.5em 1em;margin-left:2px;text-align:center;text-decoration:none !important;cursor:pointer;*cursor:hand;color:#333 !important;border:1px solid transparent;border-radius:2px} .dataTables_wrapper .dataTables_paginate .paginate_button.current,.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{color:#333 !important;border:1px solid #979797;background-color:white;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #dcdcdc));background:-webkit-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-moz-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-ms-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-o-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:linear-gradient(to bottom, #fff 0%, #dcdcdc 100%)} .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active{cursor:default;color:#666 !important;border:1px solid transparent;background:transparent;box-shadow:none} .dataTables_wrapper .dataTables_paginate .paginate_button:hover{color:white !important;border:1px solid #111;background-color:#585858;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));background:-webkit-linear-gradient(top, #585858 0%, #111 100%);background:-moz-linear-gradient(top, #585858 0%, #111 100%);background:-ms-linear-gradient(top, #585858 0%, #111 100%);background:-o-linear-gradient(top, #585858 0%, #111 100%);background:linear-gradient(to bottom, #585858 0%, #111 100%)} .dataTables_wrapper .dataTables_paginate .paginate_button:active{outline:none;background-color:#2b2b2b;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));background:-webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);box-shadow:inset 0 0 3px #111} .dataTables_wrapper .dataTables_paginate .ellipsis{padding:0 1em} .dataTables_wrapper .dataTables_processing{position:absolute;top:50%;left:50%;width:100%;height:40px;margin-left:-50%;margin-top:-25px;padding-top:20px;text-align:center;font-size:1.2em;background-color:white;background:-webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(25%, rgba(255,255,255,0.9)), color-stop(75%, rgba(255,255,255,0.9)), color-stop(100%, rgba(255,255,255,0)));background:-webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%)} .dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_processing,.dataTables_wrapper .dataTables_paginate{color:#333} .dataTables_wrapper .dataTables_scroll{clear:both} .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody{*margin-top:-1px;-webkit-overflow-scrolling:touch} .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody th,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody td{vertical-align:middle} .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody td>div.dataTables_sizing{height:0;overflow:hidden;margin:0 !important;padding:0 !important} .dataTables_wrapper.no-footer .dataTables_scrollBody{border-bottom:1px solid #111} .dataTables_wrapper.no-footer div.dataTables_scrollHead table,.dataTables_wrapper.no-footer div.dataTables_scrollBody table{border-bottom:none} .dataTables_wrapper:after{visibility:hidden;display:block;content:"";clear:both;height:0}@media screen and (max-width: 767px){.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_paginate{float:none;text-align:center} .dataTables_wrapper .dataTables_paginate{margin-top:0.5em}}@media screen and (max-width: 640px){.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter{float:none;text-align:center} .dataTables_wrapper .dataTables_filter{margin-top:0.5em}}
+
+
+table.dataTable.dtr-inline.collapsed>tbody>tr>td.child,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty{cursor:default !important}table.dataTable.dtr-inline.collapsed>tbody>tr>td.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty:before{display:none !important}table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child,table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child{position:relative;padding-left:30px;cursor:pointer}table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child:before{top:8px;left:4px;height:16px;width:16px;display:block;position:absolute;color:white;border:2px solid white;border-radius:16px;box-shadow:0 0 3px #444;box-sizing:content-box;font-family:'Courier New', Courier, monospace;text-indent:4px;line-height:16px;content:'+';background-color:#31b131}table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before,table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th:first-child:before{content:'-';background-color:#d33333}table.dataTable.dtr-inline.collapsed>tbody>tr.child td:before{display:none}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td:first-child,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th:first-child{padding-left:27px}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td:first-child:before,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th:first-child:before{top:5px;left:4px;height:14px;width:14px;border-radius:14px;line-height:14px;text-indent:3px}table.dataTable.dtr-column>tbody>tr>td.control,table.dataTable.dtr-column>tbody>tr>th.control{position:relative;cursor:pointer}table.dataTable.dtr-column>tbody>tr>td.control:before,table.dataTable.dtr-column>tbody>tr>th.control:before{top:50%;left:50%;height:16px;width:16px;margin-top:-10px;margin-left:-10px;display:block;position:absolute;color:white;border:2px solid white;border-radius:16px;box-shadow:0 0 3px #444;box-sizing:content-box;font-family:'Courier New', Courier, monospace;text-indent:4px;line-height:16px;content:'+';background-color:#31b131}table.dataTable.dtr-column>tbody>tr.parent td.control:before,table.dataTable.dtr-column>tbody>tr.parent th.control:before{content:'-';background-color:#d33333}table.dataTable>tbody>tr.child{padding:0.5em 1em}table.dataTable>tbody>tr.child:hover{background:transparent !important}table.dataTable>tbody>tr.child ul{display:inline-block;list-style-type:none;margin:0;padding:0}table.dataTable>tbody>tr.child ul li{border-bottom:1px solid #efefef;padding:0.5em 0}table.dataTable>tbody>tr.child ul li:first-child{padding-top:0}table.dataTable>tbody>tr.child ul li:last-child{border-bottom:none}table.dataTable>tbody>tr.child span.dtr-title{display:inline-block;min-width:75px;font-weight:bold}div.dtr-modal{position:fixed;box-sizing:border-box;top:0;left:0;height:100%;width:100%;z-index:100;padding:10em 1em}div.dtr-modal div.dtr-modal-display{position:absolute;top:0;left:0;bottom:0;right:0;width:50%;height:50%;overflow:auto;margin:auto;z-index:102;overflow:auto;background-color:#f5f5f7;border:1px solid black;border-radius:0.5em;box-shadow:0 12px 30px rgba(0,0,0,0.6)}div.dtr-modal div.dtr-modal-content{position:relative;padding:1em}div.dtr-modal div.dtr-modal-close{position:absolute;top:6px;right:6px;width:22px;height:22px;border:1px solid #eaeaea;background-color:#f9f9f9;text-align:center;border-radius:3px;cursor:pointer;z-index:12}div.dtr-modal div.dtr-modal-close:hover{background-color:#eaeaea}div.dtr-modal div.dtr-modal-background{position:fixed;top:0;left:0;right:0;bottom:0;z-index:101;background:rgba(0,0,0,0.6)}@media screen and (max-width: 767px){div.dtr-modal div.dtr-modal-display{width:95%}}
+
+
+table.dt-rowReorder-float{position:absolute !important;opacity:0.8;table-layout:static;outline:2px solid #888;outline-offset:-2px;z-index:2001}tr.dt-rowReorder-moving{outline:2px solid #555;outline-offset:-2px}body.dt-rowReorder-noOverflow{overflow-x:hidden}table.dataTable td.reorder{text-align:center;cursor:move}
+
+
diff --git a/rcdb_web/static/DataTables/datatables.min.js b/python/rcdb/web/static/DataTables/datatables.min.js
similarity index 100%
rename from rcdb_web/static/DataTables/datatables.min.js
rename to python/rcdb/web/static/DataTables/datatables.min.js
diff --git a/rcdb_web/static/css/bootstrap-theme.css b/python/rcdb/web/static/css/bootstrap-theme.css
similarity index 100%
rename from rcdb_web/static/css/bootstrap-theme.css
rename to python/rcdb/web/static/css/bootstrap-theme.css
diff --git a/rcdb_web/static/css/bootstrap-theme.css.map b/python/rcdb/web/static/css/bootstrap-theme.css.map
similarity index 100%
rename from rcdb_web/static/css/bootstrap-theme.css.map
rename to python/rcdb/web/static/css/bootstrap-theme.css.map
diff --git a/rcdb_web/static/css/bootstrap-theme.min.css b/python/rcdb/web/static/css/bootstrap-theme.min.css
similarity index 100%
rename from rcdb_web/static/css/bootstrap-theme.min.css
rename to python/rcdb/web/static/css/bootstrap-theme.min.css
diff --git a/rcdb_web/static/css/bootstrap-theme.min.css.map b/python/rcdb/web/static/css/bootstrap-theme.min.css.map
similarity index 100%
rename from rcdb_web/static/css/bootstrap-theme.min.css.map
rename to python/rcdb/web/static/css/bootstrap-theme.min.css.map
diff --git a/rcdb_web/static/css/bootstrap.css b/python/rcdb/web/static/css/bootstrap.css
similarity index 100%
rename from rcdb_web/static/css/bootstrap.css
rename to python/rcdb/web/static/css/bootstrap.css
diff --git a/rcdb_web/static/css/bootstrap.css.map b/python/rcdb/web/static/css/bootstrap.css.map
similarity index 100%
rename from rcdb_web/static/css/bootstrap.css.map
rename to python/rcdb/web/static/css/bootstrap.css.map
diff --git a/rcdb_web/static/css/bootstrap.min.css b/python/rcdb/web/static/css/bootstrap.min.css
similarity index 100%
rename from rcdb_web/static/css/bootstrap.min.css
rename to python/rcdb/web/static/css/bootstrap.min.css
diff --git a/rcdb_web/static/css/bootstrap.min.css.map b/python/rcdb/web/static/css/bootstrap.min.css.map
similarity index 100%
rename from rcdb_web/static/css/bootstrap.min.css.map
rename to python/rcdb/web/static/css/bootstrap.min.css.map
diff --git a/rcdb_web/static/css/buttons.dataTables.min.css b/python/rcdb/web/static/css/buttons.dataTables.min.css
similarity index 100%
rename from rcdb_web/static/css/buttons.dataTables.min.css
rename to python/rcdb/web/static/css/buttons.dataTables.min.css
diff --git a/rcdb_web/static/css/dataTables.tableTools.css b/python/rcdb/web/static/css/dataTables.tableTools.css
similarity index 100%
rename from rcdb_web/static/css/dataTables.tableTools.css
rename to python/rcdb/web/static/css/dataTables.tableTools.css
diff --git a/rcdb_web/static/css/jquery-ui.min.css b/python/rcdb/web/static/css/jquery-ui.min.css
similarity index 100%
rename from rcdb_web/static/css/jquery-ui.min.css
rename to python/rcdb/web/static/css/jquery-ui.min.css
diff --git a/rcdb_web/static/css/jquery-ui.structure.min.css b/python/rcdb/web/static/css/jquery-ui.structure.min.css
similarity index 100%
rename from rcdb_web/static/css/jquery-ui.structure.min.css
rename to python/rcdb/web/static/css/jquery-ui.structure.min.css
diff --git a/rcdb_web/static/css/jquery-ui.theme.min.css b/python/rcdb/web/static/css/jquery-ui.theme.min.css
similarity index 100%
rename from rcdb_web/static/css/jquery-ui.theme.min.css
rename to python/rcdb/web/static/css/jquery-ui.theme.min.css
diff --git a/rcdb_web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables.min.css b/python/rcdb/web/static/css/jquery.dataTables.min.css
similarity index 100%
rename from rcdb_web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables.min.css
rename to python/rcdb/web/static/css/jquery.dataTables.min.css
diff --git a/rcdb_web/static/css/jquery.dataTables.yadcf.css b/python/rcdb/web/static/css/jquery.dataTables.yadcf.css
similarity index 100%
rename from rcdb_web/static/css/jquery.dataTables.yadcf.css
rename to python/rcdb/web/static/css/jquery.dataTables.yadcf.css
diff --git a/rcdb_web/static/css/jquery.jsonview.css b/python/rcdb/web/static/css/jquery.jsonview.css
similarity index 100%
rename from rcdb_web/static/css/jquery.jsonview.css
rename to python/rcdb/web/static/css/jquery.jsonview.css
diff --git a/rcdb_web/static/css/main.css b/python/rcdb/web/static/css/main.css
similarity index 100%
rename from rcdb_web/static/css/main.css
rename to python/rcdb/web/static/css/main.css
diff --git a/rcdb_web/static/css/select.dataTables.min.css b/python/rcdb/web/static/css/select.dataTables.min.css
similarity index 100%
rename from rcdb_web/static/css/select.dataTables.min.css
rename to python/rcdb/web/static/css/select.dataTables.min.css
diff --git a/rcdb_web/static/css/webintellisense.css b/python/rcdb/web/static/css/webintellisense.css
similarity index 100%
rename from rcdb_web/static/css/webintellisense.css
rename to python/rcdb/web/static/css/webintellisense.css
diff --git a/rcdb_web/static/favicon.png b/python/rcdb/web/static/favicon.png
similarity index 100%
rename from rcdb_web/static/favicon.png
rename to python/rcdb/web/static/favicon.png
diff --git a/rcdb_web/static/fonts/glyphicons-halflings-regular.eot b/python/rcdb/web/static/fonts/glyphicons-halflings-regular.eot
similarity index 100%
rename from rcdb_web/static/fonts/glyphicons-halflings-regular.eot
rename to python/rcdb/web/static/fonts/glyphicons-halflings-regular.eot
diff --git a/rcdb_web/static/fonts/glyphicons-halflings-regular.svg b/python/rcdb/web/static/fonts/glyphicons-halflings-regular.svg
similarity index 100%
rename from rcdb_web/static/fonts/glyphicons-halflings-regular.svg
rename to python/rcdb/web/static/fonts/glyphicons-halflings-regular.svg
diff --git a/rcdb_web/static/fonts/glyphicons-halflings-regular.ttf b/python/rcdb/web/static/fonts/glyphicons-halflings-regular.ttf
similarity index 100%
rename from rcdb_web/static/fonts/glyphicons-halflings-regular.ttf
rename to python/rcdb/web/static/fonts/glyphicons-halflings-regular.ttf
diff --git a/rcdb_web/static/fonts/glyphicons-halflings-regular.woff b/python/rcdb/web/static/fonts/glyphicons-halflings-regular.woff
similarity index 100%
rename from rcdb_web/static/fonts/glyphicons-halflings-regular.woff
rename to python/rcdb/web/static/fonts/glyphicons-halflings-regular.woff
diff --git a/rcdb_web/static/fonts/glyphicons-halflings-regular.woff2 b/python/rcdb/web/static/fonts/glyphicons-halflings-regular.woff2
similarity index 100%
rename from rcdb_web/static/fonts/glyphicons-halflings-regular.woff2
rename to python/rcdb/web/static/fonts/glyphicons-halflings-regular.woff2
diff --git a/rcdb_web/static/humans.txt b/python/rcdb/web/static/humans.txt
similarity index 100%
rename from rcdb_web/static/humans.txt
rename to python/rcdb/web/static/humans.txt
diff --git a/rcdb_web/static/img/glyphicons-halflings-white.png b/python/rcdb/web/static/img/glyphicons-halflings-white.png
similarity index 100%
rename from rcdb_web/static/img/glyphicons-halflings-white.png
rename to python/rcdb/web/static/img/glyphicons-halflings-white.png
diff --git a/rcdb_web/static/img/glyphicons-halflings.png b/python/rcdb/web/static/img/glyphicons-halflings.png
similarity index 100%
rename from rcdb_web/static/img/glyphicons-halflings.png
rename to python/rcdb/web/static/img/glyphicons-halflings.png
diff --git a/rcdb_web/static/img/logo.png b/python/rcdb/web/static/img/logo.png
similarity index 100%
rename from rcdb_web/static/img/logo.png
rename to python/rcdb/web/static/img/logo.png
diff --git a/rcdb_web/static/js/bootstrap.js b/python/rcdb/web/static/js/bootstrap.js
similarity index 100%
rename from rcdb_web/static/js/bootstrap.js
rename to python/rcdb/web/static/js/bootstrap.js
diff --git a/rcdb_web/static/js/bootstrap.min.js b/python/rcdb/web/static/js/bootstrap.min.js
similarity index 100%
rename from rcdb_web/static/js/bootstrap.min.js
rename to python/rcdb/web/static/js/bootstrap.min.js
diff --git a/rcdb_web/static/js/clipboard.min.js b/python/rcdb/web/static/js/clipboard.min.js
similarity index 100%
rename from rcdb_web/static/js/clipboard.min.js
rename to python/rcdb/web/static/js/clipboard.min.js
diff --git a/rcdb_web/static/js/copy_clipboard.js b/python/rcdb/web/static/js/copy_clipboard.js
similarity index 100%
rename from rcdb_web/static/js/copy_clipboard.js
rename to python/rcdb/web/static/js/copy_clipboard.js
diff --git a/rcdb_web/static/js/dataTables.buttons.min.js b/python/rcdb/web/static/js/dataTables.buttons.min.js
similarity index 100%
rename from rcdb_web/static/js/dataTables.buttons.min.js
rename to python/rcdb/web/static/js/dataTables.buttons.min.js
diff --git a/rcdb_web/static/js/dataTables.select.min.js b/python/rcdb/web/static/js/dataTables.select.min.js
similarity index 100%
rename from rcdb_web/static/js/dataTables.select.min.js
rename to python/rcdb/web/static/js/dataTables.select.min.js
diff --git a/rcdb_web/static/js/jquery-2.1.0.min.js b/python/rcdb/web/static/js/jquery-2.1.0.min.js
similarity index 100%
rename from rcdb_web/static/js/jquery-2.1.0.min.js
rename to python/rcdb/web/static/js/jquery-2.1.0.min.js
diff --git a/rcdb_web/static/js/jquery-2.1.4.min.js b/python/rcdb/web/static/js/jquery-2.1.4.min.js
similarity index 100%
rename from rcdb_web/static/js/jquery-2.1.4.min.js
rename to python/rcdb/web/static/js/jquery-2.1.4.min.js
diff --git a/rcdb_web/static/js/jquery-ui.min.js b/python/rcdb/web/static/js/jquery-ui.min.js
similarity index 100%
rename from rcdb_web/static/js/jquery-ui.min.js
rename to python/rcdb/web/static/js/jquery-ui.min.js
diff --git a/rcdb_web/static/js/jquery.dataTables.min.js b/python/rcdb/web/static/js/jquery.dataTables.min.js
similarity index 100%
rename from rcdb_web/static/js/jquery.dataTables.min.js
rename to python/rcdb/web/static/js/jquery.dataTables.min.js
diff --git a/rcdb_web/static/js/jquery.dataTables.yadcf.js b/python/rcdb/web/static/js/jquery.dataTables.yadcf.js
similarity index 100%
rename from rcdb_web/static/js/jquery.dataTables.yadcf.js
rename to python/rcdb/web/static/js/jquery.dataTables.yadcf.js
diff --git a/rcdb_web/static/js/jquery.flot.min.js b/python/rcdb/web/static/js/jquery.flot.min.js
similarity index 100%
rename from rcdb_web/static/js/jquery.flot.min.js
rename to python/rcdb/web/static/js/jquery.flot.min.js
diff --git a/rcdb_web/static/js/jquery.jsonview.js b/python/rcdb/web/static/js/jquery.jsonview.js
similarity index 100%
rename from rcdb_web/static/js/jquery.jsonview.js
rename to python/rcdb/web/static/js/jquery.jsonview.js
diff --git a/rcdb_web/static/js/npm.js b/python/rcdb/web/static/js/npm.js
similarity index 100%
rename from rcdb_web/static/js/npm.js
rename to python/rcdb/web/static/js/npm.js
diff --git a/rcdb_web/static/js/webintellisense-ace.js b/python/rcdb/web/static/js/webintellisense-ace.js
similarity index 100%
rename from rcdb_web/static/js/webintellisense-ace.js
rename to python/rcdb/web/static/js/webintellisense-ace.js
diff --git a/rcdb_web/static/js/webintellisense-codemirror.js b/python/rcdb/web/static/js/webintellisense-codemirror.js
similarity index 100%
rename from rcdb_web/static/js/webintellisense-codemirror.js
rename to python/rcdb/web/static/js/webintellisense-codemirror.js
diff --git a/rcdb_web/static/js/webintellisense-textbox.js b/python/rcdb/web/static/js/webintellisense-textbox.js
similarity index 100%
rename from rcdb_web/static/js/webintellisense-textbox.js
rename to python/rcdb/web/static/js/webintellisense-textbox.js
diff --git a/rcdb_web/static/js/webintellisense.js b/python/rcdb/web/static/js/webintellisense.js
similarity index 100%
rename from rcdb_web/static/js/webintellisense.js
rename to python/rcdb/web/static/js/webintellisense.js
diff --git a/rcdb_web/static/robots.txt b/python/rcdb/web/static/robots.txt
similarity index 100%
rename from rcdb_web/static/robots.txt
rename to python/rcdb/web/static/robots.txt
diff --git a/rcdb_web/static/style.css b/python/rcdb/web/static/style.css
similarity index 100%
rename from rcdb_web/static/style.css
rename to python/rcdb/web/static/style.css
diff --git a/rcdb_web/templates/404.html b/python/rcdb/web/templates/404.html
similarity index 100%
rename from rcdb_web/templates/404.html
rename to python/rcdb/web/templates/404.html
diff --git a/rcdb_web/templates/admin/index.html b/python/rcdb/web/templates/admin/index.html
similarity index 100%
rename from rcdb_web/templates/admin/index.html
rename to python/rcdb/web/templates/admin/index.html
diff --git a/rcdb_web/templates/admin/layout.html b/python/rcdb/web/templates/admin/layout.html
similarity index 100%
rename from rcdb_web/templates/admin/layout.html
rename to python/rcdb/web/templates/admin/layout.html
diff --git a/rcdb_web/templates/admin/user.html b/python/rcdb/web/templates/admin/user.html
similarity index 100%
rename from rcdb_web/templates/admin/user.html
rename to python/rcdb/web/templates/admin/user.html
diff --git a/rcdb_web/templates/admin/users.html b/python/rcdb/web/templates/admin/users.html
similarity index 100%
rename from rcdb_web/templates/admin/users.html
rename to python/rcdb/web/templates/admin/users.html
diff --git a/rcdb_web/templates/conditions/index.html b/python/rcdb/web/templates/conditions/index.html
similarity index 100%
rename from rcdb_web/templates/conditions/index.html
rename to python/rcdb/web/templates/conditions/index.html
diff --git a/rcdb_web/templates/custom_column_run_table.html b/python/rcdb/web/templates/custom_column_run_table.html
similarity index 100%
rename from rcdb_web/templates/custom_column_run_table.html
rename to python/rcdb/web/templates/custom_column_run_table.html
diff --git a/rcdb_web/templates/default_run_table.html b/python/rcdb/web/templates/default_run_table.html
similarity index 100%
rename from rcdb_web/templates/default_run_table.html
rename to python/rcdb/web/templates/default_run_table.html
diff --git a/rcdb_web/templates/errors/forbidden_page.html b/python/rcdb/web/templates/errors/forbidden_page.html
similarity index 100%
rename from rcdb_web/templates/errors/forbidden_page.html
rename to python/rcdb/web/templates/errors/forbidden_page.html
diff --git a/rcdb_web/templates/errors/layout.html b/python/rcdb/web/templates/errors/layout.html
similarity index 100%
rename from rcdb_web/templates/errors/layout.html
rename to python/rcdb/web/templates/errors/layout.html
diff --git a/rcdb_web/templates/errors/page_not_found.html b/python/rcdb/web/templates/errors/page_not_found.html
similarity index 100%
rename from rcdb_web/templates/errors/page_not_found.html
rename to python/rcdb/web/templates/errors/page_not_found.html
diff --git a/rcdb_web/templates/errors/server_error.html b/python/rcdb/web/templates/errors/server_error.html
similarity index 100%
rename from rcdb_web/templates/errors/server_error.html
rename to python/rcdb/web/templates/errors/server_error.html
diff --git a/rcdb_web/templates/files/index.html b/python/rcdb/web/templates/files/index.html
similarity index 100%
rename from rcdb_web/templates/files/index.html
rename to python/rcdb/web/templates/files/index.html
diff --git a/rcdb_web/templates/files/info.html b/python/rcdb/web/templates/files/info.html
similarity index 100%
rename from rcdb_web/templates/files/info.html
rename to python/rcdb/web/templates/files/info.html
diff --git a/rcdb_web/templates/files/not_found.html b/python/rcdb/web/templates/files/not_found.html
similarity index 100%
rename from rcdb_web/templates/files/not_found.html
rename to python/rcdb/web/templates/files/not_found.html
diff --git a/rcdb_web/templates/frontend/create_profile.html b/python/rcdb/web/templates/frontend/create_profile.html
similarity index 100%
rename from rcdb_web/templates/frontend/create_profile.html
rename to python/rcdb/web/templates/frontend/create_profile.html
diff --git a/rcdb_web/templates/frontend/footers/help.html b/python/rcdb/web/templates/frontend/footers/help.html
similarity index 100%
rename from rcdb_web/templates/frontend/footers/help.html
rename to python/rcdb/web/templates/frontend/footers/help.html
diff --git a/rcdb_web/templates/frontend/login.html b/python/rcdb/web/templates/frontend/login.html
similarity index 100%
rename from rcdb_web/templates/frontend/login.html
rename to python/rcdb/web/templates/frontend/login.html
diff --git a/rcdb_web/templates/frontend/login_openid.html b/python/rcdb/web/templates/frontend/login_openid.html
similarity index 100%
rename from rcdb_web/templates/frontend/login_openid.html
rename to python/rcdb/web/templates/frontend/login_openid.html
diff --git a/rcdb_web/templates/frontend/reauth.html b/python/rcdb/web/templates/frontend/reauth.html
similarity index 100%
rename from rcdb_web/templates/frontend/reauth.html
rename to python/rcdb/web/templates/frontend/reauth.html
diff --git a/rcdb_web/templates/frontend/reset_password.html b/python/rcdb/web/templates/frontend/reset_password.html
similarity index 100%
rename from rcdb_web/templates/frontend/reset_password.html
rename to python/rcdb/web/templates/frontend/reset_password.html
diff --git a/rcdb_web/templates/frontend/search.html b/python/rcdb/web/templates/frontend/search.html
similarity index 100%
rename from rcdb_web/templates/frontend/search.html
rename to python/rcdb/web/templates/frontend/search.html
diff --git a/rcdb_web/templates/frontend/signup.html b/python/rcdb/web/templates/frontend/signup.html
similarity index 100%
rename from rcdb_web/templates/frontend/signup.html
rename to python/rcdb/web/templates/frontend/signup.html
diff --git a/rcdb_web/templates/index.html b/python/rcdb/web/templates/index.html
similarity index 100%
rename from rcdb_web/templates/index.html
rename to python/rcdb/web/templates/index.html
diff --git a/rcdb_web/templates/layout.html b/python/rcdb/web/templates/layout.html
similarity index 100%
rename from rcdb_web/templates/layout.html
rename to python/rcdb/web/templates/layout.html
diff --git a/rcdb_web/templates/layouts/base.html b/python/rcdb/web/templates/layouts/base.html
similarity index 100%
rename from rcdb_web/templates/layouts/base.html
rename to python/rcdb/web/templates/layouts/base.html
diff --git a/rcdb_web/templates/layouts/base2.html b/python/rcdb/web/templates/layouts/base2.html
similarity index 100%
rename from rcdb_web/templates/layouts/base2.html
rename to python/rcdb/web/templates/layouts/base2.html
diff --git a/rcdb_web/templates/login.html b/python/rcdb/web/templates/login.html
similarity index 100%
rename from rcdb_web/templates/login.html
rename to python/rcdb/web/templates/login.html
diff --git a/rcdb_web/templates/logs/index.html b/python/rcdb/web/templates/logs/index.html
similarity index 92%
rename from rcdb_web/templates/logs/index.html
rename to python/rcdb/web/templates/logs/index.html
index dc923cdb..7e02b11d 100644
--- a/rcdb_web/templates/logs/index.html
+++ b/python/rcdb/web/templates/logs/index.html
@@ -1,5 +1,5 @@
{% extends 'layouts/base.html' %}
-{% from 'render_pagination.html' import render_pagination %}
+{% from '../render_pagination.html' import render_pagination %}
{% set page_title = 'Logs' %}
{% block container %}
diff --git a/rcdb_web/templates/macros/_ask_user_to_update_ie.html b/python/rcdb/web/templates/macros/_ask_user_to_update_ie.html
similarity index 100%
rename from rcdb_web/templates/macros/_ask_user_to_update_ie.html
rename to python/rcdb/web/templates/macros/_ask_user_to_update_ie.html
diff --git a/rcdb_web/templates/macros/_form.html b/python/rcdb/web/templates/macros/_form.html
similarity index 100%
rename from rcdb_web/templates/macros/_form.html
rename to python/rcdb/web/templates/macros/_form.html
diff --git a/rcdb_web/templates/macros/_google_analytics.html b/python/rcdb/web/templates/macros/_google_analytics.html
similarity index 100%
rename from rcdb_web/templates/macros/_google_analytics.html
rename to python/rcdb/web/templates/macros/_google_analytics.html
diff --git a/rcdb_web/templates/macros/_misc.html b/python/rcdb/web/templates/macros/_misc.html
similarity index 100%
rename from rcdb_web/templates/macros/_misc.html
rename to python/rcdb/web/templates/macros/_misc.html
diff --git a/rcdb_web/templates/macros/_reset_password.html b/python/rcdb/web/templates/macros/_reset_password.html
similarity index 100%
rename from rcdb_web/templates/macros/_reset_password.html
rename to python/rcdb/web/templates/macros/_reset_password.html
diff --git a/rcdb_web/templates/render_pagination.html b/python/rcdb/web/templates/render_pagination.html
similarity index 100%
rename from rcdb_web/templates/render_pagination.html
rename to python/rcdb/web/templates/render_pagination.html
diff --git a/rcdb_web/templates/run_search_box.html b/python/rcdb/web/templates/run_search_box.html
similarity index 85%
rename from rcdb_web/templates/run_search_box.html
rename to python/rcdb/web/templates/run_search_box.html
index 994eb47d..db00bb0f 100644
--- a/rcdb_web/templates/run_search_box.html
+++ b/python/rcdb/web/templates/run_search_box.html
@@ -1,6 +1,6 @@
{% macro run_search_box(condition_types=[], run_periods=[], run_from=-1, run_to=-1, search_query="", form_url=url_for("runs.search"), req_conditions_str="", show_req_conditions=False) %}
- {% set run_from_str = "" if run_from == -1 else run_from %}
- {% set run_to_str = "" if run_to == -1 else run_to %}
+{% set run_from_str = "" if run_from == -1 else run_from %}
+{% set run_to_str = "" if run_to == -1 else run_to %}
@@ -150,10 +150,48 @@
Select conditions
jQuery(document).ready(function() {
- $("#run-min-inp").val(localStorage.getItem("runFromValue"));
- $("#run-max-inp").val(localStorage.getItem("runToValue"));
- $("#queryInput").val(localStorage.getItem("searchQueryValue"));
- $("#req_conditions").val(localStorage.getItem("req_conditionsValue"));
+ // Utility function to check if a value is null, undefined, or empty string
+ function isEmpty(value) {
+ return value === null || value === undefined || value === "";
+ }
+
+ // Get input elements
+ var runMinInput = document.getElementById("run-min-inp");
+ var runMaxInput = document.getElementById("run-max-inp");
+ var queryInput = document.getElementById("queryInput");
+ var reqConditionsInput = document.getElementById("req_conditions");
+
+ // Check and set run-min-inp
+ if (isEmpty(runMinInput.value)) {
+ var savedRunFrom = localStorage.getItem("runFromValue");
+ if (!isEmpty(savedRunFrom)) {
+ runMinInput.value = savedRunFrom;
+ }
+ }
+
+ // Check and set run-max-inp
+ if (isEmpty(runMaxInput.value)) {
+ var savedRunTo = localStorage.getItem("runToValue");
+ if (!isEmpty(savedRunTo)) {
+ runMaxInput.value = savedRunTo;
+ }
+ }
+
+ // Check and set queryInput
+ if (isEmpty(queryInput.value)) {
+ var savedSearchQuery = localStorage.getItem("searchQueryValue");
+ if (!isEmpty(savedSearchQuery)) {
+ queryInput.value = savedSearchQuery;
+ }
+ }
+
+ // Check and set req_conditions
+ if (isEmpty(reqConditionsInput.value)) {
+ var savedReqConditions = localStorage.getItem("req_conditionsValue");
+ if (!isEmpty(savedReqConditions)) {
+ reqConditionsInput.value = savedReqConditions;
+ }
+ }
$(".rr-min-selector").click(function( event ) {
event.preventDefault();
@@ -226,31 +264,21 @@
Select conditions
mainForm.addEventListener('submit', handleFormSubmission);
});
- const toggleButton = document.getElementById('toggleButton');
- const hiddenTable = document.querySelector('.hidden-table');
- const toggleIcon = document.getElementById('toggleIcon');
- toggleIcon.style.transform = hiddenTable.classList.contains('hidden') ? 'rotate(0deg)' : 'rotate(180deg)';
+ console.log("Run search box values");
+ console.log({{ search_query|safe }});
- toggleButton.addEventListener('click', function(event) {
- event.preventDefault();
- hiddenTable.classList.toggle('hidden');
+ const toggleButton = document.getElementById('toggleButton');
+ if(toggleButton !== null) {
+ const hiddenTable = document.querySelector('.hidden-table');
+ const toggleIcon = document.getElementById('toggleIcon');
toggleIcon.style.transform = hiddenTable.classList.contains('hidden') ? 'rotate(0deg)' : 'rotate(180deg)';
- });
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ toggleButton.addEventListener('click', function (event) {
+ event.preventDefault();
+ hiddenTable.classList.toggle('hidden');
+ toggleIcon.style.transform = hiddenTable.classList.contains('hidden') ? 'rotate(0deg)' : 'rotate(180deg)';
+ });
+ }
{% endmacro %}
\ No newline at end of file
diff --git a/rcdb_web/templates/runs/conditions.html b/python/rcdb/web/templates/runs/conditions.html
similarity index 100%
rename from rcdb_web/templates/runs/conditions.html
rename to python/rcdb/web/templates/runs/conditions.html
diff --git a/rcdb_web/templates/runs/custom_column.html b/python/rcdb/web/templates/runs/custom_column.html
similarity index 100%
rename from rcdb_web/templates/runs/custom_column.html
rename to python/rcdb/web/templates/runs/custom_column.html
diff --git a/rcdb_web/templates/runs/example.html b/python/rcdb/web/templates/runs/example.html
similarity index 100%
rename from rcdb_web/templates/runs/example.html
rename to python/rcdb/web/templates/runs/example.html
diff --git a/rcdb_web/templates/runs/index.html b/python/rcdb/web/templates/runs/index.html
similarity index 98%
rename from rcdb_web/templates/runs/index.html
rename to python/rcdb/web/templates/runs/index.html
index f6a08eee..4e5ec311 100644
--- a/rcdb_web/templates/runs/index.html
+++ b/python/rcdb/web/templates/runs/index.html
@@ -22,8 +22,7 @@
Content
#}
{% block container %}
-{{ search_box.run_search_box(condition_types, run_from=run_from, run_to=run_to, search_query=search_query) }}
-
+{{ search_box.run_search_box(condition_types, run_periods=run_periods, run_from=run_from, run_to=run_to, search_query=search_query) }}