Browse Source

PRS MOBILE - implemenent digital forms SetFieldColour + ios assets

Nick-PRSDigital@bitbucket.org 2 years ago
parent
commit
63cf066eb9

+ 93 - 31
prs.mobile/comal.timesheets.iOS/comal.timesheets.iOS.csproj

@@ -1172,37 +1172,99 @@
     <ImageAsset Include="Assets.xcassets\collapsee.imageset\Contents.json">
       <Visible>false</Visible>
     </ImageAsset>
-    <ImageAsset Include="Assets.xcassets\view.imageset\Contents.json" />
-    <ImageAsset Include="Assets.xcassets\view.imageset\view.pdf" />
-    <ImageAsset Include="Assets.xcassets\view.imageset\view-1.pdf" />
-    <ImageAsset Include="Assets.xcassets\view.imageset\view-2.pdf" />
-    <ImageAsset Include="Assets.xcassets\rightarrow.imageset\Contents.json" />
-    <ImageAsset Include="Assets.xcassets\rightarrow.imageset\rightarrow.pdf" />
-    <ImageAsset Include="Assets.xcassets\rightarrow.imageset\rightarrow-1.pdf" />
-    <ImageAsset Include="Assets.xcassets\rightarrow.imageset\rightarrow-2.pdf" />
-    <ImageAsset Include="Assets.xcassets\downarroww.imageset\Contents.json" />
-    <ImageAsset Include="Assets.xcassets\downarroww.imageset\downarrow.pdf" />
-    <ImageAsset Include="Assets.xcassets\downarroww.imageset\downarrow-1.pdf" />
-    <ImageAsset Include="Assets.xcassets\downarroww.imageset\downarrow-2.pdf" />
-    <ImageAsset Include="Assets.xcassets\setoutt.imageset\Contents.json" />
-    <ImageAsset Include="Assets.xcassets\setoutt.imageset\setout.pdf" />
-    <ImageAsset Include="Assets.xcassets\setoutt.imageset\setout-1.pdf" />
-    <ImageAsset Include="Assets.xcassets\setoutt.imageset\setout-2.pdf" />
-    <ImageAsset Include="Assets.xcassets\closee.imageset\close.pdf" />
-    <ImageAsset Include="Assets.xcassets\closee.imageset\close-1.pdf" />
-    <ImageAsset Include="Assets.xcassets\closee.imageset\close-2.pdf" />
-    <ImageAsset Include="Assets.xcassets\closee.imageset\Contents.json" />
-    <ImageAsset Include="Assets.xcassets\call.imageset\call.pdf" />
-    <ImageAsset Include="Assets.xcassets\call.imageset\call-1.pdf" />
-    <ImageAsset Include="Assets.xcassets\call.imageset\call-2.pdf" />
-    <ImageAsset Include="Assets.xcassets\call.imageset\Contents.json" />
-    <ImageAsset Include="Assets.xcassets\mydetails.imageset\Contents.json" />
-    <ImageAsset Include="Assets.xcassets\mydetails.imageset\mydetails.pdf" />
-    <ImageAsset Include="Assets.xcassets\mydetails.imageset\mydetails-1.pdf" />
-    <ImageAsset Include="Assets.xcassets\mydetails.imageset\mydetails-2.pdf" />
-    <ImageAsset Include="Assets.xcassets\shoppingcart.imageset\shoppingcart-3.pdf" />
-    <ImageAsset Include="Assets.xcassets\shoppingcart.imageset\shoppingcart.pdf" />
-    <ImageAsset Include="Assets.xcassets\shoppingcart.imageset\shoppingcart-1.pdf" />
+    <ImageAsset Include="Assets.xcassets\view.imageset\Contents.json">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\view.imageset\view.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\view.imageset\view-1.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\view.imageset\view-2.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\rightarrow.imageset\Contents.json">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\rightarrow.imageset\rightarrow.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\rightarrow.imageset\rightarrow-1.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\rightarrow.imageset\rightarrow-2.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\downarroww.imageset\Contents.json">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\downarroww.imageset\downarrow.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\downarroww.imageset\downarrow-1.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\downarroww.imageset\downarrow-2.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\setoutt.imageset\Contents.json">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\setoutt.imageset\setout.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\setoutt.imageset\setout-1.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\setoutt.imageset\setout-2.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\closee.imageset\close.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\closee.imageset\close-1.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\closee.imageset\close-2.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\closee.imageset\Contents.json">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\call.imageset\call.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\call.imageset\call-1.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\call.imageset\call-2.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\call.imageset\Contents.json">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\mydetails.imageset\Contents.json">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\mydetails.imageset\mydetails.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\mydetails.imageset\mydetails-1.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\mydetails.imageset\mydetails-2.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\shoppingcart.imageset\shoppingcart-3.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\shoppingcart.imageset\shoppingcart.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
+    <ImageAsset Include="Assets.xcassets\shoppingcart.imageset\shoppingcart-1.pdf">
+      <Visible>false</Visible>
+    </ImageAsset>
   </ItemGroup>
   <ItemGroup>
     <Reference Include="System" />

+ 4 - 1
prs.mobile/comal.timesheets/DigitalForms/Renderer/QAFormViewer.cs

@@ -2045,7 +2045,10 @@ namespace comal.timesheets.QAForms
 
         }
 
-
+        public void SetFieldColour(string field, System.Drawing.Color? colour = null)
+        {
+            
+        }
         #endregion
     }
 }

+ 1 - 1
prs.mobile/comal.timesheets/Main/PINLoginPage.xaml.cs

@@ -167,7 +167,7 @@ namespace comal.timesheets
                 App.Current.Properties.Add("SessionID", ClientFactory.SessionID);
             else
                 App.Current.Properties["SessionID"] = ClientFactory.SessionID;
-            timer = new Timer(Callback, null, Timeout.Infinite, 500);
+            timer = new Timer(Callback, null, Timeout.Infinite, 5000);
             timer.Dispose();
             App.Data.Refresh(true);
             Device.BeginInvokeOnMainThread(async () => { await Navigation.PushAsync(new MainPage()); });