Ignore:
Timestamp:
Apr 13, 2011, 9:42:50 AM (11 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #308: Move common style definitions and javascript functions to separate files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/trunk/resources/install.jsp

    r1333 r1342  
    2424<base:page type="default" >
    2525<base:head scripts="ajax.js" styles="path.css,table.css">
     26  <link rel="stylesheet" type="text/css" href="reggie.css">
     27  <script language="JavaScript" src="reggie.js" type="text/javascript" charset="UTF-8"></script>
     28
    2629<script language="JavaScript">
    2730
     
    121124}
    122125
    123 function setInnerHTML(id, html)
    124 {
    125   var tag = document.getElementById(id);
    126   if (!tag) alert('No tag with id='+id);
    127   tag.innerHTML = html;
    128 }
    129 function setFatalError(message)
    130 {
    131   setInnerHTML('errorMessage', message);
    132   Main.show('errorMessage');
    133 }
    134 
    135126function setWarningMessage(message)
    136127{
     
    190181  border-top: 1px dotted #cccccc;
    191182}
    192 
    193183</style>
    194184</base:head>
Note: See TracChangeset for help on using the changeset viewer.