changeset 68:d3baea22ad57 development

Work on front page. Small updates to less file. Remove unneeded comments and improve readability via whitespace
author Jie Kang <jkang@redhat.com>
date Fri, 25 Nov 2016 16:50:18 -0500
parents 49cc34400198
children ef7e08a19d56
files content/documentation/content.html content/home/content.html css/style.less index.html
diffstat 4 files changed, 29 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/content/documentation/content.html	Thu Nov 24 14:57:08 2016 -0500
+++ b/content/documentation/content.html	Fri Nov 25 16:50:18 2016 -0500
@@ -142,10 +142,10 @@
                                     </h4>
                                     <h4>
                                         Next, the Web Endpoint needs to be configured to bind to the host machine's IP Address. This is done with the configuration
-                                        file <a class="ac" href="#term-thermostat-home">THERMOSTAT_HOME</a>/etc/db.properties
-                                        or <a class="ac" href="#term-user-thermostat-home">USER_THERMOSTAT_HOME</a>/etc/db.properties.
-                                        The settings in <a class="ac" href="#term-user-thermostat-home">USER_THERMOSTAT_HOME</a>                                        override those in
-                                        <a class="ac" href="#term-thermostat-home">THERMOSTAT_HOME</a>.
+                                        file <a class="terminology-link" href="#term-thermostat-home">THERMOSTAT_HOME</a>/etc/db.properties
+                                        or <a class="terminology-link" href="#term-user-thermostat-home">USER_THERMOSTAT_HOME</a>/etc/db.properties.
+                                        The settings in <a class="terminology-link" href="#term-user-thermostat-home">USER_THERMOSTAT_HOME</a>                                        override those in
+                                        <a class="terminology-link" href="#term-thermostat-home">THERMOSTAT_HOME</a>.
                                     </h4>
                                     <h4>
                                         The BIND and PORT fields should be set to the machine's IP address and a free port. For a machine with ip 192.168.0.1 and
@@ -172,11 +172,11 @@
                                         To setup the Agent on a machine it must be configured to connect to the Web Endpoint via URL.
                                     </h4>
                                     <h4>
-                                        First, prevent setup from occurring by creating the file: <a class="ac" href="#term-user-thermostat-home">USER_THERMOSTAT_HOME</a>/data/setup-complete.stamp
+                                        First, prevent setup from occurring by creating the file: <a class="terminology-link" href="#term-user-thermostat-home">USER_THERMOSTAT_HOME</a>/data/setup-complete.stamp
                                     </h4>
                                     <h4>
                                         Next, configure the agent to bind it's Command Channel to a remotely accessible IP address and to connect to the Web Endpoint
-                                        via URL. This is done with the file: <a class="ac"
+                                        via URL. This is done with the file: <a class="terminology-link"
                                             href="#term-user-thermostat-home">USER_THERMOSTAT_HOME</a>/etc/agent.properties The
                                         CONFIG_LISTEN_ADDRESS property should be set to a remotely accessible IP address
                                         and free port and the DB_URL property should be set to the URL that the Web Endpoint
@@ -185,7 +185,7 @@
                                     </h4>
                                     <pre><code>CONFIG_LISTEN_ADDRESS=192.168.0.2:12000&#10DB_URL=http://192.168.0.1:27518/thermostat/storage</code></pre>
                                     <h4>
-                                        After this, set the credentials to be used in the file: <a class="ac" href="#term-user-thermostat-home">USER_THERMOSTAT_HOME</a>/etc/agent.auth
+                                        After this, set the credentials to be used in the file: <a class="terminology-link" href="#term-user-thermostat-home">USER_THERMOSTAT_HOME</a>/etc/agent.auth
                                         These are used when connecting to the Web Endpoint and should be the same as the
                                         default agent user credentials in the setup for Storage and Web Endpoint. An example
                                         agent.auth file looks like:
