Sha256: 02a931e065c5163c95e634d9eec8cf5cae0238c30a0b4eece2a5c01e97ca1c87

Contents?: true

Size: 1.68 KB

Versions: 16

Compression:

Stored size: 1.68 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <title>Avo</title>
  <%= csrf_meta_tags %>
  <%= csp_meta_tag %>
  <%= render partial: 'layouts/avo/javascript' %>

  <%= javascript_pack_tag 'application' %>
  <%= stylesheet_pack_tag 'application', media: 'all' %>
  <%= render partial: 'layouts/avo/translations' %>
  <link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap" rel="stylesheet">
</head>

<body class="bg-gray-200">

<div id="app" class="flex min-h-screen flex-row h-full">
  <app-layout class="flex flex-1 w-full"
    :router-key="routerKey"
    :layout="layout"
    inline-template
  >
    <div>
      <application-sidebar v-if="layout !== 'blank'">
        <template #logo>
          <%= render_logo %>
        </template>
        <template #licensing>
          <license-warnings></license-warnings>
        </template>
      </application-sidebar>

      <div class="flex-1 flex flex-col h-full overflow-auto">
        <div class="relative bg-white p-2 shadow-md h-16 w-full flex flex-shrink-0 items-center z-50" v-if="layout !== 'blank'">
          <div class="ml-6">
            <%= render_header %>
          </div>
          <div class="flex-1 flex justify-center">
            <div class="w-64">
              <resources-search :global="true">
            </div>
          </div>
        </div>

        <div v-if="layout === 'blank'" class="h-full w-full flex justify-center items-center">
          <%= yield %>
        </div>

        <div class="content p-8 flex-1 flex flex-col justify-between items-stretch" v-else>
          <%= yield %>
          <%= render_footer %>
        </div>
      </div>
    </div>
  </app-layout>
</div>

<%= render_scripts %>

</body>
</html>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
avo-0.5.0.beta7 app/views/layouts/avo/application_vue.html.erb
avo-0.5.0.beta6 app/views/layouts/avo/application_vue.html.erb
avo-0.5.0.beta5 app/views/layouts/avo/application_vue.html.erb
avo-0.5.0.beta4 app/views/layouts/avo/application_vue.html.erb
avo-0.5.0.beta3 app/views/layouts/avo/application_vue.html.erb
avo-0.5.0.beta2 app/views/layouts/avo/application_vue.html.erb
avo-0.5.0.beta1 app/views/layouts/avo/application_vue.html.erb
avo-0.4.10 app/views/layouts/avo/application.html.erb
avo-0.4.9 app/views/layouts/avo/application.html.erb
avo-0.4.8 app/views/layouts/avo/application.html.erb
avo-0.4.7 app/views/layouts/avo/application.html.erb
avo-0.4.6 app/views/layouts/avo/application.html.erb
avo-0.4.5 app/views/layouts/avo/application.html.erb
avo-0.4.4 app/views/layouts/avo/application.html.erb
avo-0.4.3 app/views/layouts/avo/application.html.erb
avo-0.4.2 app/views/layouts/avo/application.html.erb