Sha256: 3d6dd16393a9967c4e73c5cc91565f5fa795fd061eca7a5b337605a6d885a6d2

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

<SystemPage>
  <?r base = "#{@base}/%base%" ?>
  <h1><a href='/'>Home</a> > System</h1>
  
  <h2>Og managed classes</h2>
  
  <table>
    <tr>
      <th>Class</th>
      <th>Count</th>
      <th colspan="2">Cleanup</th>
      <th>Properties</th>
    </tr>
  <?r for c in @class_names ?>
    <tr>
      <td><a href="#@base/#{@classes[c][:plural_name]}/list">#{c.name}</a></td>
      <td>#{c.count}</td>
      <td><a href="delete_all/#{c.name}" onclick="return confirm('Delete all instances?')">delete</a></td>
      <td><a href="destroy/#{c.name}" onclick="return confirm('Drop the schema?')">destroy</a></td>
      <td width="100%">#{c.properties.values.join(', ')}</td>
    </tr>
  <?r end ?>
  </table>
  
  <h2>System configuration</h2>
  
  <table width="100%">
    <tr>
      <th>Name</th>
      <th>Value</th>
      <th>Type</th>
      <th>Description</th>
    </tr>
  <?r for s in @settings ?>
    <tr>
      <td>#{s.owner}.<strong>#{s.name}</strong></td>
      <td>#{s.value.inspect}</td>
      <td>#{s.type}</td>
      <td>#{s.options[:doc]}</td>
    </tr>
  <?r end ?>
  </table>
</SystemPage>  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.31.0 src/part/admin/template/index.xhtml