Last active
April 15, 2016 13:01
-
-
Save linxlad/9c96055902b6c0f8ad0f7e39a0f88c25 to your computer and use it in GitHub Desktop.
Form part of the JSON API tester.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>{{ .Title }}</title> | |
<!-- Latest compiled and minified CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> | |
<style> | |
.alert.alert-danger { | |
text-align: center; | |
} | |
</style> | |
</head> | |
<body> | |
{{ .Error }} | |
<div class="container"> | |
<form action="/processor" method="post"> | |
<div class="form-group"> | |
<label for="url">Url</label> | |
<input type="text" class="form-control" id="url" name="url" placeholder="Example: http://dev-pdf-generation"> | |
</div> | |
<div class="form-group"> | |
<label for="json">JSON</label> | |
<textarea class="form-control" id="json" name="json" rows="8"></textarea> | |
</div> | |
<div class="checkbox"> | |
<label> | |
<input name="download" is="download" type="checkbox"> Download file | |
</label> | |
</div> | |
<button type="submit" class="btn btn-default">Process</button> | |
</form> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment