| | 2710 | <rdf:Description rdf:about="http://sr#o_8d38a541"> |
| | 2711 | <rdf:type rdf:resource="http://sr#ContextView"/> |
| | 2712 | <sr:layout_view_id rdf:resource="http://sr#o_c40c118b"/> |
| | 2713 | <sr:name>context.rhtml</sr:name> |
| | 2714 | <sr:template><div id=landmarks><%= render_landmarks(@landmarks) %></div> |
| | 2715 | <div id=breadcrumb><%= render_breadcrumb("&nbsp;::&nbsp;") %></div> |
| | 2716 | <div id=context> |
| | 2717 | <% unless @context.empty? %> |
| | 2718 | <div id=context_title><%= truncate(@context.current.label, 50) %></div> |
| | 2719 | <div class=context_class>[em <%= @context.title || @context.name %> <%= render_params(@context.parameters_values) %>]</div> |
| | 2720 | <div id=context_navigation><%= render_context_navigation(@context) %></div> |
| | 2721 | <div id=context_body> |
| | 2722 | <div id=node_attributes><%= render_node_attributes(@context.current) %></div> |
| | 2723 | </div> |
| | 2724 | <div id=context_index><%= render_context_index(@context) %></div> |
| | 2725 | <% else %> |
| | 2726 | <h1>This context is empty!</h1> |
| | 2727 | <% end %> |
| | 2728 | </div></sr:template> |
| | 2729 | </rdf:Description> |
| | 2730 | |
| | 2731 | <rdf:Description rdf:about="http://sr#o_da606d0b"> |
| | 2732 | <rdf:type rdf:resource="http://sr#IndexView"/> |
| | 2733 | <sr:layout_view_id rdf:resource="http://sr#o_c40c118b"/> |
| | 2734 | <sr:name>show_index.rhtml</sr:name> |
| | 2735 | <sr:template><div id=landmarks><%= render_landmarks(@landmarks) %></div> |
| | 2736 | <div id=breadcrumb><%= render_breadcrumb("&nbsp;::&nbsp;") %></div> |
| | 2737 | <div id=index> |
| | 2738 | <div id=index_title><%= @index.name %></div> |
| | 2739 | <div class=index_class><%= @index.class.name %> <%= render_params(@index.parameters_values) %></div> |
| | 2740 | <div id=index_count><%= @index.entries.length %> entry(s)</div> |
| | 2741 | <div id=index_body><%= render_index(@index) %></div> |
| | 2742 | </div></sr:template> |
| | 2743 | </rdf:Description> |
| | 2744 | |
| | 2745 | <rdf:Description rdf:about="http://sr#o_c40c118b"> |
| | 2746 | <rdf:type rdf:resource="http://sr#GenericView"/> |
| | 2747 | <sr:name>navigation-full.rhtml</sr:name> |
| | 2748 | <sr:template><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| | 2749 | <html> |
| | 2750 | <head> |
| | 2751 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| | 2752 | <title><%= @page_title%></title> |
| | 2753 | <link href="/stylesheets/navigation.css" rel="stylesheet" type="text/css"/> |
| | 2754 | <% if @content_for_style %> |
| | 2755 | <style><%= @content_for_style %></style> |
| | 2756 | <% end %> |
| | 2757 | <% if @content_for_script %> |
| | 2758 | <script language="JavaScript"><%= @content_for_script %></script> |
| | 2759 | <% end %> |
| | 2760 | <script language="JavaScript" type="text/javascript" src="/prototype.js"></script> |
| | 2761 | <%= @content_for_head %> |
| | 2762 | </head> |
| | 2763 | <body> |
| | 2764 | <%= form_remote_tag :url => { :action => "context" } %> |
| | 2765 | <div id='__loading' style='display:none;color:white;background-color:red;position:absolute'>Loading...</div> |
| | 2766 | <div id='page'> |
| | 2767 | <% unless RAILS_ENV == 'production' or true # or true code disables metamodel actions %> |
| | 2768 | <div id='actions'> |
| | 2769 | <%= render_actions %> |
| | 2770 | &nbsp;&nbsp;&nbsp; |
| | 2771 | <%= render_user_authentication %> |
| | 2772 | </div> |
| | 2773 | <% end %> |
| | 2774 | <div id='content'><%= @content_for_layout %></div> |
| | 2775 | </div> |
| | 2776 | <%= end_form_tag %> |
| | 2777 | </body> |
| | 2778 | </html></sr:template> |
| | 2779 | </rdf:Description> |
| | 2780 | |