4 <title>Pettanr</title>
\r
5 <%= stylesheet_link_tag "test.css" %>
\r
6 <%= javascript_include_tag "application" %>
\r
7 <%= csrf_meta_tags %>
\r
12 <table class="no-border">
\r
20 <%= link_to h(truncate(@author.name, :length => 12)), main_app.author_path(@author) %>
\r
25 <%= link_to h(truncate(@artist.name, :length => 12)), main_app.artist_path(@artist) %>
\r
30 <% if user_signed_in? %>
\r
31 <%= link_to t('home.configure.title'), '/home/configure' %>
\r
32 <%= link_to t('home.sign_out.title'), main_app.destroy_user_session_path, :method => :delete %>
\r
34 <%= link_to "sign in", main_app.new_user_session_path %>
\r
40 <div width="100%" style="background-color: #ddfadd; padding: 5px;">
\r
41 <%= link_to t('tab.reader.title'), '/' %>
\r
42 <%= link_to t_m('Comic'), main_app.comics_path %>
\r
43 <%= link_to t_m('Panel'), main_app.panels_path %>
\r
44 <%= link_to t_m('ResourcePicture'), main_app.resource_pictures_path %>
\r
46 <%= link_to t_m('Author'), main_app.authors_path %>
\r
47 <%= link_to t_m('Artist'), main_app.artists_path %>
\r
49 <% if user_signed_in? %>
\r
50 <div width="100%" style="background-color: #fadddd; padding: 5px;">
\r
51 <%= link_to t('tab.creator.home'), '/home' %>
\r
52 <%= link_to t('tab.creator.comic'), '/home/comic' %>
\r
53 <%= link_to t('tab.creator.panel'), '/home/panel' %>
\r
55 <%= link_to t('tab.creator.picture'), main_app.original_pictures_path %>
\r
60 <div width="100%" style="background-color: #faddfa; padding: 5px;">
\r
61 <%= link_to t('tab.demander.title'), main_app.demanders_path %>
\r
62 <% if demand_user_signed_in? %>
\r
63 <%= link_to t_m('Demander'), main_app.demanders_path %>
\r
64 <%= link_to t('home.sign_out.title'), main_app.destroy_demand_user_session_path, :method => :delete %>
\r
66 <%= link_to t('home.sign_in.title'), main_app.new_demand_user_session_path %>
\r
69 <div width="100%" style="background-color: #ddddfa; padding: 5px;">
\r
70 <%= link_to t('tab.system.title'), '/system' %>
\r
71 <% if admin_signed_in? %>
\r
72 <%= link_to t('tab.system.browse'), '/system/browse' %>
\r
73 <%= link_to t('tab.system.approve'), '/system/waiting_list' %>
\r
74 <%= link_to t('tab.system.port'), '/system/import' %>
\r
75 <%= link_to t('tab.system.token'), '/system/auth_token' %>
\r
76 <%= t('tab.system.layout') %>:
\r
77 <%= link_to t('tab.system.test'), '/system/test_layout' %>
\r
78 <%= link_to t('tab.system.production'), '/system/production_layout' %>
\r
79 <%= link_to t('home.sign_out.title'), main_app.destroy_admin_session_path, :method => :delete %>
\r
81 <%= link_to t('home.sign_in.title'), main_app.new_admin_session_path %>
\r
84 <%= javascript_tag 'var server_result=' + @server_result.to_json + ';' %>
\r