summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2005-08-30 16:11:52 +0000
committerPablo Saratxaga <pablo@mandriva.com>2005-08-30 16:11:52 +0000
commite79f18452fa04d031cc8c90e9cfafe3734fd6190 (patch)
tree198c622e8b8c2bc2054b8a5feac5b0854a8d6996
parent97fff35b1f9ce1d2577e486efab1286806e58842 (diff)
downloadindexhtml-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.pngbin0 -> 5414 bytes
-rw-r--r--HTML/index.html1
-rw-r--r--HTML/screen.css4
-rw-r--r--indexhtml.spec3
4 files changed, 6 insertions, 2 deletions
diff --git a/HTML/images/logo.png b/HTML/images/logo.png
new file mode 100644
index 0000000..1ab6e92
--- /dev/null
+++ b/HTML/images/logo.png
Binary files differ
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,-)