Advertisement
Guest User

Untitled

a guest
May 27th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.13 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>MEAPIO Demo</title>
  5. <!-- ********************************************************************************************************************* -->
  6. <!-- ** ADAPT THE MOBILE WEB VERSION TO EMULATE THE COMPILED APP VERSION (ICONS, SPLASHSCREENS, ETC) IF "ADD TO HOMESCREEN" IS USED -->
  7. <!-- ********************************************************************************************************************* -->
  8. <meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0">
  9. <meta name="apple-mobile-web-app-capable" content="yes"/>
  10. <link rel="apple-touch-icon" href="57-a-blue.png"/>
  11. <link rel="apple-touch-icon-precomposed" sizes="72-a-blue.png" href="Icon-72.png"/>
  12. <link rel="apple-touch-icon" sizes="114x114" href="114-a-blue.png"/>
  13. <link rel="apple-touch-icon-precomposed" sizes="144x144" href="144-a-blue.png"/>
  14. <!-- iPhone -->
  15. <link href="apple-startup-iphone.png"
  16. media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)"
  17. rel="apple-touch-startup-image">
  18. <!-- iPhone 5 -->
  19. <link href="apple-startup-iphone-tall-retina.png"
  20. media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)"
  21. rel="apple-touch-startup-image">
  22. <!-- iPhone (Retina)-->
  23. <link href="apple-startup-iphone-retina.png"
  24. media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2)"
  25. rel="apple-touch-startup-image">
  26. <!-- iPad Portrait -->
  27. <link href="apple-startup-ipad-portrait.png"
  28. media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 1)"
  29. rel="apple-touch-startup-image">
  30. <!-- iPad Landscape -->
  31. <link href="apple-startup-ipad-landscape.png"
  32. media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 1)"
  33. rel="apple-touch-startup-image">
  34. <!-- iPad Portrait (Retina) -->
  35. <link href="apple-startup-ipad-portrait-retina.png"
  36. media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)"
  37. rel="apple-touch-startup-image">
  38. <!-- iPad Landscape (Retina) -->
  39. <link href="apple-startup-ipad-landscape-retina.png"
  40. media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)"
  41. rel="apple-touch-startup-image">
  42. <!-- ********************************************************************************************************************* -->
  43. <!-- *** SYTYLE SHEET INCLUDES -->
  44. <!-- ********************************************************************************************************************* -->
  45. <link rel="stylesheet" href="../3rdParty/jqm/1.3.1/jquery.mobile-1.3.1.css"/>
  46. <link rel="stylesheet" href="../3rdParty/jqm/1.3.1/demos/_assets/css/jqm-demos.css"/>
  47. <link rel="stylesheet" href="css/custom.css"/>
  48. <!-- ********************************************************************************************************************* -->
  49. <!-- *** JAVASCRIPT INCLUDES -->
  50. <!-- ********************************************************************************************************************* -->
  51. <script type="text/javascript" src="../3rdParty/jquery/jquery-1.9.1.js"></script>
  52. <script type="text/javascript" src="../3rdParty/jquery/jquery-migrate-1.1.1.js"></script>
  53. <script type="text/javascript" src="archetype-MVC.js"></script>
  54. <script type="text/javascript" src="../3rdParty/jqm/1.3.1/jquery.mobile-1.3.1.js"></script>
  55. <script type="text/javascript" src="../3rdParty/jqm/1.3.1/demos/_assets/js/jqm-demos.js"></script>
  56. <script type="text/javascript" src="shiny/map.js"></script>
  57.  
  58. </head>
  59. <body>
  60. <!-- ********************************************************************************************************************* -->
  61. <!-- *** MOTOCOL @rchetype CONFIG AND GENERAL PURPOSE PAGES -->
  62. <!-- ********************************************************************************************************************* -->
  63. <div data-motocol-app="MEAPIO Demo"
  64. data-motocol-offlinecommits="true"
  65. data-motocol-action="webservice/archetype-REST.php"
  66. data-motocol-startpage="home"
  67. data-motocol-method="GET"
  68. data-motocol-ajaxtimeout="10000" class="jqm-demos jqm-demos-home"></div>
  69.  
  70. <div data-role="page" id="empty" class="jqm-demos jqm-demos-home" data-motocol-archetype="Page"></div>
  71.  
  72.  
  73. <div data-role="page" id="home-archetype" class="jqm-demos jqm-demos-home" data-motocol-archetype="Page">
  74. <div data-motocol-schema="Service"></div>
  75. <div data-motocol-schema="meapio_wp984"></div>
  76. <div data-role="header" data-position="fixed" data-theme="b">
  77. <h1>Sample App</h1>
  78. </div>
  79. <div data-role="content" class="jqm-content">
  80. <form data-motocol-formaction="process.genparams" >
  81. <input type="hidden" name="querytype" value="create">
  82. <input type="hidden" name="queryhow" value="item">
  83. <input type="hidden" name="itemloc" value="Service">
  84. <input type="hidden" name="itemtype" value="email_orchestration">
  85.  
  86. <input type="text" id="contact_name" name="contact_name" placeholder="contact_name">
  87. <input type="text" id="contact_email" name="contact_email" placeholder="contact_email">
  88. <input type="text" id="contact_subject" name="contact_subject" placeholder="contact_subject">
  89. <input type="text" id="contact_message" name="contact_message" placeholder="contact_message">
  90.  
  91. <input type="submit" value="submit">
  92. </form>
  93. <ul data-motocol-schema="meapio_wp984.locations">
  94. <li data-motocol-item=".textarea:location_name"></li>
  95. <li data-motocol-item=".textarea:location_addr"></li>
  96. <li data-motocol-item=".textarea:location_city"></li>
  97. <li data-motocol-item=".textarea:location_state"></li>
  98. <li data-motocol-item=".textarea:location_zip"></li>
  99. <li data-motocol-item=".textarea:phone"></li>
  100. </ul>
  101. <div>
  102. <div data-motocol-schema="meapio_wp984.locations"
  103. data-motocol-key="location_id"
  104. data-motocol-item="1"
  105. data-shiny-object-map=".size:browser-187;.single:location_addr location_city, location_state location_zip;">
  106. </div>
  107. </div>
  108.  
  109. </div>
  110. <div data-role="footer" data-position="fixed" data-theme="a">
  111. <h4>&copy;2016 MEAPIO LLC. All Rights Reserved.</h4>
  112. </div>
  113. <!-- /footer -->
  114. </div>
  115.  
  116. <!---------------------------------- Login page ----------------------------------->
  117. <div data-role="page" id="login-archetype" data-motocol-archetype="Page" data-theme="d" data-motocol-login="page">
  118. <div data-role="header" data-theme="f">
  119. <h1>Account Login</h1>
  120. </div>
  121. <div data-role="content">
  122. <h3>Login to your account.</h3>
  123. <form data-motocol-login="form" data-motocol-formaction="ignore">
  124.  
  125. <label style="color:red;" data-motocol-error="">
  126. <h1 style="color:red;" data-motocol-error="errorcode"></h1>
  127. <div style="color:red;" data-motocol-error="errortext"></div>
  128. <div style="color:red;" data-motocol-error="errorinfo"></div>
  129. <div style="color:red;" data-motocol-error="errortype"></div>
  130. </label>
  131. <input type="text" data-motocol-login="user" autocomplete="off" autocapitalize="off" autocorrect="off"
  132. spellcheck="false" id="user" type="text" value="" placeholder="username">
  133. <input data-motocol-login="pass" id="pass" type="text" value="" placeholder="password">
  134. <input id="login-button" data-motocol-login="button" type="submit" value="Authenticate" onclick="$OAUTH._loginProcess()">
  135. </form>
  136. </div>
  137. <!-- /content -->
  138. </div>
  139. <!-- /page -->
  140.  
  141.  
  142. <!---------------------------------- Error page ----------------------------------->
  143. <div data-role="page" id="exception-archetype" data-theme="d" data-motocol-error="page">
  144. <div data-role="header" data-theme="f">
  145. <h1>Error</h1>
  146. </div>
  147. <div data-role="content">
  148. <h3>An unexpected error has occured</h3>
  149.  
  150. <form data-motocol-login="form">
  151. <h1 style="color:red;" data-motocol-error="errorcode"></h1>
  152.  
  153. <div style="color:red;" data-motocol-error="errortext"></div>
  154. <div style="color:red;" data-motocol-error="errorinfo"></div>
  155. <div style="color:red;" data-motocol-error="errortype"></div>
  156. <!-- <label style="color:red;" id="fail1"></label> -->
  157. <a href="#home" data-role="button" data-transition="pop" data-direction="reverse"
  158. data-theme="a">Ok</a>
  159. </form>
  160. </div>
  161. <!-- /content -->
  162. </div>
  163. <!-- /page -->
  164.  
  165. <div id="DBUG" data-motocol-tag="DBUG"></div>
  166.  
  167. <div id="recmoreid" data-motocol-recstart="0" data-motocol-recperpage="10" data-motocol-recmore-default><p>MORE RECORDS</p></div>
  168. </body>
  169. </html>
  170. Position: Ln 1, Ch 1 Total: Ln 169, Ch 9128 resize
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement