wizard.rhtml
1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= html_language %>" lang="<%= html_language %>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%= javascript_include_tag :defaults %>
<%= stylesheet_link_tag '/designs/icons/default/style.css' %>
<%= javascript_include_tag 'jquery-latest.js' %>
<script type="text/javascript">
jQuery.noConflict();
</script>
<%=
# Load the principal css files:
stylesheet_import( %w( common button search forms profiles)
) + "\n" +
stylesheet_import( %w( common button search forms profiles wizard),
:themed_source => true ) + "\n" +
# Load the boxes's css file if each exists:
import_blocks_stylesheets +
stylesheet_import( "controller_"+ @controller.controller_name() ) + "\n" +
stylesheet_import( "controller_"+ @controller.controller_name(), :themed_source => true )
%>
</head>
<body class='noosfero' id='wizard'>
<div id="wizard-content">
<a href="#" id="btShowHelp" class="icon-help32on help-on icon-help-on"
title="<%= _('Turn help on/off') %>"
onclick="mouseHelpOnOff(); return false"><span><%= _('Help') %></span></a>
<%= yield %>
</div><!-- id="wizard-content" -->
<div id="helpBox" style="display:none">
<div id="helpBoxBody">
<div class="helpAvatar"></div>
<div id="helpBoxContent"></div>
</div>
</div>
<%= javascript_include_tag 'show-mouse-help' %>
<%= javascript_include_tag 'noosfero-show-help' %>
</body>
</html>