Changeset 5141 for MILK


Ignore:
Timestamp:
26/03/09 09:51:37 (10 years ago)
Author:
cbyrom
Message:

Add warnings, to both MILK and vocab editor apps, to alert user if
javascript is disabled on browser.

Location:
MILK/trunk/milk_server/milk_server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/public/layout/style/ndg2.css

    r5116 r5141  
    139139 
    140140.error {display:block;text-align:center;font-size:150%;background-color:red; padding:10px;} 
     141.javascriptWarning  
     142{ 
     143        display:block; 
     144        text-align:center; 
     145        font-size:150%; 
     146        background-color:red; 
     147} 
    141148 
    142149/* The following is the css associated with pretty printing xml */ 
  • MILK/trunk/milk_server/milk_server/templates/layout.html

    r5134 r5141  
    4545                            </td></tr> 
    4646                    </table> 
     47                        <div class="javascriptWarning"><script type="text/javascript"><!-- 
     48                        document.write("<div style='display:none' id='moreinfo'>"); 
     49                        //--> 
     50                        </script>WARNING: You currently have javascript disabled.  For these pages to work correctly, please enable javascript.<script type="text/javascript"><!-- 
     51                        document.write("</div>"); 
     52                        //--></script></div> 
    4753                <div id="loading" class='hidden'><img src="$g.loadingIcon" alt="Loading" />Please wait...</div> 
    4854                    ${select('*[local-name()!="panelTab" and local-name()!="includeCorrectionLink"]')} 
Note: See TracChangeset for help on using the changeset viewer.