Sha256: ad0d682b9febd9439ab73f1d269211ba2cfd2af858cfb76138c62e3a3a75ebca

Contents?: true

Size: 1.3 KB

Versions: 2

Compression:

Stored size: 1.3 KB

Contents

<html>
  <head>
    <title>Settings</title>
    <style>
      .path { 
        padding: 5px;
        font-size: 140%;
        background: #ddd;
      }
      .error { 
        padding: 5px;
        padding-top: 15px;
        font-size: 140%;
        color: #f00;
      }
      .load {
        padding: 5px;
        color: #555;
      }
      .source {
        border: 1px solid #ccc; 
        padding: 10px;
        margin-top: 10px; margin-bottom: 10px;
      }
      h2 {
        padding-left: 5px;
        background: #eee;
      }
      table {
        border-collapse: collapse; 
        width: 100%;
      }
      th {
        border: 1px solid #ccc; padding: 5px; background: #ff0
      }
      td {
        border: 1px solid #ccc; padding: 5px
      }
    </style>
  </head>
  <body>
    <h1>Settings</h1>

    <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>
    
    <br /><br />
    Powered by <a href="http://www.nitrohq.com">Nitro</a> version #{Nitro::Version}
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nitro-0.21.0 proto/public/settings.xhtml
nitro-0.21.2 proto/public/settings.xhtml