X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=dashboard%2Fsrc%2Ftemplates%2Fdashboard%2Fmultiple_select_filter_widget.html;h=536fdcc37db49f3eeb0cb514a98ba36f65ec014b;hb=78f34347ef16fcbb0a741af02bab198c6d0f8449;hp=31b8f33b00631d03e2d76947ec97ff9131e6bde0;hpb=9ee74e0df422eac470cd8e32606b78030113764b;p=pharos-tools.git diff --git a/dashboard/src/templates/dashboard/multiple_select_filter_widget.html b/dashboard/src/templates/dashboard/multiple_select_filter_widget.html index 31b8f33..536fdcc 100644 --- a/dashboard/src/templates/dashboard/multiple_select_filter_widget.html +++ b/dashboard/src/templates/dashboard/multiple_select_filter_widget.html @@ -6,40 +6,41 @@ } .class_grid_wrapper { border: 0px; - border-left: 1px; + text-align: center; border-right: 1px; border-style: solid; border-color: grey; - text-align: center; } + +.class_grid_wrapper:last-child { + border-right: none; +} + .grid_wrapper { display: grid; grid-template-columns: 1fr 1fr; } .grid-item { cursor: pointer; - border:2px; - border-style:none; - border-color:black; + border:1px solid #cccccc; border-radius: 5px; margin:20px; height: 200px; padding: 7px; - box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75); transition-property: box-shadow, background-color; transition-duration: .2s; } .grid-item:hover { - box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.75); + box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.45); transition-property: box-shadow; transition-duration: .2s; } .selected_node { - box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.75); - background-color: #CCECD7; + box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.45); + background-color: #fff; transition-property: background-color; transition-duration: .2s; } @@ -47,13 +48,12 @@ .disabled_node { cursor: not-allowed; background-color: #EFEFEF; - box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.75); transition-property: box-shadow; transition-duration: .2s; + border: 1px solid #ccc; } .disabled_node:hover { - box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.75); } .cleared_node { @@ -67,26 +67,67 @@ margin-top: 10px; } +#dropdown_wrapper > div > h5 { + margin: 12px; + display: inline-block; + vertical-align: middle; +} + +#dropdown_wrapper > div > button { + padding: 7px; + margin: 2px; + float: right; + width: 80px; +} +#dropdown_wrapper > div > input { + padding: 7px; + margin: 2px; + float: right; + width: 300px; + width: calc(100% - 240px); +} + +#dropdown_wrapper > div { + border:2px; + border-style:none; + border-color:black; + border-radius: 5px; + margin:20px; + padding: 2px; + box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75); + transition-property: box-shadow, background-color; + transition-duration: .2s; + display: inline-block; + vertical-align: middle; +} + +#dropdown_wrapper { + display: grid; + grid-template-columns: 3fr 5fr; +} +
{% for object_class, object_list in filter_objects %} -
-
-

{{object_class}}

-
-
- {% for obj in object_list %} -
-
-

{{obj.name}}

-

{{obj.description}}

- +
+
+

{{object_class}}

+
+
+ {% for obj in object_list %} +
+

{{obj.name}}

+

{{obj.description}}

+ +
+ + {% endfor %}
- -
- {% endfor %} -
{% endfor %}
@@ -97,7 +138,7 @@