Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
styles
  • Loading branch information
etl12003 committed Apr 24, 2017
1 parent b8a24c2 commit b701d8b
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
3 changes: 3 additions & 0 deletions Wello/www/css/main.css
Expand Up @@ -344,6 +344,9 @@ label[for=well-picture] {
label[for=well-picture] img {
width: 100%;
}
label[for=gps-coordinates] img {
height: 1.75rem;
}
h2{
width: calc(100% - 2rem);
font-weight: 700;
Expand Down
10 changes: 5 additions & 5 deletions Wello/www/form.php
Expand Up @@ -88,7 +88,7 @@ if($_SERVER['REQUEST_METHOD']=='POST') {
Drilling_Equipment = '$DrillingEquipment',
Casing_Length_Feet = '$CasingLength',
Casing_Diameter_Inches = '$CasingDiameter',
Casing_Weight_Per_Foot_Pounds = '$CasingWeight',
Casing_Weight_per_Foot_Pounds = '$CasingWeight',
Casing_Joint_Type = '$CasingJoint',
Drive_Shoe = '$DriveShoe',
Grouted = '$CasingGrouting',
Expand Down Expand Up @@ -142,7 +142,7 @@ $query = "SELECT
Drilling_Equipment,
Casing_Length_Feet,
Casing_Diameter_Inches,
Casing_Weight_Per_Foot_Pounds,
Casing_Weight_per_Foot_Pounds,
Casing_Joint_Type,
Drive_Shoe,
Grouted,
Expand Down Expand Up @@ -304,7 +304,7 @@ if ($result = $mysqli->query($query)) {

<li name="get-gps-local">
<label for="gps-coordinates">GPS coordinates
<img onclick="getLocation()" alt="get location" src="img/gps.svg">
<img onclick="getLocation()" alt="get location" src="img/gps-black.svg">
</label>
<p name="demo"></p>
<label for="gps-coordinates">Latitude</label>
Expand Down Expand Up @@ -384,15 +384,15 @@ if ($result = $mysqli->query($query)) {
<label for="diameter">Diameter</label>
<input value="<?php
//Should add ternary operator for nulls and blanks
echo $row['Casing_Diameter_Inches'];
echo round($row['Casing_Diameter_Inches'], 5);
?>" type="number" min="1" name="casing-diameter"> inches
</li>

<li>
<label for="weight">Weight per foot</label>
<input value="<?php
//Should add ternary operator for nulls and blanks
echo $row['Casing_Weight_Per_Foot_Pounds'];
echo $row['Casing_Weight_per_Foot_Pounds'];
?>" type="number" min="1" step="any" name="weight"> lbs/feet
</li>

Expand Down
13 changes: 13 additions & 0 deletions Wello/www/img/gps-black.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions Wello/www/map.php
Expand Up @@ -45,12 +45,14 @@
</div>


<!--
<div class="desk-details">
<a href="details.php" class="go-to" > go to > </a>
<?php
include 'details-content.php';
?>
</div>
-->

</main>

Expand Down

0 comments on commit b701d8b

Please sign in to comment.