fedora-updates-system/updatessystem/templates login.kid, 1.1, 1.2 master.kid, 1.4, 1.5

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Mon Jan 1 06:16:24 UTC 2007


Author: lmacken

Update of /cvs/fedora/fedora-updates-system/updatessystem/templates
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4002/updatessystem/templates

Modified Files:
	login.kid master.kid 
Log Message:
- Wrote a Bugzilla IdentityProvider and added identity support



Index: login.kid
===================================================================
RCS file: /cvs/fedora/fedora-updates-system/updatessystem/templates/login.kid,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- login.kid	12 Nov 2006 20:08:06 -0000	1.1
+++ login.kid	1 Jan 2007 06:16:19 -0000	1.2
@@ -8,106 +8,42 @@
     <meta content="text/html; charset=UTF-8"
         http-equiv="content-type" py:replace="''"/>
     <title>Login</title>
-    <style type="text/css">
-        #loginBox
-        {
-            width: 30%;
-            margin: auto;
-            margin-top: 10%;
-            padding-left: 10%;
-            padding-right: 10%;
-            padding-top: 5%;
-            padding-bottom: 5%;
-            font-family: verdana;
-            font-size: 10px;
-            background-color: #eee;
-            border: 2px solid #ccc;
-        }
-
-        #loginBox h1
-        {
-            font-size: 42px;
-            font-family: "Trebuchet MS";
-            margin: 0;
-            color: #ddd;
-        }
-
-        #loginBox p
-        {
-            position: relative;
-            top: -1.5em;
-            padding-left: 4em;
-            font-size: 12px;
-            margin: 0;
-            color: #666;
-        }
-
-        #loginBox table
-        {
-            table-layout: fixed;
-            border-spacing: 0;
-            width: 100%;
-        }
-
-        #loginBox td.label
-        {
-            width: 33%;
-            text-align: right;
-        }
-
-        #loginBox td.field
-        {
-            width: 66%;
-        }
-
-        #loginBox td.field input
-        {
-            width: 100%;
-        }
-
-        #loginBox td.buttons
-        {
-            text-align: right;
-        }
-
-    </style>
 </head>
 
 <body>
-    <div id="loginBox">
-        <h1>Login</h1>
-        <p>${message}</p>
-        <form action="${previous_url}" method="POST">
-            <table>
-                <tr>
-                    <td class="label">
-                        <label for="user_name">User Name:</label>
-                    </td>
-                    <td class="field">
-                        <input type="text" id="user_name" name="user_name"/>
-                    </td>
-                </tr>
-                <tr>
-                    <td class="label">
-                        <label for="password">Password:</label>
-                    </td>
-                    <td class="field">
-                        <input type="password" id="password" name="password"/>
-                    </td>
-                </tr>
-                <tr>
-                    <td colspan="2" class="buttons">
-                        <input type="submit" name="login" value="Login"/>
-                    </td>
-                </tr>
-            </table>
-
-            <input py:if="forward_url" type="hidden" name="forward_url"
-                value="${forward_url}"/>
-                
-            <input py:for="name,value in original_parameters.items()"
-                type="hidden" name="${name}" value="${value}"/>
-        </form>
-    </div>
+    <h1>Login</h1>
+    <p>${message}</p>
+    <form action="${previous_url}" method="POST">
+        <table class="login">
+            <tr>
+                <td class="login-title">
+                    <a href="https://bugzilla.redhat.com">Bugzilla</a> Login:
+                </td>
+                <td class="login-value">
+                    <input type="text" size="25" name="user_name" />
+                </td>
+            </tr>
+            <tr>
+                <td class="login-title">
+                    Password:
+                </td>
+                <td class="login-value">
+                    <input type="password" size="25" name="password" />
+                </td>
+            </tr>
+            <tr>
+                <td class="login-title"></td>
+                <td class="login-value">
+                    <input class="button" name="login" type="submit" value="Login" />
+                </td>
+            </tr>
+        </table>
+
+        <input py:if="forward_url" type="hidden" name="forward_url"
+            value="${forward_url}"/>
+
+        <input py:for="name,value in original_parameters.items()"
+            type="hidden" name="${name}" value="${value}"/>
+    </form>
 </body>
 </html>


Index: master.kid
===================================================================
RCS file: /cvs/fedora/fedora-updates-system/updatessystem/templates/master.kid,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- master.kid	7 Dec 2006 07:20:02 -0000	1.4
+++ master.kid	1 Jan 2007 06:16:19 -0000	1.5
@@ -41,9 +41,11 @@
     <div id="fedora-side-left">
         <div id="fedora-side-nav-label">Site Navigation:</div>
             <ul id="fedora-side-nav">
-                <li><a href="/new">Add an update</a></li>
+                <li><a href="/new">New update</a></li>
                 <li><a href="/list">List updates</a></li>
-                <li><a href="/push">Push updates</a></li>
+                <li><a href="/mine">My updates</a></li>
+                <li><a href="/search">Search</a></li>
+                <li><a href="/logout">Logout</a></li>
             </ul>
         </div>
 




More information about the scm-commits mailing list