default.template 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <a>
  2. <span class="icon icon-menu">
  3. hide sidebar
  4. </span>
  5. </a>
  6. <a>
  7. <span class="icon icon-menu">
  8. show sidebar
  9. </span>
  10. </a>
  11. <h1>
  12. {{title}}
  13. </h1>
  14. <!--
  15. <div class="topbar-left">
  16. <a class="topbar-home menuitem" href="#page-index">
  17. <span class="screen-small" style="background-image:url(img/headers/icons/menu.png);background-repeat:no-repeat;height:50px;background-position:center;"></span>
  18. </a>
  19. <a href="#page-messages" class="topbar-notifications menuitem screen-small"></a>
  20. {{#if key}}
  21. <span class="menuitem screen-large" onclick="$(this).children('.menu').toggle();">
  22. <span style="background-image:url(img/headers/icons/menu.png);background-repeat:no-repeat;height:50px;width:35px;background-position:center;float:left;"></span>
  23. <ul class="menu top" style="display:none;margin-top:50px;position:fixed;left:0;">
  24. <li>
  25. <a href="#page-index">
  26. Home
  27. </a>
  28. </li>
  29. <li>
  30. <a href="#page-projects">
  31. Projects
  32. </a>
  33. </li>
  34. <li>
  35. <a href="#page-issues">
  36. Issues
  37. </a>
  38. </li>
  39. <li>
  40. <a href="#page-users">
  41. Users
  42. </a>
  43. </li>
  44. </ul>
  45. </span>
  46. {{/if}}
  47. <a class="topbar-history menuitem" href="#page-index" >
  48. <div style="background-image:url(img/headers/icons/back.png);background-repeat:no-repeat;background-position:center;width:35px;height:50px;"></div>
  49. </a>
  50. <a class="topbar-current menuitem" href="#{{url}}">
  51. <div style="background-image:url(img/headers/icons/update.png);background-repeat:no-repeat;height:50px;background-position:center;width:35px;float:left;"></div>
  52. </a>
  53. <a class="topbar-current menuitem">
  54. {{title}}
  55. </a>
  56. </div>
  57. <div class="topbar-right">
  58. <a class="topbar-back menuitem" href="#{{url}}">
  59. <div style="background-image:url(img/headers/icons/menu.png);background-repeat:no-repeat;height:50px;background-position:center;"></div>
  60. </a>
  61. {{#unless key}}
  62. <a class="menuitem" href="#page-register">
  63. Register
  64. </a>
  65. <a class="menuitem" href="#page-login">
  66. Login
  67. </a>
  68. {{else}}
  69. <span class="menuitem screen-large" onclick="$(this).children('.menu').toggle();">
  70. <span style="background-image:url(img/headers/icons/user.png);height:35px;width:35px;background-position:center;float:left;margin-top:5px;"></span>
  71. <span style="float:left">
  72. {{user.name}} <span class="topbar-notifications"></span>
  73. </span>
  74. <ul class="menu top" style="display:none;margin-top:50px;position:fixed;right:0;">
  75. <li>
  76. <a href="#~{{user.name}}">
  77. Profile
  78. </a>
  79. </li>
  80. <li>
  81. <a href="#page-messages">
  82. <span class="topbar-notifications"></span> Messages
  83. </a>
  84. </li>
  85. <li>
  86. <a href="#page-logout">
  87. Logout
  88. </a>
  89. </li>
  90. </ul>
  91. </span>
  92. <span class="screen-small">
  93. <a class="menuitem" href="#page-index">
  94. Home
  95. </a>
  96. <a class="menuitem" href="#~{{user.name}}">
  97. Profile
  98. </a>
  99. <a class="menuitem" href="#page-messages">
  100. <span class="topbar-notifications"></span> Messages
  101. </a>
  102. <a class="menuitem" href="#page-projects">
  103. Projects
  104. </a>
  105. <a class="menuitem" href="#page-issues">
  106. Issues
  107. </a>
  108. <a class="menuitem" href="#page-users">
  109. Users
  110. </a>
  111. <a class="menuitem" href="#page-logout">
  112. Logout
  113. </a>
  114. </span>
  115. {{/unless}}
  116. </div>-->