More flexible width of contents

- header graphics scales (within limits)
- width of text area is determied by css, now 90% instead of 880px
- more of the html code goes in included templates
This commit is contained in:
Martin Dietze
2012-02-11 00:22:57 +01:00
committed by Carlos R. Mafra
parent a475c8357e
commit 3a49325e49
26 changed files with 173 additions and 181 deletions

11
FAQ.php
View File

@@ -8,10 +8,11 @@
</head>
<body>
<?php include("header.php"); ?><?php include("dock.php"); ?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -46,6 +47,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -8,13 +8,10 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<h3>Introduction</h3>
@@ -65,6 +62,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -8,13 +8,10 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -856,6 +853,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -8,13 +8,12 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -438,6 +437,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -8,13 +8,10 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -1678,6 +1675,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -8,13 +8,11 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -45,6 +43,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -8,13 +8,11 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -37,6 +35,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -8,13 +8,11 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -34,6 +32,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

14
dev.php
View File

@@ -8,13 +8,11 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<p>Here are some pieces of information regarding development in Window Maker.</p>
@@ -69,6 +67,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -8,13 +8,11 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -48,6 +46,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -8,13 +8,11 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -106,6 +104,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

5
footer.php Normal file
View File

@@ -0,0 +1,5 @@
</div>
</td>
</tr>
</table>
</div>

View File

@@ -8,13 +8,11 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<h3>git diff --stat --summary 688a56e8ab67b..wmaker-0.95.1</h3>
@@ -824,6 +822,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -8,13 +8,11 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -156,6 +154,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -1,4 +1,10 @@
<div id="header">
<a href="index.php"><img src="header.png" width="880" height="44" alt="title bar"></a>
</div>
<div id="inhalt">
<table width="100%">
<tr>
<td width="100%">
<a href="http://beta.windowmaker.org/index.php"><img src="header.png" style="min-width:700px" width="95%" alt="title bar"></a>
</tr>
<tr>
<td width="100%">
<div>

View File

@@ -8,13 +8,11 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -43,6 +41,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -1,21 +1 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
<meta name="generator" content="vim :-)">
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<title>Window Maker - A window manager for X</title>
<meta name="Keywords" content="Window Maker, Window Manager, X11, X-Window">
<link href="title.css" rel="stylesheet" type="text/css">
</head>
<body>
<?php
include("header.php");
include("dock.php");
include("home.php");
?>
</body>
</html>
<?php include("home.php"); ?>

View File

@@ -8,10 +8,11 @@
</head>
<body>
<?php include("header.php"); ?><?php include("dock.php"); ?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -107,6 +108,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -8,13 +8,11 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -60,6 +58,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -8,13 +8,11 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -95,6 +93,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -8,13 +8,11 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<h3>Version 0.95.1 released</h3>
@@ -151,6 +149,8 @@ the addition of a debian folder with files summing around ~20k lines. The full d
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -8,13 +8,10 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -29,6 +26,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -31,6 +31,11 @@ a {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}
table .inner {
margin-left: 1em;
width: 90%;
}
h1 {
color: #ebdeff;
font-size: 20pt;
@@ -85,20 +90,13 @@ img {
border: none;
}
#header {
font-family: "American Typewriter", Courier, monospace;
font-size: 4.5em;
font-weight: normal;
position: absolute; top: 40px; left: 100px;
}
#dock {
position: absolute; top: 100px; left: 5px;
}
#inhalt {
position: absolute; top: 110px; left: 100px;
width: 70%;
position: absolute; top: 40px; left: 100px;
min-width: 800px;
}
div.screenshot {
height: 250px;

View File

@@ -8,13 +8,11 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -82,6 +80,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -8,13 +8,11 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -45,6 +43,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>

View File

@@ -8,13 +8,11 @@
</head>
<body>
<?php
include("header.php");
include("dock.php");
?>
<?php include("dock.php"); ?>
<?php include("header.php"); ?>
<div id="inhalt">
<table width="880" border="0" cellpadding="1" cellspacing="1">
<div>
<table class="inner" border="0" cellpadding="1" cellspacing="1">
<tr>
<td content="content" colspan="2" valign="top">
<br />
@@ -45,6 +43,8 @@
</td>
</tr>
</table>
</div>
<?php include("footer.php"); ?>
</body>
</html>