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
19 <%= link_to h(truncate(@author.name, :length => 12)), main_app.author_path(@author) %>
\r
23 <%= link_to h(truncate(@artist.name, :length => 12)), main_app.artist_path(@artist) %>
\r
28 <%= link_to t('home.configure.title'), '/home/configure' %>
\r
29 <%= link_to t('home.sign_out.title'), main_app.destroy_user_session_path, :method => :delete %>
\r
34 <div width="100%" style="background-color: #ddfadd; padding: 5px;">
\r
35 <%= link_to t('tab.reader.title'), '/' %>
\r
36 <%= link_to t_m('Comic'), main_app.comics_path %>
\r
37 <%= link_to t_m('Panel'), main_app.panels_path %>
\r
38 <%= link_to t_m('ResourcePicture'), main_app.resource_pictures_path %>
\r
40 <%= link_to t_m('Author'), main_app.authors_path %>
\r
41 <%= link_to t_m('Artist'), main_app.artists_path %>
\r
43 <div width="100%" style="background-color: #fadddd; padding: 5px;">
\r
44 <% if user_signed_in? %>
\r
45 <%= link_to t('tab.creator.home'), '/home' %>
\r
46 <%= link_to t('tab.creator.comic'), '/home/comic' %>
\r
47 <%= link_to t('tab.creator.panel'), '/home/panel' %>
\r
49 <%= link_to t('tab.creator.picture'), main_app.original_pictures_path %>
\r
52 <%= link_to "sign in", main_app.new_user_session_path %>
\r
56 <div width="100%" style="background-color: #ddddfa; padding: 5px;">
\r
57 <% if admin_signed_in? %>
\r
58 <%= link_to t('tab.system.title'), '/system' %>
\r
59 <%= link_to "browse", '/system/browse' %>
\r
60 <%= link_to "approve", '/system/waiting_list' %>
\r
61 <%= link_to "token", '/system/auth_token' %>
\r
63 <%= link_to "test", '/system/test_layout' %>
\r
64 <%= link_to "production", '/system/production_layout' %>
\r
65 <%= link_to "sign out", main_app.destroy_admin_session_path, :method => :delete %>
\r
67 <%= link_to "sign in", main_app.new_admin_session_path %>
\r
70 <%= javascript_tag 'var server_result=' + @server_result.to_json + ';' %>
\r