artifactview/templates/index.hbs
2024-06-18 23:55:34 +02:00

56 lines
2.3 KiB
Handlebars

{{#> partial/header ~}}
<title>Artifactview</title>
{{~/partial/header }}
<header class="center">
<svg
xmlns="http://www.w3.org/2000/svg"
width="50"
height="50"
viewBox="0 0 13.229 13.229"
><g aria-label="AV" style="stroke-width:.264583"><path
d="m12.381 2.878-2.698 7.557H8.73L6.031 2.878h.995L8.73 7.725q.17.466.286.879.116.402.19.772.074-.37.19-.783.117-.413.287-.889l1.693-4.826Z"
style="fill:var(--color-text-light);fill-opacity:1"
/><path
d="m1.158 10.435 2.699-7.557h.952l2.699 7.557h-.995L4.81 5.588q-.169-.466-.285-.879-.117-.402-.19-.772-.075.37-.191.783-.117.412-.286.889l-1.694 4.826Z"
style="fill:var(--color-text);fill-opacity:1;stroke-width:.264583"
/></g></svg>
</header>
<div class="center">
<div class="card">
<p>Enter a GitHub/Gitea/Forgejo Actions run url to browse CI artifacts</p>
<form method="GET" class="input-row">
<input
class="query-input"
name="url"
type="text"
required
placeholder="{{example_site}}/user/repo/actions/runs/42"
style="flex-grow: 1"
/>
<button class="btn" type="submit">Browse</button>
</form>
</div>
</div>
<footer>
<a
href="https://codeberg.org/ThetaDev/artifactview"
target="_blank"
rel="noopener noreferrer"
>
Artifactview
</a>
{{~crate::app::VERSION}}
<p class="light">
Install the <a href="/artifactview.user.js">Artifactview userscript</a> for <a href="https://addons.mozilla.org/de/firefox/addon/greasemonkey/" target="_blank" rel="noopener noreferrer">Greasemonkey</a>/<a href="https://violentmonkey.github.io/" target="_blank" rel="noopener noreferrer">Violentmonkey</a>
to add a "View artifact" button to your code forge.
</p>
<p class="light">
<b>Disclaimer:</b>
Artifactview does not host any websites, the data is fetched from the respective
software forge and is only stored temporarily on this server. The publisher of
the artifact is the only one responsible for the content. Most forges delete
artifacts after 90 days.
</p>
</footer>
</body>
</html>