Sha256: 63d5f32f38dfea53a47c05274c073cde75998027834350f2473fc5ca7368a4aa

Contents?: true

Size: 923 Bytes

Versions: 2

Compression:

Stored size: 923 Bytes

Contents

<SystemPage name="System">

  <style>
    th {
      border: 1px solid #ccc;
      background: #eee;
      text-align: left;
    }
  </style>
  
  <h2>Og managed classes</h2>
  
  <table>
    <tr>
      <th>Class</th>
      <th>Count</th>
      <th>Properties</th>
    </tr>
  <?r for c in @classes ?>
    <tr>
      <td><a href="#@base/#{c.name.plural.underscore}">#{c.name}</a></td>
      <td>#{c.count}</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 Configuration.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

2 entries across 2 versions & 1 rubygems

Version Path
nitro-0.24.0 lib/part/admin/template/index.xhtml
nitro-0.25.0 src/part/admin/template/index.xhtml