<!DOCTYPE HTML>
<html>
  <head>
    <title>Push a notification - ModPortal - DBR</title>
    <% include ./partials/portalHeader.ejs %>
  </head>
  <body>
    <% include ./partials/nav.ejs %>
    <div class="container">
      <h1>Send a notification to all users</h1>
      <hr><br>
      <form action="/modportal/notifpushact" method="POST" enctype="application/x-www-form-urlencoded"><center>
      Type: <div style="color:red;display:inline-block;margin-bottom:0.5rem;">*</div><br>
      <select name="type" style="background-color: #1f1f1f;color:white;">
        <option value="announcement" name="type">Announcement</option>
        <option value="update" name="type">Update</option>
        <option value="important" name="type">Important information</option>
        <option value="other" name="type">Other</option>
      </select><br><br>
      Subject: <div style="color:red;display:inline-block;margin-bottom:0.5rem;">*</div> <br>
      <input type="text" name="subject" style="width:50%;background-color: #1f1f1f; color:white;"required></input><br><br>
      Message: <div style="color:red;display:inline-block;margin-bottom:0.5rem;">*</div><br>
      <textarea class="txtarea" style="width:70%;height:60%px;" maxlength="1024" rows="30" id="longdesc" name="message" required></textarea> 
      <br><br>
      <input type="submit" class="btn btn-warning" title="Push" value="Push"></input>&nbsp;&nbsp;<a href="/modportal" class="btn btn-warning" title="Back">Back</a>
      </form></center><br><br>
  </body>
</html>