Chris Danis | ba13da2 | 2020-12-21 13:25:09 -0500 | [diff] [blame^] | 1 | {% extends "base.html" %} |
| 2 | |
| 3 | {% block content %} |
| 4 | <section class="section"> |
| 5 | <div class="container block has-text-centered"> |
| 6 | <h2 class="title is-4">Wake up an SRE</h2> |
| 7 | <p class="subtitle narrow container">If you are confident there's a widespread outage or other emergency, and that it |
| 8 | isn't known to us already, you should page us.</p> |
| 9 | </div> |
| 10 | <div class="container block is-max-desktop"> |
| 11 | <form action="submit_page" method="POST"> |
| 12 | <div class="field"> |
| 13 | <label class="label">You are logged in as: </label> |
| 14 | <div class="control"> |
| 15 | <input class="input" type="text" value="{{ username }}" readonly> |
| 16 | </div> |
| 17 | <p class="help"> |
| 18 | Your username will be included. |
| 19 | </p> |
| 20 | </div> |
| 21 | |
| 22 | <div class="field"> |
| 23 | <label class="label">Summary:</label> |
| 24 | <div class="control"> |
| 25 | <input name="summary" class="input" type="text" placeholder="Brief summary of what's wrong"> |
| 26 | </div> |
| 27 | </div> |
| 28 | |
| 29 | <div class="field"> |
| 30 | <label class="label">Message:</label> |
| 31 | <div class="control"> |
| 32 | <textarea class="textarea" name="description" |
| 33 | placeholder="Description of the emergency situation, and how to contact you"></textarea> |
| 34 | </div> |
| 35 | <div class="help"> |
| 36 | Please be as detailed as reasonably possible, and include how to best get in touch with you. Do |
| 37 | <strong>not</strong> include any confidential information (e.g. user data). |
| 38 | </div> |
| 39 | </div> |
| 40 | |
| 41 | <div class="field is-grouped"> |
| 42 | <div class="control"> |
| 43 | <button class="button is-link is-danger" |
| 44 | onclick="this.classList.add('is-loading');">Send</button> |
| 45 | </div> |
| 46 | <div class="control"> |
| 47 | <a href="/" class="button is-link is-light">Cancel</a> |
| 48 | </div> |
| 49 | </div> |
| 50 | </form> |
| 51 | </div> |
| 52 | </section> |
| 53 | {% endblock %} |