Mercurial > bzezpatch
view static-files/index.html @ 9:8345b393df5b
added /config endpoint for dynamic templating of page.
author | Atul Varma <avarma@mozilla.com> |
---|---|
date | Wed, 02 Jun 2010 23:57:45 -0700 |
parents | be87610d9abb |
children |
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; line-height: 1.5em; } a { color: black; text-decoration: underline; } a:hover { background: yellow; } input { border: none; padding: 0.25em; } input[type=text] { border: 1px dotted gray; width: 40em; } #container { display: none; width: 45em; } #success, #failure { display: none; } .code { font-family: Monaco, monospace; font-size: 9pt; white-space: pre-wrap; } #success .patch { width: 60em; height: 20em; } #failure .log { color: red; } form { padding-left: 2em; } .thinking { background-image: url('ajax-loader.gif'); background-repeat: no-repeat; background-position: top left; } </style> </head> <body> <div id="container"> <h1>Easy Patch Generator: <span class="project-name"></span></h1> <p>This page attempts to make it easier to contribute code to the <a class="homepage-link"></a> project.</p> <p>Just fork the project at <a class="repo-link"></a> at a publicly-accessible place like <a href="http://bitbucket.org/">bitbucket.org</a>, make your changes there, and use the form below to automatically generate a patch suitable for submission to Bugzilla.</p> <form> <p>URL of HG repository containing your changes:</p> <p><input id="pull-url" type="text"/></p> <input type="submit" value="Generate Patch"> </form> <div id="success"> <p>Patch generated!</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> </div> </body> </html>