From c219f7a8098685cf01f1505137f8d5e7fe47e3ec Mon Sep 17 00:00:00 2001 From: Lukas Brabec Date: Jan 24 2019 13:01:21 +0000 Subject: moar gui --- diff --git a/src/index.css b/src/index.css index 189286f..28a2930 100644 --- a/src/index.css +++ b/src/index.css @@ -155,4 +155,4 @@ ol.steps > li { h1 { font-size: 1.25rem !important; -} \ No newline at end of file +} diff --git a/src/wizard/Easyfix.js b/src/wizard/Easyfix.js index 9fcf452..5b3486d 100644 --- a/src/wizard/Easyfix.js +++ b/src/wizard/Easyfix.js @@ -45,10 +45,10 @@ class EasyfixItemsListSub1 extends Component { -
+
{k} - {this.props.data[k][0].extra_data.description}
-
+ @@ -89,10 +89,10 @@ class EasyfixItemsListSub1 extends Component { -
+
{title}
-
+ diff --git a/src/wizard/FedoraManualTesting.js b/src/wizard/FedoraManualTesting.js index 67b8e69..7a00c08 100644 --- a/src/wizard/FedoraManualTesting.js +++ b/src/wizard/FedoraManualTesting.js @@ -1,6 +1,6 @@ import React, { Component } from 'react'; import { Card, CardHeader, CardBody, UncontrolledCollapse } from 'reactstrap'; -import { Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap'; +import { Modal, ModalHeader, ModalBody, ModalFooter, Row } from 'reactstrap'; export default class FedoraManualTesting extends Component { render() { @@ -20,21 +20,15 @@ class FedoraManualTestingItemsListSub1 extends Component { render() { var subsections = Object.keys(this.props.data); var title = this.props.title; -// if (subsections.length > 1){ - subsections = Object.keys(this.props.data).map(k => ( -
  • {k} -
      - -
    -
  • - ) - ) -/* } - else{ - title = title + ' - ' + subsections[0]; - subsections = Object.keys(this.props.data).map(k => ()); - } -*/ + subsections = Object.keys(this.props.data).map(k => ( +
  • {k} +
      + +
    +
  • + ) + ) + var l1 =
    ; switch (this.props.title) { case "Installation": @@ -74,8 +68,14 @@ class FedoraManualTestingItemsListSub1 extends Component { return( - {l1} - Show me! + +
    + {l1} +
    +
    + Show me! +
    +
    diff --git a/src/wizard/WizardForm.js b/src/wizard/WizardForm.js index 8c7c896..300f145 100644 --- a/src/wizard/WizardForm.js +++ b/src/wizard/WizardForm.js @@ -98,7 +98,7 @@ class WizardForm extends Component {
    - {p.scope} - {p.name}:
    {p.description} + {p.scope} - {p.name}
    {p.description}