Sha256: 869507eeb038beb83543093d5db50110fa840921504d5eff342ae65ae1ae245f
Contents?: true
Size: 1.92 KB
Versions: 6
Compression:
Stored size: 1.92 KB
Contents
<p class="center"><%= image_tag('alchemy/alchemy-logo.svg') %></p> <h2 class="center"> <%= Alchemy.t("Version") %>: <%= @alchemy_version %> </h2> <% if can? :update_check, :alchemy_admin_dashboard %> <p class="center" id="update_check"> <span id="update_available"> <%= render_icon(:exclamation) %> <%= Alchemy.t 'Update available' %> </span> <span id="up_to_date"> <%= render_icon(:check) %> <%= Alchemy.t 'Alchemy is up to date' %> </span> <span id="error"> <%= render_icon(:exclamation) %> <%= Alchemy.t 'Update status unavailable' %> </span> </p> <% end %> <%= render_message do %> <p><%= Alchemy.t('Alchemy is open software and itself uses open software and free resources:') %></p> <ul> <li> <a href="http://rubyonrails.org" target="_blank">RubyOnRails</a> </li> <li> <a href="http://jquery.com" target="_blank">jQuery Javascript Library</a> </li> <li> <a href="http://jqueryui.com" target="_blank">jQuery UI Javascript GUI Library</a> </li> <li> <a href="http://tinymce.moxiecode.com" target="_blank">TinyMCE - Javascript WYSIWYG Editor</a> </li> <li> <a href="http://blueimp.github.io/jQuery-File-Upload/" target="_blank">jQuery File Upload</a> </li> <li> <a href="https://fontawesome.com" target="_blank">FontAwesome Icons</a> </li> </ul> <% end %> <% if can? :update_check, :alchemy_admin_dashboard %> <script type="text/javascript"> (function() { 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').show(); } else { $('#up_to_date').show(); } }).fail(function(jqXHR, textStatus, errorThrown) { $('#error').show(); }).always(function() { spinner.stop(); }); })(); </script> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems