diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/photo_edit.tpl | 10 | ||||
-rw-r--r-- | view/style.css | 30 |
2 files changed, 38 insertions, 2 deletions
diff --git a/view/photo_edit.tpl b/view/photo_edit.tpl index 7b579492f..e50637578 100644 --- a/view/photo_edit.tpl +++ b/view/photo_edit.tpl @@ -1,11 +1,17 @@ -<form action="photos" method="post" id="photo_edit_form" > +<form action="photos/$id" method="post" id="photo_edit_form" > + + <input type="hidden" name="item_id" value="$item_id" /> <label id="photo-edit-caption-label" for="photo-edit-caption">$capt_label</label> - <input type="text size="64" name="desc" value="$caption" /> + <input id="photo-edit-caption" type="text" size="64" name="desc" value="$caption" /> + + <div id="photo-edit-caption-end"></div> <label id="photo-edit-tags-label" for="photo-edit-tags-textarea" >$tag_label</label> <textarea name="tags" id="photo-edit-tags-textarea">$tags</textarea> + <div id="photo-edit-tags-end"></div> <input type="submit" name="submit" value="$submit" /> + <div id="photo-edit-end"></div> </form> diff --git a/view/style.css b/view/style.css index 6bba5b577..c590b5317 100644 --- a/view/style.css +++ b/view/style.css @@ -1339,3 +1339,33 @@ input#dfrn-url { text-decoration: underline; cursor: pointer; } + +#photo-edit-caption-label, #photo-edit-tags-label { + float: left; + width: 150px; +} +#photo-edit-caption, #photo-edit-tags-textarea { + float: left; +} + +#photo-edit-caption-end, #photo-edit-tags-end { + clear: both; +} + +#photo-caption { + font-size: 110%; + font-weight: bold; + margin-top: 15px; + margin-bottom: 15px; +} + +#in-this-photo-text { + color: #0000FF; + margin-left: 30px; +} + +#in-this-photo { + margin-left: 60px; + margin-top: 10px; + margin-bottom: 20px; +}
\ No newline at end of file |