Revision 58 hci/trunk/eneraptor-web-app/grails-app/views/actions/view.gsp
view.gsp | ||
---|---|---|
8 | 8 |
<body> |
9 | 9 |
|
10 | 10 |
<erptr:box title="View scenarios"> |
11 |
<p>TODO</p> |
|
11 |
<p>Scenarios are saved internally in the logic module.</p> |
|
12 |
<p>You can view and edit them here.</p> |
|
12 | 13 |
</erptr:box> |
14 |
|
|
15 |
<erptr:box title="Scenarios"> |
|
16 |
<div name="scenariosHolder" id="scenariosHolder" > |
|
17 |
<p><img src="${resource(dir:'img/',file:'spinner.gif')}" style="float:left;position:relative;top:-2px;" /> Retrieving scenarios. Please wait...</p> |
|
18 |
</div> |
|
19 |
</erptr:box> |
|
13 | 20 |
|
21 |
<g:javascript> |
|
22 |
function includeToOnLoadDo() { |
|
23 |
new Ajax.Updater('scenariosHolder','<g:createLink action="getActions" />',{asynchronous:true,evalScripts:true}); |
|
24 |
} |
|
25 |
</g:javascript> |
|
26 |
|
|
14 | 27 |
</body> |
15 | 28 |
|
16 | 29 |
</html> |
Also available in: Unified diff