#50982 Issue 50975 - Revise UI branding with new minimized build
Closed 3 years ago by spichugi. Opened 4 years ago by mreynolds.
mreynolds/389-ds-base branding  into  master

@@ -0,0 +1,3 @@ 

+ #main-banner::before {

+     content: "389 Directory Server Management";

+ }

@@ -35,6 +35,7 @@ 

      Button

  } from "patternfly-react";

  import "./css/ds.css";

+ import "./css/branding.css";

  

  const staticStates = {

      noPackage: (
@@ -532,7 +533,6 @@ 

                  pageLoadingState.state !== "noPackage" ? (

                      <div className="ds-logo" hidden={pageLoadingState.state === "loading"}>

                          <h2 className="ds-logo-style" id="main-banner">

-                             389 Directory Server Management

                              <div className="dropdown ds-server-action">

                                  <select

                                      className="btn btn-default dropdown"

@@ -1,13 +1,14 @@ 

  <!DOCTYPE html>

  <html lang="en">

  <head>

-   <title>389 Directory Server</title>

+   <title>Directory Server Management</title>

    <meta charset="utf-8">

    <meta name="description" content="">

    <meta name="viewport" content="width=device-width, initial-scale=1">

    <script type="text/javascript" src="../base1/cockpit.js"></script>

    <link rel="stylesheet" href="../base1/patternfly.css">

    <link href="css/ds.css" type="text/css" rel="stylesheet">

+   <link href="css/branding.css" type="text/css" rel="stylesheet">

  </head>

  

  
@@ -16,4 +17,3 @@ 

      <script src="index.js"></script>

  </body>

  </html>

- 

Description:

Use a css file to handle the branding, then the specfile can do a text replacement on that non-minimized css file.

fixes: https://pagure.io/389-ds-base/issue/50975

rebased onto 8c02d41ee7480d79c99cd20d89dca334625bc397

4 years ago

Seems pretty straight forward to me, but I think @spichugi should comment :)

rebased onto 6a1d785

4 years ago

Pull-Request has been merged by mreynolds

4 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/4035

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

3 years ago