From c3693d8e4b545eec04de4473a9c0c3c722f93b1e Mon Sep 17 00:00:00 2001 From: Patrick McDonagh Date: Tue, 22 Mar 2016 18:44:09 -0500 Subject: [PATCH] Cleaned up Overview Screen to make it look cooler --- POCloud/HTML Templates/overview.html | 239 +++++++++++++-------------- 1 file changed, 116 insertions(+), 123 deletions(-) diff --git a/POCloud/HTML Templates/overview.html b/POCloud/HTML Templates/overview.html index a8ce657..c971185 100644 --- a/POCloud/HTML Templates/overview.html +++ b/POCloud/HTML Templates/overview.html @@ -1,41 +1,107 @@ -

TODAY'S TOTALS

-
+

LATEST STROKE

+
+

Pump Fill

+
+
+ <%= channels["poc.fillage_percent"].timestamp %> +
+
+
+
+
+
+ +
+
+

Fluid Level

+
+
+ <%= channels["poc.fluid_above_pump"].timestamp %> +
+
+
+
+
+
+ +
+
+

Stroke Speed

+
+
+ <%= channels["poc.SPM"].timestamp %> +
+
+
+
+
+
+ +
+
+

Pump HP

+
+
+ <%= channels["poc.pump_hp"].timestamp %> +
+
+
+
+
+
+ +
+
+

Fluid Load

+
+
+ <%= channels["poc.downhole_fluid_load"].timestamp %> +
+
+
+
+
+
+ +

TODAY'S TOTALS

+
+

Percent Run

<%= channels["poc.dt_percent_run"].timestamp %>
-
+

Average Speed

<%= channels["poc.dt_average_spm"].timestamp %>
-
+

Calculated Production

<%= channels["poc.dt_calculated_production"].timestamp %>
-
+

Projected Production

<%= channels["poc.dt_projected_production"].timestamp %>
-
+

Pump Intake Pressure

<%= channels["poc.dt_pump_intake_pressure"].timestamp %>
-
+

Energy Consumed

@@ -45,129 +111,56 @@
- -

LATEST STROKE

-
-
-

Pump Fillage

-
-
- <%= channels["poc.fillage_percent"].timestamp %> -
-
-
-

Fluid Above Pump

-
-
- <%= channels["poc.fluid_above_pump"].timestamp %> -
-
-
-

Speed

-
-
- <%= channels["poc.SPM"].timestamp %> -
-
-
-

Polished Rod HP

-
-
- <%= channels["poc.polished_rod_hp"].timestamp %> -
-
-
-

Pump HP

-
-
- <%= channels["poc.pump_hp"].timestamp %> -
-
-
-

Downhole Fluid Load

-
-
- <%= channels["poc.downhole_fluid_load"].timestamp %> -
-
-
- - - -
-
-
" aria-valuemin="0" aria-valuemax="100" style="width: <%= channels["poc.surface_stroke_length"].value %>%;"> - Surface Stroke Length: <%= channels["poc.surface_stroke_length"].value %> in. -
-
- -
-
" aria-valuemin="0" aria-valuemax="100" style="width: <%= channels["poc.downhole_gross_stroke"].value %>%;"> - Downhole Gross Stroke: <%= channels["poc.downhole_gross_stroke"].value %> in. -
-
- -
-
" aria-valuemin="0" aria-valuemax="100" style="width: <%= channels["poc.downhole_adjusted_gross_stroke"].value %>%;"> - Downhole Adjusted Gross Stroke: <%= channels["poc.downhole_adjusted_gross_stroke"].value %> in. -
-
- -
-
" aria-valuemin="0" aria-valuemax="100" style="width: <%= channels["poc.downhole_net_stroke"].value %>%;"> - Downhole Net Stroke: <%= channels["poc.downhole_net_stroke"].value %> in. -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MeasurementValue
Fluid Gradient<%= channels["poc.fluid_gradient"].value %> lbs/ft
dt<%= channels["poc.dt"].value %> sec
Tubing Head Pressure<%= channels["poc.tubing_head_pressure"].value %> PSI
Stuffing Box Friction<%= channels["poc.stuffing_box_friction"].value %> lbs.
Surface Stroke Length<%= channels["poc.surface_stroke_length"].value %> in.
Surface Min. Load<%= channels["poc.surface_min_load"].value %> lbs.
Surface Max. Load<%= channels["poc.surface_max_load"].value %> lbs.
Downhole Gross Stroke<%= channels["poc.downhole_gross_stroke"].value %> in.
Tubing Movement<%= channels["poc.tubing_movement"].value %> in.
Downhole Adjusted Gross Stroke<%= channels["poc.downhole_adjusted_gross_stroke"].value %> in.
Downhole Net Stroke<%= channels["poc.downhole_net_stroke"].value %> in.
Downhole Fluid Load<%= channels["poc.downhole_fluid_load"].value %> lbs.
Polished Rod HP<%= channels["poc.polished_rod_hp"].value %> HP
Pump HP<%= channels["poc.pump_hp"].value %> HP
Fluid Level<%= channels["poc.fluid_above_pump"].value %> ft.