Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <!--
- Customize this policy to fit your own app's needs. For more guidance, see:
- https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#content-security-policy
- Some notes:
- * gap: is required only on iOS (when using UIWebView) and is needed for JS->native communication
- * https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
- * Disables use of inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
- * Enable inline JS: add 'unsafe-inline' to default-src
- -->
- <meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' *.builderlynx.com http://localhost:8080 http://10.60.74.102:8080">
- <meta name="format-detection" content="telephone=no">
- <meta name="msapplication-tap-highlight" content="no">
- <title>Page Title</title>
- <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
- <link rel="stylesheet" type="text/css" href="css/index.css">
- <link rel="stylesheet" href="css/jquery.mobile.custom.structure.min.css" />
- <link rel="stylesheet" href="css/jquery.mobile.custom.theme.min.css" />
- <link rel="stylesheet" href="css/jquery-mobile-fluid960.css" />
- <script src="cordova_plugins.js"></script>
- <script src="js/jquery-1.11.3.min.js"></script>
- <script src="js/jquery.mobile.custom.min.js"></script>
- <script src="js/persistence.js"></script>
- <script src="js/persistence.store.sql.js"></script>
- <script src="js/persistence.store.websql.js"></script>
- <script src="js/persistence.store.memory.js"></script>
- <script src="js/date.format.js"></script>
- <script src="js/continuous.file.writer.js"></script>
- <script src="js/takePicture.js"></script>
- </head>
- <body>
- <div data-role="page" data-theme="a" id="PageHome">
- <div data-role="header" data-position="inline">
- <h1>Builder Lynx Mobile PDI</h1>
- <h1>version 2015.06.11.1</h1>
- </div>
- <div data-role="content" data-theme="a">
- <ul data-role="listview" data-divider-theme="a" data-inset="true" id="PageHomeListProject">
- <li data-role="list-divider" role="heading">
- Projects
- </li>
- </ul>
- <a data-role="button" data-transition="fade" id="SetupButton">Setup</a>
- </div>
- </div>
- <div data-role="page" data-theme="a" id="PageProject">
- <div data-role="header" data-position="inline">
- <h1>Builder Lynx Mobile PDI</h1>
- <h1><div id="PageProjectProjectName">ProjectName</div></h1>
- </div>
- <div data-role="content" data-theme="a">
- User: <span id="PageProjectUserInfo"></span>
- <div data-role="collapsible" id="PageProjectCollapsibleUnits" data-inset="false">
- <h3>Units</h3>
- <ul data-role="listview" data-divider-theme="a" data-inset="true" id="PageProjectListUnit">
- <li data-role="list-divider" role="heading">
- Units
- </li>
- </ul>
- </div>
- <a href="index.html#PageProjectSync" data-role="button" data-transition="fade" id="PageProjectButtonSync">Sync</a>
- </div>
- </div>
- <div data-role="page" data-theme="a" id="PageProjectSync">
- <div data-role="header" data-position="inline">
- <h1><span id="PageProjectSyncProjectName">ProjectName2</span> Sync</h1>
- </div>
- <div data-role="content" data-theme="a">
- <div class="container_12" id="PageProjectSyncGridDetails">
- <div class="grid_3 blLabel blForm">Objects To Sync</div>
- <div class="grid_9 blForm" id="PageProjectSyncObjectCount">
- <input type="text" name="PageProjectSyncObjectCountText" id="PageProjectSyncObjectCountText" text="">
- </div>
- <div class="grid_3 blLabel blForm">Domain</div>
- <div class="grid_9 blForm">
- <input type="text" name="PageProjectSyncDomain" id="PageProjectSyncDomain" text="">
- </div>
- <div class="grid_3 blLabel blForm">Username</div>
- <div class="grid_9 blForm">
- <input type="text" name="PageProjectSyncUsername" id="PageProjectSyncUsername" text="">
- </div>
- <div class="grid_3 blLabel blForm">Password</div>
- <div class="grid_9 blForm">
- <input type="text" name="PageProjectSyncPassword" id="PageProjectSyncPassword" text="">
- </div>
- <div class="grid_9 prefix_3 blForm">
- <div class="ui-block-a"><a data-rel="back" data-role="button" data-theme="a" id="PageProjectSyncProject">Sync Project</a></div>
- </div>
- <div class="grid_3 blLabel blForm">Progress</div>
- <div class="grid_9 blForm">
- <div><input type="range" name="PageProjectSyncSliderObjects" id="PageProjectSyncSliderObjects" value="0" min="0" max="100" /></div>
- <div><input type="range" name="PageProjectSyncSliderRecords" id="PageProjectSyncSliderRecords" value="0" min="0" max="100" /></div>
- </div>
- <div class="grid_3 blLabel blForm">Notes</div>
- <div class="grid_9 blForm">
- <textarea id="PageProjectSyncDetails"></textarea>
- </div>
- </div>
- </div>
- </div>
- <div data-role="page" data-theme="a" id="PageUnit">
- <div data-role="header" data-position="inline">
- <h1><div id="PageUnitUnitName">UnitName</div></h1>
- </div>
- <div data-role="content" data-theme="a">
- <div data-role="collapsible" id="PageUnitCollapsiblePurchaser" data-inset="false" data-mini="true">
- <h3>Purchaser</h3>
- <table width="100%">
- <tr>
- <td id="PageUnitPurchaserName">
- </td>
- </tr>
- <tr>
- <td>
- <table width="50%">
- <tr>
- <td class="blBold">Home Phone</td>
- <td id="PageUnitPurchaserPhone1"></td>
- </tr>
- <tr>
- <td class="blBold">Cell Phone</td>
- <td id="PageUnitPurchaserPhone2"></td>
- </tr>
- <tr>
- <td class="blBold">Work Phone</td>
- <td id="PageUnitPurchaserPhone3"></td>
- </tr>
- <tr>
- <td class="blBold">Email</td>
- <td id="PageUnitPurchaserEmail"></td>
- </tr>
- </table>
- </td>
- <td>
- <table width="50%">
- <tr>
- <td class="blBold">Street</td>
- <td id="PageUnitPurchaserStreet"></td>
- </tr>
- <tr>
- <td class="blBold">City</td>
- <td id="PageUnitPurchaserCity"></td>
- </tr>
- <tr>
- <td class="blBold">Prov</td>
- <td id="PageUnitPurchaserProvince"></td>
- </tr>
- <tr>
- <td class="blBold">Postal Code</td>
- <td id="PageUnitPurchaserPostalCode"></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </div>
- <div data-role="collapsible" id="PageUnitCollapsibleUnit" data-inset="false" data-mini="true">
- <h3 id="PageUnitUnitName2">Unit</h3>
- <div class="container_12">
- <div class="grid_6">
- <div class="container_12">
- <div class="grid_3">Municipal Address</div>
- <div class="grid_9" id="PageUnitUnitMunicipalAddress"></div>
- <div class="grid_3">Closing Date</div>
- <div class="grid_9" id="PageUnitUnitBuyerClosingDate"></div>
- <div class="grid_3">Purchase Date</div>
- <div class="grid_9" id="PageUnitUnitPurchaseDate"></div>
- <div class="grid_3">Occupancy Date</div>
- <div class="grid_9" id="PageUnitUnitOccupancyDate"></div>
- </div>
- </div>
- <div class="grid_6">
- <div class="container_12">
- <div class="grid_3">City</div>
- <div class="grid_9" id="PageUnitUnitCity"></div>
- <div class="grid_3">Model</div>
- <div class="grid_9" id="PageUnitUnitModel"></div>
- <div class="grid_3">Code</div>
- <div class="grid_9" id="PageUnitUnitCode"></div>
- <div class="grid_3">Tarion</div>
- <div class="grid_9" id="PageUnitUnitTarion"></div>
- </div>
- </div>
- </div>
- </div>
- <div data-role="collapsible" data-inset="false" data-mini="true">
- <h3>Deficiencies</h3>
- <div>
- <table width="100%" id="PageUnitGridDeficiencies">
- </table>
- <a href="index.html" data-role="button" id="PageUnitButtonAddDeficiency">Add Deficiency</a>
- </div>
- </div>
- <div data-role="collapsible" data-inset="false" data-mini="true">
- <h3>Reports</h3>
- <div>
- <a data-role="button" id="PageUnitButtonGeneratePDIReport">Generate PDI Report</a>
- </div>
- </div>
- </div>
- </div>
- <div data-role="page" data-theme="a" id="PageModifyDeficiency">
- <div data-role="header" data-position="inline">
- <h1><div id="PageModifyDeficiencyUnitName">UnitName</div></h1>
- </div>
- <div data-role="content" data-theme="a">
- <div class="container_12" id="PageUnitGridDeficiencies">
- <div class="grid_2 blLabel blForm">Room</div>
- <div class="grid_4 blForm">
- <select name="DeficiencyRoom" id="DeficiencyRoom">
- </select>
- </div>
- <div class="grid_2 blLabel blForm">Type</div>
- <div class="grid_4 blForm">
- <select name="DeficiencyType" id="DeficiencyType">
- </select>
- </div>
- <div class="grid_2 blLabel blForm">Description</div>
- <div class="grid_10 blForm">
- <textarea name="DeficiencyDescription" id="DeficiencyDescription"></textarea>
- <!--<select name="DeficiencyTypeDescription" id="DeficiencyTypeDescription" style="display:none">
- </select>-->
- </div>
- <div class="grid_2 blLabel blForm">Source</div>
- <div class="grid_4 blForm">
- <select name="DeficiencySource" id="DeficiencySource">
- <option value="Construction" >Construction</option>
- <option value="Inspection" >Inspection</option>
- <option value="Pre-PDI" >Pre-PDI</option>
- <option value="PDI" >PDI</option>
- <option value="Purchaser" >Purchaser</option>
- <option value="Purchaser_List" >Purchaser List</option>
- <option value="Purchaser_Phone_Call" >Purchaser Phone Call</option>
- <option value="Purchaser_EMail" >Purchaser EMail</option>
- <option value="Service">Service</option>
- <option value="Emergency" >Emergency</option>
- <option value="Conciliation" >Conciliation</option>
- <option value="14 Day List" >14 Day List</option>
- <option value="30 Day List" >30 Day List</option>
- <option value="2 Month List" >2 Month List</option>
- <option value="3 Month List" >3 Month List</option>
- <option value="6 Month List" >6 Month List</option>
- <option value="1 Year List" >1 Year List</option>
- <option value="2 Year List" >2 Year List</option>
- <option value="Seasonal" >Seasonal</option>
- <option value="Service Rep." >Service Rep.</option>
- <option value="Const. Service" >Const. Service</option>
- <option value="Builder Initiated" >Builder Initiated</option>
- <option value="Pre-Performance Audit" >Pre-Performance Audit</option>
- <option value="Performance Audit" >Performance Audit</option>
- <option value="Inspection - Construction" >Inspection - Construction</option>
- <option value="PDI - Construction" >PDI - Construction</option>
- </select>
- </div>
- <div class="grid_2 blLabel blForm">Status</div>
- <div class="grid_4 blForm">
- <select name="DeficiencyStatus" id="DeficiencyStatus">
- <option value="New">New</option>
- <option value="In Progress" >In Progress</option>
- <option value="Sending" >Sending</option>
- <option value="Touch-Up" >Touch-Up</option>
- <option value="Deferred" >Deferred</option>
- <option value="Finished" >Finished</option>
- <option value="Not Warrantable" >Not Warrantable</option>
- <option value="Trade Finished" >Trade Finished</option>
- <option value="Past Due" >Past Due</option>
- </select>
- </div>
- <div class="grid_2 blLabel blForm">Supplier</div>
- <div class="grid_10 blForm">
- <select name="DeficiencySupplier" id="DeficiencySupplier" data-role="listview">
- </select>
- </div>
- <div class="grid_2 blLabel blForm">Charge Back</div>
- <div class="grid_4 blForm">
- <fieldset data-role="controlgroup" data-type="horizontal">
- <input type="radio" name="DeficiencyChargeBack" id="DeficiencyChargeBackYes" value="True" />
- <label for="DeficiencyChargeBackYes">Yes</label>
- <input type="radio" name="DeficiencyChargeBack" id="DeficiencyChargeBackNo" value="False"/>
- <label for="DeficiencyChargeBackNo">No</label>
- </fieldset>
- </div>
- <div class="grid_2 blLabel blForm">Supplier</div>
- <div class="grid_4 blForm">
- <select name="DeficiencySupplierChargeBack" id="DeficiencySupplierChargeBack">
- </select>
- </div>
- <!--CAMERA BUTTONS AND SHOW PICS-->
- <div id= "ButtonsPics">
- <button id= "DeficiencyCameraPics"onclick="capturePhoto();">Capture Photo</button> <br>
- <!--<button id= "DeficiencyCameraPicsEdit"onclick="capturePhotoEdit();">Capture Editable Photo</button> <br>-->
- <button id= "DeficiencyGallery" onclick="getPhoto(pictureSource.PHOTOLIBRARY);">From Photo Library</button><br>
- <!--<button id= "DeficiencyGalleryAlbum" onclick="getPhoto(pictureSource.SAVEDPHOTOALBUM);">From Photo Album</button><br>-->
- </div>
- <div id= "PicsContainer">
- <img id="ShowImageTaken" src="" width="256" height="256" />
- <img id="ShowImageGallery" src="" width="256" height="256" />
- </div>
- <!--END CAMERA BUTTON AND SHOW PICS-->
- <div class="grid_8 prefix_2 blForm">
- <div data-role="controlgroup" data-type="horizontal" id="DeficiencyButtons">
- <div class="ui-block-a"><a href="index.html#PageUnit" data-rel="back" data-role="button" data-theme="a" id="PageModifyDeficiencyButtonSave">Save</a></div>
- <div class="ui-block-a"><a href="index.html#PageUnit" data-rel="back" data-role="button" id="PageModifyDeficiencyButtonCancel">Cancel</a></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div data-role="page" data-theme="a" id="PageSetup">
- <div data-role="header" data-position="inline">
- <h1>Builder Lynx Mobile PDI</h1>
- <h1>Setup</h1>
- </div>
- <div data-role="content" data-theme="a">
- <div data-role="collapsible" data-inset="false">
- <h3>Download Project</h3>
- <div class="container_12" id="PageSetupGridDetails">
- <div class="grid_3 blLabel blForm">Domain</div>
- <div class="grid_9 blForm">
- <input type="text" name="PageSetupDomain" id="PageSetupDomain" value="localhost:8080">
- </div>
- <div class="grid_3 blLabel blForm">Username</div>
- <div class="grid_9 blForm">
- <input type="text" name="PageSetupUsername" id="PageSetupUsername" value="bltc419assp">
- </div>
- <div class="grid_3 blLabel blForm">Password</div>
- <div class="grid_9 blForm">
- <input type="text" name="PageSetupPassword" id="PageSetupPassword" value="b2t$g6y*">
- </div>
- <div class="grid_9 prefix_3 blForm">
- <a data-role="button" id="PageSetupDownloadProject">Download Project</a>
- </div>
- <div class="grid_3 blLabel blForm">Progress</div>
- <div class="grid_9 blForm">
- <div><input type="range" name="PageSetupSliderObjects" id="PageSetupSliderObjects" value="0" min="0" max="100" /></div>
- <div><input type="range" name="PageSetupSliderRecords" id="PageSetupSliderRecords" value="0" min="0" max="100" /></div>
- </div>
- <div class="grid_3 blLabel blForm">Notes2</div>
- <div class="grid_9 blForm">
- <textarea name="PageSetupDetails" id="PageSetupDetails"></textarea>
- </div>
- </div>
- </div>
- <div data-role="collapsible" data-inset="false">
- <h3>Demo Setup</h3>
- <a data-role="button" id="PageSetupSetupDemoProjects">Setup Demo Projects</a>
- </div>
- <div data-role="collapsible" data-inset="false">
- <h3>Database Setup</h3>
- <a data-role="button" id="PageSetupCreateSchema">Create Database Schema (this will delete all existing data)</a>
- </div>
- </div>
- </div>
- <div data-role="page" data-theme="a" id="PageUnitPDIReportSuccess">
- <div data-role="header" data-position="inline">
- <h1><div id="PageUnitPDIReportSuccessUnit">UnitName</div></h1>
- </div>
- <div data-role="content" data-theme="a">
- <p>PDI Report Successfully generated</p>
- <p>You can find the report in the "Builder Lynx" folder using the "File Manager" application.</p>
- <p>Click the file and open it with "PrinterShare" to begin the printing.</p>
- <a data-role="button" data-rel="back" data-theme="b">Ok</a>
- </div>
- </div>
- <div data-role="page" data-theme="a" id="PageReportError">
- <div data-role="header" data-position="inline">
- <h1><div id="PageModifyDeficiencyError">Builder Lynx Error</div></h1>
- </div>
- <div data-role="content" data-theme="a">
- <div id="PageReportErrorMessage"></div>
- </div>
- </div>
- <script type="text/javascript" src="cordova.js"></script>
- <script type="text/javascript" src="js/index.js"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement