From 4371666036ac16ecabfbcf56bdb3de103cebcc16 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Tue, 27 Mar 2018 05:25:14 -0500 Subject: [PATCH] ui twaks --- .../ClientApp/components/Layout.tsx | 2 +- .../ClientApp/components/ListDetails.tsx | 56 +++++++++++-------- 2 files changed, 35 insertions(+), 23 deletions(-) diff --git a/src/FilterLists.Web/ClientApp/components/Layout.tsx b/src/FilterLists.Web/ClientApp/components/Layout.tsx index 961950574..fc75c5d2c 100644 --- a/src/FilterLists.Web/ClientApp/components/Layout.tsx +++ b/src/FilterLists.Web/ClientApp/components/Layout.tsx @@ -23,7 +23,7 @@ export class Layout extends React.Component {
-

By Collin M. Barrett | Contribute on GitHub

+

Contribute on GitHub | By Collin M. Barrett

; }; diff --git a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx index 030861ed3..359a8af77 100644 --- a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx +++ b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx @@ -39,10 +39,12 @@ function FilterListDetails(props: any) {
- - - - +
    + + + + +
@@ -68,46 +70,54 @@ function FilterListDetails(props: any) { function Description(props: any) { return props.description ? (props.url - ?

+ ?

{props.description}

- :

{props.description}

) + :

{props.description}

) : null; } function Languages(props: any) { return props.languages.length > 0 ? props.languages.length > 1 - ?
-

Languages:

+ ?
  • +

    Languages:

      {props.languages.map( (language: any) =>
    • {language}
    • )}
    -
  • - :
    -

    Language:

    -
      - {props.languages.map( - (language: any) =>
    • {language}
    • )} -
    -
    + + :
  • +

    Language: {props.languages.map((language: any) => language)}

    +
  • : null; } function PublishedDate(props: any) { - return props.date ?

    Published: {props.date}

    : null; + return props.date + ?
  • +

    Published: {props.date}

    +
  • + : null; } function DiscontinuedDate(props: any) { - return props.date ?

    Discontinued: {props.date}

    : null; + return props.date + ?
  • +

    Discontinued: {props.date}

    +
  • + : null; } function License(props: any) { return props.license ? (props.license.descriptionUrl - ?

    License: {props.license.name}

    - :

    License: {props.license.name}

    ) + ?
  • +

    License: {props.license.name}

    +
  • + :
  • +

    License: {props.license.name}

    +
  • ) : null; } @@ -219,14 +229,16 @@ function Maintainer(props: any) {

    More by {props.maintainer.name}:

      {props.maintainer.additionalLists.map( - (list: any) => )} + (list: any) => )}
    : null}
    {props.maintainer.homeUrl - ? Home