diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-10 00:34:02 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-10 00:34:02 +0000 |
commit | c2162a645a47b8759bf07319cec69cf9cbff4f67 (patch) | |
tree | 7d35b5fe49e52d64cf8228756cb787efa27e04f2 | |
parent | b006b1922c098290c591504ab0df26c69a0f2002 (diff) |
Clean up HTML for adding albums/photos a tad.
-rw-r--r-- | core/views/welcome.html.php | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php index d4015a91..830539a9 100644 --- a/core/views/welcome.html.php +++ b/core/views/welcome.html.php @@ -92,6 +92,11 @@ ul#tabs a:hover { background-color: #369; } + + fieldset { + margin-left: 1em; + padding-bottom: 0; + } </style> <script type="text/javascript" src="<?= url::base() . "lib/jquery.js" ?>"></script> <script type="text/javascript" src="<?= url::base() . "lib/jquery.cookie.js" ?>"></script> @@ -153,24 +158,24 @@ <? endforeach ?> ] photos and albums </p> - <form method="post" action="<?= url::site("album/1") ?>" enctype="multipart/form-data"> - <p> - Upload: + <fieldset> + <legend>Photos</legend> + <form method="post" action="<?= url::site("album/1") ?>" enctype="multipart/form-data"> <input name="file" type="file"/> <input type="hidden" name="type" value="photo"/> <input type="hidden" name="__action" value="put"/> - <input type="submit"/> - </p> - </form> - <form method="post" action="<?= url::site("album/1") ?>"> - <p> - Create Album: + <input type="submit" value="upload"/> + </form> + </fieldset> + <fieldset> + <legend>Albums</legend> + <form method="post" action="<?= url::site("album/1") ?>"> <input type="text" name="name"/> <input type="hidden" name="type" value="album"/> <input type="hidden" name="__action" value="put"/> - <input type="submit"/> - </p> - </form> + <input type="submit" value="create"/> + </form> + </fieldset> </div> <div id="info" class="activity"> |