Uploaded image for project: 'Reference Application'
  1. Reference Application
  2. RA-1067

Apply common styling to Concepts OWA pages

    XMLWordPrintable

Details

    • Story
    • Status: Approved
    • TBD
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Undetermined
    • Concepts OWA 2, Concepts OWA 3

    Description

      We want to provide a common styling for OWAs. One way to achieve that is to create the UI Commons OWA, the purpose of which, will be to expose the openmrs.css file.

      You can find the css file at http://demo.openmrs.org/openmrs/ms/uiframework/resource/referenceapplication/styles/referenceapplication.css?cache=1455853213753

      However, it is auto-generated using Compass and we will do the same in the UI Commons OWA. The file is built using https://github.com/openmrs/openmrs-module-referenceapplication/blob/master/omod/src/main/compass/config.rb

      In the file you can see that some sass files are imported from https://github.com/openmrs/openmrs-module-uicommons/tree/master/scss/src/main/resources and some are in https://github.com/openmrs/openmrs-module-referenceapplication/tree/master/omod/src/main/compass/sass

      You need to copy all sass files into UI Commons OWA repository and configure compass to build the openmrs.css file. We will remove those files from modules eventually, but for now we will duplicate them in the UI Commons OWA.

      Once that is done in Concepts OWA we should use the styling from /openmrs/owa/ui-commons/css/openmrs.css

      Gliffy Diagrams

        Attachments

          Activity

            People

              dkayiwa Daniel Kayiwa
              raff Rafal Korytkowski
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 days, 5 hours
                  4d 5h