Add generator and result page

This commit is contained in:
Valentin Brandl
2019-05-04 15:38:00 +02:00
parent d5e6bf7839
commit eb0ee4b31d
2 changed files with 38 additions and 0 deletions

View File

@@ -45,6 +45,21 @@ would render this badge:
alt="example badge" /></a>
</pre>
<h2>Badge Generator</h2>
<form method="post" action="/generate">
<select name="service" id="service">
<option value="github">GitHub</option>
<option value="gitlab">Gitlab</option>
<option value="bitbucket">Bitbucket</option>
</select>
<label>/</label>
<input name="user" id="user" type="text" placeholder="user" />
<label>/</label>
<input name="repo" id="repo" type="text" placeholder="repository" />
<button type="submit">Generate</button>
</form>
<h2>Source Code</h2>
<p>