<div id="left">

<div class="blue">Logs</div>
<div class="articles">
<%= link_to "Logs", :action => 'logs' %>
<br />
<%= link_to "Download Log", :action => 'download_log' %>
</div>

<div class="blue">Export</div>
<div class="articles">
<%= link_to "Export Pages into Yaml", :action => :export_to_yalm %>
<br />
<%= link_to "Export Pages into XML", :action => :export_to_xml %>
<br />
<%= link_to "Export Pages into Excel", :action => :export_to_excel %>
<br />
<%= link_to "Google Sitemap", :action => 'sitemap' %> <%= link_to "Ping Google", :action => 'ping_google' %>
</div>
</div>

<div id="content">
<div class="blue">Import from Yalm</div>
<div class="articles">
<%= start_form_tag :action => 'import_from_yaml' %>
<textarea name="yaml_data" rows="20"></textarea>
<%= submit_tag "Import from Yaml" %>
<%= end_form_tag %>
</div>

<div class="blue">Generate PDF</div>
<div class="articles">
<%= start_form_tag :action => 'pdf' %>
   <select name="page_pdf" id="page_pdf">
    <%= options_for_select(Page.find_all.collect {|p| [ p.name, p.id ] }, config_value('site_default_page').to_i) %>
    </select>
<%= submit_tag "Generate PDF" %>
<%= end_form_tag %>
</div>
</div>
