summaryrefslogtreecommitdiff
path: root/src/fauxton/app/templates/config/dashboard.html
blob: 889397feaf4cf3b55780878f52b18226305de7cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<div class="row">
  <div class="span2 offset10">
    <button id="add-section" href="#" class="btn btn-primary button-margin">
      <i class="icon-plus icon-white"> </i>
      Add Section
    </button>
  </div>
</div>
<table class="config table table-striped table-bordered">
  <thead>
    <th> Section </th>
    <th> Option </th>
    <th> Value </th>
    <th></th>
  </thead>
  <tbody>
  </tbody>
</table>
<div id="add-section-modal" class="modal hide fade">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h3>Create Config Option</h3>
  </div>
  <div class="modal-body">
    <form id="add-section-form" class="form well">
      <label>Section</label>
      <input type="text" name="section" placeholder="Section">
      <span class="help-block">Enter an existing section name to add to it.</span>
      <input type="text" name="name" placeholder="Name">
      <br/>
      <input type="text" name="value" placeholder="Value">
      <div class="modal-footer">
        <button type="button" class="btn" data-dismiss="modal">Cancel</button>
        <button type="submit" class="btn btn-primary"> Save </button>
      </div>
    </form>
  </div>
</div>