Permalink
Browse files

introduces change bar

  • Loading branch information...
MSchmidt committed May 31, 2010
1 parent 2433792 commit f8a9eef7efc9bf5dad95531e4b509b6971122e28
View
@@ -88,7 +88,7 @@ def destroy_config
def self.get_user_www_dir_structure
folders = Hash.new{ |h,k| h[k] = Hash.new &h.default_proc }
Dir.chdir(WWW_DIR)
#Dir.chdir(WWW_DIR)
Dir.glob(File.join("**", "**")) do |path|
if File.directory?(path)
sub = folders
@@ -2,7 +2,8 @@
#workbench
#settings_bubble_blueprint.settings-bubble{:class => 'hidden'}
Settings
.domain-settings
hullo
.browser
- @domains.each do |domain|
.domain{:id => "domain#{domain.id}"}
@@ -125,18 +125,18 @@ var MooFibro = new Class({
},
extendBranch: function(branch, wanted_branch_name) {
this.current_path.push(wanted_branch_name);
this.fireEvent('extend', [wanted_branch_name, this.getCurrentPath(), '1']);
this.current_level++;
this.calculateAndSetSlidingDivWidth();
var new_branch = branch.getFirst('.'+wanted_branch_name+'-sub');
if (new_branch)
new_branch = new_branch.getFirst('ul');
else
return null;
this.current_path.push(wanted_branch_name);
this.fireEvent('extend', [wanted_branch_name, this.getCurrentPath(), '1']);
this.current_level++;
this.calculateAndSetSlidingDivWidth();
// scan branch if not happened yet
if (!this.scanned_branches.contains(this.getCurrentPath())) {
this.scanAndPrepareBranch(new_branch);
@@ -7,6 +7,7 @@ window.addEvent('domready', function(){
onDrop: function(element, droppable, event){
if (!droppable) console.log(element, ' dropped on nothing');
else console.log(element, 'dropped on', droppable, 'event', event);
$('infobar').fade('hide').fade('in');
},
onEnter: function(element, droppable){
@@ -42,7 +42,8 @@ body {
background-color: white; }
#infobar {
position: absolute;
visibility: hidden;
position: fixed;
bottom: 0;
width: 100%;
height: 30px;
@@ -45,7 +45,8 @@ $nav_li_width: 120px
background-color: #fff
#infobar
position: absolute
visibility: hidden
position: fixed
bottom: 0
width: 100%
height: 30px
@@ -1,7 +1,6 @@
#workbench
position: relative
height: 500px
border: 1px solid red
.domain
position: absolute
@@ -1,7 +1,6 @@
#workbench {
position: relative;
height: 500px;
border: 1px solid red; }
height: 500px; }
.domain {
position: absolute;

0 comments on commit f8a9eef

Please sign in to comment.