Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 187 → Rev 188

/website/wip.htm
File deleted
/website/index-main.php
1,6 → 1,11
<h1>SvarDOS - an open-source DOS distribution</h1>
<p class="copyr">brought to you by <a href="http://mateusz.viste.fr/" class="mateusz">Mateusz Viste</a></p>
 
<div style="margin: 2em auto; width: 20em; border: 1px #777 solid; background-color: #fff; padding: 0.5em;">
<p style="text-align: center; font-size: 1.5em; margin: 1.5em auto;">WORK IN PROGRESS</p>
<p style="font-size: 1.2em;">This project is in a work-in-progress phase, nothing works yet. Please come back later!</p>
</div>
 
<p>SvarDOS is a <a href="?p=tech&amp;art=licensing">free</a>, <a href="?p=nls">multilingual</a> DOS distribution that uses the FreeDOS kernel. It's released in the form of a bootable CD image (ISO) that contains the "core" operating system, as well as a variety of third-party packages.<br>
SvarDOS is a "rolling release", meaning that it doesn't follow the concept of "versions". SvarDOS can be kept up-to-date trough its online update tool.</p>
 
/website/index-repo.php
0,0 → 1,26
<h1>SvarDOS repository</h1>
<p class="copyr">or the world of packages</p>
 
<p>This page lists all packages that are available in the SvarDOS repository. These packages can be downloaded from within SvarDOS using the pkgnet tool, or you can download them from here.</p>
 
<?php
 
$handle = fopen('repo/index.tsv', "rb");
if ($handle === FALSE) {
echo "<p>ERROR: INDEX FILE NOT FOUND</p>\n";
exit(0);
}
 
echo "<table>\n";
 
echo "<thead><tr><th>PACKAGE</th><th>VERSION</th><th>DESCRIPTION</th></tr></thead>\n";
 
while (($arr = fgetcsv($handle, 1024, "\t")) !== FALSE) {
// format: pkgname | version | desc | bsdsum
echo "<tr><td><a href=\"repo/{$arr[0]}.zip\">{$arr[0]}</a></td><td>{$arr[1]}</td><td>{$arr[2]}</td></tr>\n";
}
echo "</table>\n";
 
fclose($handle);
 
?>
/website/index-tech.php
28,11 → 28,12
 
<h1>SvarDOS technical notes</h1>
<p class="copyr">no documentation is perfect, this one's no exception</p>
<table style="margin: 0 auto;">
 
<table>
 
<?php
foreach ($arts as $file=>$title) {
echo "<tr><td><a href=\"?p=tech&art={$file}\">" . htmlentities($title) . "</a></td></tr>";
echo "<tr><td><a href=\"?p=tech&art={$file}\">" . htmlentities($title) . "</a></td></tr>\n";
}
?>
 
/website/index.php
10,7 → 10,7
</head>
<body>
 
<p style="margin: 0 0 -1em auto; font-size: 0.9em; text-align: right;"><a href="/">Main page</a> I <a href="?p=why">Why SvarDOS</a> I <a href="?p=tech">Tech</a> I <a href="?p=nls">NLS</a></p>
<p style="margin: 0 0 -1em auto; font-size: 0.9em; text-align: right;"><a href="/">Main page</a> I <a href="?p=why">Why SvarDOS</a> I <a href="?p=repo">Repo</a> I <a href="?p=tech">Tech</a> I <a href="?p=nls">NLS</a></p>
 
<?php
 
23,11 → 23,12
include 'index-tech.php';
} else if ($p == 'nls') {
readfile('index-nls.htm');
} else if ($p == 'repo') {
include 'index-repo.php';
} else if ($p == 'test') {
include 'index-main.php';
} else { // else display the front page
//include 'index-main.php';
include 'wip.htm';
include 'index-main.php';
}
?>
</body>
/website/style.css
80,6 → 80,25
color: inherit; text-decoration: none;
}
 
table {
margin: 1em auto;
border-spacing: 0;
border-collapse: collapse;
text-align: left;
}
 
table th {
text-weight: 600;
}
 
table :not(thead) tr:nth-child(odd) {
background-color: #f5f5f5;
}
 
table thead tr {
border-bottom: 1px #bbb solid;
}
 
table.nls {
margin: 1em auto;
border-spacing: 0;