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

@ -53,7 +53,7 @@ overflow: hidden;
{padding-top:10px; {padding-top:10px;
font-style:italic; font-style:italic;
letter-spacing:4; letter-spacing:4;
float: left; float:left;
} }
#firstPage #firstPage
@ -92,6 +92,9 @@ padding-left:100px;
clear:both; clear:both;
float:left;} float:left;}
#makePrivate
{margin-left:10px;}
#em #em
{font-style:italic; {font-style:italic;
text-align:justify; text-align:justify;
@ -124,6 +127,21 @@ color:#555353;}
{font-weight:bold;} {font-weight:bold;}
.itemFormLabel .itemFormLabel
{position:relative; {float:left;}
bottom:16px;}
.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) { function getItemForm(f) {
var $form = $('<div />').addClass("itemForm"); var $form = $('<div />').addClass("itemForm");
var $labelsP = $('<p />').appendTo($form); var $labelsP = $('<p />').appendTo($form);
var $titleLabel = $('<span />').addClass("itemFormLabel").text("Title: ").appendTo($labelsP); var $titleLabel = $('<span />').addClass("itemFormLabel").addClass("titleLabel").text("Title").appendTo($labelsP);
var $descriptionLabel = $('<span />').addClass("itemFormLabel").text("Description: ").appendTo($labelsP); var $descriptionLabel = $('<span />').addClass("itemFormLabel").addClass("descriptionLabel").text("Description").appendTo($labelsP);
var $inputsP = $('<p />').appendTo($form); var $inputsP = $('<p />').appendTo($form);
var $titleInput = $('<input />').addClass("itemTitle").val(f.title).appendTo($inputsP); var $titleInput = $('<input />').addClass("itemTitle").val(f.title).appendTo($inputsP);
var $descriptionInput = $('<textarea />').addClass("itemDescription").val(f.description).appendTo($inputsP); var $descriptionInput = $('<textarea />').addClass("itemDescription").val(f.description).appendTo($inputsP);

View File

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