Sha256: e77c8778f1c003efc3f02f6dec750b5ac17324f1d1a7fee596b78a6ac390d82a

Contents?: true

Size: 1.84 KB

Versions: 14

Compression:

Stored size: 1.84 KB

Contents

<p class="center">
  <%= image_tag('alchemy/alchemy-logo.svg', width: 267, height: 91) %>
</p>
<h2 class="center">
  v<%= @alchemy_version %><br>
  <small>
    Ruby v<%= RUBY_VERSION %>, Rails v<%= Rails.version %>
  </small>
</h2>
<% if can? :update_check, :alchemy_admin_dashboard %>
<p class="center" id="update_check">
  <span id="update_available" class="hidden">
    <%= render_icon(:exclamation) %>
    <%= Alchemy.t 'Update available' %>
  </span>
  <span id="up_to_date" class="hidden">
    <%= render_icon(:check) %>
    <%= Alchemy.t 'Alchemy is up to date' %>
  </span>
  <span id="error" class="hidden">
    <%= render_icon(:exclamation) %>
    <%= Alchemy.t 'Update status unavailable' %>
  </span>
</p>
<script type="text/javascript">
  var el = $('#update_check');
  var spinner = new Alchemy.Spinner('small')
  spinner.spin(el[0])
  $.get('<%= alchemy.update_check_path %>', function(data, textStatus, jqXHR) {
    if (data == 'true') {
      $('#update_available').removeClass("hidden")
    } else {
      $('#up_to_date').removeClass("hidden")
    }
  }).fail(function(jqXHR, textStatus, errorThrown) {
    $('#error').removeClass("hidden")
  }).always(function() {
    spinner.stop()
  })
</script>
<% end %>
<%= render_message do %>
  <p><%= Alchemy.t('Alchemy is open software and itself uses open software and free resources:') %></p>
  <ul>
    <li>
      <a href="https://rubyonrails.org" target="_blank">Ruby on Rails</a>
    </li>
    <li>
      <a href="https://jquery.com" target="_blank">jQuery Javascript Library</a>
    </li>
    <li>
      <a href="https://shoelace.style" target="_blank">Shoelace Web Components Library</a>
    </li>
    <li>
      <a href="https://www.tiny.cloud" target="_blank">TinyMCE - Javascript WYSIWYG Editor</a>
    </li>
    <li>
      <a href="https://remixicon.com" target="_blank">Remix Icons</a>
    </li>
  </ul>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
alchemy_cms-7.3.5 app/views/alchemy/admin/dashboard/info.html.erb
alchemy_cms-7.2.8 app/views/alchemy/admin/dashboard/info.html.erb
alchemy_cms-7.3.4 app/views/alchemy/admin/dashboard/info.html.erb
alchemy_cms-7.3.3 app/views/alchemy/admin/dashboard/info.html.erb
alchemy_cms-7.3.2 app/views/alchemy/admin/dashboard/info.html.erb
alchemy_cms-7.2.7 app/views/alchemy/admin/dashboard/info.html.erb
alchemy_cms-7.3.1 app/views/alchemy/admin/dashboard/info.html.erb
alchemy_cms-7.3.0 app/views/alchemy/admin/dashboard/info.html.erb
alchemy_cms-7.2.6 app/views/alchemy/admin/dashboard/info.html.erb
alchemy_cms-7.2.5 app/views/alchemy/admin/dashboard/info.html.erb
alchemy_cms-7.2.4 app/views/alchemy/admin/dashboard/info.html.erb
alchemy_cms-7.2.3 app/views/alchemy/admin/dashboard/info.html.erb
alchemy_cms-7.2.2 app/views/alchemy/admin/dashboard/info.html.erb
alchemy_cms-7.2.1 app/views/alchemy/admin/dashboard/info.html.erb