Implement user authorization

This commit is contained in:
Eike Foken
2011-04-21 23:43:13 +02:00
parent bc67619ce2
commit 111799073b
10 changed files with 1326 additions and 44 deletions

23
assets/js/common.js Normal file
View File

@@ -0,0 +1,23 @@
/**
* Shows a message box with given the title and message.
*
* @param {} title
* @param {} message
*/
var message = function(title, message, icon) {
Ext.Msg.show({
title: title,
msg: message,
minWidth: 200,
modal: true,
icon: Ext.Msg.ERROR,
buttons: Ext.Msg.OK
});
}
/**
* Initialize tooltips.
*/
$(document).ready(function() {
Ext.QuickTips.init();
});