Another iteration of the organize module:

Rearrange the layout as per discussion with thumb, start the drawer
functionality. Still to do... 
1) Add the processing behind the buttons on the drawer handle
2) Enable the drawer buttons when something is selected
3) Create a copy of the thumbs for the drawer
4) Add the bulk editting functionality to the drawer
This commit is contained in:
Tim Almdal
2009-04-27 20:30:46 +00:00
parent 2a5abfdbd4
commit 091fde3e00
8 changed files with 174 additions and 74 deletions
+3 -17
View File
@@ -1,21 +1,8 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="gOrganizeForm">
<div id="gOrganizeForm" class="yui-u">
<?= form::open(url::site("organize/update/__ITEM_ID__?csrf=__CSRF__&action=__ACTION__"), array("method" => "post")) ?>
<div id="gOrganizeFormThumbs">
<div id="gOrganizeFormNoImage">
<h3><?= t("No Image Selected") ?></h3>
</div>
<div id="gOrganizeFormThumb" style="display: none"></div>
<div id="gOrganizeFormMultipleImages" style="display:none">
<h3><?= t("Multiple Images Selected") ?></h3>
</div>
</div>
<div id="gOrganizeButtonPane" style="display: none">
<?= $button_pane ?>
</div>
<div id="gOrganizeFormInfo" style="display:none"
<!-- div id="gOrganizeFormInfo" style="display:none"
ref="<?= url::site("organize/detail/__ITEM_ID__") ?>">
<ul>
<li>
@@ -31,10 +18,9 @@
Description: <span id="gOrganizeFormDescription">&nbsp;</span>
</li>
</ul>
</div>
</div -->
<span id="gOrganizeFormButtons">
<?= form::submit(array("id" => "gOrganizePauseButton", "name" => "pause", "disabled" => true, "class" => "submit", "style" => "display:none"), t("Pause")) ?>
<?= form::submit(array("id" => "gOrganizeApplyButton", "name" => "apply", "disabled" => true, "class" => "submit"), t("Apply")) ?>
</span>
<?= form::close() ?>