contribute.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <div ng-controller="ContributeCtrl">
  2. <div class="page-header">
  3. <h1>Contribute</h1>
  4. </div>
  5. <div class="row">
  6. <div class="col-md-8" id="main">
  7. <h3>Add a card</h3>
  8. <p>
  9. Help make the game! Contribute words and make the game better. Also, please
  10. original work only. Don't just blindly copy a card from any of the Taboo games.
  11. </p>
  12. <form id="cardForm" role="form" ng-submit="submit()">
  13. <div class="form-group">
  14. <label for="inputWord">Word</label>
  15. <input type="text" class="form-control" ng-model="card.word" id="inputWord" placeholder="Word" ng-change="check()" required>
  16. <span ng-show="exists">We already have this word</span>
  17. </div>
  18. <div class="form-group">
  19. <label>Taboo Words</label>
  20. <input type="text" class="form-control" ng-model="card.taboo[0]" placeholder="Taboo Word" required>
  21. <input type="text" class="form-control" ng-model="card.taboo[1]" placeholder="Taboo Word" required>
  22. <input type="text" class="form-control" ng-model="card.taboo[2]" placeholder="Taboo Word" required>
  23. <input type="text" class="form-control" ng-model="card.taboo[3]" placeholder="Taboo Word" required>
  24. <input type="text" class="form-control" ng-model="card.taboo[4]" placeholder="Taboo Word" required>
  25. </div>
  26. <input ng-disabled="submitting" class="btn btn-primary" type="submit" value="{{submitting ? 'Submitting...' : 'Submit'}}">
  27. <span ng-show="thanks">Thank you!</span>
  28. </form>
  29. </div>
  30. <div class="col-md-4 sidebar">
  31. <h3>Help code</h3>
  32. <p>
  33. Want to help code instead? Fork the <a href="https://github.com/thatsmydoing/gamenchat">repo</a> or submit
  34. an <a href="https://github.com/thatsmydoing/gamenchat/issues">issue</a>.
  35. </p>
  36. <h3>Help design</h3>
  37. <p>
  38. Yes, it's bootstrap. Not even custom colors. If you like it, maybe you can make it look nicer.
  39. </p>
  40. </div>
  41. </div>
  42. </div>