diff --git a/sahara_dashboard/content/data_processing/clusters/templates/clusters/_in_progress.html b/sahara_dashboard/content/data_processing/clusters/templates/clusters/_in_progress.html index bb8e5b87..183a07a1 100644 --- a/sahara_dashboard/content/data_processing/clusters/templates/clusters/_in_progress.html +++ b/sahara_dashboard/content/data_processing/clusters/templates/clusters/_in_progress.html @@ -1,6 +1,6 @@
-
+
{{ status }}
diff --git a/sahara_dashboard/content/data_processing/clusters/templates/clusters/_nodegroups_details.html b/sahara_dashboard/content/data_processing/clusters/templates/clusters/_nodegroups_details.html index bc4bcff5..080bf86b 100644 --- a/sahara_dashboard/content/data_processing/clusters/templates/clusters/_nodegroups_details.html +++ b/sahara_dashboard/content/data_processing/clusters/templates/clusters/_nodegroups_details.html @@ -35,7 +35,7 @@
{% trans "Security Groups" %}
-
    +
      {% for group in node_group.security_groups_full %} {% if group.id %}
    • {{ group.name }}
    • @@ -49,7 +49,7 @@
      {% trans "Node Processes" %}
      {% if node_group.node_processes %}
      -
        +
          {% for process in node_group.node_processes %}
        • {{ process }}
        • {% endfor %} diff --git a/sahara_dashboard/content/data_processing/clusters/templates/clusters/index.html b/sahara_dashboard/content/data_processing/clusters/templates/clusters/index.html index ec8404ab..13870c18 100644 --- a/sahara_dashboard/content/data_processing/clusters/templates/clusters/index.html +++ b/sahara_dashboard/content/data_processing/clusters/templates/clusters/index.html @@ -15,7 +15,7 @@ if ($("#id_tags_list").val()) { var tags = JSON.parse($("#id_tags_list").val()); $.each(tags, function (i, tag) { - var tagspan = '' + + var tagspan = '' + tag + ''; $("#image_tags_list").append(tagspan); diff --git a/sahara_dashboard/content/data_processing/clusters/templates/image_registry/_list_tags.html b/sahara_dashboard/content/data_processing/clusters/templates/image_registry/_list_tags.html index 4359c9d7..01295e44 100644 --- a/sahara_dashboard/content/data_processing/clusters/templates/image_registry/_list_tags.html +++ b/sahara_dashboard/content/data_processing/clusters/templates/image_registry/_list_tags.html @@ -1,5 +1,5 @@
            {% for tag in image.tags %} -
          • {{ tag }}
          • +
          • {{ tag }}
          • {% endfor %}
          \ No newline at end of file diff --git a/sahara_dashboard/content/data_processing/clusters/templates/image_registry/_tag_form.html b/sahara_dashboard/content/data_processing/clusters/templates/image_registry/_tag_form.html index eae12e40..e54b8c53 100644 --- a/sahara_dashboard/content/data_processing/clusters/templates/image_registry/_tag_form.html +++ b/sahara_dashboard/content/data_processing/clusters/templates/image_registry/_tag_form.html @@ -84,7 +84,7 @@ var tags = get_current_tags(); if ($.inArray(tag, tags) == -1) { - var span = ' $tag '.replace("$tag", tag) + var span = ' $tag '.replace("$tag", tag) $("#image_tags_list").append(span); update_image_tags(); } diff --git a/sahara_dashboard/content/data_processing/jobs/templates/job_templates/library_template.html b/sahara_dashboard/content/data_processing/jobs/templates/job_templates/library_template.html index a3a6b3c8..4d15b171 100644 --- a/sahara_dashboard/content/data_processing/jobs/templates/job_templates/library_template.html +++ b/sahara_dashboard/content/data_processing/jobs/templates/job_templates/library_template.html @@ -3,15 +3,15 @@ var remove_btn_label = '{% trans "Remove" %}'; var lib_template = '' + '' + - '
          ' + + '
          ' + '' + '' + - '
          ' + + '
          ' + '' + '
          ' + '' + '' + - '
          ' + + '
          ' + '' + '
          ' + '' + diff --git a/sahara_dashboard/content/data_processing/static/dashboard/project/data_processing/css/clusters.scss b/sahara_dashboard/content/data_processing/static/dashboard/project/data_processing/css/clusters.scss new file mode 100644 index 00000000..e25fdcd9 --- /dev/null +++ b/sahara_dashboard/content/data_processing/static/dashboard/project/data_processing/css/clusters.scss @@ -0,0 +1,13 @@ +#image-tag { + float: left; + display: block; + margin: 2px; +} + +#cluster-progress-bar { + width: 100%; +} + +#sahara-bullet-list { + margin-left: 20px; +} \ No newline at end of file diff --git a/sahara_dashboard/content/data_processing/static/dashboard/project/data_processing/css/jobs.scss b/sahara_dashboard/content/data_processing/static/dashboard/project/data_processing/css/jobs.scss new file mode 100644 index 00000000..ad4ea82d --- /dev/null +++ b/sahara_dashboard/content/data_processing/static/dashboard/project/data_processing/css/jobs.scss @@ -0,0 +1,12 @@ +#lib-name { + padding-right: 15px; +} + +#btn-remove-lib { + float: left; + padding-right: 5px; +} + +#lib-name-hidden { + padding-right: 15px; +} \ No newline at end of file diff --git a/sahara_dashboard/enabled/_1820_data_processing_clusters_panel.py b/sahara_dashboard/enabled/_1820_data_processing_clusters_panel.py index 5b8acd8b..32a8d6a6 100644 --- a/sahara_dashboard/enabled/_1820_data_processing_clusters_panel.py +++ b/sahara_dashboard/enabled/_1820_data_processing_clusters_panel.py @@ -33,6 +33,10 @@ ADD_JS_FILES = [ 'dashboard/project/data_processing/js/data_processing.verifications.js' ] +ADD_SCSS_FILES = [ + 'dashboard/project/data_processing/css/clusters.scss' +] + ADD_EXCEPTIONS = { 'recoverable': exceptions.RECOVERABLE } diff --git a/sahara_dashboard/enabled/_1840_data_processing_jobs_panel.py b/sahara_dashboard/enabled/_1840_data_processing_jobs_panel.py index a50cc200..2d03fd18 100644 --- a/sahara_dashboard/enabled/_1840_data_processing_jobs_panel.py +++ b/sahara_dashboard/enabled/_1840_data_processing_jobs_panel.py @@ -31,6 +31,10 @@ ADD_JS_FILES = [ 'dashboard/project/data_processing/js/data_processing.job_launching.js' ] +ADD_SCSS_FILES = [ + 'dashboard/project/data_processing/css/jobs.scss' +] + ADD_EXCEPTIONS = { 'recoverable': exceptions.RECOVERABLE }