diff options
author | Pablo Saratxaga <pablo@mandriva.com> | 2005-08-30 16:11:52 +0000 |
---|---|---|
committer | Pablo Saratxaga <pablo@mandriva.com> | 2005-08-30 16:11:52 +0000 |
commit | e79f18452fa04d031cc8c90e9cfafe3734fd6190 (patch) | |
tree | 198c622e8b8c2bc2054b8a5feac5b0854a8d6996 | |
parent | 97fff35b1f9ce1d2577e486efab1286806e58842 (diff) | |
download | indexhtml-e79f18452fa04d031cc8c90e9cfafe3734fd6190.tar indexhtml-e79f18452fa04d031cc8c90e9cfafe3734fd6190.tar.gz indexhtml-e79f18452fa04d031cc8c90e9cfafe3734fd6190.tar.bz2 indexhtml-e79f18452fa04d031cc8c90e9cfafe3734fd6190.tar.xz indexhtml-e79f18452fa04d031cc8c90e9cfafe3734fd6190.zip |
fixed images path;
added a meta field for the release (filled at install time)
-rw-r--r-- | HTML/images/logo.png | bin | 0 -> 5414 bytes | |||
-rw-r--r-- | HTML/index.html | 1 | ||||
-rw-r--r-- | HTML/screen.css | 4 | ||||
-rw-r--r-- | indexhtml.spec | 3 |
4 files changed, 6 insertions, 2 deletions
diff --git a/HTML/images/logo.png b/HTML/images/logo.png Binary files differnew file mode 100644 index 0000000..1ab6e92 --- /dev/null +++ b/HTML/images/logo.png diff --git a/HTML/index.html b/HTML/index.html index ea77061..bcf5546 100644 --- a/HTML/index.html +++ b/HTML/index.html @@ -4,6 +4,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta name="mdv.release" content="XXXXX" /> <title>Mandriva Linux</title> <link rel="stylesheet" type="text/css" media="screen, projection" href="file:///usr/share/mdk/indexhtml/screen.css" /> </head> diff --git a/HTML/screen.css b/HTML/screen.css index 4a27230..a3237e0 100644 --- a/HTML/screen.css +++ b/HTML/screen.css @@ -11,7 +11,7 @@ body { margin: auto; width: 800px; height: 600px; - background-image: url(./image/bg.png); + background-image: url(./images/bg.png); background-repeat: no-repeat; color: #21449C; font-family: sans-serif; @@ -27,7 +27,7 @@ h1 a { position: relative; left: 10px; top: 25px; - background-image: url(./image/logo.png); + /* background-image: url(./images/logo.png); */ background-repeat: no-repeat; width: 146px; height: 34px; diff --git a/indexhtml.spec b/indexhtml.spec index d64aac0..a087dd0 100644 --- a/indexhtml.spec +++ b/indexhtml.spec @@ -65,6 +65,9 @@ install -m 0644 HTML/index.html %buildroot/%_datadir/doc/HTML/index.html %clean rm -fr %buildroot +%post +cat %_datadir/mdk/indexhtml/index.html | \ + sed "s/XXXXX/`cat /etc/release`/" > %_datadir/doc/HTML/index.html %files %defattr(-,root,root,-) |