Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

createMessage.js 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. const CreateMsgRouter = {
  2. template: `
  3. <div class="card om-card">
  4. <h5>Neue Nachricht erstellen</h5>
  5. <form class="new-msg-form" action="#" methord="GET">
  6. <div class="form-group bmd-form-group">
  7. <label class="bmd-label-floating">Betreff</label>
  8. <input type="text" class="form-control" id="subject">
  9. </div>
  10. <div class="form-group bmd-form-group">
  11. <label class="bmd-label-floating">Tags</label>
  12. <input type="text" class="form-control" id="hashtags">
  13. </div>
  14. <div class="form-group">
  15. <label class="bmd-label-floating">Nachricht</label>
  16. <textarea class="form-control" id="message" rows="5"></textarea>
  17. </div>
  18. <div class="form-group">
  19. <div class="checkbox">
  20. <label>
  21. <input type="checkbox"> Zusätzlich als E-mail versenden
  22. </label>
  23. </div>
  24. </div>
  25. <button class="btn btn-default"><a @click="$router.go(-1)">ABBRECHEN </a></button>
  26. <button type="submit" class="btn btn-raised om-btn">SENDEN</button>
  27. </form>
  28. </div>
  29. `,
  30. data: function () {
  31. return {};
  32. },
  33. methods: {
  34. },
  35. mounted: function() {
  36. if ($(this).bootstrapMaterialDesign)
  37. $(this).bootstrapMaterialDesign();
  38. },
  39. };