view static-files/index.html @ 5:14d152040c1d

improved web ui
author Atul Varma <avarma@mozilla.com>
date Wed, 02 Jun 2010 22:38:57 -0700
parents 311ba0249340
children be87610d9abb
line wrap: on
line source

<!DOCTYPE HTML>
<html>
<head>
  <title>Bugzilla Easy Patch Generator</title>
  <style>
  body {
    font-family: Helvetica Neue, sans-serif;
    font-size: 10pt;
  }

  input {
    border: 1px solid gray;
  }

  input[type=text] {
    width: 40em;
  }

  #success, #failure {
    display: none;
  }

  .code {
    font-family: Monaco, monospace;
    white-space: pre-wrap;
  }

  #success .patch {
    width: 60em;
    height: 20em;
  }

  #failure .log {
    color: red;
  }
  </style>
</head>
<body>
<form>
  <div>
  URL of HG repository containing your changes:
    <input id="pull-url" type="text"/>
  </div>
  <input type="submit">
</form>
<div id="success">
  <p>Yay, we got a patch!</p>
  <textarea class="patch code"></textarea>
</div>
<div id="failure">
  <p>Alas, failure.</p>
  <div class="log code"></div>
</div>
<script src="jquery.js"></script>
<script src="app.js"></script>
</body>
</html>