Update date elements
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 2 Aug 2019 19:13:30 +0000 (15:13 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 2 Aug 2019 19:13:30 +0000 (15:13 -0400)
Use text element with type f date

views/admin/billing/accountReveals.html
views/admin/billing/accountSearchForm.html
views/admin/billing/invoices.html
views/admin/billing/payments.html
views/admin/billing/statements.html

index 04b3412..8640ad8 100644 (file)
@@ -1,4 +1,16 @@
 {* Foundation 6 Reveal modals for Billing Account Tables *}
+<style>
+.reveal-overlay, .reveal { z-index: 99999999 !important; }
+#glmLoading {
+    display: none;
+    position: absolute;
+    left: 50%;
+    top: 50vh;
+    width: 100%;
+    height: 100%;
+    z-index: 999999999;
+}
+</style>
 
 {* Reveal for Billing Info *}
 <div id="glmBillingInfo" class="medium reveal" data-reveal data-close-on-click="false">
@@ -42,7 +54,7 @@
 <div id="glmBillingView" class="large reveal" data-reveal data-close-on-click="false">
 </div>
 {* Ajax Loading Graphic *}
-<div id="glmLoading" class="" style="display:none; position: absolute; left: 50%; top: 50vh;width: 100%; height: 100%;z-index: 9999;">
+<div id="glmLoading">
     <img src="{$pluginAssetsUrl}loading25.gif">
 </div>
 
index 16ce7e7..c6c794a 100644 (file)
@@ -121,11 +121,12 @@ jQuery(document).ready(function($) {
                         'value'       => $fromDate|default:'',
                         'field'       => 'fromDate',
                         'label'       => 'From Date',
+                        'type'        => 'date',
                         'required'    => false,
                         'errorText'   => 'From Date is Required',
                         'dataError'   => ''
                     ]}
-                    {include file='ui/f6/date.html'}
+                    {include file='ui/f6/text.html'}
                 </div>
             </div>
 
@@ -136,11 +137,12 @@ jQuery(document).ready(function($) {
                         'value'       => $toDate|default:'',
                         'field'       => 'toDate',
                         'label'       => 'To Date',
+                        'type'        => 'date',
                         'required'    => false,
                         'errorText'   => 'To Date is Required',
                         'dataError'   => ''
                     ]}
-                    {include file='ui/f6/date.html'}
+                    {include file='ui/f6/text.html'}
                 </div>
             </div>
 
index 48d6f19..6ce51c2 100644 (file)
                         'value'       => $fromDate|default:'',
                         'field'       => 'fromDate',
                         'label'       => 'From Date',
+                        'type'        => 'date',
                         'required'    => false,
                         'errorText'   => 'From Date is Required',
                         'dataError'   => ''
                     ]}
-                    {include file='ui/f6/date.html'}
+                    {include file='ui/f6/text.html'}
 
                     {* To Date *}
                     {$ui = [
                         'value'       => $toDate|default:'',
                         'field'       => 'toDate',
                         'label'       => 'To Date',
+                        'type'        => 'date',
                         'required'    => false,
                         'errorText'   => 'To Date is Required',
                         'dataError'   => ''
                     ]}
-                    {include file='ui/f6/date.html'}
+                    {include file='ui/f6/text.html'}
                 </div>
             </div>
             <div class="cell small-12 medium-4">
index 140615b..4f088d2 100644 (file)
                         'value'       => $fromDate|default:'',
                         'field'       => 'fromDate',
                         'label'       => 'From Date',
+                        'type'        => 'date',
                         'required'    => false,
                         'errorText'   => 'From Date is Required',
                         'dataError'   => ''
                     ]}
-                    {include file='ui/f6/date.html'}
+                    {include file='ui/f6/text.html'}
                 </div>
             </div>
             <div class="cell small-12 medium-3">
                         'value'       => $toDate|default:'',
                         'field'       => 'toDate',
                         'label'       => 'To Date',
+                        'type'        => 'date',
                         'required'    => false,
                         'errorText'   => 'To Date is Required',
                         'dataError'   => ''
                     ]}
-                    {include file='ui/f6/date.html'}
+                    {include file='ui/f6/text.html'}
                 </div>
             </div>
 
index 2514a07..dea66a2 100644 (file)
@@ -98,7 +98,7 @@
 
 <div id="glm-admin-billing-wrapper">
 
-    <table class="{if !$adminAjaxPassthru}glm-admin-table wp-list-table striped{else}table-scroll{/if}">
+    <table class="{if !$adminAjaxPassthru}glm-admin-table wp-list-table striped{else}stack{/if}">
         <thead>
             <tr>
                 <th style="width:50px;">Invoice #</th>