Skip to content

Commit

Permalink
details querys
Browse files Browse the repository at this point in the history
  • Loading branch information
etl12003 committed Apr 23, 2017
1 parent cdeab9e commit f892c09
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 23 deletions.
1 change: 1 addition & 0 deletions Wello/www/css/desktop.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
}
main.search{
display: flex;
flex-direction: column;
justify-content: center;
}

Expand Down
153 changes: 130 additions & 23 deletions Wello/www/details-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,16 +168,16 @@
<?php
//Should add ternary operator for nulls and blanks
echo $row['Casing_Length_Feet'];
?>
?> feet
</p>
</li>
<li>
<h3>Diameter</h3>
<p id="diameter">
<?php
//Should add ternary operator for nulls and blanks
echo $row['Casing_Diamiter_Inches'];
?>
echo $row['Casing_Diameter_Inches'];
?> inches
</p>
</li>

Expand All @@ -187,23 +187,40 @@
<?php
//Should add ternary operator for nulls and blanks
echo $row['Casing_Weight_Per_Foot_Pounds'];
?>
?> (weight per foot pounds)
</p>
</li>

<li>
<h3>Threaded/Welded</h3>
<p>STILLTODO</p>
<h3>Casing Joint Type</h3>
<p>
<?php
//Should add ternary operator for nulls and blanks
echo $row['Casing_Joint_Type'];
?>
</p>
</li>

<li>
<h3>Drive Shoe?</h3>
<p>STILLTODO</p>
<p>
<?php
//Should add ternary operator for nulls and blanks

echo $row['Drive_Shoe'];
?>
</p>
</li>

<li>
<h3>Casing Grouted?</h3>
<p>STILLTODO</p>
<p>
<?php
//Should add ternary operator for nulls and blanks

echo $row['Grouted'];
?>
</p>
</li>
</ul>
</div>
Expand All @@ -212,21 +229,45 @@
<ul class="inputs" id="yield-test">
<li>
<h3>Method</h3>
<p id="method">STILLTODO</p>
<p id="method">
<?php
//Should add ternary operator for nulls and blanks

echo $row['Yield_Test_Type'];
?>
</p>
</li>
<li>
<h3>Test duration</h3>
<p id="yield-hours">STILLTODO</p>
<p id="yield-hours">
<?php
//Should add ternary operator for nulls and blanks

echo $row['Yield_Test_Hours'];
?>
</p>
</li>

<li>
<h3>Yield</h3>
<p id="yeld-gpm">STILLTODO</p>
<p id="yeld-gpm">
<?php
//Should add ternary operator for nulls and blanks

echo $row['Yield_GPM'];
?> GPM
</p>
</li>

<li>
<h3>Yield test notes</h3>
<p id="yield-test-notes">STILLTODO</p>
<p id="yield-test-notes">
<?php
//Should add ternary operator for nulls and blanks

echo $row['Yield_Test_Notes'];
?>
</p>
</li>

</ul>
Expand All @@ -236,17 +277,35 @@
<ul class="inputs" id="yield-test">
<li>
<h3>From land surface</h3>
<p id="water-from-surface">STILLTODO</p>
<p id="water-from-surface">
<?php
//Should add ternary operator for nulls and blanks

echo $row['Static_Water_Level_Feet'];
?>
</p>
</li>

<li>
<h3>During yield test</h3>
<p id="water-level-during-yield-test">STILLTODO</p>
<p id="water-level-during-yield-test">
<?php
//Should add ternary operator for nulls and blanks

echo $row['Yield_Test_Water_Level_Feet'];
?>
</p>
</li>

<li>
<h3>Depth of complete well</h3>
<p id="water-from-surface">STILLTODO</p>
<p id="water-from-surface">
<?php
//Should add ternary operator for nulls and blanks

echo $row['Well_Depth_Feet'];
?>
</p>
</li>

</ul>
Expand All @@ -256,37 +315,79 @@
<ul class="inputs" id="screen-details">
<li>
<h3>Make</h3>
<p type="text" id="make">STILLTODO</p>
<p type="text" id="make">
<?php
//Should add ternary operator for nulls and blanks

echo $row['Screen_Make'];
?>
</p>
</li>

<li>
<h3>Length open to aquifier</h3>
<p id="length-open-to-aquifier">STILLTODO</p>
<p id="length-open-to-aquifier">
<?php
//Should add ternary operator for nulls and blanks

echo $row['Open_Screen_Length_Feet'];
?>
</p>
</li>

<li>
<h3>Slot size</h3>
<p id="slot-size">STILLTODO</p>
<p id="slot-size">
<?php
//Should add ternary operator for nulls and blanks

echo $row['Screen_Slot_Size'];
?>
</p>
</li>

<li>
<h3>Diameter</h3>
<p id="diameter">STILLTODO</p>
<p id="diameter">
<?php
//Should add ternary operator for nulls and blanks

echo $row['Screen_Diameter_Inches'];
?>
</p>
</li>

<li>
<h3>Gravel</h3>
<p>STILLTODO</p>
<p>
<?php
//Should add ternary operator for nulls and blanks

echo $row['Gravel_Packed'];
?>
</p>
</li>

<li>
<h3>Diameter including gravel pack</h3>
<p id="diameter-including-gravel-pack">STILLTODO</p>
<p id="diameter-including-gravel-pack">
<?php
//Should add ternary operator for nulls and blanks

echo $row['Well_Diameter_Inches'];
?>
</p>
</li>

<li>
<h3>Gravel size</h3>
<p id="gravel-size">STILLTODO</p>
<p id="gravel-size">
<?php
//Should add ternary operator for nulls and blanks

echo $row['Gravel_Size_Inches'];
?>
</p>
</li>

<li>
Expand All @@ -309,7 +410,13 @@
<ul class="inputs" id="notes">

<li>
<p id="notes">STILLTODO</p>
<p id="notes">
<?php
//Should add ternary operator for nulls and blanks

echo $row['comment'];
?>
</p>
</li>

</ul>
Expand Down
21 changes: 21 additions & 0 deletions Wello/www/details.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,27 @@
Relative_Location,
Proposed_Use,
Drilling_Equipment,
Casing_Length_Feet,
Casing_Diameter_Inches,
Casing_Weight_Per_Foot_Pounds,
Casing_Joint_Type,
Drive_Shoe,
Grouted,
Yield_Test_Type,
Yield_Test_Hours,
Yield_GPM,
Yield_Test_Notes,
Static_Water_Level_Feet,
Yield_Test_Water_Level_Feet,
Well_Depth_Feet,
Screen_Make,
Open_Screen_Length_Feet,
Screen_Slot_Size,
Screen_Diameter_Inches,
Gravel_Packed,
Well_Diameter_Inches,
Gravel_Size_Inches,
comment,
Depth_To_Top_Of_Gravel_Pack,
Depth_To_Bottom_Of_Gravel_Pack
Expand Down

0 comments on commit f892c09

Please sign in to comment.