Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 90 lines (84 sloc) 3.982 kb
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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
<!DOCTYPE html>
<html>
  <head>
    <title>
      Errbit &mdash;
      Add App
    </title>
    <meta content='text/html; charset=utf-8' http-equiv='content-type'>
    <meta name="csrf-param" content="authenticity_token"/>
    <meta name="csrf-token" content="2xxr2t/FRsJU1jXFRJYSbR/x7dk4jIPwmEhE2sgrWFA="/>
    <script src="/javascripts/jquery.js?1281707549" type="text/javascript"></script>
    <script src="/javascripts/rails.js?1281707549" type="text/javascript"></script>
    <script src="/javascripts/form.js?1281727831" type="text/javascript"></script>
    <script src="/javascripts/application.js?1281707549" type="text/javascript"></script>

    
    <link href="/stylesheets/reset.css?1281707549" media="screen" rel="stylesheet" type="text/css" />
    <link href="/stylesheets/application.css?1281730151" media="screen" rel="stylesheet" type="text/css" />
    
    <style type="text/css" media="screen">
      #app_watchers_attributes_0_user_id,
      #app_watchers_attributes_0_email {
        display:none;
      }
      #app_watchers_attributes_0_user_id.show,
      #app_watchers_attributes_0_email.show {
        display: block;
      }
    </style>
    
  </head>
  <body class='new' id='apps'>
    <div id='header'>
      <div>
        <a href="/" id="site-name">Errbit</a>
        <ul id='session-links'>
          <li><a href="/users/sign_out" id="sign-out">Sign out</a></li>
        </ul>
      </div>
    </div>
    <div id='nav-bar'>
      <ul>
        <!-- /%li= link_to 'Dashboard', admin_dashboard_path, :class => active_if_here(:dashboards) -->
        <li class='active apps'><a href="/apps">Apps</a></li>
        <li class='errs'><a href="/errs">Errs</a></li>
        <li class='users'><a href="/users">Users</a></li>
      </ul>
      <div class='clear'></div>
    </div>
    <div id='content-wrapper'>
      <div id='content-title'>
        <h1>Add App</h1>
        <span class='meta'></span>
        <div id='action-bar'>
          <a href="/apps">cancel</a>
        </div>
      </div>
      <div id='content'>
        
        <form accept-charset="UTF-8" action="/apps" class="new_app" id="new_app" method="post"><div style="margin:0;padding:0;display:inline"><input name="_snowman" type="hidden" value="&#9731;" /><input name="authenticity_token" type="hidden" value="2xxr2t/FRsJU1jXFRJYSbR/x7dk4jIPwmEhE2sgrWFA=" /></div>
          <div class='required'>
            <label for="app_name">Name</label>
            <input id="app_name" name="app[name]" size="30" type="text" />
          </div>
          <div class='checkbox'>
            <input name="app[resolve_errs_on_deploy]" type="hidden" value="0" /><input id="app_resolve_errs_on_deploy" name="app[resolve_errs_on_deploy]" type="checkbox" value="1" />
            <label for="app_resolve_errs_on_deploy">Resolve errs on deploy</label>
          </div>
          <fieldset class='nested-wrapper'>
            <legend>Watchers</legend>
          <div class='nested'>
            <div>
              <input type="radio" name="watcher_type" id="watcher_name"/> <label class="inline">Name</label>&nbsp;&nbsp;
              <input type="radio" name="watcher_type" id="watcher_email"/> <label class="inline">Email</label><br/><br/>
            </div>
            <div>
              <select id="app_watchers_attributes_0_user_id" name="app[watchers_attributes][0][user_id]"><option value="">-- Select a User --</option>
              <option value="4c654f41eacf8d2ae8000001">Errbit Admin</option></select>
              <input id="app_watchers_attributes_0_email" name="app[watchers_attributes][0][email]" size="30" type="text" />
            </div>
          </div>
          </fieldset>
          <div class='add_app'><input id="app_submit" name="commit" type="submit" value="Add" /></div>
        </form>
      </div>
    </div>
    <div id='footer'>Powered by <a href="http://github.com/errbit/errbit" target="_blank">Errbit</a>: the open source Hoptoad server.</div>
    
  </body>
</html>
Something went wrong with that request. Please try again.