Sha256: abe615dc2897d4914e014ab82d45a7af3ccd6c2b95e52fef5f61fe6845691d9e

Contents?: true

Size: 1.41 KB

Versions: 7

Compression:

Stored size: 1.41 KB

Contents

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>CompassAE Mobile</title>
  <%= include_sencha_touch :debug => (Rails.env != 'production') %>
  <%= static_javascript_include_tag('erp_app/utility.js') %>
  <%= static_javascript_include_tag('erp_app/mobile/mobile_base.js') %>
  <%= create_authenticity_token_sencha_touch_field %>
  <%= add_authenticity_token_to_extjs %>

  <!--stylesheets-->
  <%= load_shared_application_resources(:stylesheets) %>
  <%= static_stylesheet_link_tag('erp_app/mobile/mobile.css') %>
  <!--end stylesheets-->

  <% @mobile.applications.each do |application| %>
      <%= static_javascript_include_tag(application.locate_resources('javascripts')) %>
      <%= static_stylesheet_link_tag(application.locate_resources('stylesheets')) %>
  <% end %>

  <script type="text/javascript">
      var mobileApplications = [], mobileApplicationsData = [];
      <%
      @mobile.applications.each do |application|
      %>

      mobileApplications.push({xtype: '<%=application.xtype%>', itemId: '<%=application.internal_identifier%>'});
      mobileApplicationsData.push({
          iconCls: '<%=application.icon%>',
          name: '<%=application.description%>',
          itemId: '#<%=application.internal_identifier%>'
      });

      <%
      end
      %>
  </script>

  <%= static_javascript_include_tag("erp_app/mobile/app.js") %>
</head>
<body>
<%= setSessionTimeout %>
</body>
</html>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
erp_app-4.0.0 app/views/erp_app/mobile/base/index.erb
erp_app-3.1.16 app/views/erp_app/mobile/base/index.erb
erp_app-3.1.15 app/views/erp_app/mobile/base/index.erb
erp_app-3.1.14 app/views/erp_app/mobile/base/index.erb
erp_app-3.1.13 app/views/erp_app/mobile/base/index.erb
erp_app-3.1.12 app/views/erp_app/mobile/base/index.erb
erp_app-3.1.11 app/views/erp_app/mobile/base/index.erb