OSDN Git Service

t#32375:fix license
[pettanr/pettanr.git] / app / views / layouts / test.html.erb
index 6725e51..d6ad022 100644 (file)
@@ -9,8 +9,9 @@
     <% end %>\r
     - <%= h(MagicNumber['profile']['users']['caption']) %>\r
   </title>\r
-  <%= stylesheet_link_tag "test.css" %>\r
+  <%= stylesheet_link_tag "application" %>\r
   <%= javascript_include_tag "application" %>\r
+  <%= raw panel_editor_javascript_include_tags %>\r
   <%= csrf_meta_tags %>\r
 </head>\r
 <body>\r
 <div width="100%">\r
 <table class="no-border">\r
   <tr>\r
-    <td width="80%">\r
+    <td width="50%">\r
       <h3><%= link_to MagicNumber['profile']['users']['caption'], main_app.root_path %></h3>\r
     </td>\r
+    <td width="30%">\r
+      <% if user_signed_in? %>\r
+        <%# link_to t('top.metro.title'), '/top/metro' %>\r
+      <% end %>\r
+    </td>\r
     <td>\r
       <div>\r
         <% if @author %>\r
 <div width="100%" style="background-color: #ddfadd; padding: 5px;">\r
   <%= link_to t('tab.reader.title'), '/' %>\r
   <%= link_to t_m('Comic'), main_app.comics_path %>\r
+  <%= link_to t_m('Scroll'), main_app.scrolls_path %>\r
   <%= link_to t_m('Panel'), main_app.panels_path %>\r
   <%= link_to t_m('ResourcePicture'), main_app.resource_pictures_path %>\r
+  <%= link_to t_m('SpeechBalloonTemplate'), main_app.speech_balloon_templates_path %>\r
    : \r
   <%= link_to t_m('Author'), main_app.authors_path %>\r
   <%= link_to t_m('Artist'), main_app.artists_path %>\r
 <% if @author %>\r
   <div width="100%" style="background-color: #fadddd; padding: 5px;">\r
     <%= link_to t('tab.creator.home'), '/home' %>\r
-    <%= link_to t('tab.creator.comic'), '/home/comic' %>\r
-    <%= link_to t('tab.creator.panel'), '/home/panel' %>\r
+    <%= link_to t('tab.creator.comic'), '/home/comics' %>\r
+    <%= link_to t('*'), main_app.new_comic_path %>\r
+    <%= link_to t('tab.creator.story'), '/home/stories' %>\r
+    <%= link_to t('tab.creator.sheet'), '/home/sheets' %>\r
+    <%= link_to t('*'), main_app.new_sheet_path %>\r
+    <%= link_to t('tab.creator.scroll'), '/home/scrolls' %>\r
+    <%= link_to t('*'), main_app.new_scroll_path %>\r
+    <%= link_to t('tab.creator.panel'), '/home/panels' %>\r
+    <%= link_to t('*'), main_app.new_panel_path %>\r
     <% if @artist %>\r
-      <%= link_to t('tab.creator.picture'), main_app.original_pictures_path %>\r
+      <%= link_to t('tab.creator.original_picture'), main_app.original_pictures_path %>\r
+      <%= link_to t('*'), main_app.new_original_picture_path %>\r
+      <%= link_to t('tab.creator.resource_picture'), '/home/resource_pictures' %>\r
     <% end %>\r
+    <% if @author and @author.working? -%>\r
+      <%= link_to t('tab.creator..catch'), main_app.panel_path(@author.working_panel) %>\r
+    <% end -%>\r
   </div>\r
 <% end %>\r
 <%= yield %>\r