stylesheet changed

forms changed
This commit is contained in:
lars 2005-07-22 22:00:10 +00:00
parent 91b517050a
commit d8e59dfd90
5 changed files with 78 additions and 66 deletions

View File

@ -3,21 +3,23 @@
<form action="<?cs var:ScriptName ?>" method="post" <form action="<?cs var:ScriptName ?>" method="post"
enctype="application/x-www-form-urlencoded"> enctype="application/x-www-form-urlencoded">
<table class="form">
<tr><td><?cs var:Lang.Text.IPAddress ?></td><td> <p><label for="ip"><?cs var:Lang.Text.IPAddress ?></label>
<input type="text" size="16" maxsize="15" name="ip" <input type="text" id="ip" size="16" maxsize="15" name="ip"
value="<?cs var:Data.Config.IP ?>" /></td></tr> value="<?cs var:Data.Config.IP ?>" /><p>
<tr><td><?cs var:Lang.Text.TimeOut ?></td><td>
<input type="text" size="16" maxsize="5" name="timeout" <p><label for="timeout"><?cs var:Lang.Text.TimeOut ?></label>
value="<?cs var:Data.Config.TimeOut ?>" /></td></tr> <input type="text" id="timeout" size="16" maxsize="5" name="timeout"
<tr><td><?cs var:Lang.Text.SelectLanguage ?></td><td> value="<?cs var:Data.Config.TimeOut ?>" /></p>
<p><label for="language"><?cs var:Lang.Text.SelectLanguage ?></label>
<select name="language"> <select name="language">
<option value="de">Deutsch</option> <option value="de">Deutsch</option>
<option value="en">English</option> <option value="en">English</option>
</select></td></tr> </select></p>
<tr><td colspan="2">
<button type="submit" name="action" value="config_do"> <button type="submit" name="action" value="config_do">
<?cs var:Lang.Button.SaveConfig ?></button></td></tr> <?cs var:Lang.Button.SaveConfig ?></button>
</table>
</form> </form>
</div> </div>

View File

@ -3,32 +3,21 @@
<div class="init"> <div class="init">
<form action="<?cs var:ScriptName ?>" method="post" enctype="application/x-www-form-urlencoded"> <form action="<?cs var:ScriptName ?>" method="post" enctype="application/x-www-form-urlencoded">
<table class="form"> <p class="note"><?cs var:Lang.Text.InitWarning ?></p>
<!-- TODO: replace colgroup by css? --> <p><label for="password"><?cs var:Lang.Text.EnterNewPassword ?></label><br/>
<colgroup><col align="right" width="50%"/><col align="left" width="50%"/></colgroup> <input type="password" id="password" name="password" size="20" tabindex="1" maxlength="40" /></p>
<caption style="caption-side:top; text-align:center; font-weight:bold; color:red"> <p><label for="password2"><?cs var:Lang.Text.EnterSamePassword ?></label><br/>
<?cs var:Lang.Text.InitWarning ?></caption> <input type="password" id="password2" name="password2" size="20" tabindex="2" maxlength="40" /></p>
<tr><td colspan="2" style="text-align:center"></td></tr> <p><label for="confirm"><?cs var:Lang.Text.ConfirmInitHint ?><br/>
<tr><td align="right"><?cs var:Lang.Text.EnterNewPassword ?></td><td> <span class="note" id="confirmtext"><?cs var:Lang.Text.ConfirmInit ?></span></label><br/>
<input type="password" name="password" size="20" tabindex="1" maxlength="40" /> <input type="text" id="confirm" name="confirm" size="30" tabindex="3" maxlength="50" /></p>
</td></tr> <button type="submit" name="action" value="init_do"><?cs var:Lang.Button.DoInit ?></button>
<tr><td align="right"><?cs var:Lang.Text.EnterSamePassword ?> </td><td>
<input type="password" name="password2" size="20" tabindex="2" maxlength="40" />
</td></tr>
<tr><td colspan="2" align="center">
<?cs var:Lang.Text.ConfirmInitHint ?> <span id="confirmtext"><?cs var:Lang.Text.ConfirmInit ?></span></td></tr>
<tr><td colspan="2" align="center">
<input type="text" name="confirm" size="30" tabindex="3" maxlength="50" />
</td></tr>
<tr><td colspan="2" align="center" style="padding:3%">
<button type="submit" name="action" value="init_do"><?cs var:Lang.Button.DoInit ?></button>
</td></tr>
</table>
</form> </form>
</div> </div>
<hr/>
<div class="partition_info"> <div class="partition_info">
<hr/>
<h2><?cs var:Lang.Text.PartitionInfo ?></h2> <h2><?cs var:Lang.Text.PartitionInfo ?></h2>
<!-- TODO: CSS! --> <!-- TODO: CSS! -->
<p style="margin-left:10%; margin-right:10%; font-family:monospace"> <p style="margin-left:10%; margin-right:10%; font-family:monospace">

View File

