Commit 0fb2eae5 authored by Stanislav Ievlev's avatar Stanislav Ievlev

- made indexhtml as a component

- partial sync between CSS for indexhtml and for alterator
parent aa6f048d
......@@ -15,4 +15,4 @@ all:
mv kde3-settings/apps/kdisplay/color-schemes/scheme.kcsrc "kde3-settings/apps/kdisplay/color-schemes/@BRAND_FNAME@ @NAME@.kcsrc"
include components.mk
install: browser-qt ahttpd boot
install: browser-qt ahttpd boot indexhtml
......@@ -293,17 +293,6 @@ popd
mkdir -p %buildroot/usr/share/install2/slideshow
install slideshow/* %buildroot/usr/share/install2/slideshow/
#indexhtml
%define _altdocsdir %_defaultdocdir/alt-docs
%define _indexhtmldir %_altdocsdir/indexhtml
pushd indexhtml
mkdir -p %buildroot{%_indexhtmldir/,%_desktopdir/}
cp -r * %buildroot%_indexhtmldir/
rm -f %buildroot%_indexhtmldir/*.in %buildroot%_indexhtmldir/indexhtml.desktop
touch %buildroot%_indexhtmldir/index.html
install -m644 indexhtml.desktop %buildroot%_desktopdir/
popd
#xfce-settings
pushd xfce-settings
mkdir -p %buildroot/etc/skel/.config/xfce4/desktop
......@@ -413,10 +402,14 @@ cat /etc/sysconfig/xinitrc.xfce >> /etc/sysconfig/xinitrc
%files slideshow
/usr/share/install2/slideshow
%define indexhtmldir %_datadir/doc/alt-docs/indexhtml
%files indexhtml
%ghost %_indexhtmldir/index.html
%_indexhtmldir/*
%_desktopdir/*
%ghost %indexhtmldir/index.html
%indexhtmldir/index-*.html
%indexhtmldir/index.css
%indexhtmldir/img
%_desktopdir/indexhtml.desktop
%files xfce-settings
/etc/skel/Templates
......
......@@ -39,3 +39,14 @@ boot:
install -d -m 755 $(datadir)/gfxboot/$(THEME)
install -m 644 design-bootloader-source/message $(sysconfdir)/../boot/splash/$(THEME)
install -m 644 design-bootloader-source/bootlogo $(datadir)/gfxboot/$(THEME)
# index html page, start page for all local browsers
INDEXHTML_DIR=$(datadir)/doc/alt-docs/indexhtml
indexhtml:
for i in notes/index*.html components/indexhtml/*.css;do \
install -Dpm644 $$i $(INDEXHTML_DIR)/`basename $$i`; \
done
install -Dpm644 /dev/null $(INDEXHTML_DIR)/index.html
cp -a components/indexhtml/img $(INDEXHTML_DIR)
[ ! -f images/logo.png ] || convert images/logo.png -fill '#ffffff' -font /usr/share/fonts/ttf/dejavu/DejaVuSans-Bold.ttf -style Normal -weight Normal -pointsize 24 -gravity northwest -draw 'text 0,0 "$(VERSION) $(NAME)"' $(INDEXHTML_DIR)/img/logo.png
install -Dpm644 components/indexhtml/indexhtml.desktop $(datadir)/applications/indexhtml.desktop
/* Stylesheet for index file */
body {
font-family: Verdana,'DejaVu Sans',Helvetica,sans;
text-align: left;
font-size: 12px;
background: #@LIGHT_COLOR_HEX@;
background-image: url('img/bg.png');
background-color: #@MIDDLE_COLOR_HEX@;
color: #@MIDDLE_LABELS_HEX@;
margin: 0px;
padding: 10px;
font-family : Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 9pt;
}
.shadow { position:relative; display:block; color:black; }
......@@ -107,3 +108,23 @@ div#lang {
padding: 0.2em;
border: 1px solid #@DARK_COLOR_HEX@;
}
/* top line */
#top {
text-align:left;
background: url('img/gradient-top.png') 0% 0% repeat-x;
padding: 0.25em;
-moz-border-radius: 0.5em;
-webkit-border-radius: 0.5em;
-khtml-border-radius: 0.5em;
border-radius: 0.5em;
}
#product-logo {
background: url('img/logo.png') no-repeat;
width: 275px;
height: 30px;
border: 0px;
}
......@@ -48,11 +48,11 @@ AC_CONFIG_FILES([
notes/release-notes.all.html
notes/license.ru.html
notes/license.all.html
indexhtml/indexhtml.desktop
indexhtml/index-ru.html
indexhtml/index-uk.html
indexhtml/index-en.html
indexhtml/index.css
notes/index-ru.html
notes/index-uk.html
notes/index-en.html
components/indexhtml/indexhtml.desktop
components/indexhtml/index.css
gnome-settings/gtkrc
gnome-settings/index.theme
gnome-settings/metacity-theme-1.xml
......
......@@ -9,6 +9,17 @@
<body>
<div id="top">
<table>
<tbody>
<tr>
<td style="text-align:left;width:100%"><img id="product-logo" src="img/null.gif"/></td>
<td style="text-align:right"><img id="brand-logo" src="img/null.gif"/></td>
</tr>
</tbody>
</table>
</div>
<div id=lang>
<a href="index-ru.html">Русский</a> |
<a href="index-uk.html">Українська</a>
......@@ -16,11 +27,6 @@
<div id="content">
<table border="0" cellspacing="10"><tr>
<td><img src="img/altlinux-logo.png" width="95" height="84" style="margin-right: 15px;"></td>
<td width="99%" valign="bottom"><h1 class="shadow" title="@BRAND_FNAME@ @VERSION@ @NAME@ @STATUS@"><nobr>@BRAND_FNAME@ @VERSION@ @NAME@ @STATUS@</nobr></h1></td>
</tr></table>
<div id="main">
<div id="pane">
......
......@@ -9,6 +9,17 @@
<body>
<div id="top">
<table>
<tbody>
<tr>
<td style="text-align:left;width:100%"><img id="product-logo" src="img/null.gif"/></td>
<td style="text-align:right"><img id="brand-logo" src="img/null.gif"/></td>
</tr>
</tbody>
</table>
</div>
<div id=lang>
<a href="index-en.html">English</a> |
<a href="index-uk.html">Українська</a>
......@@ -16,11 +27,6 @@
<div id="content">
<table border="0" cellspacing="10"><tr>
<td><img src="img/altlinux-logo.png" width="95" height="84" style="margin-right: 15px;"></td>
<td width="99%" valign="bottom"><h1 class="shadow" title="@BRAND_FNAME@ @VERSION@ @NAME@ @STATUS@"><nobr>@BRAND_FNAME@ @VERSION@ @NAME@ @STATUS@</nobr></h1></td>
</tr></table>
<div id="main">
<div id="pane">
......
......@@ -9,6 +9,17 @@
<body>
<div id="top">
<table>
<tbody>
<tr>
<td style="text-align:left;width:100%"><img id="product-logo" src="img/null.gif"/></td>
<td style="text-align:right"><img id="brand-logo" src="img/null.gif"/></td>
</tr>
</tbody>
</table>
</div>
<div id=lang>
<a href="index-en.html">English</a> |
<a href="index-ru.html">Русский</a>
......@@ -16,11 +27,6 @@
<div id="content">
<table border="0" cellspacing="10"><tr>
<td><img src="img/altlinux-logo.png" width="95" height="84" style="margin-right: 15px;"></td>
<td width="99%" valign="bottom"><h1 class="shadow" title="@BRAND_FNAME@ @VERSION@ @NAME@ @STATUS@"><nobr>@BRAND_FNAME@ @VERSION@ @NAME@ @STATUS@</nobr></h1></td>
</tr></table>
<div id="main">
<div id="pane">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment