added make private button, titles, etc. for image.

This commit is contained in:
Karen 2011-07-04 13:23:36 +05:30
parent 96f4612c26
commit 5998eaed6e
3 changed files with 24 additions and 5 deletions

View File

@ -92,6 +92,9 @@ padding-left:100px;
clear:both;
float:left;}
#makePrivate
{margin-left:10px;}
#em
{font-style:italic;
text-align:justify;
@ -124,6 +127,21 @@ color:#555353;}
{font-weight:bold;}
.itemFormLabel
{position:relative;
bottom:16px;}
{float:left;}
.descriptionLabel
{float:right;}
.itemTitle
{clear:both;
float:left;}
.itemDescription
{float:right;
height:50px;
border:2px groove #efecec;}
.submitItem
{clear:both;
float:right;
margin-top:6px;}

View File

@ -154,8 +154,8 @@ function getJQ(f) {
function getItemForm(f) {
var $form = $('<div />').addClass("itemForm");
var $labelsP = $('<p />').appendTo($form);
var $titleLabel = $('<span />').addClass("itemFormLabel").text("Title: ").appendTo($labelsP);
var $descriptionLabel = $('<span />').addClass("itemFormLabel").text("Description: ").appendTo($labelsP);
var $titleLabel = $('<span />').addClass("itemFormLabel").addClass("titleLabel").text("Title").appendTo($labelsP);
var $descriptionLabel = $('<span />').addClass("itemFormLabel").addClass("descriptionLabel").text("Description").appendTo($labelsP);
var $inputsP = $('<p />').appendTo($form);
var $titleInput = $('<input />').addClass("itemTitle").val(f.title).appendTo($inputsP);
var $descriptionInput = $('<textarea />').addClass("itemDescription").val(f.description).appendTo($inputsP);

View File

@ -36,6 +36,7 @@
</div>
<div id="withSelected">
Selected Items: <button id="deleteSelectedBtn">Delete</button>
<button id="makePrivate">Make Private</button>
<p id="em">OR</p> <p>Move to:
<select id="moveSelectedSelect">