Skip to content

Commit

Permalink
Implement basic layout & templates
Browse files Browse the repository at this point in the history
  • Loading branch information
karmi committed Feb 12, 2009
1 parent 088d592 commit c800299
Show file tree
Hide file tree
Showing 55 changed files with 5,184 additions and 107 deletions.
2 changes: 1 addition & 1 deletion __templates/textpage.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ <h3>Nadpis třetí úrovně</h3>

</div><!-- /content -->

</div><!-- /middle -->
</div><!-- /main -->

<div class="cleaner">&nbsp;</div>

Expand Down
Binary file added public/images/bg/body.bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/bg/dot.red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/bg/footer.bg.l.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/bg/footer.bg.r.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/bg/kraxnet.logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/bg/menu_item_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/bg/menu_item_bg.r.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/bg/panel-800-800.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/bg/panel-800-800.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/bg/submenu_item_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/bg/submenu_item_bg.r.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/bg/top_navigation_bar.bg.l.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/bg/top_navigation_bar.bg.m.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/bg/top_navigation_bar.bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/bg/top_navigation_bar.bg.r.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/buttons/button_default.bg.l.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/buttons/button_default.bg.r.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/buttons/button_search.bg.l.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/buttons/button_search.bg.r.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/dotted_line_300px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/hline1.gif
Binary file not shown.
Binary file removed public/images/hline2.gif
Binary file not shown.
Binary file added public/images/image-sample-centered.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/image-sample-inline.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/internet2.gif
Binary file not shown.
Binary file added public/images/kraxnet.logo.png
Binary file removed public/images/kraxnet_cz.gif
Diff not rendered.
Binary file removed public/images/lined.gif
Diff not rendered.
Binary file removed public/images/lines.gif
Diff not rendered.
Binary file removed public/images/logo.gif
Diff not rendered.
Binary file removed public/images/point2.gif
Diff not rendered.
Binary file removed public/images/vline1.gif
Diff not rendered.
Binary file removed public/images/vline2.gif
Diff not rendered.
Binary file added public/images/xnet_small_logo.png
33 changes: 33 additions & 0 deletions public/javascripts/application.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// application.js

// Log wrapper
DEBUG=true
if ("undefined" == typeof console) var console = { log : function(what) {} }
log = { debug : function(msg) { if ('undefined' != typeof DEBUG && DEBUG == true) {console.log(msg)} } };

// * Add initialize() handler
document.observe("dom:loaded", function() { try {Application.initialize()} catch(e) { alert('Error when initializing application! \n' + e); } });


// * Application namespace
Application = {

initialize: function(options) {
this.options = options;
this.window = document.viewport.getDimensions();
},

// --------- Utils --------------------------------------------------------------------

Utils : {

preloadImages : function(images) { for( var i=0; i < images.length; i++) { img = new Image(); img.src = 'images/'+images[i]; } },

isIE6 : function() { return navigator.appVersion.include('MSIE 6'); },

closeLightbox: function() { if (typeof myLightbox != 'undefined') { myLightbox.end(); } }

}


};
Loading

0 comments on commit c800299

Please sign in to comment.