Browse Source

logo displays now mount status

master
age 16 years ago
parent
commit
dc0ba8844a
  1. 12
      cbox-tree.d/usr/share/cryptobox/templates/header.cs
  2. BIN
      cbox-tree.d/var/www/cryptobox-img/antlogo100px.png
  3. BIN
      cbox-tree.d/var/www/cryptobox-img/antlogo100px_green.png
  4. BIN
      cbox-tree.d/var/www/cryptobox-img/antlogo100px_red.png
  5. 24
      cbox-tree.d/var/www/cryptobox.css
  6. BIN
      logo/antlogo100px_green.png
  7. BIN
      logo/antlogo100px_red.png

12
cbox-tree.d/usr/share/cryptobox/templates/header.cs

@ -25,10 +25,14 @@
</div>
<div id="main">
<div id="head">
<h1><?cs var:Lang.Title.Top ?></h1>
<h2><?cs var:Lang.Title.Slogan ?></h2>
</div>
<?cs if:(Data.Status.Mounted == 1) ?>
<div id="head_red">
<?cs else ?>
<div id="head_green">
<?cs /if ?>
<h1><?cs var:Lang.Title.Top ?></h1>
<h2><?cs var:Lang.Title.Slogan ?></h2>
</div>
<div id="content">
<div id="menu">

BIN
cbox-tree.d/var/www/cryptobox-img/antlogo100px.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
cbox-tree.d/var/www/cryptobox-img/antlogo100px_green.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

BIN
cbox-tree.d/var/www/cryptobox-img/antlogo100px_red.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

24
cbox-tree.d/var/www/cryptobox.css

@ -50,6 +50,30 @@ body {
background-repeat: no-repeat;
}
#head_green {
width: 600px;
height: 120px;
margin: 0;
padding: 0;
background-image: url(cryptobox-img/antlogo100px_green.png);
background-position: top right;
background-attachment: scroll;
background-repeat: no-repeat;
}
#head_red {
width: 600px;
height: 120px;
margin: 0;
padding: 0;
background-image: url(cryptobox-img/antlogo100px_red.png);
background-position: top right;
background-attachment: scroll;
background-repeat: no-repeat;
}
#content {
margin: 0;
padding: 0;

BIN
logo/antlogo100px_green.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

BIN
logo/antlogo100px_red.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Loading…
Cancel
Save