Changeset 4579 for MILK


Ignore:
Timestamp:
09/12/08 16:10:21 (11 years ago)
Author:
cbyrom
Message:

Add animated watch icon for page loading and add this to config +
implement usage when ingesting granulite data - since this is very slow.

Location:
MILK/trunk/milk_server
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk.config

    r4524 r4579  
    6666navMinus:       %(icondir)snavigate_minus.png 
    6767navPlus:                %(icondir)snavigate_plus.png 
     68loadingIcon:    %(icondir)sloading.gif 
    6869 
    6970pageLogo:       %(layout)s20050502_albert-park_silhouetted-trees-and-clouds_02_cropped.jpg 
  • MILK/trunk/milk_server/milk_server/config/milkMiddleware.py

    r4506 r4579  
    3131        self.globals.helpIcon=cf.get('layout','helpIcon') 
    3232        self.globals.navPlus=cf.get('layout','navPlus') 
     33        self.globals.loadingIcon=cf.get('layout','loadingIcon') 
    3334        self.globals.navMinus=cf.get('layout','navMinus') 
    3435        self.globals.LeftAlt=cf.get('layout','HdrLeftAlt') 
  • MILK/trunk/milk_server/milk_server/public/layout/style/ndg2.css

    r4472 r4579  
    11/* Following information on http://css.maxdesign.com.au/floatutorial/tutorial0816.htm */ 
    22/* Entire Page Contents */ 
     3#loading { 
     4        width: 200px; 
     5        height: 100px; 
     6        background-color: #c0c0c0; 
     7        position: absolute; 
     8        left: 50%; 
     9        top: 50%; 
     10        margin-top: -50px; 
     11        margin-left: -100px; 
     12        text-align: center; 
     13} 
    314 
    415body, html { 
  • MILK/trunk/milk_server/milk_server/templates/atom_editor/atom_functions.html

    r4563 r4579  
    6161      <td /> 
    6262      <td colspan="2"> 
    63                 ${Markup(h.submit('Upload'))} 
     63                ${Markup(h.submit('Upload', **{'onclick': 'Div_show("loading");'}))} 
    6464      </td> 
    6565      </tr> 
  • MILK/trunk/milk_server/milk_server/templates/atom_editor/atom_granulator.html

    r4563 r4579  
    2929                                                          </td> 
    3030                                                          </tr> 
    31                 <div py:replace="UploadCSMLOrCDMLFileRows('bbb')"/> 
     31                <div py:replace="UploadCSMLOrCDMLFileRows('dummy')"/> 
    3232                                </table> 
    3333                                        ${Markup(h.end_form())} 
  • MILK/trunk/milk_server/milk_server/templates/atom_editor/layout.html

    r4535 r4579  
    3535 
    3636      <div id="content"> 
     37                <div id="loading" class='hidden'><img src="$g.loadingIcon" alt="Loading" />Please wait...</div> 
    3738                    ${select('*[local-name()!="panelTab" and local-name()!="includeCorrectionLink"]')} 
    3839      </div> 
Note: See TracChangeset for help on using the changeset viewer.