- |
+ |
|
|
- |
+ |
|
delete
@@ -16,21 +16,22 @@ class UserList extends RessourceList {
`.trim(),
ressourceMapper: user => {
return {
- id: user.id,
- idDuplicate: user.id,
- username: user.username,
- email: user.email,
- last_seen: new Date(user.last_seen).toLocaleString("en-US"),
- role: user.role.name
+ 'id': user.id,
+ 'id-1': user.id,
+ 'username': user.username,
+ 'email': user.email,
+ 'last-seen': new Date(user.last_seen).toLocaleString("en-US"),
+ 'member-since': user.member_since,
+ 'role': user.role.name
};
},
- sortValueName: 'memberSince',
+ sortValueName: 'member-since',
valueNames: [
{data: ['id']},
- {data: ['memberSince']},
+ {data: ['member-since']},
'email',
- 'idDuplicate',
- 'last_seen',
+ 'id-1',
+ 'last-seen',
'role',
'username'
]
diff --git a/app/templates/_colors.html.j2 b/app/templates/_colors.html.j2
index a6ac0ed8..ee170aac 100644
--- a/app/templates/_colors.html.j2
+++ b/app/templates/_colors.html.j2
@@ -32,14 +32,24 @@
} %}
{% set status = {
- 'unprepared': '#9e9e9e',
- 'submitted': '#9e9e9e',
- 'queued': '#2196f3',
- 'running': '#ffc107',
- 'complete': '#4caf50',
- 'failed': '#f44336',
- 'prepared': '#4caf50',
- 'start analysis': '#2196f3',
- 'analysing': '#4caf50',
- 'stop analysis': '#ff5722'
+ 'corpus': {
+ 'UNPREPARED': '#9e9e9e',
+ 'QUEUED': '#2196f3',
+ 'BUILDING': '#ffc107',
+ 'BUILT': '#4caf50',
+ 'FAILED': '#f44336',
+ 'STARTING_ANALYSIS_SESSION': '#2196f3',
+ 'RUNNING_ANALYSIS_SESSION': '#4caf50',
+ 'CANCELING_ANALYSIS_SESSION': '#ff5722'
+ },
+ 'job': {
+ 'INITIALIZING': '#9e9e9e',
+ 'SUBMITTED': '#9e9e9e',
+ 'QUEUED': '#2196f3',
+ 'RUNNING': '#ffc107',
+ 'CANCELING': '#ff5722',
+ 'CANCELED': '#ff5722',
+ 'COMPLETED': '#4caf50',
+ 'FAILED': '#f44336'
+ }
} %}
diff --git a/app/templates/_sidenav.html.j2 b/app/templates/_sidenav.html.j2
index 8729f4f8..10986506 100644
--- a/app/templates/_sidenav.html.j2
+++ b/app/templates/_sidenav.html.j2
@@ -10,14 +10,14 @@
emailNews
linear_scaleWorkflow
dashboardDashboard
- IMy Corpora
- JMy Jobs
+ IMy Corpora
+ JMy Jobs
- File setup
- OCR
- NLP
- Corpus analysis
+ File setup
+ OCR
+ NLP
+ Corpus analysis
settingsSettings
diff --git a/app/templates/_styles.html.j2 b/app/templates/_styles.html.j2
index d94765de..14a614f0 100644
--- a/app/templates/_styles.html.j2
+++ b/app/templates/_styles.html.j2
@@ -45,29 +45,31 @@
main .tabs .indicator {background-color: {{ colors['baseline']['secondary'] }};}
{% for service in colors['services'] %}
- .service-scheme[data-service="{{ service }}"] {background-color: {{ colors['services'][service]['lighten'] }};}
- .service-scheme[data-service="{{ service }}"] .btn, .service-scheme[data-service="{{ service }}"] .btn-small, .service-scheme[data-service="{{ service }}"] .btn-large, .service-scheme[data-service="{{ service }}"] .btn-floating {background-color: {{ colors['services'][service]['darken'] }};}
- .service-scheme[data-service="{{ service }}"] .btn:hover, .service-scheme[data-service="{{ service }}"] .btn-large:hover, .service-scheme[data-service="{{ service }}"] .btn-small:hover, .service-scheme[data-service="{{ service }}"] .btn-floating:hover {background-color: {{ colors['services'][service]['base'] }};}
- .service-scheme[data-service="{{ service }}"] .pagination li.active {background-color: {{ colors['services'][service]['darken'] }};}
- .service-scheme[data-service="{{ service }}"] .table-of-contents a.active {border-color: {{ colors['services'][service]['darken'] }};}
- .service-scheme[data-service="{{ service }}"] .tabs .tab a {color: inherit;}
- .service-scheme[data-service="{{ service }}"] .tabs .tab.disabled a, .service-scheme[data-service="{{ service }}"] .tabs .tab.disabled a:hover {color: {{ colors['services'][service]['darken'] }}28;}
- .service-scheme[data-service="{{ service }}"] .tabs .tab a:hover {color: {{ colors['services'][service]['darken'] }};}
- .service-scheme[data-service="{{ service }}"] .tabs .tab a.active, .service-scheme[data-service="{{ service }}"] .tabs .tab a:focus.active {color: {{ colors['services'][service]['darken'] }}; background-color: {{ colors['services'][service]['darken'] }}28;}
- .service-scheme[data-service="{{ service }}"] .tabs .indicator {background-color: {{ colors['services'][service]['darken'] }};}
+ .nopaque-service-scheme[data-service="{{ service }}"] {background-color: {{ colors['services'][service]['lighten'] }};}
+ .nopaque-service-scheme[data-service="{{ service }}"] .btn, .nopaque-service-scheme[data-service="{{ service }}"] .btn-small, .nopaque-service-scheme[data-service="{{ service }}"] .btn-large, .nopaque-service-scheme[data-service="{{ service }}"] .btn-floating {background-color: {{ colors['services'][service]['darken'] }};}
+ .nopaque-service-scheme[data-service="{{ service }}"] .btn:hover, .nopaque-service-scheme[data-service="{{ service }}"] .btn-large:hover, .nopaque-service-scheme[data-service="{{ service }}"] .btn-small:hover, .nopaque-service-scheme[data-service="{{ service }}"] .btn-floating:hover {background-color: {{ colors['services'][service]['base'] }};}
+ .nopaque-service-scheme[data-service="{{ service }}"] .pagination li.active {background-color: {{ colors['services'][service]['darken'] }};}
+ .nopaque-service-scheme[data-service="{{ service }}"] .table-of-contents a.active {border-color: {{ colors['services'][service]['darken'] }};}
+ .nopaque-service-scheme[data-service="{{ service }}"] .tabs .tab a {color: inherit;}
+ .nopaque-service-scheme[data-service="{{ service }}"] .tabs .tab.disabled a, .nopaque-service-scheme[data-service="{{ service }}"] .tabs .tab.disabled a:hover {color: {{ colors['services'][service]['darken'] }}28;}
+ .nopaque-service-scheme[data-service="{{ service }}"] .tabs .tab a:hover {color: {{ colors['services'][service]['darken'] }};}
+ .nopaque-service-scheme[data-service="{{ service }}"] .tabs .tab a.active, .nopaque-service-scheme[data-service="{{ service }}"] .tabs .tab a:focus.active {color: {{ colors['services'][service]['darken'] }}; background-color: {{ colors['services'][service]['darken'] }}28;}
+ .nopaque-service-scheme[data-service="{{ service }}"] .tabs .indicator {background-color: {{ colors['services'][service]['darken'] }};}
- .service-color[data-service="{{ service }}"] {background-color: {{ colors['services'][service]['base'] }} !important;}
- .service-color-text[data-service="{{ service }}"] {color: {{ colors['services'][service]['base'] }} !important;}
- .service-color-border[data-service="{{ service }}"] {border-color: {{ colors['services'][service]['base'] }} !important;}
- .service-color[data-service="{{ service }}"].darken {background-color: {{ colors['services'][service]['darken'] }} !important;}
- .service-color-text[data-service="{{ service }}"].text-darken {color: {{ colors['services'][service]['darken'] }} !important;}
- .service-color-border[data-service="{{ service }}"].border-darken {border-color: {{ colors['services'][service]['darken'] }} !important;}
- .service-color[data-service="{{ service }}"].lighten {background-color: {{ colors['services'][service]['lighten'] }} !important;}
- .service-color-text[data-service="{{ service }}"].text-lighten {color: {{ colors['services'][service]['lighten'] }} !important;}
- .service-color-border[data-service="{{ service }}"].border-lighten {border-color: {{ colors['services'][service]['lighten'] }} !important;}
+ .nopaque-service-color[data-service="{{ service }}"] {background-color: {{ colors['services'][service]['base'] }} !important;}
+ .nopaque-service-color-text[data-service="{{ service }}"] {color: {{ colors['services'][service]['base'] }} !important;}
+ .nopaque-service-color-border[data-service="{{ service }}"] {border-color: {{ colors['services'][service]['base'] }} !important;}
+ .nopaque-service-color[data-service="{{ service }}"].darken {background-color: {{ colors['services'][service]['darken'] }} !important;}
+ .nopaque-service-color-text[data-service="{{ service }}"].text-darken {color: {{ colors['services'][service]['darken'] }} !important;}
+ .nopaque-service-color-border[data-service="{{ service }}"].border-darken {border-color: {{ colors['services'][service]['darken'] }} !important;}
+ .nopaque-service-color[data-service="{{ service }}"].lighten {background-color: {{ colors['services'][service]['lighten'] }} !important;}
+ .nopaque-service-color-text[data-service="{{ service }}"].text-lighten {color: {{ colors['services'][service]['lighten'] }} !important;}
+ .nopaque-service-color-border[data-service="{{ service }}"].border-lighten {border-color: {{ colors['services'][service]['lighten'] }} !important;}
{% endfor %}
- {% for status in colors['status'] %}
- .status-color[data-status="{{ status }}"] {background-color: {{ colors['status'][status] }} !important;}
+ {% for status_type in colors['status'] %}
+ {% for status in colors['status'][status_type] %}
+ .nopaque-{{ status_type }}-status-color[data-{{status_type}}-status="{{ status }}"] {background-color: {{ colors['status'][status_type][status] }} !important;}
+ {% endfor %}
{% endfor %}
diff --git a/app/templates/admin/edit_user.html.j2 b/app/templates/admin/edit_user.html.j2
index d824c112..f44ccb7c 100644
--- a/app/templates/admin/edit_user.html.j2
+++ b/app/templates/admin/edit_user.html.j2
@@ -6,66 +6,132 @@
- Edit user
+ {{ title }}
-
- {{ user.username }}
- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
- arrow_backBack to user administration
-
-
- |