start of php admin interface to update macs - pre-alfa state
This commit is contained in:
parent
7d0161f6e2
commit
eda14cdca4
50
admin.php
Normal file
50
admin.php
Normal file
|
@ -0,0 +1,50 @@
|
|||
<?php
|
||||
require_once("lib/trans.php");
|
||||
?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Pamela</title>
|
||||
<script src="js/jquery-1.3.2.js" type="text/javascript"></script>
|
||||
<link rel="stylesheet" href="pamela.css" type="text/css" media="screen" />
|
||||
</head>
|
||||
<body>
|
||||
<header id="hdr">
|
||||
<div>
|
||||
<img src="img/pamela-logo.png" alt="Pamela" />
|
||||
</div>
|
||||
</header>
|
||||
<h1>Name your macs</h1>
|
||||
<p>If you want to have a name shown instead of your mac, enter your mac and desired name below.</p>
|
||||
<form method="post">
|
||||
<table>
|
||||
<thead>
|
||||
<th>Mac</th>
|
||||
<th>Name</th>
|
||||
<th>Visible</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$known_macs = known_macs_get();
|
||||
$counter = 0;
|
||||
foreach ($known_macs as $mac => $name) {
|
||||
?>
|
||||
<tr>
|
||||
<td><input name="mac-<?=$counter?>" type="text" value="<?=$mac?>" /></td>
|
||||
<td><input name="name-<?=$counter?>" type="text" value="<?=$name?>" /></td>
|
||||
<td><input name="show-<?=$counter?>" type="checkbox" <?=$name==NULL?"":"checked"?> /></td>
|
||||
</tr>
|
||||
<?php
|
||||
$counter++;
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td><input name="mac-<?=$counter?>" type="text" /></td>
|
||||
<td><input name="name-<?=$counter?>" type="text" /></td>
|
||||
<td><input name="show-<?=$counter?>" type="checkbox" /></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<input type="submit" value="submit" name="submit" />
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
BIN
fonts/AnjaEliane.ttf
Normal file
BIN
fonts/AnjaEliane.ttf
Normal file
Binary file not shown.
BIN
fonts/eurofurence/eurof35.ttf
Normal file
BIN
fonts/eurofurence/eurof35.ttf
Normal file
Binary file not shown.
BIN
fonts/eurofurence/eurof36.ttf
Normal file
BIN
fonts/eurofurence/eurof36.ttf
Normal file
Binary file not shown.
BIN
fonts/eurofurence/eurof55.ttf
Normal file
BIN
fonts/eurofurence/eurof55.ttf
Normal file
Binary file not shown.
BIN
fonts/eurofurence/eurof56.ttf
Normal file
BIN
fonts/eurofurence/eurof56.ttf
Normal file
Binary file not shown.
BIN
fonts/eurofurence/eurof75.ttf
Normal file
BIN
fonts/eurofurence/eurof75.ttf
Normal file
Binary file not shown.
BIN
fonts/eurofurence/eurof76.ttf
Normal file
BIN
fonts/eurofurence/eurof76.ttf
Normal file
Binary file not shown.
21
fonts/eurofurence/eurof_tt.txt
Normal file
21
fonts/eurofurence/eurof_tt.txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
------------------------------------------------------------------------
|
||||
The eurofurence typeface family by tobias b koehler (unci@tigerden.com)
|
||||
------------------------------------------------------------------------
|
||||
|
||||
This is a family of geometric rounded sans serif fonts consisting of
|
||||
three weights (light, medium, bold) in upright and italic styles,
|
||||
originally designed for EuroFurence, the first European furry convention
|
||||
1995 in Kaiser-Wilhelm-Koog.
|
||||
|
||||
The character set includes Roman, Greek and Cyrillic characters.
|
||||
File format is TrueType for PC (under Windows, Linux etc).
|
||||
|
||||
These fonts are freeware and can be distributed as long as they are
|
||||
together with this text file. I would appreciate it though if you could
|
||||
contact me at unci@tigerden.com if you put them on a server. Free
|
||||
samples from commercial users are always very welcome. :)
|
||||
|
||||
For more information, please see the uncifonts WWW page at:
|
||||
http://mercurio.iet.unipi.it/users/tobias/uncifonts.html
|
||||
|
||||
Have fun! tobias b koehler, 2000-04-02
|
BIN
img/pamela-logo.png
Normal file
BIN
img/pamela-logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
23
pamela.css
Normal file
23
pamela.css
Normal file
|
@ -0,0 +1,23 @@
|
|||
@font-face {
|
||||
font-family: AnjaEliane;
|
||||
src: url('http://localhost/sb/pamela/fonts/AnjaEliane.ttf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Eurofurence;
|
||||
src: url('http://localhost/sb/pamela/fonts/eurofurence/eurof35.ttf');
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Eurofurence;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: AnjaEliane, sans-serif;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
p {
|
||||
font-family: Eurofurence;
|
||||
font-size: 16pt;
|
||||
}
|
Loading…
Reference in New Issue
Block a user