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.

156 lines
6.8 KiB

8 years ago
  1. <!DOCTYPE html>
  2. <html ng-app="workApp">
  3. <head>
  4. <!--Import Google Icon Font-->
  5. <link href="fonts/icons.css" rel="stylesheet">
  6. <!--Import materialize.css-->
  7. <link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
  8. <link type="text/css" rel="stylesheet" href="own.css"/>
  9. <!--Let browser know website is optimized for mobile-->
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  11. <title>Open Work Time</title>
  12. <!-- ANGULAR -->
  13. <script src="libraries/angular.min.js"></script>
  14. </head>
  15. <body ng-controller="workController as work">
  16. <nav>
  17. <div class="nav-wrapper green lighten-2">
  18. <a href="#" class="brand-logo">Open Work Time</a>
  19. <ul id="nav-mobile" class="right">
  20. <li>
  21. <a ng-click="openCode()" target="_blank">
  22. <i class="large material-icons" title="Visit code">code</i>
  23. </a>
  24. </li>
  25. <li>
  26. <a ng-click="deleteStorage()">
  27. <i class="large material-icons" title="Delete storage">info_outline</i>
  28. </a>
  29. </li>
  30. <li>
  31. <a ng-click="saveStorage()" title="Save all to storage">
  32. <i class="large material-icons">perm_identity</i>
  33. </a>
  34. </li>
  35. </ul>
  36. </div>
  37. </nav>
  38. <div class="">
  39. <div class="row">
  40. <div class="card green lighten-5 col s12 m5 l5">
  41. <div class="card-content">
  42. <span class="card-title">Projects</span>
  43. <ul class="collection">
  44. <li class="collection-item avatar green lighten-5">
  45. <img src="img/webicons/modeling.png" class="circle"/>
  46. <span class="title">Piratel</span>
  47. <span class="badge">14h</span>
  48. <p class="grey-text">User1, User2</p>
  49. </li>
  50. <li class="collection-item avatar green lighten-4">
  51. <img src="img/webicons/smartphone.png" class="circle"/>
  52. <span class="title">CarsharingApp Frontend</span>
  53. <span class="badge">10h 34min</span>
  54. <p class="grey-text">User4, User3</p>
  55. </li>
  56. <li class="collection-item avatar green lighten-5">
  57. <img src="img/webicons/browser-4.png" class="circle"/>
  58. <span class="title">CarsharingApp Backend</span>
  59. <span class="badge">11h 20min</span>
  60. <p class="grey-text">User1, User2</p>
  61. </li>
  62. <li class="collection-item avatar green lighten-5">
  63. <img src="img/webicons/coding.png" class="circle"/>
  64. <span class="title">OpenWorkTime</span>
  65. <span class="badge">2h 15min</span>
  66. <p class="grey-text">User1, User2, User3, User4</p>
  67. </li>
  68. <li class="collection-item avatar green lighten-5">
  69. <img src="img/webicons/devices-1.png" class="circle"/>
  70. <span class="title">WebPrimusTech</span>
  71. <span class="badge">0h</span>
  72. <p class="grey-text">no workers</p>
  73. </li>
  74. </ul>
  75. </div>
  76. <div class="card-action">
  77. <a class="waves-effect waves-light btn green lighten-3">Add new project</a>
  78. </div>
  79. </div>
  80. <div class="card green lighten-4 col s12 m7 l7">
  81. <div class="card-content">
  82. <span class="card-title">CarsharingApp Frontend</span>
  83. <p>
  84. project github: <a href="#">https://github.com/idoctnef/collectivecarApp</a>
  85. </p>
  86. <p>
  87. project Taigan: <a href="#">https://github.com/idoctnef/collectivecarApp</a>
  88. </p>
  89. <p>
  90. Total time: 10h 34min
  91. </p>
  92. <p>
  93. Current strike time: <b>10h 34min</b>
  94. </p>
  95. </div>
  96. <div class="card-action">
  97. <a class="waves-effect waves-light btn green lighten-2">Work!</a>
  98. <!--<a class="waves-effect waves-light btn deep-orange lighten-2">Stop working!</a>-->
  99. </div>
  100. </div>
  101. <div class="card green lighten-5 col s12 m7 l7">
  102. <div class="card-content">
  103. <span class="card-title">Workers</span>
  104. <p>
  105. <div class="o_worker_avatar_card">
  106. <img src="img/avatars/duck.png" class="o_worker_avatar_img"/>
  107. <p class="grey-text text-darken-1">User1</p>
  108. </div>
  109. <div class="o_worker_avatar_card">
  110. <img src="img/avatars/racoon.png" class="o_worker_avatar_img"/>
  111. <p class="grey-text text-darken-1">User2</p>
  112. </div>
  113. <div class="o_worker_avatar_card">
  114. <img src="img/avatars/tiger.png" class="o_worker_avatar_img"/>
  115. <p class="grey-text text-darken-1">User3</p>
  116. </div>
  117. <div class="o_worker_avatar_card">
  118. <img src="img/avatars/crab.png" class="o_worker_avatar_img"/>
  119. <p class="grey-text text-darken-1">User4</p>
  120. </div>
  121. </p>
  122. </div>
  123. </div>
  124. </div>
  125. </div>
  126. <!--Import jQuery before materialize.js-->
  127. <script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
  128. <script type="text/javascript" src="js/materialize.min.js"></script>
  129. <script src="controllers.js"></script>
  130. <script src="libraries/toastr.js"></script>
  131. <link type="text/css" rel="stylesheet" href="libraries/toastr.css"/>
  132. </body>
  133. </html>