Major updates to form CSS. Now using unordered lists for layouts. Added .gInline for forms like login, search, tags. Updated comment, login, search, and tagging forms. All form styles live in screen.css now. Still a lot to do, but this is a good foundation.

This commit is contained in:
Chad Kieffer
2008-11-13 03:39:18 +00:00
parent 74216a3c63
commit c63ddc3432
7 changed files with 380 additions and 357 deletions
+19 -15
View File
@@ -1,21 +1,25 @@
<? defined("SYSPATH") or die("No direct script access."); ?>
<form id="gCommentAdd" class="gExpandedForm">
<form id="gCommentAdd">
<fieldset>
<legend>Add comment</legend>
<div class="row">
<label for="gCommentAuthor"><?= _("Your Name") ?></label>
<input type="text" name="author" id="gCommentAuthor" class="text" />
</div>
<div class="row">
<label for="gCommentEmail"><?= _("Your Email (not displayed)") ?></label>
<input type="text" name="email" id="gCommentEmail" class="text" />
</div>
<div class="row">
<label for="gCommentText"><?= _("Comment") ?></label>
<textarea name="text" id="gCommentText"></textarea>
</div>
<input type="hidden" id="gItemId" name="item_id" value="<?= $item_id ?>" />
<input type="submit" id="gCommentSubmit" value="<?= _("Add") ?>" />
<ul>
<li>
<label for="gCommentAuthor"><?= _("Your Name") ?></label>
<input type="text" name="author" id="gCommentAuthor" />
</li>
<li>
<label for="gCommentEmail"><?= _("Your Email (not displayed)") ?></label>
<input type="text" name="email" id="gCommentEmail" />
</li>
<li>
<label for="gCommentText"><?= _("Comment") ?></label>
<textarea name="text" id="gCommentText"></textarea>
</li>
<li>
<input type="hidden" id="gItemId" name="item_id" value="<?= $item_id ?>" />
<input type="submit" id="gCommentSubmit" value="<?= _("Add") ?>" />
</li>
</ul>
</fieldset>
</form>