|
| 1 | +{% extends "v2_base.html" %} |
| 2 | +{% set title='Edit project' %} |
| 3 | + |
| 4 | +{% block breadcrumb %} |
| 5 | + <ol class="breadcrumb"> |
| 6 | + <li class="breadcrumb-item"><a href="{{ url_for('route_v2_root') }}">Home</a></li> |
| 7 | + <li class="breadcrumb-item"><a href="{{ url_for('route_v2_projects') }}">Projects</a></li> |
| 8 | + <li class="breadcrumb-item active">Edit project</li> |
| 9 | + </ol> |
| 10 | +{% endblock %} |
| 11 | + |
| 12 | +{% block content %} |
| 13 | + <h1>Edit project</h1> |
| 14 | + |
| 15 | + <form action="" method="post" name="project"> |
| 16 | + {{ form.hidden_tag() }} |
| 17 | + |
| 18 | + <div class="form-group"> |
| 19 | + <label for="name">Project name</label> |
| 20 | + {{ form.name(class_='form-control') }} |
| 21 | + <p class="form-text text-muted">Name of the project.</p> |
| 22 | + </div> |
| 23 | + |
| 24 | + <div class="form-group"> |
| 25 | + <label for="name">Working directory</label> |
| 26 | + {{ form.workdir(class_='form-control') }} |
| 27 | + <p class="form-text text-muted">The absolute path of a working directory in which the commands will be executed.</p> |
| 28 | + </div> |
| 29 | + |
| 30 | + <div class="form-group"> |
| 31 | + <label for="name">Build command</label> |
| 32 | + {{ form.build_command(class_='form-control') }} |
| 33 | + <p class="form-text text-muted">The command to build the project.</p> |
| 34 | + </div> |
| 35 | + |
| 36 | + <div class="form-group"> |
| 37 | + <label for="name">Quickcheck command</label> |
| 38 | + {{ form.quickcheck_command(class_='form-control') }} |
| 39 | + <p class="form-text text-muted">The command to execute a quick check (optional).</p> |
| 40 | + </div> |
| 41 | + |
| 42 | + <div class="form-group"> |
| 43 | + <label for="name">Quickcheck timeout</label> |
| 44 | + {{ form.quickcheck_timeout(class_='form-control') }} |
| 45 | + <p class="form-text text-muted">Timeout for the quick check (optional).</p> |
| 46 | + </div> |
| 47 | + |
| 48 | + <div class="form-group"> |
| 49 | + <label for="name">Test command</label> |
| 50 | + {{ form.test_command(class_='form-control') }} |
| 51 | + <p class="form-text text-muted">The command to execute the test suite.</p> |
| 52 | + </div> |
| 53 | + |
| 54 | + <div class="form-group"> |
| 55 | + <label for="name">Test timeout</label> |
| 56 | + {{ form.test_timeout(class_='form-control') }} |
| 57 | + <p class="form-text text-muted">Timeout for the test suite (optional).</p> |
| 58 | + </div> |
| 59 | + |
| 60 | + <div class="form-group"> |
| 61 | + <label for="name">Clean command</label> |
| 62 | + {{ form.clean_command(class_='form-control') }} |
| 63 | + <p class="form-text text-muted">Command to clean after executing the test suite (optional).</p> |
| 64 | + </div> |
| 65 | + |
| 66 | + <button type="submit" class="btn btn-primary">Edit project</button> |
| 67 | + </form> |
| 68 | +{% endblock %} |
0 commit comments