@ -1,15 +1,13 @@
<h1>Aktivierung des verschl&uuml;sselten Dateisystems</h1> <h1>Aktivierung des verschl&uuml;sselten Dateisystems</h1>
<div align="center"> <div align="center">
<table border="0">
<form action="<?cs var:ScriptName ?>" method="post" <form action="<?cs var:ScriptName ?>" method="post"
enctype="application/x-www-form-urlencoded"> enctype="application/x-www-form-urlencoded">
<tr><td align="right">Passwort eingeben: </td><td>
<input type="password" name="password" size="20" tabindex="0" <p><label for="passwort">Passwort eingeben:</label>
maxlength="40" /></td></tr> <input type="password" name="password" size="20" tabindex="0" maxlength="40" /></p>
<tr><td colspan="2" align="center" style="padding:3%">
<button type="submit" name="action" value="mount_do">Dateisystem aktivieren</button> <button type="submit" name="action" value="mount_do">Dateisystem aktivieren</button>
</td></tr>
</form> </form>
</table>
</div> </div>

View File

@ -1,13 +1,11 @@
<h1><?cs var:Lang.Title.Umount ?></h1> <h1><?cs var:Lang.Title.Umount ?></h1>
<div align="center"> <div align="center">
<table border="0">
<form action="<?cs var:ScriptName ?>" method="post" <form action="<?cs var:ScriptName ?>" method="post"
enctype="application/x-www-form-urlencoded"> enctype="application/x-www-form-urlencoded">
<tr><td colspan="2" align="center" style="padding:3%">
<button type="submit" name="action" <button type="submit" name="action"
value="umount_do"><?cs var:Lang.Button.Umount ?></button> value="umount_do"><?cs var:Lang.Button.Umount ?></button>
</td></tr>
</form> </form>
</table>
</div> </div>

View File

@ -13,7 +13,6 @@ body {
background: none; background: none;
width: 600px; width: 600px;
padding: 0px; padding: 0px;
text-align: left;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
@ -47,7 +46,6 @@ body {
margin: 0; margin: 0;
padding: 0; padding: 0;
width: 600px; width: 600px;
text-align: left;
font-size: 0.9em; font-size: 0.9em;
} }
@ -95,11 +93,21 @@ body {
} }
#words { #words {
float: left; width: 570px;
// warum float?
// float: left;
padding: 1.1em 0em 1.1em 1.1em; padding: 1.1em 0em 1.1em 1.1em;
margin-top: 0; margin-top: 0;
} }
#words h1{
font-size: 1.8em;
}
#words h2{
font-size: 1.4em;
}
#words ol, #words ul { #words ol, #words ul {
font-size: 0.9em; font-size: 0.9em;
} }
@ -146,28 +154,37 @@ body {
/* --------------------=-=-=- Spezialkram -=-=-=------------------- */ /* --------------------=-=-=- Spezialkram -=-=-=------------------- */
.warning { #words div.warning {
background-color: #fff; margin-top: 20px;
border: 2px dashed #5e5e5e; margin-bottom: 20px;
margin-top: 40px; padding-top: 10px;
margin-bottom: 40px; padding-bottom: 15px;
line-height: 5em;
color: #5e5e5e;
text-decoration: none;
font-weight: bold;
font-size: 0.9em;
} }
#content .warning a { #words .warning {
background-color: #ffd0d0;
border: 2px dashed #5e5e5e;
text-align: center;
color: #5e5e5e;
text-decoration: none;
font-weight: bold;
font-size: 0.9em;
}
#words .warning a {
line-height: 5em; line-height: 5em;
color: #5e5e5e; color: #5e5e5e;
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
font-size: 0.9em; font-size: 0.9em;
} }
#words .note {
text-align: center;
color: #F48659;
font-style: italic;
}
/* ----------------------=-=-=- Forms -=-=-=--------------------- */ /* ----------------------=-=-=- Forms -=-=-=--------------------- */
/* nachfolgend die Sachen fuer schoene Formulare und Buttons */ /* nachfolgend die Sachen fuer schoene Formulare und Buttons */
input { input {
@ -186,7 +203,7 @@ input:hover {
} }
textarea { textarea {
font-family: Arial, Verdana, Helvetica; font-family: arial, verdana, helvetica;
font-size: 1.1em; font-size: 1.1em;
border: 1px solid #BFBFBF; border: 1px solid #BFBFBF;
color: #949494; color: #949494;
@ -208,8 +225,9 @@ button {
font-weight: bold; font-weight: bold;
cursor: pointer; cursor: pointer;
} }
button:hover { button:hover {
background-color: #fff; background-color: #8fc955;
border: 1px solid #7fb945; border: 1px solid #7fb945;
color: #5e5e5e; color: #5e5e5e;
font-size: 0.8em; font-size: 0.8em;
@ -217,3 +235,10 @@ button:hover {
cursor: pointer; cursor: pointer;
} }
#words form label {
min-width: 20em;
}
#words form p {
text-align: center;
}