diff --git a/tailwind.config.js b/tailwind.config.js index bf5eda1..2b5e2f3 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -17,13 +17,13 @@ module.exports = { 'c-dark-slate-background': colors.slate[950], 'c-dark-slate-header-background': colors.slate[800], 'c-dark-slate-navbar-background': colors.slate[800], + 'c-dark-slate-card': colors.slate[800], 'c-dark-slate-border': colors.slate[600], 'c-dark-slate-text': colors.slate[200], + 'c-dark-slate-text-dark': colors.slate[600], 'c-dark-slate-documentation-background': colors.slate[900], 'c-dark-background': colors.slate[600], 'c-dark-blue-background': colors.blue[950], - - } }, }, diff --git a/views/components/cards/reporting_card.templ b/views/components/cards/reporting_card.templ index ea030c4..2375d6d 100644 --- a/views/components/cards/reporting_card.templ +++ b/views/components/cards/reporting_card.templ @@ -31,13 +31,13 @@ var reportingCards = []ReportingCardData{ templ executedPlaybooksCard(data ReportingCardData) { @Card() {
-
+
-
Executed Playbooks
-
{ fmt.Sprint(data.Value) }
+
Executed Playbooks
+
{ fmt.Sprint(data.Value) }
@@ -47,13 +47,13 @@ templ executedPlaybooksCard(data ReportingCardData) { templ failedPlaybooksCard(data ReportingCardData) { @Card() {
-
+
-
Failed Playbooks
-
{ fmt.Sprint(data.Value) }
+
Failed Playbooks
+
{ fmt.Sprint(data.Value) }
@@ -63,13 +63,13 @@ templ failedPlaybooksCard(data ReportingCardData) { templ ongoingPlaybooksCard(data ReportingCardData) { @Card() {
-
+
-
Ongoing Playbooks
-
{ fmt.Sprint(data.Value) }
+
Ongoing Playbooks
+
{ fmt.Sprint(data.Value) }
diff --git a/views/components/table/reporting_table.templ b/views/components/table/reporting_table.templ index a6999ac..5b6c425 100644 --- a/views/components/table/reporting_table.templ +++ b/views/components/table/reporting_table.templ @@ -91,7 +91,7 @@ templ reportingTableHeaders() { templ reportingTableDataRow(row ReportingDataTableRow) { @Td() { - { row.Name } + { row.Name } } @Td() { { row.StartTime.Format(time.ANSIC) } diff --git a/views/dashboards/home/home.templ b/views/dashboards/home/home.templ index 46e6eea..463959f 100644 --- a/views/dashboards/home/home.templ +++ b/views/dashboards/home/home.templ @@ -101,7 +101,7 @@ templ dummyActivity() {

Latest Activity

- + View all
@@ -111,7 +111,7 @@ templ dummyActivity() {

SOARCA UI Enhancements

Implemented new user interface designs in Figma to streamline the workflow and enhance user experience for security automation.

- + Learn more @@ -123,8 +123,8 @@ templ dummyActivity() {

SOARCA FIN Integration

Integrate custom integration into your code using the SOARCA Fin Library

-
- Go to SOARCA FIN library + + Go to SOARCA FIN library/ @@ -147,10 +147,10 @@ templ dummyActivity() { } templ headersection() { - @cards.Card(utils.Class("relative bg-gradient-to-r from-blue-600 to-fuchsia-500 shadow-md rounded-lg p-2")) { + @cards.Card(utils.Class("relative bg-gradient-to-r from-blue-600 to-fuchsia-500 shadow-md rounded-lg p-2 dark:bg-c-dark-blue-background dark:bg-none")) {
- @icons.NewIcon("user").InsertIcon("ml-3 mr-3 text-white") -

Welcome 'some name' back to SOARCA

+ @icons.NewIcon("user").InsertIcon("ml-3 mr-3 text-white dark:text-c-slate-text") +

Welcome 'some name' back to SOARCA

} } diff --git a/views/dashboards/reporting/reporting.templ b/views/dashboards/reporting/reporting.templ index 9099e98..cd5d45b 100644 --- a/views/dashboards/reporting/reporting.templ +++ b/views/dashboards/reporting/reporting.templ @@ -16,7 +16,7 @@ templ ReportingIndex() { } templ banner() { - @cards.Card(utils.Class("relative bg-gradient-to-r from-blue-600 to-fuchsia-500 shadow-md rounded-lg p-2 mb-2")) { + @cards.Card(utils.Class("relative bg-gradient-to-r from-blue-600 to-fuchsia-500 shadow-md rounded-lg p-2 mb-2 dark:bg-c-dark-slate-background/ dark:bg-none")) {
-

Reporting

+

Reporting

} } diff --git a/views/dashboards/reporting/reporting_detailed.templ b/views/dashboards/reporting/reporting_detailed.templ index 372bbf1..3669071 100644 --- a/views/dashboards/reporting/reporting_detailed.templ +++ b/views/dashboards/reporting/reporting_detailed.templ @@ -71,28 +71,28 @@ templ playbookInfoCard(executionReport reporter.PlaybookExecutionReport) { - - + + - - + + - - + + - - + + - + - +
Execution ID:{ executionReport.ExecutionId }Execution ID:{ executionReport.ExecutionId }
Description:{ executionReport.Description }Description:{ executionReport.Description }
Started:{ executionReport.Started.Format(time.ANSIC) }Started:{ executionReport.Started.Format(time.ANSIC) }
Ended:{ executionReport.Ended.Format(time.ANSIC) }Ended:{ executionReport.Ended.Format(time.ANSIC) }
Duration:{ formatDuration(executionReport.Started, executionReport.Ended) }{ formatDuration(executionReport.Started, executionReport.Ended) }
Status:{ executionReport.StatusText }{ executionReport.StatusText }
@@ -226,7 +226,7 @@ templ timelineView(stepResults map[string]reporter.StepExecutionReport) {
    for _, stepResult := range stepResults {
  1. - + @indicators.ReportingStatusTagNoText(stepResult.Status)

    { stepResult.Name }