rankingCalendar.jet.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <div class="container">
  2. <h1>Ranking calendar ({{ ThisMonth.MonthLiteral }} {{ Year }})</h1>
  3. <div class="switcher">
  4. {{ url := "/rankingCalendar?date=" + ThisMonth.Link + "&mode=" }}
  5. <span class="switch-title">Modes</span>
  6. <a href="{{ url }}daily" class="switch-button">Daily</a>
  7. <a href="{{ url }}weekly" class="switch-button">Weekly</a>
  8. <a href="{{ url }}monthly" class="switch-button">Monthly</a>
  9. <a href="{{ url }}rookie" class="switch-button">Rookie</a>
  10. <span class="switch-seperator"></span>
  11. <a href="{{ url }}daily_r18" class="switch-button">Daily (R-18)</a>
  12. <a href="{{ url }}weekly_r18" class="switch-button">Weekly (R-18)</a>
  13. <a href="{{ url }}r18g" class="switch-button">R-18G</a>
  14. <br />
  15. <a href="{{ url }}original" class="switch-button">Original</a>
  16. <a href="{{ url }}male" class="switch-button">Popular along males</a>
  17. <a href="{{ url }}female" class="switch-button">Popular along females</a>
  18. <br />
  19. <a href="{{ url }}male_r18" class="switch-button">Popular along males (R-18)</a>
  20. <a href="{{ url }}female_r18" class="switch-button">Popular along females (R-18)</a>
  21. </div>
  22. <div>
  23. <form action="/rankingCalendar" method="post">
  24. <input type="hidden" name="mode" value="{{ Mode }}" />
  25. <label for="date">
  26. Date picker (mm/dd/yyyy):
  27. </label>
  28. <span>
  29. <input type="date" name="date" min="2007-09-01" max="{{Year}}-{{ ThisMonth.MonthPadded }}-01" value="{{Year}}-{{ ThisMonth.MonthPadded }}-01"/>
  30. </span>
  31. <span>
  32. <input type="submit" value="Go" />
  33. </span>
  34. </form>
  35. </div>
  36. <br>
  37. <div id="calendar">
  38. <div class="calendar-weeks">
  39. <div>Sun</div>
  40. <div>Mon</div>
  41. <div>Tue</div>
  42. <div>Wed</div>
  43. <div>Thu</div>
  44. <div>Fri</div>
  45. <div>Sat</div>
  46. </div>
  47. <div class="calendar-board">
  48. {{ raw: Render }}
  49. </div>
  50. </div>
  51. <div class="pagination">
  52. {{ url := "/rankingCalendar?mode=" + Mode + "&date=" }}
  53. <a href="{{ url }}{{ MonthBefore.Link }}" class="pagination-button ">Last month</a>
  54. <a href="{{ url }}{{ MonthAfter.Link }}" class="pagination-button ">Next month</a>
  55. </div>
  56. </div>