mirror of
https://github.com/cuigh/swirl
synced 2024-12-30 15:53:24 +00:00
51 lines
1.6 KiB
Go
51 lines
1.6 KiB
Go
{{ extends "base" }}
|
|
|
|
{{ block style() }}
|
|
<link rel="stylesheet" href="/assets/highlight/highlight.css?v=9.12">
|
|
{{ end }}
|
|
|
|
{{ block script() }}
|
|
<script src="/assets/highlight/highlight.pack.js?v=9.12"></script>
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
|
{{ end }}
|
|
|
|
{{ block body_content() }}
|
|
<div class="container">
|
|
<nav class="breadcrumb has-succeeds-separator is-small is-marginless" aria-label="breadcrumbs">
|
|
<ul>
|
|
<li><a href="/">{{ i18n("menu.home") }}</a></li>
|
|
<li><a href="/task/">{{ i18n("menu.task") }}</a></li>
|
|
<li class="is-active"><a>{{ i18n("menu.raw") }}</a></li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
<section class="hero is-small is-light">
|
|
<div class="hero-body">
|
|
<div class="container">
|
|
<h2 class="title is-2">
|
|
{{ .Task.Name ? .Task.Name : .Task.ID }}
|
|
</h2>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<nav class="navbar has-shadow">
|
|
<div class="container">
|
|
<div class="navbar-brand">
|
|
<a class="navbar-item is-tab" href="/task/{{.Task.ID}}/detail">{{ i18n("menu.detail") }}</a>
|
|
<a class="navbar-item is-tab is-active" href="/task/{{.Task.ID}}/raw">{{ i18n("menu.raw") }}</a>
|
|
<a class="navbar-item is-tab" href="/task/{{.Task.ID}}/logs">{{ i18n("menu.log") }}</a>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<section class="section">
|
|
<div class="container">
|
|
<div class="content">
|
|
<pre class="is-paddingless"><code class="json">{{ .Raw }}</code></pre>
|
|
</div>
|
|
<a href="/task/" class="button is-primary">
|
|
<span class="icon"><i class="fas fa-reply"></i></span>
|
|
<span>{{ i18n("button.return") }}</span>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
{{ end }} |