Commit 1b822613538e5683a402b2d75b3df2e8c00cc4ba
1 parent
53ff00e6
Exists in
dev
small ui change on sequence form
Showing
2 changed files
with
4 additions
and
2 deletions
Show diff stats
src/core/pyros_django/routine_manager/templates/routine_manager/view_sequence.html
... | ... | @@ -36,8 +36,10 @@ |
36 | 36 | <td> </td> |
37 | 37 | <td><button type="submit" class="btn btn-success" name="action" value="save">Save and finish later</button></td> |
38 | 38 | <td> </td> |
39 | - <td><button type="submit" class="btn btn-success" name="action" value="save_and_submit">Save and Submit</button></td> | |
39 | + <td><button type="submit" class="btn btn-success" name="action" value="check_validity">Check validity</button></td> | |
40 | 40 | <td> </td> |
41 | + <td><button type="submit" class="btn btn-success" name="action" value="save_and_submit">Save and Submit</button></td> | |
42 | + <td> </td> | |
41 | 43 | <td><button type="submit" class="btn btn-success" name="action" value="save_and_add"> Album(s)</button></td> |
42 | 44 | <td> </td> |
43 | 45 | <td><button type="submit" class="btn btn-danger" name="action" value="delete">Delete</button></td> | ... | ... |
src/core/pyros_django/routine_manager/views.py
... | ... | @@ -176,7 +176,7 @@ def action_sequence(request, seq_id, action, status=0, message=""): |
176 | 176 | horizon_line = config.getHorizonLine(config.unit_name) |
177 | 177 | horizon_line_svg = f'<svg id="horizonline" width="30vw" height="5vh">\ |
178 | 178 | <line x1="{horizon_line[0][0]}" y1="{horizon_line[0][1]}" x2="{horizon_line[1][0]}" y2="{horizon_line[1][1]}" stroke="black" fontsize="2em"/>\ |
179 | - </svg> (values : {horizon_line})' | |
179 | + </svg><p> (values : {horizon_line})</p>' | |
180 | 180 | if request.session.get("role") == "Admin": |
181 | 181 | sp_list = None |
182 | 182 | else: | ... | ... |