whoops 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. data/Gemfile +2 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +25 -0
  5. data/app/controllers/event_groups_controller.rb +34 -0
  6. data/app/controllers/events_controller.rb +24 -0
  7. data/app/helpers/event_groups_helper.rb +32 -0
  8. data/app/helpers/events_helper.rb +28 -0
  9. data/app/helpers/notifications_helper.rb +2 -0
  10. data/app/lib/field_names.rb +9 -0
  11. data/app/models/whoops/event.rb +27 -0
  12. data/app/models/whoops/event_group.rb +32 -0
  13. data/app/models/whoops/filter.rb +15 -0
  14. data/app/views/event_groups/_list.html.haml +19 -0
  15. data/app/views/event_groups/index.html.haml +14 -0
  16. data/app/views/events/_detail.html.haml +5 -0
  17. data/app/views/events/_details.html.haml +8 -0
  18. data/app/views/events/index.html.haml +25 -0
  19. data/app/views/layouts/whoops.html.haml +39 -0
  20. data/config/initializers/date_formats.rb +3 -0
  21. data/config/routes.rb +7 -0
  22. data/lib/generators/whoops/assets_generator.rb +16 -0
  23. data/lib/generators/whoops/templates/assets/images/_ui/breadcrumb_divider.png +0 -0
  24. data/lib/generators/whoops/templates/assets/images/_ui/btn_submit.png +0 -0
  25. data/lib/generators/whoops/templates/assets/images/_ui/btn_submit_2.png +0 -0
  26. data/lib/generators/whoops/templates/assets/images/_ui/btn_view_site.png +0 -0
  27. data/lib/generators/whoops/templates/assets/images/_ui/header_bg.png +0 -0
  28. data/lib/generators/whoops/templates/assets/images/_ui/header_shadow.png +0 -0
  29. data/lib/generators/whoops/templates/assets/images/_ui/icn_add_user.png +0 -0
  30. data/lib/generators/whoops/templates/assets/images/_ui/icn_alert_error.png +0 -0
  31. data/lib/generators/whoops/templates/assets/images/_ui/icn_alert_info.png +0 -0
  32. data/lib/generators/whoops/templates/assets/images/_ui/icn_alert_success.png +0 -0
  33. data/lib/generators/whoops/templates/assets/images/_ui/icn_alert_warning.png +0 -0
  34. data/lib/generators/whoops/templates/assets/images/_ui/icn_audio.png +0 -0
  35. data/lib/generators/whoops/templates/assets/images/_ui/icn_categories.png +0 -0
  36. data/lib/generators/whoops/templates/assets/images/_ui/icn_edit.png +0 -0
  37. data/lib/generators/whoops/templates/assets/images/_ui/icn_edit_article.png +0 -0
  38. data/lib/generators/whoops/templates/assets/images/_ui/icn_folder.png +0 -0
  39. data/lib/generators/whoops/templates/assets/images/_ui/icn_jump_back.png +0 -0
  40. data/lib/generators/whoops/templates/assets/images/_ui/icn_logout.png +0 -0
  41. data/lib/generators/whoops/templates/assets/images/_ui/icn_new_article.png +0 -0
  42. data/lib/generators/whoops/templates/assets/images/_ui/icn_photo.png +0 -0
  43. data/lib/generators/whoops/templates/assets/images/_ui/icn_profile.png +0 -0
  44. data/lib/generators/whoops/templates/assets/images/_ui/icn_search.png +0 -0
  45. data/lib/generators/whoops/templates/assets/images/_ui/icn_security.png +0 -0
  46. data/lib/generators/whoops/templates/assets/images/_ui/icn_settings.png +0 -0
  47. data/lib/generators/whoops/templates/assets/images/_ui/icn_tags.png +0 -0
  48. data/lib/generators/whoops/templates/assets/images/_ui/icn_trash.png +0 -0
  49. data/lib/generators/whoops/templates/assets/images/_ui/icn_user.png +0 -0
  50. data/lib/generators/whoops/templates/assets/images/_ui/icn_video.png +0 -0
  51. data/lib/generators/whoops/templates/assets/images/_ui/icn_view_users.png +0 -0
  52. data/lib/generators/whoops/templates/assets/images/_ui/module_footer_bg.png +0 -0
  53. data/lib/generators/whoops/templates/assets/images/_ui/post_message.png +0 -0
  54. data/lib/generators/whoops/templates/assets/images/_ui/secondary_bar.png +0 -0
  55. data/lib/generators/whoops/templates/assets/images/_ui/secondary_bar_shadow.png +0 -0
  56. data/lib/generators/whoops/templates/assets/images/_ui/sidebar.png +0 -0
  57. data/lib/generators/whoops/templates/assets/images/_ui/sidebar_divider.png +0 -0
  58. data/lib/generators/whoops/templates/assets/images/_ui/sidebar_shadow.png +0 -0
  59. data/lib/generators/whoops/templates/assets/images/_ui/table_sorter_header.png +0 -0
  60. data/lib/generators/whoops/templates/assets/javascripts/application.js +35 -0
  61. data/lib/generators/whoops/templates/assets/javascripts/hideshow.js +39 -0
  62. data/lib/generators/whoops/templates/assets/javascripts/jquery-1.5.2.min.js +16 -0
  63. data/lib/generators/whoops/templates/assets/javascripts/jquery.equalHeight.js +20 -0
  64. data/lib/generators/whoops/templates/assets/javascripts/jquery.form.js +825 -0
  65. data/lib/generators/whoops/templates/assets/javascripts/jquery.tablesorter.min.js +4 -0
  66. data/lib/generators/whoops/templates/assets/javascripts/ui.js +28 -0
  67. data/lib/generators/whoops/templates/assets/stylesheets/ie.css +49 -0
  68. data/lib/generators/whoops/templates/assets/stylesheets/sass/_base.scss +18 -0
  69. data/lib/generators/whoops/templates/assets/stylesheets/sass/ie.scss +43 -0
  70. data/lib/generators/whoops/templates/assets/stylesheets/sass/screen.scss +945 -0
  71. data/lib/generators/whoops/templates/assets/stylesheets/screen.css +1082 -0
  72. data/lib/whoops.rb +5 -0
  73. data/lib/whoops/engine.rb +4 -0
  74. metadata +356 -0
@@ -0,0 +1,4 @@
1
+
2
+ (function($){$.extend({tablesorter:new
3
+ function(){var parsers=[],widgets=[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",cssChildRow:"expand-child",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,sortLocaleCompare:true,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:false,cancelSelection:true,sortList:[],headerList:[],dateFormat:"us",decimal:'/\.|\,/g',onRenderHeader:null,selectorHeaders:'thead th',debug:false};function benchmark(s,d){log(s+","+(new Date().getTime()-d.getTime())+"ms");}this.benchmark=benchmark;function log(s){if(typeof console!="undefined"&&typeof console.debug!="undefined"){console.log(s);}else{alert(s);}}function buildParserCache(table,$headers){if(table.config.debug){var parsersDebug="";}if(table.tBodies.length==0)return;var rows=table.tBodies[0].rows;if(rows[0]){var list=[],cells=rows[0].cells,l=cells.length;for(var i=0;i<l;i++){var p=false;if($.metadata&&($($headers[i]).metadata()&&$($headers[i]).metadata().sorter)){p=getParserById($($headers[i]).metadata().sorter);}else if((table.config.headers[i]&&table.config.headers[i].sorter)){p=getParserById(table.config.headers[i].sorter);}if(!p){p=detectParserForColumn(table,rows,-1,i);}if(table.config.debug){parsersDebug+="column:"+i+" parser:"+p.id+"\n";}list.push(p);}}if(table.config.debug){log(parsersDebug);}return list;};function detectParserForColumn(table,rows,rowIndex,cellIndex){var l=parsers.length,node=false,nodeValue=false,keepLooking=true;while(nodeValue==''&&keepLooking){rowIndex++;if(rows[rowIndex]){node=getNodeFromRowAndCellIndex(rows,rowIndex,cellIndex);nodeValue=trimAndGetNodeText(table.config,node);if(table.config.debug){log('Checking if value was empty on row:'+rowIndex);}}else{keepLooking=false;}}for(var i=1;i<l;i++){if(parsers[i].is(nodeValue,table,node)){return parsers[i];}}return parsers[0];}function getNodeFromRowAndCellIndex(rows,rowIndex,cellIndex){return rows[rowIndex].cells[cellIndex];}function trimAndGetNodeText(config,node){return $.trim(getElementText(config,node));}function getParserById(name){var l=parsers.length;for(var i=0;i<l;i++){if(parsers[i].id.toLowerCase()==name.toLowerCase()){return parsers[i];}}return false;}function buildCache(table){if(table.config.debug){var cacheTime=new Date();}var totalRows=(table.tBodies[0]&&table.tBodies[0].rows.length)||0,totalCells=(table.tBodies[0].rows[0]&&table.tBodies[0].rows[0].cells.length)||0,parsers=table.config.parsers,cache={row:[],normalized:[]};for(var i=0;i<totalRows;++i){var c=$(table.tBodies[0].rows[i]),cols=[];if(c.hasClass(table.config.cssChildRow)){cache.row[cache.row.length-1]=cache.row[cache.row.length-1].add(c);continue;}cache.row.push(c);for(var j=0;j<totalCells;++j){cols.push(parsers[j].format(getElementText(table.config,c[0].cells[j]),table,c[0].cells[j]));}cols.push(cache.normalized.length);cache.normalized.push(cols);cols=null;};if(table.config.debug){benchmark("Building cache for "+totalRows+" rows:",cacheTime);}return cache;};function getElementText(config,node){var text="";if(!node)return"";if(!config.supportsTextContent)config.supportsTextContent=node.textContent||false;if(config.textExtraction=="simple"){if(config.supportsTextContent){text=node.textContent;}else{if(node.childNodes[0]&&node.childNodes[0].hasChildNodes()){text=node.childNodes[0].innerHTML;}else{text=node.innerHTML;}}}else{if(typeof(config.textExtraction)=="function"){text=config.textExtraction(node);}else{text=$(node).text();}}return text;}function appendToTable(table,cache){if(table.config.debug){var appendTime=new Date()}var c=cache,r=c.row,n=c.normalized,totalRows=n.length,checkCell=(n[0].length-1),tableBody=$(table.tBodies[0]),rows=[];for(var i=0;i<totalRows;i++){var pos=n[i][checkCell];rows.push(r[pos]);if(!table.config.appender){var l=r[pos].length;for(var j=0;j<l;j++){tableBody[0].appendChild(r[pos][j]);}}}if(table.config.appender){table.config.appender(table,rows);}rows=null;if(table.config.debug){benchmark("Rebuilt table:",appendTime);}applyWidget(table);setTimeout(function(){$(table).trigger("sortEnd");},0);};function buildHeaders(table){if(table.config.debug){var time=new Date();}var meta=($.metadata)?true:false;var header_index=computeTableHeaderCellIndexes(table);$tableHeaders=$(table.config.selectorHeaders,table).each(function(index){this.column=header_index[this.parentNode.rowIndex+"-"+this.cellIndex];this.order=formatSortingOrder(table.config.sortInitialOrder);this.count=this.order;if(checkHeaderMetadata(this)||checkHeaderOptions(table,index))this.sortDisabled=true;if(checkHeaderOptionsSortingLocked(table,index))this.order=this.lockedOrder=checkHeaderOptionsSortingLocked(table,index);if(!this.sortDisabled){var $th=$(this).addClass(table.config.cssHeader);if(table.config.onRenderHeader)table.config.onRenderHeader.apply($th);}table.config.headerList[index]=this;});if(table.config.debug){benchmark("Built headers:",time);log($tableHeaders);}return $tableHeaders;};function computeTableHeaderCellIndexes(t){var matrix=[];var lookup={};var thead=t.getElementsByTagName('THEAD')[0];var trs=thead.getElementsByTagName('TR');for(var i=0;i<trs.length;i++){var cells=trs[i].cells;for(var j=0;j<cells.length;j++){var c=cells[j];var rowIndex=c.parentNode.rowIndex;var cellId=rowIndex+"-"+c.cellIndex;var rowSpan=c.rowSpan||1;var colSpan=c.colSpan||1
4
+ var firstAvailCol;if(typeof(matrix[rowIndex])=="undefined"){matrix[rowIndex]=[];}for(var k=0;k<matrix[rowIndex].length+1;k++){if(typeof(matrix[rowIndex][k])=="undefined"){firstAvailCol=k;break;}}lookup[cellId]=firstAvailCol;for(var k=rowIndex;k<rowIndex+rowSpan;k++){if(typeof(matrix[k])=="undefined"){matrix[k]=[];}var matrixrow=matrix[k];for(var l=firstAvailCol;l<firstAvailCol+colSpan;l++){matrixrow[l]="x";}}}}return lookup;}function checkCellColSpan(table,rows,row){var arr=[],r=table.tHead.rows,c=r[row].cells;for(var i=0;i<c.length;i++){var cell=c[i];if(cell.colSpan>1){arr=arr.concat(checkCellColSpan(table,headerArr,row++));}else{if(table.tHead.length==1||(cell.rowSpan>1||!r[row+1])){arr.push(cell);}}}return arr;};function checkHeaderMetadata(cell){if(($.metadata)&&($(cell).metadata().sorter===false)){return true;};return false;}function checkHeaderOptions(table,i){if((table.config.headers[i])&&(table.config.headers[i].sorter===false)){return true;};return false;}function checkHeaderOptionsSortingLocked(table,i){if((table.config.headers[i])&&(table.config.headers[i].lockedOrder))return table.config.headers[i].lockedOrder;return false;}function applyWidget(table){var c=table.config.widgets;var l=c.length;for(var i=0;i<l;i++){getWidgetById(c[i]).format(table);}}function getWidgetById(name){var l=widgets.length;for(var i=0;i<l;i++){if(widgets[i].id.toLowerCase()==name.toLowerCase()){return widgets[i];}}};function formatSortingOrder(v){if(typeof(v)!="Number"){return(v.toLowerCase()=="desc")?1:0;}else{return(v==1)?1:0;}}function isValueInArray(v,a){var l=a.length;for(var i=0;i<l;i++){if(a[i][0]==v){return true;}}return false;}function setHeadersCss(table,$headers,list,css){$headers.removeClass(css[0]).removeClass(css[1]);var h=[];$headers.each(function(offset){if(!this.sortDisabled){h[this.column]=$(this);}});var l=list.length;for(var i=0;i<l;i++){h[list[i][0]].addClass(css[list[i][1]]);}}function fixColumnWidth(table,$headers){var c=table.config;if(c.widthFixed){var colgroup=$('<colgroup>');$("tr:first td",table.tBodies[0]).each(function(){colgroup.append($('<col>').css('width',$(this).width()));});$(table).prepend(colgroup);};}function updateHeaderSortCount(table,sortList){var c=table.config,l=sortList.length;for(var i=0;i<l;i++){var s=sortList[i],o=c.headerList[s[0]];o.count=s[1];o.count++;}}function multisort(table,sortList,cache){if(table.config.debug){var sortTime=new Date();}var dynamicExp="var sortWrapper = function(a,b) {",l=sortList.length;for(var i=0;i<l;i++){var c=sortList[i][0];var order=sortList[i][1];var s=(table.config.parsers[c].type=="text")?((order==0)?makeSortFunction("text","asc",c):makeSortFunction("text","desc",c)):((order==0)?makeSortFunction("numeric","asc",c):makeSortFunction("numeric","desc",c));var e="e"+i;dynamicExp+="var "+e+" = "+s;dynamicExp+="if("+e+") { return "+e+"; } ";dynamicExp+="else { ";}var orgOrderCol=cache.normalized[0].length-1;dynamicExp+="return a["+orgOrderCol+"]-b["+orgOrderCol+"];";for(var i=0;i<l;i++){dynamicExp+="}; ";}dynamicExp+="return 0; ";dynamicExp+="}; ";if(table.config.debug){benchmark("Evaling expression:"+dynamicExp,new Date());}eval(dynamicExp);cache.normalized.sort(sortWrapper);if(table.config.debug){benchmark("Sorting on "+sortList.toString()+" and dir "+order+" time:",sortTime);}return cache;};function makeSortFunction(type,direction,index){var a="a["+index+"]",b="b["+index+"]";if(type=='text'&&direction=='asc'){return"("+a+" == "+b+" ? 0 : ("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.NEGATIVE_INFINITY : ("+a+" < "+b+") ? -1 : 1 )));";}else if(type=='text'&&direction=='desc'){return"("+a+" == "+b+" ? 0 : ("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.NEGATIVE_INFINITY : ("+b+" < "+a+") ? -1 : 1 )));";}else if(type=='numeric'&&direction=='asc'){return"("+a+" === null && "+b+" === null) ? 0 :("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.NEGATIVE_INFINITY : "+a+" - "+b+"));";}else if(type=='numeric'&&direction=='desc'){return"("+a+" === null && "+b+" === null) ? 0 :("+a+" === null ? Number.POSITIVE_INFINITY : ("+b+" === null ? Number.NEGATIVE_INFINITY : "+b+" - "+a+"));";}};function makeSortText(i){return"((a["+i+"] < b["+i+"]) ? -1 : ((a["+i+"] > b["+i+"]) ? 1 : 0));";};function makeSortTextDesc(i){return"((b["+i+"] < a["+i+"]) ? -1 : ((b["+i+"] > a["+i+"]) ? 1 : 0));";};function makeSortNumeric(i){return"a["+i+"]-b["+i+"];";};function makeSortNumericDesc(i){return"b["+i+"]-a["+i+"];";};function sortText(a,b){if(table.config.sortLocaleCompare)return a.localeCompare(b);return((a<b)?-1:((a>b)?1:0));};function sortTextDesc(a,b){if(table.config.sortLocaleCompare)return b.localeCompare(a);return((b<a)?-1:((b>a)?1:0));};function sortNumeric(a,b){return a-b;};function sortNumericDesc(a,b){return b-a;};function getCachedSortType(parsers,i){return parsers[i].type;};this.construct=function(settings){return this.each(function(){if(!this.tHead||!this.tBodies)return;var $this,$document,$headers,cache,config,shiftDown=0,sortOrder;this.config={};config=$.extend(this.config,$.tablesorter.defaults,settings);$this=$(this);$.data(this,"tablesorter",config);$headers=buildHeaders(this);this.config.parsers=buildParserCache(this,$headers);cache=buildCache(this);var sortCSS=[config.cssDesc,config.cssAsc];fixColumnWidth(this);$headers.click(function(e){var totalRows=($this[0].tBodies[0]&&$this[0].tBodies[0].rows.length)||0;if(!this.sortDisabled&&totalRows>0){$this.trigger("sortStart");var $cell=$(this);var i=this.column;this.order=this.count++%2;if(this.lockedOrder)this.order=this.lockedOrder;if(!e[config.sortMultiSortKey]){config.sortList=[];if(config.sortForce!=null){var a=config.sortForce;for(var j=0;j<a.length;j++){if(a[j][0]!=i){config.sortList.push(a[j]);}}}config.sortList.push([i,this.order]);}else{if(isValueInArray(i,config.sortList)){for(var j=0;j<config.sortList.length;j++){var s=config.sortList[j],o=config.headerList[s[0]];if(s[0]==i){o.count=s[1];o.count++;s[1]=o.count%2;}}}else{config.sortList.push([i,this.order]);}};setTimeout(function(){setHeadersCss($this[0],$headers,config.sortList,sortCSS);appendToTable($this[0],multisort($this[0],config.sortList,cache));},1);return false;}}).mousedown(function(){if(config.cancelSelection){this.onselectstart=function(){return false};return false;}});$this.bind("update",function(){var me=this;setTimeout(function(){me.config.parsers=buildParserCache(me,$headers);cache=buildCache(me);},1);}).bind("updateCell",function(e,cell){var config=this.config;var pos=[(cell.parentNode.rowIndex-1),cell.cellIndex];cache.normalized[pos[0]][pos[1]]=config.parsers[pos[1]].format(getElementText(config,cell),cell);}).bind("sorton",function(e,list){$(this).trigger("sortStart");config.sortList=list;var sortList=config.sortList;updateHeaderSortCount(this,sortList);setHeadersCss(this,$headers,sortList,sortCSS);appendToTable(this,multisort(this,sortList,cache));}).bind("appendCache",function(){appendToTable(this,cache);}).bind("applyWidgetId",function(e,id){getWidgetById(id).format(this);}).bind("applyWidgets",function(){applyWidget(this);});if($.metadata&&($(this).metadata()&&$(this).metadata().sortlist)){config.sortList=$(this).metadata().sortlist;}if(config.sortList.length>0){$this.trigger("sorton",[config.sortList]);}applyWidget(this);});};this.addParser=function(parser){var l=parsers.length,a=true;for(var i=0;i<l;i++){if(parsers[i].id.toLowerCase()==parser.id.toLowerCase()){a=false;}}if(a){parsers.push(parser);};};this.addWidget=function(widget){widgets.push(widget);};this.formatFloat=function(s){var i=parseFloat(s);return(isNaN(i))?0:i;};this.formatInt=function(s){var i=parseInt(s);return(isNaN(i))?0:i;};this.isDigit=function(s,config){return/^[-+]?\d*$/.test($.trim(s.replace(/[,.']/g,'')));};this.clearTableBody=function(table){if($.browser.msie){function empty(){while(this.firstChild)this.removeChild(this.firstChild);}empty.apply(table.tBodies[0]);}else{table.tBodies[0].innerHTML="";}};}});$.fn.extend({tablesorter:$.tablesorter.construct});var ts=$.tablesorter;ts.addParser({id:"text",is:function(s){return true;},format:function(s){return $.trim(s.toLocaleLowerCase());},type:"text"});ts.addParser({id:"digit",is:function(s,table){var c=table.config;return $.tablesorter.isDigit(s,c);},format:function(s){return $.tablesorter.formatFloat(s);},type:"numeric"});ts.addParser({id:"currency",is:function(s){return/^[£$€?.]/.test(s);},format:function(s){return $.tablesorter.formatFloat(s.replace(new RegExp(/[£$€]/g),""));},type:"numeric"});ts.addParser({id:"ipAddress",is:function(s){return/^\d{2,3}[\.]\d{2,3}[\.]\d{2,3}[\.]\d{2,3}$/.test(s);},format:function(s){var a=s.split("."),r="",l=a.length;for(var i=0;i<l;i++){var item=a[i];if(item.length==2){r+="0"+item;}else{r+=item;}}return $.tablesorter.formatFloat(r);},type:"numeric"});ts.addParser({id:"url",is:function(s){return/^(https?|ftp|file):\/\/$/.test(s);},format:function(s){return jQuery.trim(s.replace(new RegExp(/(https?|ftp|file):\/\//),''));},type:"text"});ts.addParser({id:"isoDate",is:function(s){return/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(s);},format:function(s){return $.tablesorter.formatFloat((s!="")?new Date(s.replace(new RegExp(/-/g),"/")).getTime():"0");},type:"numeric"});ts.addParser({id:"percent",is:function(s){return/\%$/.test($.trim(s));},format:function(s){return $.tablesorter.formatFloat(s.replace(new RegExp(/%/g),""));},type:"numeric"});ts.addParser({id:"usLongDate",is:function(s){return s.match(new RegExp(/^[A-Za-z]{3,10}\.? [0-9]{1,2}, ([0-9]{4}|'?[0-9]{2}) (([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(AM|PM)))$/));},format:function(s){return $.tablesorter.formatFloat(new Date(s).getTime());},type:"numeric"});ts.addParser({id:"shortDate",is:function(s){return/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(s);},format:function(s,table){var c=table.config;s=s.replace(/\-/g,"/");if(c.dateFormat=="us"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$1/$2");}else if(c.dateFormat=="uk"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$2/$1");}else if(c.dateFormat=="dd/mm/yy"||c.dateFormat=="dd-mm-yy"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3");}return $.tablesorter.formatFloat(new Date(s).getTime());},type:"numeric"});ts.addParser({id:"time",is:function(s){return/^(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(am|pm)))$/.test(s);},format:function(s){return $.tablesorter.formatFloat(new Date("2000/01/01 "+s).getTime());},type:"numeric"});ts.addParser({id:"metadata",is:function(s){return false;},format:function(s,table,cell){var c=table.config,p=(!c.parserMetadataName)?'sortValue':c.parserMetadataName;return $(cell).metadata()[p];},type:"numeric"});ts.addWidget({id:"zebra",format:function(table){if(table.config.debug){var time=new Date();}var $tr,row=-1,odd;$("tr:visible",table.tBodies[0]).each(function(i){$tr=$(this);if(!$tr.hasClass(table.config.cssChildRow))row++;odd=(row%2==0);$tr.removeClass(table.config.widgetZebra.css[odd?0:1]).addClass(table.config.widgetZebra.css[odd?1:0])});if(table.config.debug){$.tablesorter.benchmark("Applying Zebra widget",time);}}});})(jQuery);
@@ -0,0 +1,28 @@
1
+ $(document).ready(function()
2
+ {
3
+ $(".tablesorter").tablesorter();
4
+ }
5
+ );
6
+
7
+ $(document).ready(function() {
8
+ //When page loads...
9
+ $(".tab_content").hide(); //Hide all content
10
+ $("ul.tabs li:first").addClass("active").show(); //Activate first tab
11
+ $(".tab_content:first").show(); //Show first tab content
12
+
13
+ //On Click Event
14
+ $("ul.tabs li").click(function() {
15
+
16
+ $("ul.tabs li").removeClass("active"); //Remove any "active" class
17
+ $(this).addClass("active"); //Add "active" class to selected tab
18
+ $(".tab_content").hide(); //Hide all tab content
19
+
20
+ var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
21
+ $(activeTab).fadeIn(); //Fade in the active ID content
22
+ return false;
23
+ });
24
+ })
25
+
26
+ $(function(){
27
+ $('.column').equalHeight();
28
+ });
@@ -0,0 +1,49 @@
1
+ /* line 1, ../../app/stylesheets/ie.scss */
2
+ .quick_search {
3
+ text-align: center;
4
+ padding: 14px 0 0px 0;
5
+ }
6
+
7
+ /* line 6, ../../app/stylesheets/ie.scss */
8
+ .quick_search input[type=text] {
9
+ text-align: left;
10
+ height: 22px;
11
+ width: 88%;
12
+ color: #ccc;
13
+ padding-left: 2%;
14
+ padding-top: 5px;
15
+ background: white url(../images/icn_search.png) no-repeat;
16
+ background-position: 10px 6px;
17
+ }
18
+
19
+ /* line 17, ../../app/stylesheets/ie.scss */
20
+ .toggleLink {
21
+ display: inline;
22
+ float: none;
23
+ margin-left: 2%;
24
+ }
25
+
26
+ /* line 23, ../../app/stylesheets/ie.scss */
27
+ html ul.tabs li.active, html ul.tabs li.active a:hover {
28
+ background: #ccc;
29
+ }
30
+
31
+ /* line 27, ../../app/stylesheets/ie.scss */
32
+ input[type=submit].btn_post_message {
33
+ background: url(../images/post_message.png) no-repeat;
34
+ }
35
+
36
+ /* line 31, ../../app/stylesheets/ie.scss */
37
+ fieldset input[type=text] {
38
+ margin-left: -10px;
39
+ }
40
+
41
+ /* line 36, ../../app/stylesheets/ie.scss */
42
+ fieldset select {
43
+ margin-left: -10px;
44
+ }
45
+
46
+ /* line 40, ../../app/stylesheets/ie.scss */
47
+ fieldset textarea {
48
+ margin-left: -10px;
49
+ }
@@ -0,0 +1,18 @@
1
+ // Imports -------------------------------------------------------------------
2
+
3
+ @import "susy";
4
+
5
+ // Grid ----------------------------------------------------------------------
6
+
7
+ $total-cols : 12;
8
+ $col-width : 4em;
9
+ $gutter-width : 1em;
10
+ $side-gutter-width : $gutter-width;
11
+
12
+ $show-grid-backgrounds : true;
13
+
14
+ $base-line-height: 27px;
15
+ $base-font-size: 16px;
16
+
17
+
18
+ $sub-background : #dee4ea;
@@ -0,0 +1,43 @@
1
+ .quick_search {
2
+ text-align: center;
3
+ padding: 14px 0 0px 0;
4
+ }
5
+
6
+ .quick_search input[type=text] {
7
+ text-align: left;
8
+ height: 22px;
9
+ width: 88%;
10
+ color: #ccc;
11
+ padding-left: 2%;
12
+ padding-top: 5px;
13
+ background: #fff url(../images/icn_search.png) no-repeat;
14
+ background-position: 10px 6px;
15
+ }
16
+
17
+ .toggleLink {
18
+ display: inline;
19
+ float: none;
20
+ margin-left: 2%
21
+ }
22
+
23
+ html ul.tabs li.active, html ul.tabs li.active a:hover {
24
+ background: #ccc;
25
+ }
26
+
27
+ input[type=submit].btn_post_message {
28
+ background: url(../images/post_message.png) no-repeat;
29
+ }
30
+
31
+ fieldset input[type=text] {
32
+ margin-left: -10px;
33
+ }
34
+
35
+
36
+ fieldset select {
37
+ margin-left: -10px
38
+ }
39
+
40
+ fieldset textarea {
41
+ margin-left: -10px;
42
+ }
43
+
@@ -0,0 +1,945 @@
1
+ /* Essentials */
2
+ @mixin clearfix {
3
+ overflow: hidden;
4
+ @include has-layout;
5
+ }
6
+
7
+ html, div, map, dt, isindex, form, header, aside, section, section, article, footer {
8
+ display: block;
9
+ }
10
+
11
+ html, body {
12
+ height: 100%;
13
+ margin: 0;
14
+ padding: 0;
15
+ font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
16
+ background: #F8F8F8;
17
+ font-size: 12px;
18
+ line-height:1.6em;
19
+ }
20
+
21
+ .clear {
22
+ clear: both;
23
+ }
24
+
25
+ .spacer {
26
+ height: 20px;
27
+ }
28
+
29
+ a:link, a:visited {
30
+ color: #77BACE;
31
+ text-decoration: none;
32
+ }
33
+
34
+ a:hover {
35
+ text-decoration: underline;
36
+ }
37
+
38
+
39
+ /* Header */
40
+
41
+ header#header {
42
+ height: 55px;
43
+ width: 100%;
44
+ background: #222222 url(../images/_ui/header_bg.png) repeat-x;
45
+ }
46
+
47
+ header#header h1.site_title, header#header h2.section_title {
48
+ float: left;
49
+ margin: 0;
50
+ font-size: 22px;
51
+ display: block;
52
+ width: 23%;
53
+ height: 55px;
54
+ font-weight: normal;
55
+ text-align: left;
56
+ text-indent: 1.8%;
57
+ line-height: 55px;
58
+ color: #fff;
59
+ text-shadow: 0 -1px 0 #000;
60
+ }
61
+
62
+ header#header h1.site_title a {
63
+ color: #fff;
64
+ text-decoration: none;
65
+ }
66
+
67
+ header#header h2.section_title {
68
+ text-align: center;
69
+ text-indent: 4.5%;
70
+ width: 68%;
71
+ background: url(../images/_ui/header_shadow.png) no-repeat left top;
72
+ }
73
+
74
+ .btn_view_site {
75
+ float: left;
76
+ width: 9%;
77
+ }
78
+
79
+ .btn_view_site a {
80
+ display: block;
81
+ margin-top: 12px;
82
+ width: 91px;
83
+ height: 27px;
84
+ background: url(../images/_ui/btn_view_site.png) no-repeat;
85
+ text-align: center;
86
+ line-height: 29px;
87
+ color: #fff;
88
+ text-decoration: none;
89
+ text-shadow: 0 -1px 0 #000;}
90
+
91
+ .btn_view_site a:hover {
92
+ background-position: 0 -27px;
93
+ }
94
+
95
+ /* Secondary Header Bar */
96
+
97
+ section#secondary_bar {
98
+ height: 38px;
99
+ width: 100%;
100
+ background: #F1F1F4 url(../images/_ui/secondary_bar.png) repeat-x;
101
+ }
102
+
103
+ section#secondary_bar .user {
104
+ float: left;
105
+ width: 23%;
106
+ height: 38px;
107
+ }
108
+
109
+ .user p {
110
+ margin: 0;
111
+ padding: 0;
112
+ color: #666666;
113
+ font-weight: bold;
114
+ display: block;
115
+ float: left;
116
+ width: 85%;
117
+ height: 35px;
118
+ line-height: 35px;
119
+ text-indent: 25px;
120
+ text-shadow: 0 1px 0 #fff;
121
+ background: url(../images/_ui/icn_user.png) no-repeat center left;
122
+ margin-left: 6%;
123
+ }
124
+
125
+ .user a {
126
+ text-decoration: none;
127
+ color: #666666}
128
+
129
+ .user a:hover {
130
+ color: #77BACE;
131
+ }
132
+
133
+ .user a.logout_user {
134
+ float: left;
135
+ display: block;
136
+ width: 16px;
137
+ height: 35px;
138
+ text-indent: -5000px;
139
+ background: url(../images/_ui/icn_logout.png) center no-repeat;
140
+ }
141
+
142
+ /* Breadcrumbs */
143
+
144
+ section#secondary_bar .breadcrumbs_container {
145
+ float: left;
146
+ width: 77%;
147
+ background: url(../images/_ui/secondary_bar_shadow.png) no-repeat left top;
148
+ height: 38px;
149
+ }
150
+
151
+ article.breadcrumbs {
152
+ float: left;
153
+ padding: 0 10px;
154
+ border: 1px solid #ccc;
155
+ -webkit-border-radius: 5px;
156
+ -moz-border-radius: 5px;
157
+ border-radius: 5px;
158
+ -webkit-box-shadow: 0 1px 0 #fff;
159
+ -moz-box-shadow: 0 1px 0 #fff;
160
+ box-shadow: 0 1px 0 #fff;
161
+ height: 23px;
162
+ margin: 4px 3%;
163
+ }
164
+
165
+ .breadcrumbs a {
166
+ display: inline-block;
167
+ float: left;
168
+ height: 24px;
169
+ line-height: 23px;
170
+ }
171
+
172
+ .breadcrumbs a.current, .breadcrumbs a.current:hover {
173
+ color: #9E9E9E;
174
+ font-weight: bold;
175
+ text-shadow: 0 1px 0 #fff;
176
+ text-decoration: none;
177
+ }
178
+
179
+ .breadcrumbs a:link, .breadcrumbs a:visited {
180
+ color: #44474F;
181
+ text-decoration: none;
182
+ text-shadow: 0 1px 0 #fff;
183
+ font-weight: bold;}
184
+
185
+ .breadcrumbs a:hover {
186
+ color: #222222;
187
+ }
188
+
189
+ .breadcrumb_divider {
190
+ display: inline-block;
191
+ width: 12px;
192
+ height: 24px;
193
+ background: url(../images/_ui/breadcrumb_divider.png) no-repeat;
194
+ float: left;
195
+ margin: 0 5px;
196
+ }
197
+
198
+ /* Sidebar */
199
+
200
+ aside#sidebar {
201
+ width: 23%;
202
+ background: #E0E0E3 url(../images/_ui/sidebar.png) repeat;
203
+ float: left;
204
+ min-height: 500px;
205
+ margin-top: -4px;
206
+ }
207
+
208
+ /* Search */
209
+
210
+ .quick_search {
211
+ text-align: center;
212
+ padding: 14px 0 10px 0;
213
+ }
214
+
215
+ .quick_search input[type=text] {
216
+ -webkit-border-radius: 20px;
217
+ -moz-border-radius: 20px;
218
+ border-radius: 20px;
219
+ border: 1px solid #bbb;
220
+ height: 26px;
221
+ width: 90%;
222
+ color: #ccc;
223
+ -webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
224
+ -moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
225
+ box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
226
+ text-indent: 30px;
227
+ background: #fff url(../images/_ui/icn_search.png) no-repeat;
228
+ background-position: 10px 6px;
229
+ }
230
+
231
+ .quick_search input[type=text]:focus {
232
+ outline: none;
233
+ color: #666666;
234
+ border: 1px solid #77BACE;
235
+ -webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
236
+ -moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
237
+ box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
238
+ }
239
+
240
+ /* Sidebar Menu */
241
+
242
+ .toggleLink {
243
+ color: #999999;
244
+ font-size: 10px;
245
+ text-decoration: none;
246
+ display: block;
247
+ float: right;
248
+ margin-right: 2%
249
+ }
250
+
251
+ #sidebar .toggleLink:hover {
252
+ color: #77BACE;
253
+ text-decoration: none;
254
+ }
255
+
256
+ #sidebar {
257
+ h3 {
258
+ color: #1F1F20;
259
+ text-transform: uppercase;
260
+ text-shadow: 0 1px 0 #fff;
261
+ font-size: 13px;
262
+ margin: 10px 0 10px 6%;
263
+ display: block;
264
+ width: 90%;
265
+ }
266
+ .pagination {
267
+ display:block;
268
+ font-size:13px;
269
+ margin:0 0 2px 12%;
270
+ a, em {
271
+ float:left;
272
+ display:block;
273
+ padding: 1px 6px;
274
+ }
275
+ a:hover, em {
276
+ background:white;
277
+ }
278
+ .previous_page, .next_page {
279
+ display:none;
280
+ }
281
+ }
282
+ hr {
283
+ border: none;
284
+ outline: none;
285
+ background: url(../images/_ui/sidebar_divider.png) repeat-x;
286
+ display: block;
287
+ width: 100%;
288
+ height: 2px;
289
+ }
290
+ ul {
291
+ clear: both;
292
+ margin: 0; padding: 0;
293
+
294
+ li {
295
+ list-style: square inside;
296
+ margin: 0 0 0 6%; padding: 0 0 0 9px;
297
+
298
+ a {
299
+ color: #333;
300
+ padding-left: 2px;
301
+ text-decoration: none;
302
+ display: inline-block;
303
+ height: 17px;
304
+ line-height: 17px;
305
+ margin: 2px 0;
306
+
307
+ &:visited {
308
+ color:#2e3192;
309
+ }
310
+ }
311
+ }
312
+ }
313
+
314
+ form li {
315
+ list-style:none;
316
+ padding:0;
317
+ }
318
+ }
319
+
320
+ #sidebar li a:hover {
321
+ color: #444444;
322
+ }
323
+
324
+ /* Sidebar Icons */
325
+
326
+ #sidebar li.icn_new_article a {
327
+ background: url(../images/_ui/icn_new_article.png) no-repeat center left;
328
+ }
329
+ #sidebar li.icn_edit_article a {
330
+ background: url(../images/_ui/icn_edit_article.png) no-repeat center left;
331
+ }
332
+ #sidebar li.icn_categories a {
333
+ background: url(../images/_ui/icn_categories.png) no-repeat center left;
334
+ }
335
+ #sidebar li.icn_tags a {
336
+ background: url(../images/_ui/icn_tags.png) no-repeat center left;
337
+ }
338
+ #sidebar li.icn_add_user a {
339
+ background: url(../images/_ui/icn_add_user.png) no-repeat center left;
340
+ }
341
+ #sidebar li.icn_view_users a {
342
+ background: url(../images/_ui/icn_view_users.png) no-repeat center left;
343
+ }
344
+ #sidebar li.icn_profile a {
345
+ background: url(../images/_ui/icn_profile.png) no-repeat center left;
346
+ }
347
+ #sidebar li.icn_folder a {
348
+ background: url(../images/_ui/icn_folder.png) no-repeat center left;
349
+ }
350
+ #sidebar li.icn_photo a {
351
+ background: url(../images/_ui/icn_photo.png) no-repeat center left;
352
+ }
353
+ #sidebar li.icn_audio a {
354
+ background: url(../images/_ui/icn_audio.png) no-repeat center left;
355
+ }
356
+ #sidebar li.icn_video a {
357
+ background: url(../images/_ui/icn_video.png) no-repeat center left;
358
+ }
359
+ #sidebar li.icn_settings a {
360
+ background: url(../images/_ui/icn_settings.png) no-repeat center left;
361
+ }
362
+ #sidebar li.icn_security a {
363
+ background: url(../images/_ui/icn_security.png) no-repeat center left;
364
+ }
365
+ #sidebar li.icn_jump_back a {
366
+ background: url(../images/_ui/icn_jump_back.png) no-repeat center left;
367
+ }
368
+
369
+ #sidebar p {
370
+ color: #666666;
371
+ padding-left: 6%;
372
+ text-shadow: 0 1px 0 #fff;
373
+ margin: 10px 0 0 0;}
374
+
375
+ #sidebar a {
376
+ color: #666666;
377
+ text-decoration: none;
378
+ }
379
+
380
+ #sidebar a:hover {
381
+ text-decoration: underline;
382
+ }
383
+
384
+ #sidebar footer {
385
+ margin-top: 20%;
386
+ }
387
+
388
+
389
+ /* Main Content */
390
+
391
+
392
+ section#main {
393
+ width: 77%;
394
+ min-height: 500px;
395
+ background: url(../images/_ui/sidebar_shadow.png) repeat-y left top;
396
+ float: left;
397
+ margin-top: -2px;
398
+ }
399
+
400
+ #main h3 {
401
+ color: #1F1F20;
402
+ text-shadow: 0 1px 0 #fff;
403
+ font-size: 13px;
404
+ margin: 8px 20px;
405
+ }
406
+
407
+ /* Modules */
408
+
409
+ .module {
410
+ border: 1px solid #ddd;
411
+ width: 100%;
412
+ margin: 20px 3% 0 3%;
413
+ margin-top: 20px;
414
+ -webkit-border-radius: 5px;
415
+ -moz-border-radius: 5px;
416
+ border-radius: 5px;
417
+ background: #ffffff;
418
+ }
419
+
420
+ #main .module header h3 {
421
+ display: block;
422
+ width: 90%;
423
+ float: left;
424
+ }
425
+
426
+ .module header {
427
+ height: 38px;
428
+ width: 100%;
429
+ background: #F1F1F4 url(../images/_ui/secondary_bar.png) repeat-x;
430
+ -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px;
431
+ -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
432
+ border-top-left-radius: 5px; border-top-right-radius: 5px;
433
+ }
434
+
435
+ .module footer {
436
+ height: 32px;
437
+ width: 100%;
438
+ border-top: 1px solid #9CA1B0;
439
+ background: #F1F1F4 url(../images/_ui/module_footer_bg.png) repeat-x;
440
+ -webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px;
441
+ -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px;
442
+ -webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px;
443
+ }
444
+
445
+ .module_content {
446
+ margin: 10px 20px;
447
+ color: #666;}
448
+
449
+ /* Module Widths */
450
+
451
+ .width_full {
452
+ width: 95%;
453
+ }
454
+
455
+ .width_half {
456
+ width: 46%;
457
+ margin-right: 0;
458
+ float: left;
459
+ }
460
+
461
+ .width_quarter {
462
+ width: 26%;
463
+ margin-right: 0;
464
+ float: left;
465
+ }
466
+
467
+ .width_3_quarter {
468
+ width: 66%;
469
+ margin-right: 0;
470
+ float: left;
471
+ }
472
+
473
+ /* Stats Module */
474
+
475
+ .stats_graph {
476
+ width: 64%;
477
+ float: left;
478
+ }
479
+
480
+ .stats_overview {
481
+ background: #F6F6F6;
482
+ border: 1px solid #ccc;
483
+ float: right;
484
+ width: 26%;
485
+ -webkit-border-radius: 5px;
486
+ -moz-border-radius: 5px;
487
+ border-radius: 5px;
488
+ }
489
+
490
+ .overview_today, .overview_previous {
491
+ width: 50%;
492
+ float: left;}
493
+
494
+ .stats_overview p {
495
+ margin: 0; padding: 0;
496
+ text-align: center;
497
+ text-transform: uppercase;
498
+ text-shadow: 0 1px 0 #fff;
499
+ }
500
+
501
+ .stats_overview p.overview_day {
502
+ font-size: 12px;
503
+ font-weight: bold;
504
+ margin: 6px 0;
505
+ }
506
+
507
+ .stats_overview p.overview_count {
508
+ font-size: 26px;
509
+ font-weight: bold;
510
+ color: #333333;}
511
+
512
+ .stats_overview p.overview_type {
513
+ font-size: 10px;
514
+ color: #999999;
515
+ margin-bottom: 8px}
516
+
517
+ /* Content Manager */
518
+ .selected {
519
+ font-weight:bold;
520
+ background:white;
521
+ }
522
+
523
+ table {
524
+ width: 100%;
525
+ margin: -5px 0 0 0;
526
+ border-spacing:0;
527
+
528
+ td{
529
+ margin: 0;
530
+ padding: 15px 10px;
531
+ border-bottom: 1px dotted #ccc;
532
+ }
533
+
534
+ thead tr {
535
+ height: 34px;
536
+ background: url(../images/_ui/table_sorter_header.png) repeat-x;
537
+ text-align: left;
538
+ text-indent: 10px;
539
+ cursor: pointer;
540
+ }
541
+
542
+ .tablesorter input[type=image] {
543
+ margin-right: 10px;
544
+ }
545
+ }
546
+
547
+ ul.tabs {
548
+ margin: 3px 10px 0 0;
549
+ padding: 0;
550
+ float: right;
551
+ list-style: none;
552
+ height: 24px; /*--Set height of tabs--*/
553
+ -webkit-border-radius: 5px;
554
+ -moz-border-radius: 5px;
555
+ border-radius: 5px;
556
+ -webkit-box-shadow: 0 1px 0 #fff;
557
+ -moz-box-shadow: 0 1px 0 #fff;
558
+ box-shadow: 0 1px 0 #fff;
559
+ border: 1px solid #ccc;
560
+ font-weight: bold;
561
+ text-shadow: 0 1px 0 #fff;
562
+ }
563
+ ul.tabs li {
564
+ float: left;
565
+ margin: 0;
566
+ padding: 0;
567
+ line-height: 24px;
568
+ }
569
+ ul.tabs li a {
570
+ text-decoration: none;
571
+ color: #999;
572
+ display: block;
573
+ padding: 0 10px;
574
+ height: 24px;
575
+ }
576
+
577
+ ul.tabs li a:hover {
578
+ color: #44474F;
579
+ }
580
+
581
+ html ul.tabs li.active a {
582
+ color: #44474F;
583
+ }
584
+
585
+ html ul.tabs li.active, html ul.tabs li.active a:hover {
586
+ background: #F1F2F4;
587
+ -webkit-box-shadow: inset 0 2px 3px #818181;
588
+ -moz-box-shadow: inset 0 2px 3px #818181;
589
+ box-shadow: inset 0 2px 3px #818181;
590
+ }
591
+
592
+ html ul.tabs li:first-child, html ul.tabs li:first-child a {
593
+ -webkit-border-top-left-radius: 5px; -webkit-border-bottom-left-radius: 5px;
594
+ -moz-border-radius-topleft: 5px; -moz-border-radius-bottomleft: 5px;
595
+ border-top-left-radius: 5px; border-bottom-left-radius: 5px;
596
+ }
597
+
598
+ html ul.tabs li:last-child, html ul.tabs li:last-child a {
599
+ -webkit-border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 5px;
600
+ -moz-border-radius-topright: 5px; -moz-border-radius-bottomright: 5px;
601
+ border-top-right-radius: 5px; border-bottom-right-radius: 5px;
602
+ }
603
+
604
+ #main .module header h3.tabs_involved {
605
+ display: block;
606
+ width: 60%;
607
+ float: left;
608
+ }
609
+
610
+ /* Messages */
611
+
612
+ .message {
613
+ border-bottom: 1px dotted #cccccc;
614
+ }
615
+
616
+ input[type=submit] {
617
+ background: #D0D1D4 url(../images/_ui/btn_submit.png) repeat-x;
618
+ border: 1px solid #A8A9A8;
619
+ -webkit-box-shadow: 0 1px 0 #fff;
620
+ -moz-box-shadow: 0 1px 0 #fff;
621
+ box-shadow: 0 1px 0 #fff;
622
+ font-weight: bold;
623
+ height: 22px;
624
+ -webkit-border-radius: 5px;
625
+ -moz-border-radius: 5px;
626
+ border-radius: 5px;
627
+ padding: 0 10px;
628
+ color: #666;
629
+ text-shadow: 0 1px 0 #fff;
630
+ cursor: pointer;
631
+ }
632
+
633
+ input[type=submit]:hover {
634
+ color: #333333;
635
+ }
636
+
637
+ input[type=submit].alt_btn {
638
+ background: #D0D1D4 url(../images/_ui/btn_submit_2.png) repeat-x;
639
+ border: 1px solid#30B0C8;
640
+ -webkit-box-shadow: 0 1px 0 #fff;
641
+ -moz-box-shadow: 0 1px 0 #fff;
642
+ box-shadow: 0 1px 0 #fff;
643
+ font-weight: bold;
644
+ height: 22px;
645
+ -webkit-border-radius: 5px;
646
+ -moz-border-radius: 5px;
647
+ border-radius: 5px;
648
+ padding: 0 10px;
649
+ color: #003E49;
650
+ text-shadow: 0 1px 0 #6CDCF9;
651
+ cursor: pointer;
652
+ }
653
+
654
+ input[type=submit].alt_btn:hover {
655
+ color: #001217;
656
+ }
657
+
658
+ input[type=submit].btn_post_message {
659
+ background: #D0D1D4 url(../images/_ui/post_message.png) no-repeat;
660
+ display: block;
661
+ width: 37px;
662
+ border: none;
663
+ height: 24px;
664
+ cursor: pointer;
665
+ text-indent: -5000px;
666
+ }
667
+
668
+ input[type=submit].btn_post_message:hover {
669
+ background-position: 0 -24px;
670
+ }
671
+
672
+ .post_message {
673
+ text-align: left;
674
+ padding: 5px 0;
675
+ }
676
+
677
+ .post_message input[type=text] {
678
+ -webkit-border-radius: 5px;
679
+ -moz-border-radius: 5px;
680
+ border-radius: 5px;
681
+ border: 1px solid #bbb;
682
+ height: 20px;
683
+ width: 70%;
684
+ color: #ccc;
685
+ -webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
686
+ -moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
687
+ box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
688
+ text-indent: 10px;
689
+ background-position: 10px 6px;
690
+ float: left;
691
+ margin: 0 3.5%;
692
+ }
693
+
694
+ .post_message input[type=text]:focus {
695
+ outline: none;
696
+ border: 1px solid #77BACE;
697
+ -webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
698
+ -moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
699
+ box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
700
+ color: #666666;
701
+ }
702
+
703
+ .post_message input[type=image] {
704
+ float: left;
705
+ }
706
+
707
+ .message_list {
708
+ height: 250px;
709
+ overflow-x:hidden;
710
+ overflow-y: scroll;
711
+ }
712
+
713
+ /* New/Edit Article Module */
714
+
715
+ fieldset {
716
+ -webkit-border-radius: 5px;
717
+ -moz-border-radius: 5px;
718
+ border-radius: 5px;
719
+ background: #F6F6F6;
720
+ border: 1px solid #ccc;
721
+ padding: 1% 0%;
722
+ margin: 10px 0;
723
+ }
724
+
725
+ fieldset label {
726
+ display: block;
727
+ float: left;
728
+ width: 200px;
729
+ height: 25px;
730
+ line-height: 25px;
731
+ text-shadow: 0 1px 0 #fff;
732
+ font-weight: bold;
733
+ padding-left: 10px;
734
+ margin: -5px 0 5px 0;
735
+ text-transform: uppercase;
736
+ }
737
+
738
+ fieldset input[type=text] {
739
+ -webkit-border-radius: 5px;
740
+ -moz-border-radius: 5px;
741
+ border-radius: 5px;
742
+ border: 1px solid #BBBBBB;
743
+ height: 20px;
744
+ color: #666666;
745
+ -webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
746
+ -moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
747
+ box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
748
+ padding-left: 10px;
749
+ background-position: 10px 6px;
750
+ margin: 0;
751
+ display: block;
752
+ float: left;
753
+ width: 96%;
754
+ margin: 0 10px;
755
+ }
756
+
757
+ fieldset input[type=text]:focus {
758
+ outline: none;
759
+ border: 1px solid #77BACE;
760
+ -webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
761
+ -moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
762
+ box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
763
+ }
764
+
765
+ fieldset select {
766
+ width: 96%;
767
+ margin: 0 10px;
768
+ border: 1px solid #bbb;
769
+ height: 20px;
770
+ color: #666666;
771
+ }
772
+
773
+ fieldset textarea {
774
+ -webkit-border-radius: 5px;
775
+ -moz-border-radius: 5px;
776
+ border-radius: 5px;
777
+ border: 1px solid #BBBBBB;
778
+ color: #666666;
779
+ -webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
780
+ -moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
781
+ box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
782
+ padding-left: 10px;
783
+ background-position: 10px 6px;
784
+ margin: 0 0.5%;
785
+ display: block;
786
+ float: left;
787
+ width: 96%;
788
+ margin: 0 10px;
789
+ }
790
+
791
+ fieldset textarea:focus {
792
+ outline: none;
793
+ border: 1px solid #77BACE;
794
+ -webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
795
+ -moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
796
+ box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
797
+ }
798
+
799
+ .submit_link {
800
+ float: right;
801
+ margin-right: 3%;
802
+ padding: 5px 0;
803
+ }
804
+
805
+ .submit_link select {
806
+ width: 150px;
807
+ border: 1px solid #bbb;
808
+ height: 20px;
809
+ color: #666666;
810
+ }
811
+
812
+ #main .module_content h1 {
813
+ color: #333333;
814
+ text-transform: none;
815
+ text-shadow: 0 1px 0 #fff;
816
+ font-size: 22px;
817
+ margin: 8px 0px;
818
+ }
819
+
820
+ #main .module_content h2 {
821
+ color: #444444;
822
+ text-transform: none;
823
+ text-shadow: 0 1px 0 #fff;
824
+ font-size: 18px;
825
+ margin: 8px 0px;
826
+ }
827
+
828
+ #main .module_content h3 {
829
+ color: #666666;
830
+ text-transform: uppercase;
831
+ text-shadow: 0 1px 0 #fff;
832
+ font-size: 13px;
833
+ margin: 8px 0px;
834
+ }
835
+
836
+ #main .module_content h4 {
837
+ color: #666666;
838
+ text-transform: none;
839
+ text-shadow: 0 1px 0 #fff;
840
+ font-size: 13px;
841
+ margin: 8px 0px;
842
+ }
843
+
844
+ #main .module_content li {
845
+ line-height: 150%;
846
+ }
847
+
848
+ /* Alerts */
849
+
850
+ #main h4.alert_info {
851
+ display: block;
852
+ width: 95%;
853
+ margin: 20px 3% 0 3%;
854
+ margin-top: 20px;
855
+ -webkit-border-radius: 5px;
856
+ -moz-border-radius: 5px;
857
+ border-radius: 5px;
858
+ background: #B5E5EF url(../images/_ui/icn_alert_info.png) no-repeat;
859
+ background-position: 10px 10px;
860
+ border: 1px solid #77BACE;
861
+ color: #082B33;
862
+ padding: 10px 0;
863
+ text-indent: 40px;
864
+ font-size: 14px;}
865
+
866
+ #main h4.alert_warning {
867
+ display: block;
868
+ width: 95%;
869
+ margin: 20px 3% 0 3%;
870
+ margin-top: 20px;
871
+ -webkit-border-radius: 5px;
872
+ -moz-border-radius: 5px;
873
+ border-radius: 5px;
874
+ background: #F5F3BA url(../images/_ui/icn_alert_warning.png) no-repeat;
875
+ background-position: 10px 10px;
876
+ border: 1px solid #C7A20D;
877
+ color: #796616;
878
+ padding: 10px 0;
879
+ text-indent: 40px;
880
+ font-size: 14px;}
881
+
882
+ #main h4.alert_error {
883
+ display: block;
884
+ width: 95%;
885
+ margin: 20px 3% 0 3%;
886
+ margin-top: 20px;
887
+ -webkit-border-radius: 5px;
888
+ -moz-border-radius: 5px;
889
+ border-radius: 5px;
890
+ background: #F3D9D9 url(../images/_ui/icn_alert_error.png) no-repeat;
891
+ background-position: 10px 10px;
892
+ border: 1px solid #D20009;
893
+ color: #7B040F;
894
+ padding: 10px 0;
895
+ text-indent: 40px;
896
+ font-size: 14px;}
897
+
898
+ #main h4.alert_success {
899
+ display: block;
900
+ width: 95%;
901
+ margin: 20px 3% 0 3%;
902
+ margin-top: 20px;
903
+ -webkit-border-radius: 5px;
904
+ -moz-border-radius: 5px;
905
+ border-radius: 5px;
906
+ background: #E2F6C5 url(../images/_ui/icn_alert_success.png) no-repeat;
907
+ background-position: 10px 10px;
908
+ border: 1px solid #79C20D;
909
+ color: #32510F;
910
+ padding: 10px 0;
911
+ text-indent: 40px;
912
+ font-size: 14px;}
913
+
914
+
915
+ #main table {
916
+ p {
917
+ margin-top:0;
918
+ }
919
+
920
+ td.label {
921
+ width:120px;
922
+ font-weight:bold;
923
+ text-align:right;
924
+ vertical-align:top;
925
+ }
926
+
927
+ td.value {
928
+ white-space:nowrap;
929
+ overflow-x:auto;
930
+ }
931
+
932
+ ul {
933
+ list-style:none;
934
+ margin:0;
935
+ padding:0;
936
+ li {
937
+ margin:0;
938
+ padding:0;
939
+
940
+ ul {
941
+ margin-left:5px;
942
+ }
943
+ }
944
+ }
945
+ }