incubator-esme-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhir...@apache.org
Subject svn commit: r822727 - /incubator/esme/trunk/server/src/main/webapp/auth_view/index.html
Date Wed, 07 Oct 2009 13:31:33 GMT
Author: rhirsch
Date: Wed Oct  7 13:31:33 2009
New Revision: 822727

URL: http://svn.apache.org/viewvc?rev=822727&view=rev
Log:
UI related changes

Modified:
    incubator/esme/trunk/server/src/main/webapp/auth_view/index.html

Modified: incubator/esme/trunk/server/src/main/webapp/auth_view/index.html
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/webapp/auth_view/index.html?rev=822727&r1=822726&r2=822727&view=diff
==============================================================================
--- incubator/esme/trunk/server/src/main/webapp/auth_view/index.html (original)
+++ incubator/esme/trunk/server/src/main/webapp/auth_view/index.html Wed Oct  7 13:31:33 2009
@@ -1,8 +1,30 @@
 <lift:surround with="default" at="content">
 
- <lift:loc>ui_token_title</lift:loc><br/>
-  <span id="TokenSpan">
-  <fieldset><legend><lift:loc>ui_token_list_title</lift:loc></legend>
+	<lift:Style.header />
+	    	
+	<!-- STYLESHEETS <lift:Style.header /> -->	
+		<link rel="stylesheet" type="text/css" href="../style/reset.css" media="screen" />
+		<link rel="stylesheet" type="text/css" href="../style/text.css" media="screen" />
+		<link rel="stylesheet" type="text/css" href="../style/grid.css" media="screen" />
+		<link rel="stylesheet" type="text/css" href="../style/layout.css" media="screen" />
+		<link type="text/css" href="../style/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet"
/>			
+		<!--[if IE 6]><link rel="stylesheet" type="text/css" href="../style/ie6.css" media="screen"
/><![endif]-->
+		<!--[if gte IE 7]><link rel="stylesheet" type="text/css" href="../style/ie.css"
media="screen" /><![endif]-->
+
+	<!-- JAVASCRIPT -->
+		<script type="text/javascript" src="../scripts/jquery-1.3.2.min.js"></script>
+		<script type="text/javascript" src="../scripts/jquery-ui-1.7.2.custom.min.js"></script>
+		<script type="text/javascript" src="../scripts/esme.js"></script>
+
+<div class="demo">
+
+<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs">
+	<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
+		<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a
href="#tabs-1"><lift:loc>ui_token_title_manage</lift:loc></a></li>
+		<li class="ui-state-default ui-corner-top"><a href="#tabs-2"><lift:loc>ui_token_title_create</lift:loc></a></li>
+	</ul>
+	<div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tabs-1">
+		  <span id="TokenSpan">
     <lift:ignore>
       <!--
       The displayTokens snippet *MUST* appear on the page before
@@ -10,24 +32,37 @@
       -->
     </lift:ignore>
     <lift:displayTokens the_id="TokenSpan">
-      <ul>
+    
+          <table border="1">
+        <tr>
+          <td halign="center"><b><lift:loc>ui_token_create_description</lift:loc></b></td>
+          <td halign="center"><b><lift:loc>ui_token_list_token</lift:loc></b></td>
+          <td halign="center"><b><lift:loc>ui_token_revoke</lift:loc></b></td>
+        </tr>
         <disp:item>
-          <li><item:description/> <lift:loc>ui_token_list_token</lift:loc>
<item:uniqueId/> <item:revoke><lift:loc>ui_token_revoke</lift:loc></item:revoke></li>
+          <tr>
+            <td><item:description/></td>
+            <td><item:uniqueId/></td>
+            <td>
+              <item:revoke><img src="/images/delete.png"/></item:revoke>
+            </td>
+          </tr>
         </disp:item>
-      </ul>
+      </table>
     </lift:displayTokens>
-    </fieldset>
   </span>
+	</div>
+	<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tabs-2">
 
   <lift:form>
-  <fieldset><legend><lift:loc>ui_token_create_title</lift:loc></legend>
-    <lift:main>
+     <lift:main>
       <lift:loc>ui_token_create_description</lift:loc>
-      <br/>
       <main:token/>
       <input type="submit" value="Add" />
     </lift:main>
-     </fieldset>
   </lift:form>
+	</div>
+</div>
 
+</div><!-- End demo -->
 </lift:surround>



Mime
View raw message