- Timestamp:
- 20 Sep 2012, 08:22:52 (12 years ago)
- Location:
- main/waeup.kofa/branches/uli-async-update
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-async-update
- Property svn:mergeinfo changed
/main/waeup.kofa/trunk merged: 9172,9178,9180,9182-9184,9186-9189,9191-9204
- Property svn:mergeinfo changed
-
main/waeup.kofa/branches/uli-async-update/src/waeup/kofa/browser/batchprocessing.txt
r9169 r9208 97 97 'Course Processor', 'CourseTicket Processor', 98 98 'Department Processor', 'Faculty Processor', 99 'Hostel Processor', 99 100 'Student Payment Processor', 'Student Processor', 100 101 'StudentStudyCourse Processor (update only)', … … 427 428 >>> browser.open('http://localhost/app/datacenter') 428 429 429 Prepare a CSV file for certificate courses:430 Prepare a CSV file for users: 430 431 431 432 >>> open('users.csv', 'wb').write( 432 433 ... """name,title,public_name,email,phone,roles 433 434 ... uli,Uli Fouquet,Chief Developer,uli@abc.de,+49-234-567 434 ... henrik, 435 ... henrik,Henrik Bettermann,Admin,henrik@abc.de,+49-234-567,['waeup.PortalManager'] 435 436 ... """) 436 437 -
main/waeup.kofa/branches/uli-async-update/src/waeup/kofa/browser/browser.txt
r9169 r9208 81 81 >>> browser.getControl(name="form.identifier").value = 'forgetful' 82 82 >>> browser.getControl(name="form.email").value = 'aa@aa.ng' 83 >>> browser.getControl(" Getlogin credentials").click()83 >>> browser.getControl("Send login credentials").click() 84 84 >>> print browser.contents 85 85 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... -
main/waeup.kofa/branches/uli-async-update/src/waeup/kofa/browser/pages.py
r9177 r9208 2218 2218 return None 2219 2219 2220 @action(_(' Get login credentials'), style='primary')2220 @action(_('Send login credentials to email address'), style='primary') 2221 2221 def request(self, **data): 2222 2222 if not self.captcha_result.is_valid: -
main/waeup.kofa/branches/uli-async-update/src/waeup/kofa/browser/static/jquery.dataTables.min.js
r6820 r9208 15 15 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 16 16 * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details. 17 * 18 * Customized by Henrik Bettermann: this.aLengthMenu, this._iDisplayLength, this._iDisplayEnd 19 * 17 20 */ 18 21 (function(j,ra,p){j.fn.dataTableSettings=[];var D=j.fn.dataTableSettings;j.fn.dataTableExt={};var n=j.fn.dataTableExt;n.sVersion="1.7.6";n.sErrMode="alert";n.iApiIndex=0;n.oApi={};n.afnFiltering=[];n.aoFeatures=[];n.ofnSearch={};n.afnSortData=[];n.oStdClasses={sPagePrevEnabled:"paginate_enabled_previous",sPagePrevDisabled:"paginate_disabled_previous",sPageNextEnabled:"paginate_enabled_next",sPageNextDisabled:"paginate_disabled_next",sPageJUINext:"",sPageJUIPrev:"",sPageButton:"paginate_button",sPageButtonActive:"paginate_active", … … 38 41 [];this.aoColumns=[];this.iNextId=0;this.asDataSearch=[];this.oPreviousSearch={sSearch:"",bRegex:false,bSmart:true};this.aoPreSearchCols=[];this.aaSorting=[[0,"asc",0]];this.aaSortingFixed=null;this.asStripClasses=[];this.asDestoryStrips=[];this.sDestroyWidth=0;this.fnFooterCallback=this.fnHeaderCallback=this.fnRowCallback=null;this.aoDrawCallback=[];this.fnInitComplete=null;this.sTableId="";this.nTableWrapper=this.nTBody=this.nTFoot=this.nTHead=this.nTable=null;this.bInitialised=false;this.aoOpenRows= 39 42 [];this.sDom="lfrtip";this.sPaginationType="two_button";this.iCookieDuration=7200;this.sCookiePrefix="SpryMedia_DataTables_";this.fnCookieCallback=null;this.aoStateSave=[];this.aoStateLoad=[];this.sAjaxSource=this.oLoadedState=null;this.bAjaxDataGet=true;this.fnServerData=function(a,b,c){j.ajax({url:a,data:b,success:c,dataType:"json",cache:false,error:function(d,f){f=="parsererror"&&alert("DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.")}})}; 40 this.fnFormatNumber=function(a){if(a<1E3)return a;else{var b=a+"";a=b.split("");var c="";b=b.length;for(var d=0;d<b;d++){if(d%3===0&&d!==0)c=","+c;c=a[b-d-1]+c}}return c};this.aLengthMenu=[10,25,50,100,1000,5000];this.bDrawing=this.iDraw=0;this.iDrawError=-1;this._iDisplayLength=10 ;this._iDisplayStart=0;this._iDisplayEnd=10;this._iRecordsDisplay=this._iRecordsTotal=0;this.bJUI=false;this.oClasses=n.oStdClasses;this.bSorted=this.bFiltered=false;this.oInit=null}function r(a){return function(){var b=[A(this[n.iApiIndex])].concat(Array.prototype.slice.call(arguments));43 this.fnFormatNumber=function(a){if(a<1E3)return a;else{var b=a+"";a=b.split("");var c="";b=b.length;for(var d=0;d<b;d++){if(d%3===0&&d!==0)c=","+c;c=a[b-d-1]+c}}return c};this.aLengthMenu=[10,25,50,100,1000,5000];this.bDrawing=this.iDraw=0;this.iDrawError=-1;this._iDisplayLength=1000;this._iDisplayStart=0;this._iDisplayEnd=1000;this._iRecordsDisplay=this._iRecordsTotal=0;this.bJUI=false;this.oClasses=n.oStdClasses;this.bSorted=this.bFiltered=false;this.oInit=null}function r(a){return function(){var b=[A(this[n.iApiIndex])].concat(Array.prototype.slice.call(arguments)); 41 44 return n.oApi[a].apply(this,b)}}function s(a){var b,c;if(a.bInitialised===false)setTimeout(function(){s(a)},200);else{sa(a);U(a);K(a,true);a.oFeatures.bAutoWidth&&$(a);b=0;for(c=a.aoColumns.length;b<c;b++)if(a.aoColumns[b].sWidth!==null)a.aoColumns[b].nTh.style.width=v(a.aoColumns[b].sWidth);if(a.oFeatures.bSort)O(a);else{a.aiDisplay=a.aiDisplayMaster.slice();E(a);C(a)}if(a.sAjaxSource!==null&&!a.oFeatures.bServerSide)a.fnServerData.call(a.oInstance,a.sAjaxSource,[],function(d){for(b=0;b<d.aaData.length;b++)u(a, 42 45 d.aaData[b]);a.iInitDisplayStart=a._iDisplayStart;if(a.oFeatures.bSort)O(a);else{a.aiDisplay=a.aiDisplayMaster.slice();E(a);C(a)}K(a,false);w(a,d)});else if(!a.oFeatures.bServerSide){K(a,false);w(a)}}}function w(a,b){a._bInitComplete=true;if(typeof a.fnInitComplete=="function")typeof b!="undefined"?a.fnInitComplete.call(a.oInstance,a,b):a.fnInitComplete.call(a.oInstance,a)}function y(a,b,c){o(a.oLanguage,b,"sProcessing");o(a.oLanguage,b,"sLengthMenu");o(a.oLanguage,b,"sEmptyTable");o(a.oLanguage, -
main/waeup.kofa/branches/uli-async-update/src/waeup/kofa/browser/templates/datacenterfinishedpage.pt
r9169 r9208 3 3 <tr> 4 4 <th i18n:translate="">File</th> 5 <th i18n:translate=""> Size</th>5 <th i18n:translate="">Datasets</th> 6 6 <th i18n:translate="">Upload Date</th> 7 7 </tr> … … 11 11 <td><a tal:attributes="href python: 'download?filename=' + file.rel_path" 12 12 tal:content="file/name">FILENAME</a></td> 13 <td tal:content=" file/size">12 k</td>13 <td tal:content="python: file.lines-1">12 k</td> 14 14 <td tal:content="file/uploaddate">Mar 12, 2008</td> 15 15 </tr> -
main/waeup.kofa/branches/uli-async-update/src/waeup/kofa/browser/templates/datacenterpage.pt
r9169 r9208 16 16 <th></th> 17 17 <th i18n:translate="">File</th> 18 <th i18n:translate=""> Size</th>18 <th i18n:translate="">Datasets</th> 19 19 <th i18n:translate="">Upload Date</th> 20 20 </tr> … … 28 28 <td><a tal:attributes="href python: 'download?filename=' + file.name" 29 29 tal:content="file/name">FILENAME</a></td> 30 <td tal:content=" file/size">12 k</td>30 <td tal:content="python: file.lines - 1">100</td> 31 31 <td tal:content="file/uploaddate">Mar 12, 2008</td> 32 32 </tr>
Note: See TracChangeset for help on using the changeset viewer.