diff --git a/apps/jobbrowser/src/jobbrowser/templates/job_browser.mako b/apps/jobbrowser/src/jobbrowser/templates/job_browser.mako index 103102a41a3..df46b4938da 100644 --- a/apps/jobbrowser/src/jobbrowser/templates/job_browser.mako +++ b/apps/jobbrowser/src/jobbrowser/templates/job_browser.mako @@ -17,14 +17,9 @@ import sys from desktop.conf import CUSTOM, IS_K8S_ONLY -from desktop.views import commonheader, commonfooter, _ko +from desktop.views import commonheader, commonfooter from desktop.webpack_utils import get_hue_bundles -from impala.conf import COORDINATOR_URL as IMPALA_COORDINATOR_URL -from metadata.conf import PROMETHEUS -from notebook.conf import ENABLE_QUERY_SCHEDULING - -from jobbrowser.conf import DISABLE_KILLING_JOBS, MAX_JOB_FETCH, ENABLE_QUERY_BROWSER, ENABLE_HIVE_QUERY_BROWSER, QUERY_STORE, ENABLE_HISTORY_V2 - +from jobbrowser.conf import MAX_JOB_FETCH, ENABLE_QUERY_BROWSER from webpack_loader.templatetags.webpack_loader import render_bundle if sys.version_info[0] > 2: @@ -33,4408 +28,383 @@ else: from django.utils.translation import ugettext as _ %> -<% -SUFFIX = is_mini and "-mini" or "" -%> - % if not is_embeddable: ${ commonheader("Job Browser", "jobbrowser", user, request) | n,unicode } % endif -% if not is_embeddable: - - - -% endif - - - - - - - - -% for bundle in get_hue_bundles('jobBrowser'): - ${ render_bundle(bundle) | n,unicode } -% endfor - - - - - - - - - -% if ENABLE_QUERY_BROWSER.get(): - - -% endif - -% if not is_mini: -
-% else: -
-% endif - -% if not is_embeddable: - - - -% endif - - -% if is_mini: -
- - - % if not IS_K8S_ONLY.get(): - - % endif -
- -% else: - -
-% endif - - - - +
+
+ +
+ - + -
-
-
-
- % if not is_embeddable: -
- - - -
-
-
 
- % endif + + ${_('in the last')} + -
-
- -
- + + + + - - -
- - ${ _('Impala queries from') } - - - - - - - + + + ${ _('Add Warehouse') } + + + ${ _('Create / Register') } + + + - - - +
+
- - ${_('in the last')} - +
+ ${ _("Showing oldest %s jobs. Use days filter to get the recent ones.") % MAX_JOB_FETCH.get() } +
- - - +
+ + +

${ _('Running') }

+
+

${ _('Completed') }

+
- - - - ${ _('Add Warehouse') } - - - ${ _('Create / Register') } - - - +
-
- - + + + +
+ -
- ${ _("Showing oldest %s jobs. Use days filter to get the recent ones.") % MAX_JOB_FETCH.get() } -
+ +
+ -
- - - -
    -
  • -  -  - -
    - -
    -
    -
    -
    -
    -
  • -
    -
+ +
- -

${ _('Running') }

-
-

${ _('Completed') }

-
+ + +
- -
- - - - -
- + +
+ - -
- + + +
+ - -
- + +
+ + - -
- + +
+ - -
- + +
+ - - -
+ +
- -
+ +
- - -
- + +
+ - -
+ +
+ - - -
- -
+ +
- - -
+
- -
+ + - - - - -
- -
- - - % if not is_mini: - - - -
+
-
+
-
+
- - - -
- %endif + + + +
+
-
- - - - - - - + + + - -