Minor appearance changes.
authorChuck Scott <cscott@gaslightmedia.com>
Fri, 26 Oct 2018 17:23:56 +0000 (13:23 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Fri, 26 Oct 2018 17:23:56 +0000 (13:23 -0400)
views/adminServerStats.html

index 008586f..7332ca7 100755 (executable)
@@ -3,18 +3,24 @@
 
     <style>
         /* Some styles are set in the print area to make them available in the print window */
+        .pickContainer {
+            margin-top: 1em;
+            width: 850px;
+        }
         .pseudoPick {
             height: 150px; 
-            padding-left: 2px; 
+            width: 98%;
             overflow-y: auto; 
             overflow-x: hidden;
             display: inline-block;
-            margin-top: 1em;
             border: 1px #ddd solid;
         }
+        .pseudoPickTitles {
+            text-decoration: underline;
+            line-height: .2em;
+        }
         .pseudoPickOption {
             text-decoration: none;
-            
             line-height: .2em;
         }
         .pseudoPickOption:hover {
         <input type="radio" name="site_sort" {if $site_sort == 'data_total'} checked="checked"{/if} onClick="location.href='{$thisUrl}?page={$thisPage}&site_sort=data_total&selected_site={$selectedSite}';">Total Traffic&nbsp;&nbsp;
         <input type="radio" name="site_sort" {if $site_sort == 'site_name'} checked="checked"{/if} onClick="location.href='{$thisUrl}?page={$thisPage}&site_sort=site_name&selected_site={$selectedSite}';">Site Name
         </p>
-        <div class="pseudoPick">
-            <pre style="text-decoration: underline;">Website                                                Last Month             Target                  </pre>
-    {foreach $websites as $site}
-            <pre class="pseudoPickOption"></span>{if $site.name == $selectedSite}<a name="selectedSite"></a>{/if}<a href="{$thisUrl}?page={$thisPage}&selected_site={$site.name}&site_id={$site.id}&site_sort={$site_sort}" class="pseudoPickOption" {if $site.name == $selectedSite}onClick="return false;"{/if}><span{if $site.name == $selectedSite} style="background-color: LightGray;"{/if}>{$site.name|string_format:"%-50s"} {$site.data_total|string_format:"%6.1f"} Gigabytes   {$site.target|string_format:"%8.1f"} Gigabytes   <span {if $site.target_percent > 80}style="color: red;"{/if}>{$site.target_percent|string_format:"%6.0f"}%</span></span></a></pre> 
-<!-- 
-            <pre class="pseudoPickOption"></span>{if $site.name == $selectedSite}<a name="selectedSite"></a>{/if}<a href="{$thisUrl}?page={$thisPage}&selected_site={$site.name}&site_sort={$site_sort}" class="pseudoPickOption" {if $site.name == $selectedSite}onClick="return false;"{/if}><span{if $site.name == $selectedSite} style="background-color: LightGray;"{/if}>{$site.name|string_format:"%-50s"} {$site.data_total|string_format:"%6.1f"} Gigabytes   {$site.target|string_format:"%8.1f"} Gigabytes   <span {if $site.target_percent > 80}style="color: red;"{/if}>{$site.target_percent|string_format:"%6.0f"}%</span></span></a></pre> 
--->
-    {/foreach}
+        <div class="pickContainer">
+            <pre class="pseudoPickTitles">Website                                                Last Month             Target       % of Target   </pre>
+            <div class="pseudoPick">
+        {foreach $websites as $site}
+                <pre class="pseudoPickOption"></span>{if $site.name == $selectedSite}<a name="selectedSite"></a>{/if}<a href="{$thisUrl}?page={$thisPage}&selected_site={$site.name}&site_id={$site.id}&site_sort={$site_sort}" class="pseudoPickOption" {if $site.name == $selectedSite}onClick="return false;"{/if}><span{if $site.name == $selectedSite} style="background-color: LightGray;"{/if}>{$site.name|string_format:"%-50s"} {$site.data_total|string_format:"%6.1f"} Gigabytes   {$site.target|string_format:"%8.1f"} Gigabytes   <span {if $site.target_percent > 80}style="color: red;"{/if}>{$site.target_percent|string_format:"%6.0f"}%</span></span></a></pre> 
+        {/foreach}
+            </div>
         </div>
     {if $selectedSite}          
         <table class="glm-admin-table" style="width: 100%">