This commit is contained in:
Ruud
2014-05-05 20:40:55 +02:00
parent 85163443e3
commit db23f5cdef
9 changed files with 141 additions and 64 deletions
@@ -12,7 +12,7 @@ var BlockNavigation = new Class({
}
}).grab(new Element('span.overlay')),
self.logo = new Element('a.logo', {
'text': 'CouchPotato',
'html': '<span>Couch</span><span>Potato</span>',
'href': App.createUrl('')
}),
self.nav = new Element('ul'),
+8 -8
View File
@@ -73,14 +73,14 @@
self.c.adopt(
$(self.block.header).addClass('header').adopt(
new Element('div').adopt(
self.block.navigation = new BlockNavigation(self, {}),
self.block.search = new BlockSearch(self, {}),
self.block.more = new BlockMenu(self, {'button_class': 'icon2.cog'})
)
self.block.navigation = new BlockNavigation(self, {}),
self.block.search = new BlockSearch(self, {}),
self.block.more = new BlockMenu(self, {'button_class': 'icon2.cog'})
),
self.content = new Element('div.content'),
self.block.footer = new BlockFooter(self, {})
self.content = new Element('div.content').adopt(
self.pages = new Element('div.pages'),
self.block.footer = new BlockFooter(self, {})
)
);
var setting_links = [
@@ -143,7 +143,7 @@
self.fireEvent('load'+class_name);
$(pg).inject(self.content);
$(pg).inject(self.pages);
});
self.fireEvent('load');