From 8fe4b888b8393cc7891e6e12836cc3c0b5b7d6b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana?= Date: Mon, 29 May 2023 16:47:03 +0200 Subject: [PATCH] Add icons to actions --- benchmark/scripts/templates/base.html | 90 +++++++++++-------- .../partials/table_report_bootstrap.html | 2 +- .../partials/table_report_bulma.html | 2 +- .../partials/table_select_design.html | 9 +- benchmark/scripts/templates/select.html | 8 +- 5 files changed, 66 insertions(+), 45 deletions(-) diff --git a/benchmark/scripts/templates/base.html b/benchmark/scripts/templates/base.html index 1a4ce78..78c82d6 100644 --- a/benchmark/scripts/templates/base.html +++ b/benchmark/scripts/templates/base.html @@ -1,43 +1,57 @@ - - {{ title }} - {% if framework == "bootstrap" %} - - - - {% else %} - - - - {% endif %} - - - {% block content %} - {% endblock %} - - - {% block jscript %} - {% endblock %} - \ No newline at end of file + {% endif %} + + + + + {% block content %} {% endblock %} + + + {% block jscript %} {% endblock %} + diff --git a/benchmark/scripts/templates/partials/table_report_bootstrap.html b/benchmark/scripts/templates/partials/table_report_bootstrap.html index 12b6afb..5a61252 100644 --- a/benchmark/scripts/templates/partials/table_report_bootstrap.html +++ b/benchmark/scripts/templates/partials/table_report_bootstrap.html @@ -80,7 +80,7 @@ Number of files: {{ data.results | length }}
- +
diff --git a/benchmark/scripts/templates/partials/table_report_bulma.html b/benchmark/scripts/templates/partials/table_report_bulma.html index cd72099..913e315 100644 --- a/benchmark/scripts/templates/partials/table_report_bulma.html +++ b/benchmark/scripts/templates/partials/table_report_bulma.html @@ -86,7 +86,7 @@

Number of files: {{ data.results | length }}

- +
diff --git a/benchmark/scripts/templates/partials/table_select_design.html b/benchmark/scripts/templates/partials/table_select_design.html index 70eb31f..824c7df 100644 --- a/benchmark/scripts/templates/partials/table_select_design.html +++ b/benchmark/scripts/templates/partials/table_select_design.html @@ -2,8 +2,12 @@

Benchmark Results

- + + +
+
+
{% if config.compare %}
@@ -12,5 +16,4 @@ {% endif %}
{% include "partials/table_select.html" %} -
\ No newline at end of file diff --git a/benchmark/scripts/templates/select.html b/benchmark/scripts/templates/select.html index 12cd42f..e4497af 100644 --- a/benchmark/scripts/templates/select.html +++ b/benchmark/scripts/templates/select.html @@ -7,7 +7,7 @@ {% set button_pre = '' %} + {% set button_post = '\')">' %} {% set selected = "selected" %} {% set tag_class = "badge bg-primary bg-small" %} {% set frbutton_position = "float-left" %} @@ -20,9 +20,11 @@ {% set h1_class = "title is-1 has-text-centered" %} {% set table_class = "table is-striped is-hoverable cell-border is-bordered" %} {% set button_pre = 'View' %} + {% set button_post = '\')">' %} {% set selected = "is-selected" %} {% set align_right = "text-end" %} + {% set level = "level" %} + {% set tag_class = "tag is-primary is-small" %} {% set container = "container is-fluid" %} {% endif %} {% block content %} @@ -39,3 +41,5 @@ {% include "partials/js_select.js" %} {% endblock %} + + \ No newline at end of file