summaryrefslogtreecommitdiff
path: root/app/views/layouts/admin.html.erb
blob: 836787a9af4cb07dba71bbd5df81f2e93544b2b3 (plain)
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
<!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>untitled</title>
    <%= stylesheet_link_tag 'admin' %>
    <%= javascript_include_tag 'tiny_mce/tiny_mce.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]"
    });
    </script>
  </head>
  
  <body>
    <div id="navigation">
      <%= render :partial => 'admin/menu' if current_user %>
    </div>
    <div id="flash">
      <%= flash[:notice] %>
    </div>
    <div id="content">
      <%= yield :layout %>
    </div>
  </body>
</html>