Add login tab. Add javascript from mk2-ui-core
authorDennis Schafroth <dennis@indexdata.com>
Wed, 9 Jun 2010 13:04:20 +0000 (15:04 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Wed, 9 Jun 2010 13:04:20 +0000 (15:04 +0200)
www/iphone/index.html

index f6a1b52..ce8758d 100644 (file)
@@ -5,17 +5,27 @@
  
  <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-  <title>Pazpar2 demo client</title>
+  <title>Mobile Masterkey</title>
   <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
-  <meta name="apple-mobile-web-app-capable" content="yes">
+  <meta name="apple-mobile-web-app-capable" content="yes" />
 <!-- 
   <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
  -->  
-  <script type="text/javascript" src="/pazpar2/js/pz2.js"></script>
-  <script type="text/javascript" src="iphone.js" ></script>
-  <script type="text/javascript" src="example_client.js"></script>
-  <link rel="stylesheet" href="UiUIKit/stylesheets/iphone.css" />
-  <link rel="apple-touch-icon" href="UiUIKit/stylesheets/images/apple-touch-icon.png" />
+       <script type="text/javascript" src="/mk2-ui-core/js/ui_bootstrap.js"></script>
+       <script type="text/javascript" src="/mk2-ui-core/js/state.js"></script>
+       <script type="text/javascript" src="/mk2-ui-core/js/recipe.js"></script>
+       <script type="text/javascript" src="/mk2-ui-core/js/snippet.js"></script>
+       <script type="text/javascript" src="/mk2-ui-core/js/auth.js"></script>        
+       <script type="text/javascript" src="/mk2-ui-core/js/torus.js"></script>
+<!-- 
+    <script type="text/javascript" src="/mk2-ui-core/js/client.js"></script>
+-->
+    <script type="text/javascript" src="iphone.js" ></script>
+    <script type="text/javascript" src="/pazpar2/js/pz2.js"></script>
+    <script type="text/javascript" src="example_client.js"></script>
+
+    <link rel="stylesheet" href="UiUIKit/stylesheets/iphone.css" />
+    <link rel="apple-touch-icon" href="UiUIKit/stylesheets/images/apple-touch-icon.png" />
  </head>
  
  <body id="normal" onload="domReady();">
@@ -42,7 +52,7 @@
      <td style="visibility:hidden;" height="100" align="center"><b>Pazpar2</b></td>
 -->
      <td width="100%">
-      <form id="searchForm" name="search">
+      <form id="searchForm" name="search" style="display: none">
        <input id="query" type="text" />
        <input id="button" type="submit" value="go" />
       </form>
@@ -67,6 +77,7 @@
             <li><a href="javascript:showhide('xtargets')">Sources</a></li>
             <li><a href="javascript:showhide('subjects')">Subjects</a></li>
             <li><a href="javascript:showhide('authors')">Authors</a></li>
+            <li><a href="/login.html">Login</a></li>
       </ul>
   </div>