Commit 9006f088 authored by Andrey Cherepanov's avatar Andrey Cherepanov

Merge remote-tracking branch 'school-junior/sisyphus' into school-junior

parents 1fd5e410 8ec8abf8
tar: . name=branding
STATUS=@STATUS@
THEME=@THEME@
NAME=@NAME@
VERSION=@VERSION@
all:
# background
convert images/wallpaper.png -fill '#c62530' -font /usr/share/fonts/ttf/droid/DroidSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "@STATUS@"' wallpaper.png
cp -al wallpaper.png graphics/backgrounds/default.png
cp -al wallpaper.png graphics/backgrounds/xdm.png
include components.mk
install: browser-qt ahttpd indexhtml
x86: boot
This diff is collapsed. Click to expand it.
#!/bin/bash
echo $(echo "ibase=16; ${1:0:2}" | bc)','$(echo "ibase=16; ${1:2:2}" | bc)','$(echo "ibase=16; ${1:4:2}" | bc)
\ No newline at end of file
# browser-qt
components/browser-qt/design/bg.png: images/installer.png
convert $< -resize '800x600!' -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "$(STATUS)"' $@
browser-qt:components/browser-qt/design/bg.png
install -d $(datadir)/alterator-browser-qt/design
cd components/browser-qt; rcc-qt4 -binary theme.qrc -o $(datadir)/alterator-browser-qt/design/$(THEME).rcc; cd -
install -d $(sysconfdir)/alternatives/packages.d
printf '/etc/alterator/design-browser-qt\t/usr/share/alterator-browser-qt/design/$(THEME).rcc\t50\n'>$(sysconfdir)/alternatives/packages.d/$(THEME).rcc
# ahttpd
ahttpd:
install -d $(datadir)/alterator/design/styles
cp -a components/ahttpd/images $(datadir)/alterator/design
install -Dpm644 images/product-logo.png $(datadir)/alterator/design/images/product-logo.png
cp -a components/ahttpd/styles/*.css $(datadir)/alterator/design/styles
# bootloader and bootsplash
boot:
cp -a /usr/src/design-bootloader-source ./
cp -a components/bootloader/config design-bootloader-source/
cp -a components/bootloader/gfxboot.cfg design-bootloader-source/data-install/
cp -a components/bootloader/gfxboot.cfg design-bootloader-source/data-boot/
for size in 1024x768 800x600 640x480; do \
convert images/boot.jpg -quality 97 -resize "$$size!" -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "$(STATUS)"' boot-$$size.jpg ;\
done
cp -al boot-800x600.jpg design-bootloader-source/data-boot/back.jpg
convert images/boot.png -resize "800x600!" -fill '#c62530' -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 20 -gravity northeast -draw 'text 25,25 "$(STATUS)"' design-bootloader-source/data-install/back.jpg
#bootsplash
mkdir -p $(datadir)/plymouth/themes/$(THEME)
cp -al boot-800x600.jpg $(datadir)/plymouth/themes/$(THEME)/grub.jpg
cp -al images/background*x*.png $(datadir)/plymouth/themes/$(THEME)/
cp -a components/bootsplash/* $(datadir)/plymouth/themes/$(THEME)
mv $(datadir)/plymouth/themes/$(THEME)/theme.plymouth $(datadir)/plymouth/themes/$(THEME)/$(THEME).plymouth
#bootloader
subst 's/label:ALT/label:School/g' design-bootloader-source/src/dia_install.inc
DEFAULT_LANG='--lang-to-subst--' PATH=$(PATH):/usr/sbin make -C design-bootloader-source
install -d -m 755 $(sysconfdir)/../boot/splash/$(THEME)
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)
#grub2
install -d -m 755 $(sysconfdir)/../boot/grub/themes/$(THEME)
cp -a components/grub2/* $(sysconfdir)/../boot/grub/themes/$(THEME)/
install -m 644 images/grub.png $(sysconfdir)/../boot/grub/themes/$(THEME)/boot.png
# index html page, start page for all local browsers
INDEXHTML_DIR=$(datadir)/doc/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/images $(INDEXHTML_DIR)
install -Dpm644 images/product-logo.png $(INDEXHTML_DIR)/images/product-logo.png
install -Dpm644 components/indexhtml/indexhtml.desktop $(datadir)/applications/indexhtml.desktop
body {
background-color: #cdcdcd;/*#92b2b8;/*#67999a;/*#c0dbdb;*/
color: #178093;
margin: 0px;
padding: 10px;
font-family : Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 9pt;
}
a {
color: #178093;
font-weight: bold;
}
table {
font-size: 9pt;
border-color: #178093;
border-collapse: collapse;
}
th {
padding: 0px 7px 3px 0px;
}
tr {
vertical-align: top;
}
hr {
border: none;
border-top: 1px solid #5ac;
}
h1 {
text-align: center;
margin: 0px;
}
textarea, select, input.text {
border: 1px solid #178093;
font-size: 8pt;
margin: 1px 3px 1px 0px;
padding: 1px 3px;
}
.btn {
background-color: #cdcdcd;
color: #178093;
border: 1px solid #178093;
cursor: pointer;
font-size: 9pt;
padding: 0px 3px;
}
.btn:hover {
background-color: #94c4cd;
}
.error-message {
background-color: #FFCACA;
border: 1px solid #FF6060;
padding-left:10px;
padding-right:10px;
margin-bottom:10px;
}
.info-name {
font-size: 18pt;
border-bottom: 2px solid #178093;
}
.info-description {
font-size: 12pt;
font-weight: bold;
padding-top: 10px;
}
.frame-table {
border-style:solid;
border-width:1px;
margin: 3px;
}
.frame-table td, .frame-table th {
border-style:solid;
border-width:1px;
padding: 1px 1px 3px 3px;
}
.disabled {
color: #6e6e6e;
}
.alterator-progress {
border: 1px solid #178093;
height: 20px;
width: 200px;
padding: 2px;
background-color: #FFFFFF;
}
.alterator-progress div {
background-color: #178093;
height: 20px;
}
.year {
font-weight: bold;
background-color: #baeaea;
}
.week {
border-style:solid;
border-width:1px;
background-color: white;
}
.today {
border-style:solid;
border-width:1px;
background-color: pink;
cursor: pointer;
}
.day {
border-style:solid;
border-width:1px;
background-color: #baeaea;
cursor: pointer;
}
.day:hover {
background-color: #178093;
}
.alterator-dateedit-calendar table {
width: 100%;
text-align: center;
background-color: #baeaea;
border-style: solid;
border-width: 1px;
}
.alterator-dateedit-calendar td {
padding: 3px;
}
.alterator-dateedit-button {
vertical-align:middle;
cursor:pointer;
background: url(/design/images/dateedit.png) no-repeat;
width: 15px;
height: 16px;
}
table.alterator-listbox {
border: solid 1px;
}
table.alterator-listbox th {
background-color: #cdcdcd;
font-weight: bold;
border: solid 1px;
padding: 3px;
}
table.alterator-listbox td {
background: #ffffff;
border-left: solid 1px;
border-right: solid 1px;
padding: 3px;
}
.selector-actions {
position: absolute;
right: 30px;
}
.selector-chooser {
width: 100%;
}
/* c0dbdb */
#logo-td {
border-left: none;
padding-left: 10px;
padding-right: 10px;
text-align:left;
/* background: #fff;*/
padding-top: 10px;
background: url(/design/images/gradient-top.png) 0% 0% repeat-x;
width: 275px;
-moz-border-radius-topleft: 1em;
-webkit-border-radius-topleft: 1em;
-khtml-border-radius-topleft: 1em;
border-radius-topleft: 1em;
-moz-border-radius-bottomleft: 1em;
-webkit-border-radius-bottomleft: 1em;
-khtml-border-radius-bottomleft: 1em;
border-radius-bottomleft: 1em;
}
#logo-td img {
background: url(/design/images/logo.png) no-repeat;
width: 275px; /*325*/
height: 30px;
}
#help-td {
/*border-left: none;*/
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
width: 20px;
text-align:left;
color: #fff;
/* border-bottom: 1px solid #056560;;*/
background: url(/design/images/gradient-top.png) 0% 0% repeat-x;
/* -moz-border-radius-topleft: 1em;
-moz-border-radius-topright: 1em;
-webkit-border-radius-topleft: 1em;
-khtml-border-radius-topleft: 1em;
border-radius-topleft: 1em; */
}
#locale-td {
/* border-left: none; */
padding-left: 10px;
padding-top: 10px;
color: #fff;
padding-right: 10px;
text-align:center;
width: 100px;
background: url(/design/images/gradient-top.png) 0% 0% repeat-x;
/* border-left: 1px solid #056560;;
border-right: 1px solid #056560;;
border-bottom: 1px solid #056560;; */
-moz-border-radius-topright: 1em;
-webkit-border-radius-topright: 1em;
-khtml-border-radius-topright: 1em;
border-radius-topright: 1em;
}
#hostinfo-td {
/* border-left: 1px solid #056560;;
border-top: 1px solid #056560;;
border-right: 1px solid #056560;; */
background: url(/design/images/gradient-top.png) 0% 0% repeat-x;
/* -moz-border-radius-topleft: 1em;
-webkit-border-radius-topleft: 1em;
-khtml-border-radius-topleft: 1em;
border-radius-topleft: 1em;
*/
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
text-align: left;
color: #fff; /*#0574B2;*/
font-weight: bold;
text-decoration: none;
font-size:large;
}
.expanded {
/* padding-left: 40px;*/
width: 100%;
}
/* main menu */
#menu-td {
padding-right: 12px;
}
#main {
padding: 10px 20px;
}
#main-td {
/* padding: 10px 20px;*/
/* background-color: #baeaea;*/
background-color: #fff;
width: 100%;
/*border: 1px solid #056560;;*/
-moz-border-radius-bottomright: 1em;
-webkit-border-radius-bottomright: 1em;
-khtml-border-radius-bottomright: 1em;
border-radius-bottomright: 1em;
-moz-border-radius-bottomleft: 1em;
-webkit-border-radius-bottomleft: 1em;
-khtml-border-radius-bottomleft: 1em;
border-radius-bottomleft: 1em;
}
.menu-item-normal a {
font-weight: normal;
padding-left: 5px;
padding-right: 5px;
text-decoration: none;
}
.menu-item-selected a {
font-weight: bold;
padding-left: 5px;
padding-right: 5px;
}
.menu-group-name {
padding-left: 5px;
padding-right: 5px;
color: #fff;
text-decoration: none;
/*background-color:#baeaea;*/
padding-top: 3px;
background: url(/design/images/gradient.png) 0% 0% repeat-x;
font-weight: bold;
-moz-border-radius-topright: 1em;
-webkit-border-radius-topright: 1em;
-khtml-border-radius-topright: 1em;
border-radius-topright: 1em;
-moz-border-radius-topleft: 1em;
-webkit-border-radius-topleft: 1em;
-khtml-border-radius-topleft: 1em;
border-radius-topleft: 1em;
}
.menu-group {
padding-bottom: 5px;
/*width:250px;*/
/* padding-right: 5px;*/
padding-top: 5px;
border-collapse: collapse;
background: url(/design/images/gradient-menu.png) 0% 0% repeat-x;
/* border-bottom: 1px solid #056560;;
border-left: 1px solid #056560;;
border-right: 1px solid #056560;; */
-moz-border-radius-bottomright: 1em; /* mozilla 1.5 */
-webkit-border-radius-bottomright: 1em; /* safari 3 */
-khtml-border-radius-bottomright: 1em; /* Konqueror */
border-radius-bottomright: 1em; /* CSS3 */
-moz-border-radius-bottomleft: 1em; /* mozilla 1.5 */
-webkit-border-radius-bottomleft: 1em; /* safari 3 */
-khtml-border-radius-bottomleft: 1em; /* Konqueror */
border-radius-bottomleft: 1em; /* CSS3 */
}
#help-popup {
padding-left: 10px;
width: 95%;
background-color: #EEF2F5;
/* padding-right: 5px;
padding-top: 10px;*/
}
.hresizeable {
width: 100%;
height: 7px;
background:#cdcdcd url(/design/images/hgrabber.gif) no-repeat scroll 45%;
cursor: s-resize;
}
.hresizeable:hover {
background-color: #178093;
}
product=@NAME@ @VERSION@ @STATUS@
based_on=ALT Linux Sisyphus
; Sections are read in the order given in base::layout, with section 'base'
; implicitly added at the end. If a config value is given more than once,
; the first entry wins.
;
; If a screen resolution can't be set, 640x480 is used as fallback (and
; section '640x480' added to the layout list).
;
; If the penguin screen is active, section 'penguin' is automatically added
; to the layout list.
;
; Color values: 24 bit RGB (e.g. 0xff0000 = red).
;
[base]
; theme name
theme=ALTLinux
; other sections to read
layout=800x600,install
; penguin theme likelihood (in percent, -1 = auto)
penguin=0
; activate speech output
talk=0
; sound volume (0..100)
volume=70
; menu background transparency (0..255)
menu.transparency=60
; default font
font.normal=drs16.fnt
; main menu font
font.large=drs16.fnt
; bold main menu font
font.large.bold=drs16b.fnt
; background image
background=back.jpg
; max. visible main menu items
mainmenu.entries=8
; minimal main menu selection bar width
mainmenu.bar.minwidth=294
; main menu selection bar transparency (0..255)
mainmenu.bar.transparency=0
; main menu colors
mainmenu.bar.color=0xffffff
mainmenu.normal.fg=0x787878
mainmenu.selected.fg=0x118bca
; boot option colors
bootopt.label.fg=0x787878
bootopt.text.fg=0x787878
; progress bar color
progress.bar.color=0xd4ecfa
; menu colors
menu.normal.bg=0x798491
menu.normal.fg=0xffffff
menu.selected.bg=0x787878
menu.selected.fg=0xffffff
; window colors
window.bg=0xffffff
window.fg=0x000000
window.title.bg=0x787878
window.title.fg=0x000000
window.title.error.bg=0xc00000
; help system colors
help.link.fg=0x@DARK_COLOR_HEX@
help.link.selected.fg=0xffffff
help.link.selected.bg=0x@DARK_COLOR_HEX@
help.highlight.fg=0x@DARK_COLOR_HEX@
; panel colors
panel.fg=0x000000
panel.title.fg=0x787878
panel.normal.fg=0x787878
panel.f-key.fg=0x787878
; default keymap (e.g. de_DE, czech)
keymap=
[800x600]
; screen size
screen.size=800,600
; upper left corner
mainmenu.pos=253,210
; boot option input field position
bootopt.pos=200,480
[640x480]
; screen size
screen.size=640,480
; upper left corner
mainmenu.pos=130,100
; boot option input field position
bootopt.pos=263,380
[install]
; show welcome animation
welcome=0
; beep when menu is ready
beep=0
; main menu item shown only if iso is tagged for media check
mediacheck=mediachk
; main menu items where user can't add boot options
nobootoptions=harddisk,memtest
; main menu items that are not passed an 'install' parameter
noinstallopt=harddisk,firmware,memtest
; default install method (one of: cdrom, slp, ftp, http, nfs, smb, hd; default: cdrom)
install=
; default repo location
install.http.server=
install.http.path=
install.nfs.server=
install.nfs.path=
install.ftp.server=
install.ftp.path=
install.ftp.user=
install.ftp.password=
install.smb.server=
install.smb.share=
install.smb.path=
install.smb.domain=
install.smb.user=
install.smb.password=
install.hd.device=
install.hd.path=
; default driver update (one of: yes, no, file, url; default: no)
dud=
; if 'dud=file': file name on DVD
dud.file=
; if 'dud=url': URL
dud.url=
; if 'dud=url': menu item name (default = 'URL')
dud.url.name=
; serial line setup (up to four lines)
; format: port,baud,dev
; - port: 0-3: first four BIOS serial lines (COM1-COM4); >=4: I/O port (0x3f8)
; - baud: baud rate (e.g. 115200); 0 = autodetect (considers baud rates >= 9600)
; - dev: linux device name (e.g. ttyS0)
; - all lines are set up with 8 bits, no parity, 1 stop bit
; - if the bootloader also has a serial line setup, the port is
; automatically used
serial.line0=0,0,ttyS0
serial.line1=1,0,ttyS1
serial.line2=
serial.line3=
; show keymap menu as submenu in lang dialog
keymap.submenu=0
; show keymap in main menu
keymap.mainmenu=0
[boot]
; show welcome animation
welcome=0
; beep when menu is ready
beep=0
; show keymap menu as submenu in lang dialog
keymap.submenu=0
; show keymap in main menu
keymap.mainmenu=0
[Plymouth Theme]
Name=@NAME@
Description=Script for @BRAND_FNAME@ @NAME@
ModuleName=script
[script]
ImageDir=/usr/share/plymouth/themes/@THEME@
ScriptFile=/usr/share/plymouth/themes/@THEME@/theme.script
# Centaurus theme
fun imgscale( image, scale )
{
image.Scale( image.GetWidth() * scale, image.GetHeight() * scale );
}
fun imgscale2( image, scaleX, scaleY )
{
image.Scale( image.GetWidth() * scaleX, image.GetHeight() * scaleY );
}
# background
if( Window.GetWidth()/Window.GetHeight() > 1.5 )
{
logo.raw = Image("background16x9.png");
}
else
{
logo.raw = Image("background4x3.png");
}
logo.image = imgscale2( logo.raw,
Window.GetWidth()/logo.raw.GetWidth(),
Window.GetHeight()/logo.raw.GetHeight());
logo.sprite = Sprite(logo.image);
logo.sprite.SetPosition(0, 0, 0);
#----------------------------------------- Dialogue --------------------------------
status = "normal";
fun dialog_setup()
{
local.box;
local.lock;
local.entry;
box.image = Image("box.png");
lock.image = Image("lock.png");
entry.image = Image("entry.png");
box.sprite = Sprite(box.image);
box.x = Window.GetX() + Window.GetWidth() / 2 - box.image.GetWidth ()/2;
box.y = Window.GetY() + Window.GetHeight() / 2 - box.image.GetHeight()/2;
box.z = 10000;
box.sprite.SetPosition(box.x, box.y, box.z);
lock.sprite = Sprite(lock.image);
lock.x = box.x + box.image.GetWidth()/2 - (lock.image.GetWidth() + entry.image.GetWidth()) / 2;
lock.y = box.y + box.image.GetHeight()/2 - lock.image.GetHeight()/2;
lock.z = box.z + 1;
lock.sprite.SetPosition(lock.x, lock.y, lock.z);
entry.sprite = Sprite(entry.image);
entry.x = lock.x + lock.image.GetWidth();
entry.y = box.y + box.image.GetHeight()/2 - entry.image.GetHeight()/2;
entry.z = box.z + 1;
entry.sprite.SetPosition(entry.x, entry.y, entry.z);
global.dialog.box = box;
global.dialog.lock = lock;
global.dialog.entry = entry;
global.dialog.bullet_image = Image("bullet.png");
dialog_opacity (1);
}
fun dialog_opacity(opacity)
{
dialog.box.sprite.SetOpacity (opacity);
dialog.lock.sprite.SetOpacity (opacity);
dialog.entry.sprite.SetOpacity (opacity);
for (index = 0; dialog.bullet[index]; index++)
{
dialog.bullet[index].sprite.SetOpacity(opacity);
}
}
fun display_normal_callback ()
{
global.status = "normal";
if (global.dialog)
dialog_opacity (0);
}
fun display_password_callback (prompt, bullets)
{
global.status = "password";
if (!global.dialog)
dialog_setup();
else
dialog_opacity(1);
for (index = 0; dialog.bullet[index] || index < bullets; index++)
{
if (!dialog.bullet[index])
{
dialog.bullet[index].sprite = Sprite(dialog.bullet_image);
dialog.bullet[index].x = dialog.entry.x + index * dialog.bullet_image.GetWidth();
dialog.bullet[index].y = dialog.entry.y + dialog.entry.image.GetHeight() / 2 - dialog.bullet_image.GetHeight() / 2;
dialog.bullet[index].z = dialog.entry.z + 1;
dialog.bullet[index].sprite.SetPosition(dialog.bullet[index].x, dialog.bullet[index].y, dialog.bullet[index].z);
}
if (index < bullets)
dialog.bullet[index].sprite.SetOpacity(1);
else
dialog.bullet[index].sprite.SetOpacity(0);
}
}
Plymouth.SetDisplayNormalFunction(display_normal_callback);
Plymouth.SetDisplayPasswordFunction(display_password_callback);
#----------------------------------------- Progress Bar --------------------------------
progress_box.raw = Image("progress_box.png");
scale_factor = Window.GetWidth() / progress_box.raw.GetWidth() * 0.8;
progress_box.image = imgscale( progress_box.raw, scale_factor );
progress_box.sprite = Sprite(progress_box.image);
progress_box.x = Window.GetX() + Window.GetWidth() / 2 - progress_box.image.GetWidth() / 2;
progress_box.y = Window.GetY() + Window.GetHeight() / 2 - progress_box.image.GetHeight() / 2;
progress_box.sprite.SetPosition(progress_box.x, progress_box.y, 0);
progress_bar.original_image = imgscale(Image("progress_bar.png"), scale_factor);
progress_bar.sprite = Sprite();
progress_bar.x = progress_box.x ;
progress_bar.y = Window.GetY() + Window.GetHeight() / 2 - progress_box.image.GetHeight() / 2 + (progress_box.image.GetHeight() - progress_bar.original_image.GetHeight()) / 2;
#left corner
progress_bar.l = imgscale( Image("segment_cornerL.png") , scale_factor );
progress_bar.spriteL = Sprite();
progress_bar.spriteL.SetImage (progress_bar.l);
progress_bar.spriteL.SetPosition(progress_bar.x,progress_bar.y, 2) ;
progress_bar.x += progress_bar.l.GetWidth();
progress_bar.sprite.SetPosition(progress_bar.x, progress_bar.y, 1);
#right corner
#progress_bar.r = imgscale( Image("segment_cornerR.png") , scale_factor );
#progress_bar.sprites[steps+1] = Sprite();
#progress_bar.sprites[steps+1].SetImage (progress_bar.r);
#progress_bar.sprites[steps+1].SetPosition(progress_bar.x+step*steps,progress_bar.y, -1000) ;
fun progress_callback (duration, progress)
{
if (progress_bar.image.GetWidth () != Math.Int (progress_bar.original_image.GetWidth () * progress))
{
progress_bar.image = progress_bar.original_image.Scale(progress_bar.original_image.GetWidth(progress_bar.original_image) * progress, progress_bar.original_image.GetHeight());
progress_bar.sprite.SetImage (progress_bar.image);
}
}
Plymouth.SetBootProgressFunction(progress_callback);
#----------------------------------------- Quit --------------------------------
fun quit_callback ()
{
logo.sprite.SetOpacity (1);
}
Plymouth.SetQuitFunction(quit_callback);
#----------------------------------------- Message --------------------------------
message_sprites = [];
message_sprite_count = 0;
message_sprite_y = 10;
fun display_message_callback (text)
{
my_image = Image.Text(text, 1, 1, 1);
message_sprites[message_sprite_count] = Sprite(my_image);
message_sprites[message_sprite_count].SetPosition(10, message_sprite_y, 10000);
message_sprites[message_sprite_count].text = text;
message_sprite_count++;
message_sprite_y += my_image.GetHeight();
}
fun hide_message_callback (text)
{
for (i = 0; i < message_sprite_count; i++)
{
if (message_sprites[i].text == text)
message_sprites[i] = NULL;
}
}
Plymouth.SetDisplayMessageFunction (display_message_callback);
Plymouth.SetHideMessageFunction (hide_message_callback);
all:
rcc-qt4 -binary theme.qrc -o theme.rcc
Palette\active=#141312, #e8e7e6, #ffffff, #ebebea, #6d6c6b, #b7b5b3, #141312, #ffffff, #141312, #ffffff, #e0dfde, #3d3c3c, #@PROGRESS_COLOR@, #ffffff, #0057ae, #644a9b, #f8f7f6, #000000, #aed4a1, #141312
Palette\inactive=#141312, #e8e7e6, #ffffff, #ebebea, #6d6c6b, #b7b5b3, #141312, #ffffff, #141312, #ffffff, #e0dfde, #3d3c3c, #@PROGRESS_COLOR@, #ffffff, #0057ae, #644a9b, #f8f7f6, #000000, #aed4a1, #141312
Palette\disabled=#929190, #dedcdb, #ffffff, #e2e1e0, #686766, #b0aeac, #a5a4a4, #ffffff, #979695, #f4f4f4, #d6d5d3, #3c3b3b, #d6d5d3, #929190, #97bcdf, #c1b6d7, #eeece9, #000000, #aed4a1, #141312
/* Customize any plain widget that is a child of a QMainWindow. */
.AWizardFace {
border-style: none;
background-image: url(:/design/bg.png);
background-color: rgb(0,139,209);
background-position: center;
background-repeat: no-repeat
}
.AWizardFace #wizardface_title_text {
color: white;
}
.ACenterFace {
border-style: none;
}
.ACenterFace #modules_view {
background-color: white;
}
/* Nice WindowsXP-style password character for password line edits. */
QLineEdit[echoMode="2"] {
lineedit-password-character: 9679;
}
/* Customize tooltips. */
QToolTip {
background-color: rgb(200,200,255);
border-color: darkslategray;
border-width: 1px;
border-style: solid;
padding: 3px;
font: bold;
border-radius: 3px;
opacity: 200;
}
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>design/bg.png</file>
<file>design/design.qss</file>
<file>design/design.ini</file>
<file>design/forward.png</file>
<file>design/backward.png</file>
</qresource>
</RCC>
# Debian Lenny theme for GRUB2
#
# Copyright © 2010 Jo Shields
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#general settings
message-font: "DejaVu Sans Bold 14"
title-text: ""
message-color: "#000"
message-bg-color: "#fff"
desktop-image: "boot.png"
terminal-font: "DejaVu Sans Regular 12"
#help bar at the bottom
+ label {
top = 100%-25
left = 0
width = 100%
height = 20
text = "To boot the selected operating system using default settings, press return. For additional settings, press E"
align = "center"
font = "DejaVu Sans Regular 10"
color = "#000"
}
#menu
+ boot_menu {
left = 30%
width = 40%
top = 32%
height = 40%
item_font = "DejaVu Sans Regular 14"
selected_item_font = "DejaVu Sans Bold 16"
icon_height = 24
icon_width = 24
item_height = 26
item_padding = 0
item_icon_space = 0
item_spacing = 1
scrollbar = true
scrollbar_width = 20
scrollbar_thumb = "scrollbar_slider_*.png"
scrollbar_frame = "scrollbar_border_*.png"
item_color = "#676769"
selected_item_color = "#4f88c7"
}
+ circular_progress
{
id = "__timeout__"
left = 52%
top = 13%
width = 36
height =36
num_ticks = 12
ticks_disappear = false
start_angle = -60
center_bitmap = "zero.png"
tick_bitmap = "tick.png"
}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Disto name in title -->
<title>@NAME@ @VERSION@ @STATUS@</title>
<link href="index.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="content">
<!-- Language selection -->
<div id="languages">
<a href="index-ru.html">Русский</a>
</div>
<!-- Disto name -->
<div id="title">@NAME@ @VERSION@ @STATUS@</div>
<div id="top-site">Project Website: <a href="http://www.simplylinux.ru">http://www.simplylinux.ru</a></div>
<div id="main">
<!-- Links columns -->
<table border="0" width="100%">
<tr>
<th width="33%"><img src="images/documentation.png" alt="Documentation"></th>
<th width="33%"><img src="images/altlinux-logo.png" alt="Company" class="icon_big"></th>
<th width="34%"><img src="images/community.png" alt="Community" class="icon"></th>
</tr>
<tr>
<td width="33%" class="column"> <!-- First column: documentation -->
<ul>
<li><a href="file:///usr/share/doc/documentation/index.html">User Manual</a></li>
<li><a href="file:///usr/share/doc/alt-docs/modules/index.html">Local Documentation</a></li>
<li><a href="http://docs.altlinux.org">Online Documentation</a></li>
<li><a href="http://shop.altlinux.ru/index.php?categoryID=559">Books</a></li>
<li><a href="http://altlinux.org/">Wiki</a></li>
<li><a href="http://altlinux.org/FAQ">FAQ</a></li>
</ul>
</td>
<td width="33%" id="central_pane"> <!-- Second column: Company -->
<ul>
<li><a href="http://www.altlinux.com">ALT Linux Website</a></li>
<li><a href="http://shop.altlinux.ru">Internet Shop</a></li>
<li><a href="http://support.altlinux.ru">Technical Support</a></li>
<li><a href="http://www.altlinux.com/en/go/about-company/contacts/">Contacts</a></li>
<li><a href="http://www.altlinux.com/en/go/download/">Download</a></li>
<li><a href="http://torrent.altlinux.org/">Torrents</a></li>
</ul>
</td>
<td width="34%" class="column"> <!-- Third column: community -->
<ul>
<li><a href="http://lists.altlinux.org">Mailing Lists</a></li>
<li><a href="http://forum.altlinux.org">User Forum</a></li>
<li><a href="http://bugs.altlinux.org">Report a Bug</a></li>
<li><a href="http://planet.altlinux.org">ALT Linux Planet</a></li>
<li><a href="http://packages.altlinux.org">Software Repository</a></li>
<li><a href="http://git.altlinux.org">Build environment</a></li>
</ul>
</td>
</tr>
<tr><td colspan="3" id="search">
<!-- Search pane -->
<form action="http://www.google.com/search" method="get">
<img src="images/magnifier.png" alt="Search on online resources">
<input type="hidden" name="cx" value="009267546552065786736:rwjixpf6cv8">
<input id="search_string" type="text" name="q" size="35">
<input id="search_button" type="submit" name="sa" value="Search in Internet">
</form>
</td></tr>
<!-- Social networks -->
<tr><td colspan="3" id="social">We will be glade to meet you on the following social networks:</td></tr>
<tr>
<th><a href="http://twitter.com/#!/altlinuxru" class="image"><img src="images/twitter.png" alt="Twitter" class="banner"></a></th>
<th><a href="http://www.facebook.com/groups/simplylinux/" class="image"><img src="images/facebook.png" alt="Facebook" class="banner"></a></th>
<th><a href="http://vkontakte.ru/club16711511" class="image"><img src="images/vkontakte.png" alt="VKontakte" class="banner"></a></th>
</tr>
</table>
<!-- Copyright information -->
<div id="footer">
<table border="0" width="100%">
<tr>
<td id="left_footer">&copy; 2011 ALT Linux. All rights reserved.</td>
<td id="right_footer">
Tel/fax: +7 (495) 662-3883<br>
119334, Russian Federation, Moscow, 5-th Donskoy proezd, 15, build 6.
</td>
</tr></table>
</div>
</div>
</div>
</body>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Disto name in title -->
<title>Simply Linux. Выпуск 4 (6.0)</title>
<link href="index.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="content">
<!-- Language selection -->
<div id="languages">
<a href="index-en.html">English</a>
</div>
<!-- Disto name -->
<div id="title">Simply Linux. Выпуск 4 (6.0)</div>
<div id="top-site">Веб-сайт проекта: <a href="http://www.simplylinux.ru">http://www.simplylinux.ru</a></div>
<div id="main">
<!-- Links columns -->
<table border="0" width="100%">
<tr>
<th width="33%"><img src="images/documentation.png" alt="Документация"></th>
<th width="33%"><img src="images/altlinux-logo.png" alt="Компания" class="icon_big"></th>
<th width="34%"><img src="images/community.png" alt="Сообщество" class="icon"></th>
</tr>
<tr>
<td width="33%" class="column"> <!-- First column: documentation -->
<ul>
<li><a href="file:///usr/share/doc/documentation/index.html">Руководство пользователя</a></li>
<li><a href="file:///usr/share/doc/alt-docs/modules/index.html">Локальная документация</a></li>
<li><a href="http://docs.altlinux.org">Онлайновая документация</a></li>
<li><a href="http://shop.altlinux.ru/index.php?categoryID=559">Книги</a></li>
<li><a href="http://altlinux.org/">Wiki</a></li>
<li><a href="http://altlinux.org/FAQ">FAQ</a></li>
</ul>
</td>
<td width="33%" id="central_pane"> <!-- Second column: Company -->
<ul>
<li><a href="http://www.altlinux.ru">Сайт компании</a></li>
<li><a href="http://shop.altlinux.ru">Интернет-магазин</a></li>
<li><a href="http://support.altlinux.ru">Техническая поддержка</a></li>
<li><a href="http://www.altlinux.ru/go/about-company/contacts/">Контакты</a></li>
<li><a href="http://www.altlinux.ru/products/downloads/">Загрузить</a></li>
<li><a href="http://torrent.altlinux.org/">Торренты</a></li>
</ul>
</td>
<td width="34%" class="column"> <!-- Third column: community -->
<ul>
<li><a href="http://lists.altlinux.org">Списки рассылки</a></li>
<li><a href="http://forum.altlinux.org">Форум пользователей</a></li>
<li><a href="http://bugs.altlinux.org">Сообщить об ошибке</a></li>
<li><a href="http://planet.altlinux.org">Планета</a></li>
<li><a href="http://packages.altlinux.org">Репозиторий</a></li>
<li><a href="http://git.altlinux.org">Сборочная среда</a></li>
</ul>
</td>
</tr>
<tr><td colspan="3" id="search">
<!-- Search pane -->
<form action="http://www.google.com/search" method="get">
<img src="images/magnifier.png" alt="Поиск по ресурсам ALT Linux">
<input type="hidden" name="cx" value="009267546552065786736:rwjixpf6cv8">
<input id="search_string" type="text" name="q" size="35">
<input id="search_button" type="submit" name="sa" value="Поиск в Интернете">
</form>
</td></tr>
<!-- Social networks -->
<tr><td colspan="3" id="social">Мы рады встретиться с вами в социальных сетях:</td></tr>
<tr>
<th><a href="http://twitter.com/#!/altlinuxru" class="image"><img src="images/twitter.png" alt="Twitter" class="banner"></a></th>
<th><a href="http://www.facebook.com/groups/simplylinux/" class="image"><img src="images/facebook.png" alt="Facebook" class="banner"></a></th>
<th><a href="http://vkontakte.ru/club16711511" class="image"><img src="images/vkontakte.png" alt="ВКонтакте" class="banner"></a></th>
</tr>
</table>
<!-- Copyright information -->
<div id="footer">
<table border="0" width="100%">
<tr>
<td id="left_footer">&copy; ALT Linux, 2011. Все права защищены.</td>
<td id="right_footer">
Телефон/факс: +7 (495) 662-3883<br>
Москва, 5-й Донской проезд, д. 15, стр. 6
</td>
</tr></table>
</div>
</div>
</div>
</body>
/* CSS file for indexhtml page in ALT Linux distros */
body {
font-family: Verdana,'DejaVu Sans',Helvetica,sans;
text-align: left;
font-size: 12px;
background: #f8f8f8;
background-image: url('images/dotted-background.png');
}
div#content {
background: white;
border: solid 6px #d0d0d0;
border-radius: 8px;
-webkit-border-radius: 8px;
-moz-border-radius: 7px;
-khtml-border-radius: 12px;
padding: 0;
position: relative;
width: 780px;
margin: 40px auto;
}
div#languages {
text-align: right;
font-size: x-small;
padding: 12px;
}
div#title {
font-weight: normal;
font-size: 18pt;
font-family: Verdana, Helvetica;
text-align: center;
margin-top: 0;
margin-bottom: 12px;
background: #d3eaf9;
padding: 6px 0 6px 0;
border-top: solid 1px #81c3eb;
border-bottom: solid 1px #81c3eb;
background-image: url('images/lines.png');
}
div#top-site {
font-size: 120%;
font-weight: normal;
font-family: Verdana, Helvetica;
text-align: center;
padding: 4px;
}
div#main {
padding: 12px;
}
th {
vertical-align: bottom;
text-align: center;
padding-top: 5px;
}
img.icon {
width: 48px;
height: 48px;
}
img.icon_big {
width: 60px;
height: 60px;
}
img.banner {
width: 130px;
height: 30px;
margin: 6px;
}
li {
line-height: 1.35em;
}
td#central_pane {
border-left: dotted 1px #ccc;
border-right: dotted 1px #ccc;
text-align: center;
}
.column {
text-align: center;
}
td#search {
text-align: center;
padding: 12px;
}
input#search_string {
position: relative;
vertical-align: top;
margin-top: 12px;
font-size: 130%;
background: white;
border: solid 1px #81c3eb;
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
-khtml-border-radius: 2px;
}
input#search_button {
margin-top: 12px;
vertical-align: top;
font-size: 130%;
}
td#social {
text-align: center;
border-bottom: dotted 1px #ccc;
font-size: xx-small;
color: #999;
}
td#left_footer, td#right_footer {
font-size: xx-small;
color: #999;
vertical-align: bottom;
padding-top: 15px;
}
td#right_footer {
text-align: right;
}
ul li {
text-align: left;
list-style: square url('bullet.png');
}
a:link, a:visited {
text-decoration: none;
color: #2e7194;
}
a:hover {
text-decoration: none;
color: #f60;
border-bottom: 1px dotted #f60;
}
a.image:hover, a.image:link, a.image:visited {
text-decoration: none;
border: 0;
}
[Desktop Entry]
Version=1.0
Type=Application
Exec=xdg-open /usr/share/doc/indexhtml/index.html
StartupNotify=false
Icon=altlinux
Name=Simply Linux @VERSION@ : start page
Categories=System;Documentation;
# Translations
Name[ru]=Simply Linux @VERSION@ : cтартовая страница
AC_INIT( [branding], [0.1], [http://bugzilla.altlinux.ru] )
# 00a1e4
PROGRESS_COLOR=0093d7
TITLE_COLOR=5C96CC
LIGHT_COLOR_HEX=DFDFE0
MIDDLE_COLOR_HEX=C8C9CB
DARK_COLOR_HEX=909195
LIGHT_LABELS_HEX=FFFFFF
DARK_LABELS_HEX=000000
MIDDLE_LABELS_HEX=4d4d4f
DOCDIR=documentation
AC_SUBST(THEME)
AC_SUBST(NAME)
AC_SUBST(STATUS)
AC_SUBST(VERSION)
AC_SUBST(DOCDIR)
AC_SUBST(PROGRESS_COLOR)
AC_SUBST(LIGHT_COLOR_HEX)
AC_SUBST(MIDDLE_COLOR_HEX)
AC_SUBST(DARK_COLOR_HEX)
AC_SUBST(LIGHT_LABELS_HEX)
AC_SUBST(DARK_LABELS_HEX)
AC_SUBST(MIDDLE_LABELS_HEX)
AC_SUBST(TITLE_COLOR)
AC_CONFIG_FILES([
Makefile
components/bootloader/config
components/bootsplash/theme.plymouth
components/browser-qt/design/design.ini
components/browser-qt/design/design.qss
components/bootloader/gfxboot.cfg
notes/release-notes.ru.html
notes/release-notes.all.html
notes/license.ru.html
notes/license.all.html
components/indexhtml/indexhtml.desktop
components/indexhtml/index-ru.html
components/indexhtml/index-en.html
])
AC_OUTPUT
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
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