Unverified Commit 636eb250 authored by Jacob Cain's avatar Jacob Cain Committed by GitHub
Browse files

ISIS Application Docs style overhaul (#5617)

* home, header, toc (minus images/icons)

* application docs overview, parameters

* formatting on specific isis docs

* style changes - examples, print

* usgs footer

* print friendly css

* isis-docs-sitewide css

* header lock, add footer to main

* icon assets (pd)

* removed PrinterFriendly doc builds and old footers

* mobile menu

* header remove search, tabs scroll

* menuPath for header assets, s3 common for fonts

* remove ancient menu assets
parent 778abcbb
Loading
Loading
Loading
Loading
+0 −9
Original line number Original line Diff line number Diff line
@@ -167,19 +167,14 @@ function(build_application_docs)
  #  locations instead of copying them to a temporary build directory?
  #  locations instead of copying them to a temporary build directory?


  set(appFolder            "${docBuildFolder}/Application")
  set(appFolder            "${docBuildFolder}/Application")
  set(printerStyleFolder   "${appFolder}/presentation/PrinterFriendly/styles")
  set(tabbedStyleFolder    "${appFolder}/presentation/Tabbed/styles")
  set(tabbedStyleFolder    "${appFolder}/presentation/Tabbed/styles")


  set(installAppFolder     "${docInstallFolder}/${docVersion}/Application")
  set(installAppFolder     "${docInstallFolder}/${docVersion}/Application")
  set(installPrinterFolder "${installAppFolder}/presentation/PrinterFriendly")
  set(installTabbedFolder  "${installAppFolder}/presentation/Tabbed")
  set(installTabbedFolder  "${installAppFolder}/presentation/Tabbed")


  # Make output directories and copy the styles
  # Make output directories and copy the styles
  file(MAKE_DIRECTORY "${installPrinterFolder}")
  file(MAKE_DIRECTORY "${installTabbedFolder}")
  file(MAKE_DIRECTORY "${installTabbedFolder}")
  file(MAKE_DIRECTORY "${installPrinterFolder}/styles")
  file(MAKE_DIRECTORY "${installTabbedFolder}/styles")
  file(MAKE_DIRECTORY "${installTabbedFolder}/styles")
  copy_wildcard("${printerStyleFolder}/*.css" ${installPrinterFolder}/styles/)
  copy_wildcard("${tabbedStyleFolder}/*.css"  ${installTabbedFolder}/styles/ )
  copy_wildcard("${tabbedStyleFolder}/*.css"  ${installTabbedFolder}/styles/ )


  # Loop through module folders
  # Loop through module folders
@@ -193,17 +188,13 @@ function(build_application_docs)
      get_filename_component(appName ${f} NAME)
      get_filename_component(appName ${f} NAME)


      # Get printer-friendly and tabbed output folders
      # Get printer-friendly and tabbed output folders
      set(pfAppFolder ${installPrinterFolder}/${appName})
      set(tbAppFolder ${installTabbedFolder}/${appName})
      set(tbAppFolder ${installTabbedFolder}/${appName})
      file(MAKE_DIRECTORY "${pfAppFolder}")
      file(MAKE_DIRECTORY "${tbAppFolder}")
      file(MAKE_DIRECTORY "${tbAppFolder}")


      if(EXISTS ${f}/assets)
      if(EXISTS ${f}/assets)
        copy_folder(${f}/assets ${pfAppFolder})
        copy_folder(${f}/assets ${tbAppFolder})
        copy_folder(${f}/assets ${tbAppFolder})
      endif()
      endif()


      execute_process(COMMAND ${XALAN} ${XALAN_PARAM_OPTION} menuPath \"../../../../\" ${XALAN_OUTFILE_OPTION} ${pfAppFolder}/${appName}.html ${XALAN_INFILE_OPTION} ${f}/${appName}.xml ${XALAN_XSL_OPTION} ${printerStyleFolder}/IsisApplicationDocStyle.xsl)
      execute_process(COMMAND ${XALAN} ${XALAN_PARAM_OPTION} menuPath \"../../../../\" ${XALAN_OUTFILE_OPTION} ${tbAppFolder}/${appName}.html ${XALAN_INFILE_OPTION} ${f}/${appName}.xml ${XALAN_XSL_OPTION} ${tabbedStyleFolder}/IsisApplicationDocStyle.xsl)
      execute_process(COMMAND ${XALAN} ${XALAN_PARAM_OPTION} menuPath \"../../../../\" ${XALAN_OUTFILE_OPTION} ${tbAppFolder}/${appName}.html ${XALAN_INFILE_OPTION} ${f}/${appName}.xml ${XALAN_XSL_OPTION} ${tabbedStyleFolder}/IsisApplicationDocStyle.xsl)


    endforeach() # End loop through app folders
    endforeach() # End loop through app folders
+185 −184
Original line number Original line Diff line number Diff line
@@ -7,7 +7,8 @@


  <description>
  <description>
    <html>
    <html>
      <head><style>
      <head>
        <style>
          .td {
          .td {
            padding-left: 20px; width:70px; align:center;
            padding-left: 20px; width:70px; align:center;
          }
          }
@@ -17,13 +18,15 @@
          .td2 {
          .td2 {
            padding-top: 8px; padding-bottom: 8px; padding-left: 10px; padding-right: 10px; align:center;
            padding-top: 8px; padding-bottom: 8px; padding-left: 10px; padding-right: 10px; align:center;
          }
          }
      </style></head>
        </style>
      <body> <font size="2" face="Verdana">
      </head>
      <body>
          <p>
          <p>
            This application mosaics together ISIS cubes from a user-entered text file containing the
            This application mosaics together ISIS cubes from a user-entered text file containing the
            input cube filenames (FROMLIST). If the output file (MOSAIC) does not already exist, the
            input cube filenames (FROMLIST). If the output file (MOSAIC) does not already exist, the
            program will create it from the input cubes. Otherwise, the input cubes will be placed
            program will create it from the input cubes. Otherwise, the input cubes will be placed
            into the existing mosaic cube.
            into the existing mosaic cube.
          </p>
          <p>
          <p>
            REQUIREMENT: The listed input cubes must be map projected (<def>Level2</def>).
            REQUIREMENT: The listed input cubes must be map projected (<def>Level2</def>).
            The input cubes are required to be projected to the EXACT SAME ProjectionName,
            The input cubes are required to be projected to the EXACT SAME ProjectionName,
@@ -40,7 +43,6 @@
            override this by entering their own latitude/longitude extents for the output mosaic
            override this by entering their own latitude/longitude extents for the output mosaic
            cube by setting the GRANGE parameter.
            cube by setting the GRANGE parameter.
          </p>
          </p>
      </p>
          <p>
          <p>
            <b>Integrity-check Parameters</b>:
            <b>Integrity-check Parameters</b>:
            <p>
            <p>
@@ -104,7 +106,7 @@
              The following table describes how the program will determine the pixel value in the output
              The following table describes how the program will determine the pixel value in the output
              mosaic for areas of image overlap.
              mosaic for areas of image overlap.
            </b>
            </b>
        <table border="1" >
            <table cellspacing="0" border="1" >
              <tr><th>PRIORITY</th><th>RESULT</th></tr>
              <tr><th>PRIORITY</th><th>RESULT</th></tr>
              <tr>
              <tr>
                <td>ONTOP</td>
                <td>ONTOP</td>
@@ -188,7 +190,7 @@
              <tr><td class="td"><img src="assets/OnTop.jpg" alt="Priority OnTop" />  </td>
              <tr><td class="td"><img src="assets/OnTop.jpg" alt="Priority OnTop" />  </td>
                  <td class="td"></td>
                  <td class="td"></td>
                  <td class="td">-->
                  <td class="td">-->
                <table cellspacing="0" cellpadding="1" border="1" width="1000">
                <table cellspacing="0" cellpadding="1" border="1">
                  <tr><th colspan="6" align="center">PRIORITY=ONTOP</th></tr>
                  <tr><th colspan="6" align="center">PRIORITY=ONTOP</th></tr>
                  <tr><th colspan="3" align="center">Options</th>
                  <tr><th colspan="3" align="center">Options</th>
                      <th colspan="3" align="center">Images</th></tr>
                      <th colspan="3" align="center">Images</th></tr>
@@ -266,7 +268,7 @@
          <tr><td class="td"><img src="assets/Band.jpg" alt="Priority Band" />  </td>
          <tr><td class="td"><img src="assets/Band.jpg" alt="Priority Band" />  </td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">-->
              <td class="td">-->
                <table cellspacing="0" cellpadding="0" border="1" width="1000">
                <table cellspacing="0" cellpadding="0" border="1">
                  <tr><th colspan="6" align="center">PRIORITY=BAND</th></tr>
                  <tr><th colspan="6" align="center">PRIORITY=BAND</th></tr>
                  <tr><th colspan="3" align="center">Options</th><th colspan="3" align="center">
                  <tr><th colspan="3" align="center">Options</th><th colspan="3" align="center">
                    Images</th></tr>
                    Images</th></tr>
@@ -327,7 +329,7 @@
          <tr><td class="td"><img src="assets/Average.jpg" alt="Priority Average" /></td>
          <tr><td class="td"><img src="assets/Average.jpg" alt="Priority Average" /></td>
              <td class="td"></td>
              <td class="td"></td>
              <td class="td">-->
              <td class="td">-->
                <table cellspacing="0" cellpadding="0" border="1" width="1000">
                <table cellspacing="0" cellpadding="0" border="1">
                  <tr><th colspan="7" align="center">PRIORITY=AVERAGE</th></tr>
                  <tr><th colspan="7" align="center">PRIORITY=AVERAGE</th></tr>
                  <tr><th colspan="3" align="center">Options</th><th colspan="4" align="center">
                  <tr><th colspan="3" align="center">Options</th><th colspan="4" align="center">
                    Images</th></tr>
                    Images</th></tr>
@@ -389,7 +391,6 @@
        </table>
        </table>
     -->
     -->
      </p>
      </p>
    </font>
     </body>
     </body>
    </html>
    </html>
  </description>
  </description>
+0 −1
Original line number Original line Diff line number Diff line
@@ -116,7 +116,6 @@
               text-decoration: none ;
               text-decoration: none ;
               margin-top:2px;
               margin-top:2px;
               margin-bottom:3px;
               margin-bottom:3px;
               background-color: #88AACC ;
               padding: 3px ;
               padding: 3px ;
              }
              }


+3 −3
Original line number Original line Diff line number Diff line
@@ -125,7 +125,7 @@ Group = Mapping
     software like <i>cam2map</i>, an error will occur. Below is a list of
     software like <i>cam2map</i>, an error will occur. Below is a list of
     projections and the keywords that must be in the Map File Template:<br />
     projections and the keywords that must be in the Map File Template:<br />


<table class="tableFormattedInformation" border="1" style="width:700px;">
<table class="tableFormattedInformation">
<tr>
<tr>
   <th>
   <th>
      PROJECTION
      PROJECTION
@@ -182,7 +182,7 @@ Group = Mapping
<p>
<p>
<b>How the defaults are set for Mapping Group keywords:</b>
<b>How the defaults are set for Mapping Group keywords:</b>


<table class="tableFormattedInformation" border="1" style="width:700px;">
<table class="tableFormattedInformation">
<tr>
<tr>
   <th>
   <th>
      DEFAULT SOURCE
      DEFAULT SOURCE
@@ -269,7 +269,7 @@ Group = Mapping
   <p>
   <p>
     <b>Parameter Setting Action</b>
     <b>Parameter Setting Action</b>


     <table class="tableFormattedInformation" border="1" style="width:700px;">
     <table class="tableFormattedInformation">


     <tr>
     <tr>
       <th>
       <th>
+0 −2
Original line number Original line Diff line number Diff line
@@ -42,8 +42,6 @@ Deborah Lee Soltesz
            USGS: ISIS Application Table of Contents
            USGS: ISIS Application Table of Contents
        </title>
        </title>
        <link rel="stylesheet" href="../assets/styles/IsisStyleCommon.css"></link>
        <link rel="stylesheet" href="../assets/styles/IsisStyleCommon.css"></link>
        <link rel="stylesheet" href="presentation/PrinterFriendly/styles/IsisApplicationDocStyle.css"></link>
        <link rel="stylesheet" href="../assets/styles/menu.css"/>
        <link rel="stylesheet" media="print" href="../assets/styles/print.css"/>
        <link rel="stylesheet" media="print" href="../assets/styles/print.css"/>


        <meta name="keywords" content="Isis, applications, table of contents, image processing"/>
        <meta name="keywords" content="Isis, applications, table of contents, image processing"/>
Loading