text/html
•
1.36 KB
•
44 lines
<html>
<head>
<title>Run Manual Job - {{ owner.name }}/{{ project.name }}</title>
</head>
<body>
{% include "partials/sidebar.html" %}
<main>
<section>
<div class="page-header">
<h1 class="project-header">
<a href="{{ owner.uri() }}">{{ owner.name }}</a> /
<a href="{{ project.uri() }}">{{ project.name }}</a> /
<a href="/~{{ owner.slug }}/{{ project.slug }}/ci">CI</a> /
new
</h1>
</div>
{% include "partials/project_tabs.html" %}
{% if let Some(msg) = message %}
<div class="message" role="status">{{ msg }}</div>
{% endif %}
<form method="post" action="/~{{ owner.slug }}/{{ project.slug }}/ci/new" class="stack card simple-form">
<label>
Branch
<select name="branch">
{% for branch in branches %}
<option value="{{ branch }}"{% if branch == default_branch %} selected{% endif %}>{{ branch }}</option>
{% endfor %}
</select>
</label>
<label>
Workflow YAML
<textarea name="workflow_yaml" rows="20" required>{{ workflow_content }}</textarea>
</label>
<button type="submit"><span class="icon i-play"></span> Run Job</button>
</form>
</section>
</main>
</body>
</html>