[slbackup-commit] CVS update: slbackup-php/templates config.tpl
header.tpl login.tpl menu.tpl restore.tpl status.tpl
finnarne-guest at alioth.debian.org
finnarne-guest at alioth.debian.org
Tue Apr 17 06:18:58 UTC 2007
User: finnarne-guest
Date: 07/04/17 06:18:58
Modified: templates config.tpl login.tpl restore.tpl status.tpl
Added: templates header.tpl
Removed: templates menu.tpl
Log:
Added stylesheet, to get the menu in correct place
Revision Changes Path
1.8 +1 -6 slbackup-php/templates/config.tpl
Index: config.tpl
===================================================================
RCS file: /cvsroot/slbackup/slbackup-php/templates/config.tpl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- config.tpl 16 Apr 2007 23:49:49 -0000 1.7
+++ config.tpl 17 Apr 2007 06:18:58 -0000 1.8
@@ -16,12 +16,7 @@
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*}
-<html>
- <head>
- <title>{t}SLBackup Configuration{/t}</title>
- </head>
- <body>
- {include file="menu.tpl"}
+ {include file="header.tpl"}
<FORM action="index.php" method=post>
<H2>{t}Server scheduler{/t}</H2>
1.4 +1 -5 slbackup-php/templates/login.tpl
Index: login.tpl
===================================================================
RCS file: /cvsroot/slbackup/slbackup-php/templates/login.tpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- login.tpl 16 Apr 2007 23:50:38 -0000 1.3
+++ login.tpl 17 Apr 2007 06:18:58 -0000 1.4
@@ -16,11 +16,7 @@
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*}
-<html>
- <head>
- <title>{t}SLBackup Configuration{/t}</title>
- </head>
- <body>
+ {include file="header.tpl"}
<FORM action="index.php" name=login method=POST>
{t 1=$backupuser 2=$backuphost}To read the configuration, you must log in as %1 on %2.{/t}<BR>
{t 1=$backupuser 2=$backuphost}Please enter the password for the %1 account on %2:{/t}<BR>
1.6 +1 -6 slbackup-php/templates/restore.tpl
Index: restore.tpl
===================================================================
RCS file: /cvsroot/slbackup/slbackup-php/templates/restore.tpl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- restore.tpl 17 Apr 2007 00:13:24 -0000 1.5
+++ restore.tpl 17 Apr 2007 06:18:58 -0000 1.6
@@ -16,12 +16,7 @@
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*}
-<html>
- <head>
- <title>{t}SLBackup Configuration{/t}</title>
- </head>
- <body>
- {include file="menu.tpl"}
+ {include file="header.tpl"}
<FORM action="index.php" method=post>
<H2>{t}Client to restore{/t}</H2>
1.3 +1 -7 slbackup-php/templates/status.tpl
Index: status.tpl
===================================================================
RCS file: /cvsroot/slbackup/slbackup-php/templates/status.tpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- status.tpl 16 Apr 2007 20:07:48 -0000 1.2
+++ status.tpl 17 Apr 2007 06:18:58 -0000 1.3
@@ -16,13 +16,7 @@
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*}
-<html>
- <head>
- <title>{t}SLBackup Configuration{/t}</title>
- </head>
- <body>
-
- {include file="menu.tpl"}
+ {include file="header.tpl"}
<H2>{t}Clients{/t}</H2>
<UL>
1.1 slbackup-php/templates/header.tpl
Index: header.tpl
===================================================================
{*
slbackup-php, an administration tool for slbackup
Copyright (C) 2007 Finn-Arne Johansen <faj at bzz.no>, Bzzware AS, Norway
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*}
<html>
<head>
<link rel="stylesheet" href="sl-style.css" type="text/css">
<title>{t}SLBackup Configuration{/t}</title>
</head>
<body>
<div class="menu">
<h2 class="menu">Menu</h2>
<form name=menu method=post>
<ul>
<li><A HREF=index.php?status=submit>{t}Status{/t}</A></li>
<li><A HREF=index.php?config=submit>{t}Config{/t}</A></li>
<li><A HREF=index.php?restore=submit>{t}Restore{/t}</A></li>
<li><A HREF=index.php?logout=submit>{t}Logout{/t}</A></li>
</ul>
</form>
</div>
More information about the slbackup-commit
mailing list