]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/admin/dbadmin.html
Admin: bei Admin/login direkt Redirect zu show, falls bereits eingeloggt
[mfinanz.git] / templates / webpages / admin / dbadmin.html
index 7533dcd56dc8a6a6f14cd238d235ed6dfd7207ce..1a07dc749e88777b10ba704bdf4289bbc908b290 100644 (file)
@@ -1,9 +1,9 @@
 [%- USE T8 %]
-[% USE HTML %]<body class="admin">
-
-  <h2>[% title %]</h2>
+[%- USE HTML %]
+  <h1>[% title %]</h1>
 
   <form method="post" action="admin.pl">
+   <a href="controller.pl?action=Admin/show">[% 'Back' | $T8 %]</a>
 
    <table>
     <tr>
@@ -11,8 +11,6 @@
 
       <table>
 
-       <input type="hidden" name="dbdriver" value="[% HTML.escape(dbdriver) %]">
-
        <tr>
         <td>
          <table>
@@ -28,7 +26,7 @@
 
           <tr>
 
-           <th align="right">[% 'User' | $T8 %]</th>
+           <th align="right">[% 'Database User' | $T8 %]</th>
            <td><input name="dbuser" size="10" value="[% HTML.escape(dbuser) %]"></td>
            <th align="right">[% 'Password' | $T8 %]</th>
            <td><input type="password" name="dbpasswd" size="10"></td>
        </tr>
       </table>
 
-      <input name="callback" type="hidden" value="admin.pl?action=list_users">
+      <input name="callback" type="hidden" value="controller.pl?action=Admin/show">
 
       <br>
-
       <input type="submit" class="submit" name="action" value="[% 'Create Dataset' | $T8 %]">
       <input type="submit" class="submit" name="action" value="[% 'Update Dataset' | $T8 %]">
       <input type="submit" class="submit" name="action" value="[% 'Delete Dataset' | $T8 %]">
@@ -67,6 +64,3 @@
   <p>[% 'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!' | $T8 %]</p>
 
   <p>[% 'Leave host and port field empty unless you want to make a remote connection.' | $T8 %]</p>
-
-</body>
-</html>