-<h1><%= t '.title' -%></h1>\r
-<p id="notice"><%= notice %></p>\r
+<div id="pettanr">\r
+</div>\r
+<script type="text/javascript" id="manifest">\r
+ author_id = <%= @operators.author.id -%>;\r
+ artist_id = <%= @operators.artist.id -%>;\r
+</script>\r
+<script type="text/javascript" id="manifest">\r
+</script>\r
+<script type="text/javascript" id="local-manifest">\r
+</script>\r
+<script type="text/template" id="templates-filer-filer">\r
+ <&= filer.header.render().el.innerHTML &>\r
+ <&= filer.body.render().el.innerHTML &>\r
+</script>\r
+<script type="text/template" id="templates-filer-body">\r
+ <ul class="filer-body">\r
+ <&= body.file_header.render().el.outerHTML &>\r
+ <&= body.file_body.render().el.outerHTML &>\r
+ </ul>\r
+ <div class="row_break">\r
+ </div>\r
+</script>\r
+<script type="text/template" id="templates-filer-file_header">\r
+ <&= file_header.symbol.render().el.outerHTML &>\r
+ <&= file_header.caption.render().el.outerHTML &>\r
+ <&= file_header.summary.render().el.outerHTML &>\r
+ <&= file_header.icon.render().el.outerHTML &>\r
+ <&= file_header.date.render().el.outerHTML &>\r
+ <&= file_header.edit.render().el.outerHTML &>\r
+</script>\r
+<script type="text/template" id="templates-filer-file_body">\r
+ <&= file_body.file_item.render().el.outerHTML &>\r
+</script>\r
+<script type="text/template" id="templates-filer-header_column-show">\r
+ <&= I18n.t('filer.header.' + header_column.column_name) &>\r
+</script>\r
+<script type="text/template" id="templates-filer-header_column-none">\r
+</script>\r
+<script type="text/template" id="templates-filer-item_column-show">\r
+ <&= item_column.render_item().el.innerHTML &>\r
+</script>\r
+<script type="text/template" id="templates-filer-item_column-none">\r
+</script>\r
\r
-<h2><%= t('top.user_resources') -%></h2>\r
-<table>\r
- <tr height="100px">\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('Scroll'), main_app.scrolls_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('ScrollPanel'), main_app.scroll_panels_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('Comic'), main_app.comics_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('Story'), main_app.stories_path %>\r
- </td>\r
- </tr>\r
- <tr height="100px">\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('StorySheet'), main_app.story_sheets_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('Sheet'), main_app.sheets_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('SheetPanel'), main_app.sheet_panels_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- </td>\r
- </tr>\r
- <tr height="100px">\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('Panel'), main_app.panels_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('ResourcePicture'), main_app.resource_pictures_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- </td>\r
- </tr>\r
- <tr height="100px">\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('PanelPicture'), main_app.panel_pictures_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('SpeechBalloon'), main_app.speech_balloons_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('Balloon'), main_app.balloons_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('Speech'), main_app.speeches_path %>\r
- </td>\r
- </tr>\r
- <tr height="100px">\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('GroundPicture'), main_app.ground_pictures_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('GroundColor'), main_app.ground_colors_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- </td>\r
- </tr>\r
-</table>\r
-<h2><%= t('top.human_resources') -%></h2>\r
-<table>\r
- <tr height="100px">\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('Author'), main_app.authors_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('Artist'), main_app.artists_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- </td>\r
- </tr>\r
-</table>\r
-<h2><%= t('top.system_resources') -%></h2>\r
-<table>\r
- <tr height="100px">\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('SpeechBalloonTemplate'), main_app.speech_balloon_templates_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('LicenseGroup'), main_app.license_groups_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('License'), main_app.licenses_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('SystemPicture'), main_app.system_pictures_path %>\r
- </td>\r
- </tr>\r
- <tr height="100px">\r
- <td width="200px" align="center" valign="middle">\r
- <%= link_to t_m('WritingFormat'), main_app.writing_formats_path %>\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- </td>\r
- <td width="200px" align="center" valign="middle">\r
- </td>\r
- </tr>\r
-</table>\r
+<script type="text/template" id="templates-filer-symbol-default">\r
+ <a href="javascript:void(0)">\r
+ <&= item_column.face.render().el &>\r
+ </a>\r
+</script>\r
+<script type="text/template" id="templates-filer-symbol-default_without_link">\r
+ <&= item_column.face.render().el &>\r
+</script>\r
+<script type="text/template" id="templates-filer-symbol-template">\r
+ <&= item_column.template_name &>\r
+</script>\r
+<script type="text/template" id="templates-filer-symbol_face-image">\r
+ <&= Pettanr.AppHelper.image_tag(item_column.url(), {'size': item_column.icon_size()}) &>\r
+</script>\r
+<script type="text/template" id="templates-filer-symbol_face-picture">\r
+ <&= Pettanr.AppHelper.image_tag(item_column.url(), {'size': item_column.icon_size()}) &>\r
+</script>\r
+\r
+<script type="text/template" id="templates-filer-caption-default">\r
+ <&= item_column.face.render().el.outerHTML &>\r
+</script>\r
+<script type="text/template" id="templates-filer-caption-default_without_link">\r
+ <&= item_column.face.render() &>\r
+</script>\r
+<script type="text/template" id="templates-filer-caption-template">\r
+ <&= item_column.template_name &>\r
+</script>\r
+<script type="text/template" id="templates-filer-caption_face-column">\r
+ <&= item_column.face() &>\r
+</script>\r
+<script type="text/template" id="templates-filer-caption_face-method">\r
+ <&= item_column.face() &>\r
+</script>\r
+<script type="text/template" id="templates-filer-caption_face-empty">\r
+ <&= 'empty' &>\r
+</script>\r
+\r
+<script type="text/template" id="templates-filer-summary-template">\r
+ <&= item_column.template_name &>\r
+</script>\r
+<script type="text/template" id="templates-filer-summary-none">\r
+</script>\r
+\r
+<script type="text/template" id="templates-filer-icon-default">\r
+ <a href="<&= item_column.path_name() &>">\r
+ <&= Pettanr.AppHelper.image_tag(item_column.icon_file_name(), {'size': item_column.icon_size()}) &>\r
+ </a>\r
+</script>\r
+<script type="text/template" id="templates-filer-date-default">\r
+ <&= item_column.time_ago() &>\r
+</script>\r
+<script type="text/template" id="templates-filer-date-none">\r
+</script>\r
+<script type="text/template" id="templates-filer-edit-default">\r
+ # link_to tag(:img, item_column.edit_img_opt), polymorphic_path(item_column.item, :action => :edit)\r
+ # link_to tag(:img, item_column.remove_img_opt), item_column.item, confirm: 'Are you sure?', :method => :delete \r
+</script>\r
+<script type="text/template" id="templates-filer-edit-template">\r
+ # render item_column.template_name, :item => item_column.item\r
+</script>\r
+<script type="text/template" id="templates-filer-edit-none">\r
+</script>\r
+\r
+\r
+<script type="text/template" id="folders-summary">\r
+-\r
+</script>\r
+<script type="text/template" id="scrolls-summary">\r
+-\r
+</script>\r
+<script type="text/template" id="scroll_panels-summary">\r
+</script>\r
+<script type="text/template" id="comics-summary">\r
+</script>\r
+<script type="text/template" id="comic_stories-summary">\r
+ P.\r
+</script>\r
+<script type="text/template" id="stories-summary">\r
+ P.\r
+</script>\r
+<script type="text/template" id="story_sheets-summary">\r
+</script>\r
+<script type="text/template" id="sheets-summary">\r
+</script>\r
+<script type="text/template" id="sheet_panels-summary">\r
+</script>\r
+<script type="text/template" id="panels-summary">\r
+</script>\r
+<script type="text/template" id="panel_pictures-summary">\r
+</script>\r
+<script type="text/template" id="speech_balloons-summary">\r
+</script>\r
+<script type="text/template" id="speeches-summary">\r
+</script>\r
+<script type="text/template" id="balloons-summary">\r
+</script>\r
+<script type="text/template" id="ground_pictures-summary">\r
+</script>\r
+<script type="text/template" id="ground_colors-summary">\r
+</script>\r
+<script type="text/template" id="original_pictures-summary">\r
+</script>\r
+<script type="text/template" id="pictures-summary">\r
+</script>\r
+<script type="text/template" id="resource_pictures-summary">\r
+</script>\r
+<script type="text/template" id="speech_balloon_templates-summary">\r
+</script>\r
+<script type="text/template" id="writing_formats-summary">\r
+</script>\r
+<script type="text/template" id="license_groups-summary">\r
+</script>\r
+<script type="text/template" id="licenses-summary">\r
+</script>\r
+<script type="text/template" id="authors-summary">\r
+</script>\r
+<script type="text/template" id="artists-summary">\r
+ P.\r
+</script>\r