hackage-server-0.5.0: datafiles/templates/Html/maintain-docs.html.st
<!DOCTYPE html>
<html>
<head>
$hackageCssTheme()$
<title>Hackage: Manage documentation for $pkgid$</title>
</head>
<body>
$hackagePageHeader()$
<div id="content">
<h1>Manage documentation for $pkgid$</h1>
<h2>Upload documentation</h2>
<p>Hackage usually builds package documentation automatically. However, if you wish, you may also build and upload the HTML yourself.</p>
<p>For more information, see this <a href="https://github.com/haskell/hackage-server/issues/56">bug report</a>.</p>
<form class="box" method="post" action="/package/$pkgid$/docs" enctype="multipart/form-data">
<input type="file" name="_file" />
<input type="hidden" name="_method" value="PUT" />
<input type="hidden" name="_transform" value="file2raw" />
<input type="submit" value="Upload documentation" />
</form>
<h2>Delete documentation</h2>
<form class="box" method="post" action="/package/$pkgid$/docs" enctype="multipart/form-data">
<input type="hidden" name="_method" value="DELETE" />
<input type="submit" value="Delete documentation and trigger rebuild" />
</form>
</div>
</body>
</html>