updating style.css info and the layout
authorIan Weller <ian@gaslightmedia.com>
Thu, 23 Mar 2017 12:51:55 +0000 (08:51 -0400)
committerIan Weller <ian@gaslightmedia.com>
Thu, 23 Mar 2017 12:51:55 +0000 (08:51 -0400)
I updated the style.css information and did some overhaul changes to the
front page.  It's a start.  Just one small step.

front-page.php
style.css

index 9f6caf2..e127884 100644 (file)
@@ -1,87 +1,10 @@
-<?php 
-include 'class_flight.php';
-get_header(); 
-global $wpdb;
-
-
-?>
+<?php get_header(); ?>
 <div class="row">
     <?php get_template_part('parts/slide-show');?>
 </div>
 <main class="page-front">
     <div id="content-wrapper">
-        <?php
-//        glm_flight::get_flight_data();
-        $flight = new glm_flight();
-        $flight->get_flight_data();
-         ?>
-        <div id="arrival" class="row">
-            <div class="small-12 columns">
-                <h1>Arrivals:</h1>
-                <?php echo $flight->build_arrivals(); ?>
-<!--
-                <table class="footable arrival">
-                    <thead>
-                        <tr>
-                            <th> From </th>
-                            <th> Flight </th>
-                            <th> Time </th>
-                            <th> Status </th>
-                        </tr>
-                    </thead>
-                        <tr>
-                            <td>DETROIT METROPOLITAN WAYNE COUNTY DETROIT, MI</td>
-                            <td>SKY WEST AIRLINES 7434</td>
-                            <td>1:10 PM Scheduled</td>
-                            <td><nobr>On Time</nobr></td>
-                        </tr>
-                        <tr>
-                            <td>DETROIT METROPOLITAN WAYNE COUNTY DETROIT, MI</td>
-                            <td>SKY WEST AIRLINES 7364</td>
-                            <td>8:59 PM Scheduled</td>
-                            <td><nobr>On Time</nobr></td>
-                        </tr>
-                </table>
--->
-            </div>
-        </div>
-        <div id="depart" class="row">
-            <div class="small-12 columns">
-                <h1>Departures:</h1>
-                <?php echo $flight->build_departures(); ?>
-<!--
-                <table class="footable departure">
-                    <thead>
-                        <tr>
-                            <th> From </th>
-                            <th> Flight </th>
-                            <th> Time </th>
-                            <th> Status </th>
-                        </tr>
-                    </thead>
-                       <tr>
-                            <td>DETROIT METROPOLITAN WAYNE COUNTY DETROIT, MI</td>
-                            <td>SKY WEST AIRLINES<br>7411</td>
-                            <td>6:50 AM Actual</td>
-                            <td><nobr>Departed</nobr></td>
-                      </tr>
-                </table>
--->
-                <?php echo $flight->last_updated; ?>
-            </div>
-        </div>
-        <div class="row">
-            <div class="small-12 large-6 columns right">
-                <div class="row">
-                    <div class="small-12 medium-8 large-9 columns text-center medium-text-right">
-                        <h2 class="book-it">Book your flight now!</h2>
-                    </div>
-                    <div class="small-12 medium-4 large-3 columns">
-                        <a href="http://www.delta.com/?Log=1&mkcpgn=SEzzzYGusaCSpriBD&s_kwcid=TC|22026|delta||S|e|31715458324&clickid=c80e462a-f587-429c-ba97-05163f5d5d28&tracking_id=284x4513153/" class="book-now"></a>
-                    </div>
-                </div>
-            </div>
-        </div>
+        
         <div class="row">
             <div id="main-content" class="small-12 columns">
                 <?php if(have_posts()) : while(have_posts()): the_post();?>
@@ -91,7 +14,5 @@ global $wpdb;
                 <?php endif;?>
             </div>
         </div>
-        
-      
     </div>
 <?php get_footer(); ?>
index c2ab8b8..c4711e5 100644 (file)
--- a/style.css
+++ b/style.css
@@ -1,7 +1,7 @@
 /*
-Theme Name: GenericPellstonAirport
+Theme Name: ElkLakeTool
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
-Description: A generic theme based off of PellstonAirport
+Description: A made for ElkLakeTool
 Version: 1.0
 */