summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_dashboard.html.php
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-10-04 00:27:22 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-10-04 00:27:22 -0600
commit3e6ba7acc3291f2268cbe9c9bef0a492b557babb (patch)
tree079c1bd09ab1cfcf35524f2e541c586a95f205e4 /modules/gallery/views/admin_dashboard.html.php
parent9145331fd420ec3fe86833a7b9567ec42f1d84e8 (diff)
Renamed most, if not all css selectors from gName to g-name. Moved a few shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
Diffstat (limited to 'modules/gallery/views/admin_dashboard.html.php')
-rw-r--r--modules/gallery/views/admin_dashboard.html.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/modules/gallery/views/admin_dashboard.html.php b/modules/gallery/views/admin_dashboard.html.php
index 148de65f..154aa172 100644
--- a/modules/gallery/views/admin_dashboard.html.php
+++ b/modules/gallery/views/admin_dashboard.html.php
@@ -3,34 +3,34 @@
update_blocks = function() {
$.get(<?= html::js_string(url::site("admin/dashboard/reorder")) ?>,
{"csrf": "<?= $csrf ?>",
- "dashboard_center[]": $("#gAdminDashboard").sortable(
+ "dashboard_center[]": $("#g-admin-dashboard").sortable(
"toArray", {attribute: "block_id"}),
- "dashboard_sidebar[]": $("#gAdminDashboardSidebar").sortable(
+ "dashboard_sidebar[]": $("#g-admin-dashboard-sidebar").sortable(
"toArray", {attribute: "block_id"})});
};
$(document).ready(function(){
- $("#gAdminDashboard .gBlock .ui-widget-header").addClass("gDraggable");
- $("#gAdminDashboard").sortable({
- connectWith: ["#gAdminDashboardSidebar"],
+ $("#g-admin-dashboard .g-block .ui-widget-header").addClass("g-draggable");
+ $("#g-admin-dashboard").sortable({
+ connectWith: ["#g-admin-dashboard-sidebar"],
cursor: "move",
handle: $(".ui-widget-header"),
opacity: 0.6,
- placeholder: "gDropTarget",
+ placeholder: "g-drop-target",
stop: update_blocks
});
- $("#gAdminDashboardSidebar .gBlock .ui-widget-header").addClass("gDraggable");
- $("#gAdminDashboardSidebar").sortable({
- connectWith: ["#gAdminDashboard"],
+ $("#g-admin-dashboard-sidebar .g-block .ui-widget-header").addClass("g-draggable");
+ $("#g-admin-dashboard-sidebar").sortable({
+ connectWith: ["#g-admin-dashboard"],
cursor: "move",
handle: $(".ui-widget-header"),
opacity: 0.6,
- placeholder: "gDropTarget",
+ placeholder: "g-drop-target",
stop: update_blocks
});
});
</script>
-<div id="gAdminDashboard">
+<div id="g-admin-dashboard">
<?= $blocks ?>
</div>