Sha256: 51ef8512eccad14ea2104e28d169badae977e21658caf8c2c842f1d14971d107

Contents?: true

Size: 1.93 KB

Versions: 2

Compression:

Stored size: 1.93 KB

Contents

<body>
<head>
  <title>.RUBY WEBUI</title>
  <style>
    table { width: 500px; margin: 0 auto; }
  </style>
  <script src="http://ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js"></script>
</head>
<html>
<form>
  <table>
  <tr>
    <td>Name</td>
    <td><input type="text" value="<%= spec.name %>" /></td>
  </tr>
  <tr>
    <td>Version</td>
    <td><input type="text" value="<%= spec.version %>" /></td>
  </tr>
  <tr>
    <td>Summary</td>
    <td><input type="text" value="<%= spec.summary %>" /></td>
  </tr>
  <tr>
    <td>Description</td>
    <td><textarea></textarea></td>
  </tr>
  <tr>
    <td>Organization</td>
    <td><input type="text" value="<%= spec.organization %>" /></td>
  </tr>
  <tr>
    <td>Requirements</td>
    <td></td>
  </tr>
  <tr>
    <td>Resources</td>
    <td></td>
  </tr>
  <tr>
    <td>Repositories</td>
    <td></td>
  </tr>
  <tr>
    <td>Authors</td>
    <table id="table-authors">
    </table>
    <td><button>Add Author</button></td>
  </tr>
  <tr>
    <th>Copyrights</th>
    <td>
      <table id="table-copyrights">
      </table>
    </td>
    <td><button>Add Copyright</button></td>
  </tr>
  <tr>
    <td>Extra</td>
    <td></td>
  </tr>
</form>

<script id="requirement-template" type="text/x-jquery-tmpl">
  <input type="text" name="name" />
  <input type="text" name="version" />
  <input type="text" name="groups" />
</script>

<script id="resource-template" type="text/x-jquery-tmpl">
  <input type="text" name="type" />
  <input type="text" name="uri" />
</script>

<script id="repository-template" type="text/x-jquery-tmpl">
  <input type="text" name="name" />
  <input type="text" name="uri" />
</script>

<script id="author-template" type="text/x-jquery-tmpl">
  <input type="text" name="name" />
</script>

<script id="copyright-template" type="text/x-jquery-tmpl">
  <input type="text" name="year" />
  <input type="text" name="holder" />
  <input type="text" name="license" />
</script>

</html>
</body>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
indexer-0.3.0 lib/indexer/webui/index-old.html
indexer-0.2.0 lib/indexer/webui/index-old.html