forked from hukl/cccms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.html.erb
46 lines (42 loc) · 1.48 KB
/
admin.html.erb
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
43
44
45
46
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title><%= "#{params[:controller]} | #{params[:action]}" %></title>
<%= stylesheet_link_tag 'admin' %>
<%= javascript_include_tag 'tiny_mce/tiny_mce.js' %>
<%= javascript_include_tag 'jquery-1.3.2.min' %>
<%= javascript_include_tag 'admin_interface.js' %>
<script type="text/javascript">
tinyMCE.init({
theme: "advanced",
mode : "specific_textareas",
editor_selector : "with_editor",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "bold, italic, underline, bullist, numlist, link, unlink, formatselect, code",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
extended_valid_elements : "aggregate[tags|limit|order_by|order_direction|partial]",
relative_urls : false,
entity_encoding : "raw"
});
</script>
</head>
<body>
<div id="navigation">
<%= render :partial => 'admin/menu' if current_user %>
</div>
<div id="subnavigation">
<%= yield :subnavigation %>
</div>
<div style="clear: both"></div>
<div id="flash">
<%= flash[:notice] %>
</div>
<div id="content">
<%= yield :layout %>
</div>
</body>
</html>