@@ -205,7 +205,7 @@
                                         To setup the Client on the machine it must be configured to connect to the Web Endpoint via URL.
                                     </h4>
                                     <h4>
-                                        First, prevent setup from occurring by creating the file: <a class="ac" href="#term-user-thermostat-home">USER_THERMOSTAT_HOME</a>/data/setup-complete.stamp
+                                        First, prevent setup from occurring by creating the file: <a class="terminology-link" href="#term-user-thermostat-home">USER_THERMOSTAT_HOME</a>/data/setup-complete.stamp
                                     </h4>
                                     <h4>
                                         For the GUI Client, start via:
@@ -372,7 +372,7 @@
                         </ul>
                     </li>
                 </ul>
-                <a href="#logo-box" class="back-to-top">Back to Top</a>
+                <a href="#nav-container" class="back-to-top">Back to Top</a>
             </nav>
         </div>
     </div>
--- a/content/home/content.html	Thu Nov 24 14:57:08 2016 -0500
+++ b/content/home/content.html	Fri Nov 25 16:50:18 2016 -0500
@@ -23,9 +23,15 @@
             </div>
         </div>
         <div class="col-sm-6">
-            <h3 class="white">
-                Get Started
-            </h3>
+            <div style="margin-top: 25px;">
+                <h3 class="white">
+                    Using Thermostat is quick and easy.
+                </h3>
+                <h4 class="white">
+                    Profile methods, find memory leaks, visualize the stack and more. 
+                </h4>
+                <a href="./getting-started" class="btn btn-default btn-large btn-c1" role="button"> Get started <span class="glyphicon glyphicon-menu-right" aria-hidden="true"></a>
+            </div>
         </div>
     </div>
 </div>
\ No newline at end of file
--- a/css/style.less	Thu Nov 24 14:57:08 2016 -0500
+++ b/css/style.less	Fri Nov 25 16:50:18 2016 -0500
@@ -16,12 +16,9 @@
 /* content-divs */
 #content-header {
     background-color: @dark-blue;
-    // height: 6%;
-    // max-height: 50px;
 }
 
 #content-body {
-    // height: 94%;
     background-color: @white;
 }
 
@@ -46,6 +43,7 @@
     background-image: url(../img/flexibility_curved_building_istock.png);
     background-size: cover;
     background-repeat: no-repeat;
+    background-attachment: fixed;
     margin-bottom: 0px;
 }
 
@@ -116,11 +114,13 @@
   color: @white;
   background-color: @dark-blue;
 }
+
 .navbar-default .navbar-nav > li > a:hover,
 .navbar-default .navbar-nav > li > a:focus {
   color: @light-grey;
   background-color: @dark-blue;
 }
+
 .navbar-default .navbar-nav > .active > a,
 .navbar-default .navbar-nav > .active > a:hover,
 .navbar-default .navbar-nav > .active > a:focus {
@@ -128,6 +128,7 @@
   font-size: 1.1em;
   background-color: @dark-blue;
 }
+
 .navbar-default .navbar-nav > .open > a,
 .navbar-default .navbar-nav > .open > a:hover,
 .navbar-default .navbar-nav > .open > a:focus {
@@ -245,6 +246,11 @@
     // font-size: 1.1em;   
 }
 
+.btn-large {
+    padding: 0.3em 1em;
+    font-size: 1.3em;
+}
+
 .btn-xlarge {
     padding: 0.5em 3em;
     font-size: 1.4em;
@@ -311,6 +317,6 @@
     color: @dark-blue;
 }
 
-.ac {
+.terminology-link {
     color: @grey;
 }
\ No newline at end of file
--- a/index.html	Thu Nov 24 14:57:08 2016 -0500
+++ b/index.html	Fri Nov 25 16:50:18 2016 -0500
@@ -23,7 +23,7 @@
   <div id="content-body">
   </div>
 
-  <div class="container" id="content-footer">
+  <div class="container-fluid" id="content-footer">
   </div>
 
   <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->