Sha256: a4664f2b7fe6a79930a5113e22fcd2bac1f5aa9d78e8dfefcf81b09e475a79f5
Contents?: true
Size: 915 Bytes
Versions: 2
Compression:
Stored size: 915 Bytes
Contents
<h2>Show Access</h2> <div class="field_show"> <b>Client URI:</b> <%= @access.client_uri %> </div> <div class="field_show"> <b>Today requests:</b> <%= @access.daily_requests.times %> </div> <div id="chart" style="width: 100%; height: 250px"></div> <div class="footer_buttons"> <%= link_to 'Back', oauth2_provider_engine.oauth2_provider_accesses_path, class: "button icon arrowleft" %> <% if @access.blocked? %> <%= link_to 'Unblock!', oauth2_provider_engine.unblock_oauth2_provider_access_path(@access), method: :put, class: "button danger" %> <% else %> <%= link_to 'Block!', oauth2_provider_engine.block_oauth2_provider_access_path(@access), method: :put, class: "button danger" %> <% end %> <div> <script> $(document).ready(function() { createChart( <%=raw @access.chart_days %>, <%= @access.chart_times.to_json %>, "<%= @access.client_uri %>" ) }); </script>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
oauth2_provider_engine-0.0.2 | app/views/oauth2_provider/accesses/show.html.erb |
oauth2_provider_engine-0.0.1 | app/views/oauth2_provider/accesses/show.html.erb |