Changeset 1909


Ignore:
Timestamp:
Jun 1, 2011, 4:06:18 PM (8 years ago)
Author:
work@…
Message:

Automated continuous integration commit of minified JS/CSS

Location:
trunk/web-app
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/web-app/css/buttons.min.css

    r1810 r1909  
    1 .options{margin-top:8px;}.options.multiple{float:left;width:300px;}.options a{font-size:10px;margin-right:10px;font-weight:bold;padding-top:2px;padding-bottom:2px;line-height:20px;padding-left:28px;background-position:5px 50%;background-repeat:no-repeat;}.options .separator{margin-left:25px;}#content .options a.disabled{color:#aaa;cursor:default;}.options a.next{background-image:url(../plugins/famfamfam-1.0.1/images/icons/arrow_right.png);}.options a.previous{background-image:url(../plugins/famfamfam-1.0.1/images/icons/arrow_left.png);}.options a.save{background-image:url(../plugins/famfamfam-1.0.1/images/icons/page_save.png);}.options a.open{background-image:url(../plugins/famfamfam-1.0.1/images/icons/page.png);}.options a.skip{background-image:url(../plugins/famfamfam-1.0.1/images/icons/control_end_blue.png);}.options a.view{background-image:url(../plugins/famfamfam-1.0.1/images/icons/application_form_magnify.png);}.options a.restart{background-image:url(../plugins/famfamfam-1.0.1/images/icons/arrow_redo.png);}.options a.edit{background-image:url(../plugins/famfamfam-1.0.1/images/icons/application_form_edit.png);}.options a.performAction{background-image:url(../plugins/famfamfam-1.0.1/images/icons/brick_go.png);}.options a.excel{background-image:url(../plugins/famfamfam-1.0.1/images/icons/page_excel.png);}.options a.searchIn{background-image:url(../plugins/famfamfam-1.0.1/images/icons/arrow_branch.png);}.options a.search{background-image:url(../plugins/famfamfam-1.0.1/images/icons/arrow_undo.png);}.options a.discard{background-image:url(../plugins/famfamfam-1.0.1/images/icons/basket_remove.png);}.options a.listPrevious{background-image:url(../plugins/famfamfam-1.0.1/images/icons/basket.png);}.options a.combine{background-image:url(../plugins/famfamfam-1.0.1/images/icons/arrow_join.png);}
     1.options{margin-top:8px;}.options.multiple{float:left;width:300px;}.options a{font-size:10px;margin-right:10px;font-weight:bold;padding-top:2px;padding-bottom:2px;line-height:20px;padding-left:28px;background-position:5px 50%;background-repeat:no-repeat;}.options .separator{margin-left:25px;}#content .options a.disabled{color:#aaa;cursor:default;}.options a.next{background-image:url(../plugins/famfamfam-1.0.1/images/icons/arrow_right.png);}.options a.previous{background-image:url(../plugins/famfamfam-1.0.1/images/icons/arrow_left.png);}.options a.save{background-image:url(../plugins/famfamfam-1.0.1/images/icons/page_save.png);}.options a.open{background-image:url(../plugins/famfamfam-1.0.1/images/icons/page.png);}.options a.skip{background-image:url(../plugins/famfamfam-1.0.1/images/icons/control_end_blue.png);}.options a.view{background-image:url(../plugins/famfamfam-1.0.1/images/icons/application_form_magnify.png);}.options a.restart{background-image:url(../plugins/famfamfam-1.0.1/images/icons/arrow_redo.png);}.options a.edit{background-image:url(../plugins/famfamfam-1.0.1/images/icons/application_form_edit.png);}.options a.performAction{background-image:url(../plugins/famfamfam-1.0.1/images/icons/brick_go.png);}.options a.refineSearch{background-image:url(../plugins/famfamfam-1.0.1/images/icons/magnifier.png);}.options a.excel{background-image:url(../plugins/famfamfam-1.0.1/images/icons/page_excel.png);}.options a.searchIn{background-image:url(../plugins/famfamfam-1.0.1/images/icons/arrow_branch.png);}.options a.search{background-image:url(../plugins/famfamfam-1.0.1/images/icons/arrow_undo.png);}.options a.discard{background-image:url(../plugins/famfamfam-1.0.1/images/icons/basket_remove.png);}.options a.listPrevious{background-image:url(../plugins/famfamfam-1.0.1/images/icons/basket.png);}.options a.combine{background-image:url(../plugins/famfamfam-1.0.1/images/icons/arrow_join.png);}
  • trunk/web-app/js/advancedQuery.min.js

    r1879 r1909  
    1 $(function(){$("#queryFieldSelect").after($('<input type="text" class="text" id="queryFieldText">'));$("#queryFieldText").after($('<input type="hidden" name="criteria.0.entityfield" id="queryField"></span>'));$("#queryFieldSelect").remove();$("#queryFieldText").autocomplete({minLength:0,source:queryableFields,focus:function(a,b){$("#queryFieldText").val(b.item.show);return false},select:function(a,b){selectQueryableFieldItem(b.item);return false},change:function(c,d){if($("#queryFieldText").val().trim()==""){selectQueryableFieldItem(null)}else{if(d.item==null){var b=$("#queryFieldText").autocomplete().data("autocomplete");var a=$.ui.autocomplete.filter(queryableFields,$("#queryFieldText").val());if(a&&a.length>0){selectQueryableFieldItem(a[0])}else{selectQueryableFieldItem(null)}}}}}).data("autocomplete")._renderItem=function(a,b){return $("<li></li>").data("item.autocomplete",b).append("<a>"+b.show+" <span class='entity'>"+b.entity+"</span></a>").appendTo(a)}});function selectQueryableFieldItem(b){var a="";var c="";if(b!=null){a=b.show;c=b.value;$("#queryFieldText").val(a)}$("#queryField").val(c);if(c==""){$("#queryFieldText").css("background-color","#FDD");$(".newCriterion .addButton a").addClass("disabled")}else{$("#queryFieldText").css("background-color","white");$(".newCriterion .addButton a").removeClass("disabled")}toggleSearchButton()}function toggleSearchButton(){if($("#criteria li:not(.newCriterion):not(.titlerow)").length==0&&$("#queryField").val()==""){$(".submitcriteria").attr("disabled",true)}else{$(".submitcriteria").removeAttr("disabled")}}var criteriumId=1;function addCriterion(){var c=$("#searchForm #queryField").val();var b=$("#searchForm input#value").val();var a=$("#searchForm select#operator").val();if(c==""){alert("Please select a field to search in.");return}showCriterium(c,b,a);toggleSearchMode();$("#searchForm #queryFieldText").val("");$("#searchForm #queryField").val("");$("#searchForm select#operator").val("equals");$("#searchForm input#value").val("");$("#searchForm .newCriterion .addButton a").addClass("disabled")}function removeCriterium(a){a.remove();toggleSearchMode();toggleSearchButton()}function toggleSearchMode(){if($("#criteria li:not(.newCriterion):not(.titlerow)").length==0){$("#searchMode").hide()}else{$("#searchMode").show()}}function showCriterium(e,g,a){var d=createCriteriumElement("entityfield",e);var c=createCriteriumElement("operator",a);var b;if(a=="in"){b=createInSearchElement("value",g)}else{b=createCriteriumElement("value",g)}var f=$('<a href="#" onClick="return false;"><img src="../plugins/famfamfam-1.0.1/images/icons/delete.png" border="0"></a>');f.bind("click",function(){if(confirm("Are you sure you want to remove this criterium?")){removeCriterium($(this).closest("li"));return false}});var h=$("<span></span>");h.append("\n").append(f);criteriumId++;var i=$("<li></li>");i.append(d).append("\n").append(c).append("\n").append(b).append("\n").append(h);$("#criteria .newCriterion").before(i)}function createCriteriumElement(c,b){var d=$('<span class="'+c+'"></span>');d.text(b);var a=$('<input type="hidden" name="criteria.'+criteriumId+"."+c+'" />');a.val(b);d.append(a);return d}function createInSearchElement(e,d){var c=$('<a class="'+e+'" href="'+baseUrl+"/advancedQuery/show/"+d+'"></a>');c.text("Search "+d);var b=$('<input type="hidden" name="criteria.'+criteriumId+"."+e+'" />');b.val(d);c.append(b);c.bind("click",function(){location.href=c.attr("href");return false});return c};
     1$(function(){$("#queryFieldSelect").after($('<input type="text" class="text" id="queryFieldText">'));$("#queryFieldText").after($('<input type="hidden" name="criteria.0.entityfield" id="queryField"></span>'));$("#queryFieldSelect").remove();$("#queryFieldText").autocomplete({minLength:0,source:queryableFields,focus:function(a,b){$("#queryFieldText").val(b.item.show);return false},select:function(a,b){selectQueryableFieldItem(b.item);return false},change:function(c,d){if($("#queryFieldText").val().trim()==""){selectQueryableFieldItem(null)}else{if(d.item==null){var b=$("#queryFieldText").autocomplete().data("autocomplete");var a=$.ui.autocomplete.filter(queryableFields,$("#queryFieldText").val());if(a&&a.length>0){selectQueryableFieldItem(a[0])}else{selectQueryableFieldItem(null)}}}}}).data("autocomplete")._renderItem=function(a,b){return $("<li></li>").data("item.autocomplete",b).append("<a>"+b.show+" <span class='entity'>"+b.entity+"</span></a>").appendTo(a)}});function selectQueryableFieldItem(b){var a="";var c="";if(b!=null){a=b.show;c=b.value;$("#queryFieldText").val(a)}$("#queryField").val(c);if(c==""){$("#queryFieldText").css("background-color","#FDD");$(".newCriterion .addButton a").addClass("disabled")}else{$("#queryFieldText").css("background-color","white");$(".newCriterion .addButton a").removeClass("disabled")}toggleSearchButton()}function toggleSearchButton(){if($("#criteria li:not(.newCriterion):not(.titlerow)").length==0&&$("#queryField").val()==""){$(".submitcriteria").attr("disabled",true)}else{$(".submitcriteria").removeAttr("disabled")}}var criteriumId=1;function addCriterion(){var c=$("#searchForm #queryField").val();var b=$("#searchForm input#value").val();var a=$("#searchForm select#operator").val();if(c==""){alert("Please select a field to search in.");return}showCriterium(c,b,a);toggleSearchMode();$("#searchForm #queryFieldText").val("");$("#searchForm #queryField").val("");$("#searchForm select#operator").val("equals");$("#searchForm input#value").val("");$("#searchForm .newCriterion .addButton a").addClass("disabled")}function removeCriterium(a){a.remove();toggleSearchMode();toggleSearchButton()}function toggleSearchMode(){if($("#criteria li:not(.newCriterion):not(.titlerow)").length==0){$("#searchMode").hide()}else{$("#searchMode").show()}}function showCriterium(e,g,a){var d=createCriteriumElement("entityfield",e);var c=createCriteriumElement("operator",a);var b;if(a=="in"){b=createInSearchElement("value",g)}else{b=createCriteriumElement("value",g)}var f=$('<a href="#" onClick="return false;"><img src="../plugins/famfamfam-1.0.1/images/icons/delete.png" border="0"></a>');f.bind("click",function(){if(confirm("Are you sure you want to remove this criterium?")){removeCriterium($(this).closest("li"));return false}});var h=$("<span></span>");h.append("\n").append(f);criteriumId++;var i=$("<li></li>");i.append(d).append("\n").append(c).append("\n").append(b).append("\n").append(h);$("#criteria .newCriterion").before(i)}function createCriteriumElement(c,b){var d=$('<span class="'+c+'"></span>');d.text(b);var a=$('<input type="hidden" name="criteria.'+criteriumId+"."+c+'" />');a.val(b);d.append(a);return d}function createInSearchElement(e,d){var c=$('<a class="'+e+'" href="'+d.url+'"></a>');c.text(d.description);var b=$('<input type="hidden" name="criteria.'+criteriumId+"."+e+'" />');b.val(d.id);c.append(b);c.bind("click",function(){location.href=c.attr("href");return false});return c};
  • trunk/web-app/js/advancedQueryResults.min.js

    r1810 r1909  
    1 function checkAllPaginated(f){var e=$(f).closest(".paginate");var h=e.closest(".dataTables_wrapper");var d=$("#checkAll",e);var c=e.dataTable();var b=$("input[type=checkbox]",c.fnGetNodes());var a=false;for(var g=0;g<b.length;g++){if(!$(b[g]).attr("checked")){a=true;break}}b.each(function(i,j){$(j).attr("checked",a)});updateCheckAll(d)}function updateCheckAll(e){var d=$(e).closest(".paginate");var h=d.closest(".dataTables_wrapper");var c=$("#checkAll",d);var b=d.dataTable();var a=$("input[type=checkbox]",b.fnGetNodes());var g=0;for(var f=0;f<a.length;f++){if($(a[f]).attr("checked")){g++}}c.attr("checked",g>0);if(g>0&&g<a.length){c.addClass("transparent")}else{c.removeClass("transparent")}}function submitForm(b,a){if(b==undefined||!b){return}b.attr("action",baseUrl+a);b.submit()}function performAction(e,f,c,b){if(b==undefined){b="/advancedQuery/performAction"}$("input.created").remove();var d=false;var a=$("#searchresults").dataTable();$("input",a.fnGetNodes()).each(function(g,i){var h=$(i);if(h.attr("name")=="uuid"&&$(i).attr("checked")){d=true;e.append($('<input type="hidden" name="tokens" value="'+h.attr("value")+'" class="created" />'))}});if(!d){alert("Please pick at least one result to perform this action on.");return}$("[name=actionName]",e).val(f);$("[name=moduleName]",e).val(c);e.attr("action",b);e.submit()};
     1function checkAllPaginated(f){var e=$(f).closest(".paginate");var h=e.closest(".dataTables_wrapper");var d=$("#checkAll",e);var c=e.dataTable();var b=$("input[type=checkbox]",c.fnGetNodes());var a=false;for(var g=0;g<b.length;g++){if(!$(b[g]).attr("checked")){a=true;break}}b.each(function(i,j){$(j).attr("checked",a)});updateCheckAll(d)}function updateCheckAll(e){var d=$(e).closest(".paginate");var h=d.closest(".dataTables_wrapper");var c=$("#checkAll",d);var b=d.dataTable();var a=$("input[type=checkbox]",b.fnGetNodes());var g=0;for(var f=0;f<a.length;f++){if($(a[f]).attr("checked")){g++}}c.attr("checked",g>0);if(g>0&&g<a.length){c.addClass("transparent")}else{c.removeClass("transparent")}}function submitForm(b,a){if(b==undefined||!b){return}b.attr("action",baseUrl+a);b.submit()}function performAction(f,g,c,b,d){if(b==undefined){b="/advancedQuery/performAction"}if(d==undefined){d=false}$("input.created").remove();var e=false;var a=$("#searchresults").dataTable();$("input",a.fnGetNodes()).each(function(h,j){var i=$(j);if(i.attr("name")=="uuid"&&$(j).attr("checked")){e=true;f.append($('<input type="hidden" name="tokens" value="'+i.attr("value")+'" class="created" />'))}});if(!e){if(d){$("input",a.fnGetNodes()).each(function(h,j){var i=$(j);if(i.attr("name")=="uuid"){e=true;f.append($('<input type="hidden" name="tokens" value="'+i.attr("value")+'" class="created" />'))}})}else{alert("Please pick at least one result to perform this action on.");return}}$("[name=actionName]",f).val(g);$("[name=moduleName]",f).val(c);f.attr("action",b);f.submit()};
Note: See TracChangeset for help on using the changeset viewer.