Skip to content

Commit

Permalink
Changed styling and a few other things. Mostly presentational.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tynach committed Jun 9, 2012
1 parent cd26244 commit a730c46
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 6 deletions.
10 changes: 10 additions & 0 deletions copyright.php
@@ -1,2 +1,12 @@
<p>&copy; John Doe 2014
</p>
<p>
<a href="http://www.htmldog.com/">
<img src="http://www.htmldog.com/badge3.gif" alt="HTML and CSS tutorials, references, and articles">
</a>
</p>
<p>
<a href="http://jigsaw.w3.org/css-validator/check/referer">
<img src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS!">
</a>
</p>
10 changes: 5 additions & 5 deletions fragments/login.htmf
@@ -1,11 +1,11 @@
<form action="<?php echo $_SERVER['SCRIPT_NAME']; ?>" method="post">
<p>
<form action="<?php echo $_SERVER['SCRIPT_NAME']; ?>" method="post" class="table">
<p class="row">
<label>Username</label>
<input type="text" name="username" value="<?php echo htmlentities($_POST['username']); ?>">
<input type="text" name="username" value="<?php echo htmlentities($_POST['username']); ?>" class="input">
</p>
<p>
<p class="row">
<label>Password</label>
<input type="password" name="password" value="<?php echo htmlentities($_POST['password']); ?>">
<input type="password" name="password" value="<?php echo htmlentities($_POST['password']); ?>" class="input">
</p>
<p>
<input type="submit" value="Log In">
Expand Down
11 changes: 10 additions & 1 deletion templates/main.htmt
Expand Up @@ -10,7 +10,16 @@ $this->new_module('footer', 'copyright.php', 3, "\t");
<html>
<head>
<title><?php echo $this->title; ?> - Your Website</title>
<meta charset="utf-8">
<!--<meta charset="utf-8">-->
<style type="text/css">
.table .row {
display: table-row;
}

.row > * {
display: table-cell;
}
</style>
</head>
<body>
<div id="main">
Expand Down
1 change: 1 addition & 0 deletions unite.inc.php
Expand Up @@ -11,4 +11,5 @@
include_once('general.inc.php');
include_once('template.inc.php');
include_once('security.inc.php');

?>

0 comments on commit a730c46

Please sign in to comment.