diff --git a/website/assets/images/lightbulb-blue-24x24@2x.png b/website/assets/images/lightbulb-blue-24x24@2x.png new file mode 100644 index 0000000000..2c4d7289e2 Binary files /dev/null and b/website/assets/images/lightbulb-blue-24x24@2x.png differ diff --git a/website/assets/styles/pages/query-detail.less b/website/assets/styles/pages/query-detail.less index 09f2511b42..2a7caac610 100644 --- a/website/assets/styles/pages/query-detail.less +++ b/website/assets/styles/pages/query-detail.less @@ -1,5 +1,35 @@ #query-detail { - // … + h5 { + font-size: 18px; + font-weight: bold; + } + + h6 { + font-size: 16px; + line-height: 24px; + } + + a { + font-size: 18px; + color: @core-vibrant-blue; + } + + .query-tip { + background-color: @ui-off-white; + + .lightbulb { + height: 24px; + width: auto; + margin-left: 4px; + margin-right: 20px; + } + + } + + .query-sidebar { + border-color: #E2E4EA; + + } } diff --git a/website/views/pages/query-detail.ejs b/website/views/pages/query-detail.ejs index 2be05840ae..bee4c11ee7 100644 --- a/website/views/pages/query-detail.ejs +++ b/website/views/pages/query-detail.ejs @@ -2,38 +2,48 @@
-

TODO: Implement this part.

-

(See also assets/styles/pages/query-detail.less, assets/js/pages/query-detail.page.js, and api/controllers/view-query-detail.js.)

-

sql:

- {{query.query}} - <% /* - e.g. here's what all is available: - { - "name": "Get Docker images on a system", - "platforms": "macOS, Linux", - "description": "Docker images information, can be used on normal system or a kubenode.", - "query": "SELECT * FROM docker_images;", - "purpose": "Informational", - "remediation": "N/A", - "contributors": "anelshaer,gillespi314" - }, - */ %> -

here's what all's available

- {{query}} - - - +

{{query.name}}

+
{{query.description}}
+
+
+ lightbulb

{{query.tip}}

+
+
+

Query

+ {{query.query}} +
+

Remediation

+
    +
  • + {{item}} +
  • +
+
-
-

Platforms

-

- - -

-

Purpose

-

Informational

-

Contribute

- Edit this page + +
+ +
+
Platforms
+

+ + + +

+
+ +
+
Purpose
+

{{query.purpose}}

+
+ +
+
Contributors
+ +

{{query.contributors}}

+
+
Contribute to this page
+ View source