Browse Source

desktop offline app started

master
nau 8 years ago
parent
commit
43654d6ca3
187 changed files with 17158 additions and 10 deletions
  1. +1
    -0
      desktopapp/README.md
  2. +41
    -0
      desktopapp/controllers.js
  3. +8461
    -0
      desktopapp/css/materialize.css
  4. +16
    -0
      desktopapp/css/materialize.min.css
  5. BIN
      desktopapp/fonts/2fcrYFNaTjcS6g4U3t-Y5ZjZjT5FdEJ140U2DJYC3mY.woff2
  6. +23
    -0
      desktopapp/fonts/icons.css
  7. BIN
      desktopapp/fonts/roboto/Roboto-Bold.eot
  8. BIN
      desktopapp/fonts/roboto/Roboto-Bold.ttf
  9. BIN
      desktopapp/fonts/roboto/Roboto-Bold.woff
  10. BIN
      desktopapp/fonts/roboto/Roboto-Bold.woff2
  11. BIN
      desktopapp/fonts/roboto/Roboto-Light.eot
  12. BIN
      desktopapp/fonts/roboto/Roboto-Light.ttf
  13. BIN
      desktopapp/fonts/roboto/Roboto-Light.woff
  14. BIN
      desktopapp/fonts/roboto/Roboto-Light.woff2
  15. BIN
      desktopapp/fonts/roboto/Roboto-Medium.eot
  16. BIN
      desktopapp/fonts/roboto/Roboto-Medium.ttf
  17. BIN
      desktopapp/fonts/roboto/Roboto-Medium.woff
  18. BIN
      desktopapp/fonts/roboto/Roboto-Medium.woff2
  19. BIN
      desktopapp/fonts/roboto/Roboto-Regular.eot
  20. BIN
      desktopapp/fonts/roboto/Roboto-Regular.ttf
  21. BIN
      desktopapp/fonts/roboto/Roboto-Regular.woff
  22. BIN
      desktopapp/fonts/roboto/Roboto-Regular.woff2
  23. BIN
      desktopapp/fonts/roboto/Roboto-Thin.eot
  24. BIN
      desktopapp/fonts/roboto/Roboto-Thin.ttf
  25. BIN
      desktopapp/fonts/roboto/Roboto-Thin.woff
  26. BIN
      desktopapp/fonts/roboto/Roboto-Thin.woff2
  27. BIN
      desktopapp/img/avatars/anteater.png
  28. BIN
      desktopapp/img/avatars/bat.png
  29. BIN
      desktopapp/img/avatars/beetle.png
  30. BIN
      desktopapp/img/avatars/bulldog.png
  31. BIN
      desktopapp/img/avatars/butterfly.png
  32. BIN
      desktopapp/img/avatars/camel.png
  33. BIN
      desktopapp/img/avatars/cat.png
  34. BIN
      desktopapp/img/avatars/chameleon.png
  35. BIN
      desktopapp/img/avatars/clown-fish.png
  36. BIN
      desktopapp/img/avatars/cobra.png
  37. BIN
      desktopapp/img/avatars/cow.png
  38. BIN
      desktopapp/img/avatars/crab.png
  39. BIN
      desktopapp/img/avatars/crocodile.png
  40. BIN
      desktopapp/img/avatars/duck.png
  41. BIN
      desktopapp/img/avatars/elephant.png
  42. BIN
      desktopapp/img/avatars/frog.png
  43. BIN
      desktopapp/img/avatars/giraffe.png
  44. BIN
      desktopapp/img/avatars/hen.png
  45. BIN
      desktopapp/img/avatars/hippopotamus.png
  46. BIN
      desktopapp/img/avatars/kangaroo.png
  47. BIN
      desktopapp/img/avatars/lion.png
  48. BIN
      desktopapp/img/avatars/llama.png
  49. BIN
      desktopapp/img/avatars/macaw.png
  50. BIN
      desktopapp/img/avatars/monkey.png
  51. BIN
      desktopapp/img/avatars/moose.png
  52. BIN
      desktopapp/img/avatars/mouse.png
  53. BIN
      desktopapp/img/avatars/octopus.png
  54. BIN
      desktopapp/img/avatars/ostrich.png
  55. BIN
      desktopapp/img/avatars/owl.png
  56. BIN
      desktopapp/img/avatars/panda.png
  57. BIN
      desktopapp/img/avatars/pelican.png
  58. BIN
      desktopapp/img/avatars/penguin.png
  59. BIN
      desktopapp/img/avatars/pig.png
  60. BIN
      desktopapp/img/avatars/rabbit.png
  61. BIN
      desktopapp/img/avatars/racoon.png
  62. BIN
      desktopapp/img/avatars/ray.png
  63. BIN
      desktopapp/img/avatars/rhinoceros.png
  64. BIN
      desktopapp/img/avatars/sea-cow.png
  65. BIN
      desktopapp/img/avatars/shark.png
  66. BIN
      desktopapp/img/avatars/sheep.png
  67. BIN
      desktopapp/img/avatars/siberian-husky.png
  68. BIN
      desktopapp/img/avatars/sloth.png
  69. BIN
      desktopapp/img/avatars/snake.png
  70. BIN
      desktopapp/img/avatars/spider.png
  71. BIN
      desktopapp/img/avatars/squirrel.png
  72. BIN
      desktopapp/img/avatars/swan.png
  73. BIN
      desktopapp/img/avatars/tiger.png
  74. BIN
      desktopapp/img/avatars/toucan.png
  75. BIN
      desktopapp/img/avatars/turtle.png
  76. BIN
      desktopapp/img/avatars/whale.png
  77. BIN
      desktopapp/img/trash.png
  78. BIN
      desktopapp/img/webicons/ai.png
  79. BIN
      desktopapp/img/webicons/allocation-1.png
  80. BIN
      desktopapp/img/webicons/allocation-2.png
  81. BIN
      desktopapp/img/webicons/allocation.png
  82. BIN
      desktopapp/img/webicons/attach.png
  83. BIN
      desktopapp/img/webicons/avatar-1.png
  84. BIN
      desktopapp/img/webicons/avatar.png
  85. BIN
      desktopapp/img/webicons/background-1.png
  86. BIN
      desktopapp/img/webicons/background.png
  87. BIN
      desktopapp/img/webicons/browser-1.png
  88. BIN
      desktopapp/img/webicons/browser-2.png
  89. BIN
      desktopapp/img/webicons/browser-3.png
  90. BIN
      desktopapp/img/webicons/browser-4.png
  91. BIN
      desktopapp/img/webicons/browser-5.png
  92. BIN
      desktopapp/img/webicons/browser-6.png
  93. BIN
      desktopapp/img/webicons/browser.png
  94. BIN
      desktopapp/img/webicons/cloud-computing.png
  95. BIN
      desktopapp/img/webicons/coding.png
  96. BIN
      desktopapp/img/webicons/color-palette.png
  97. BIN
      desktopapp/img/webicons/compass.png
  98. BIN
      desktopapp/img/webicons/computer.png
  99. BIN
      desktopapp/img/webicons/crop.png
  100. BIN
      desktopapp/img/webicons/css.png

+ 1
- 0
desktopapp/README.md

@ -0,0 +1 @@
local offline desktop version

+ 41
- 0
desktopapp/controllers.js

@ -0,0 +1,41 @@
angular.module('workApp', [])
.controller('workController', function(
$scope
) {
$scope.username="user";
//localStorage.clear();
$scope.projects=[];
if(localStorage.getItem("w_l_projects"))
{
$scope.projects=JSON.parse(localStorage.getItem("w_l_projects")); //w_local_
}
$scope.newproject={};
$scope.newproject.id=$scope.projects[$scope.projects.length-1].id+1;
$scope.addNewProject = function(){
$scope.newproject.totaltime="0";
$scope.projects.push($scope.newproject);
localStorage.setItem("w_l_projects", angular.toJson($scope.projects));
$scope.newproject={};
$scope.newproject.id=$scope.projects.length+1;
};
$scope.removeProject = function(index){
$scope.projects.splice(index, 1);
localStorage.setItem("w_l_projects", angular.toJson($scope.projects));
};
$scope.openCode = function(){
toastr.info("Visiting code");
var urlCode="https://github.com/idoctnef/openworktime";
if(typeof process !== 'undefined'){
console.log(process.versions['electron']);
const {shell} = require('electron');
shell.openExternal(urlCode);
}else{
window.open(urlCode);
}
};
});

+ 8461
- 0
desktopapp/css/materialize.css
File diff suppressed because it is too large
View File


+ 16
- 0
desktopapp/css/materialize.min.css
File diff suppressed because it is too large
View File


BIN
desktopapp/fonts/2fcrYFNaTjcS6g4U3t-Y5ZjZjT5FdEJ140U2DJYC3mY.woff2


+ 23
- 0
desktopapp/fonts/icons.css

@ -0,0 +1,23 @@
/* fallback */
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: local('Material Icons'), local('MaterialIcons-Regular'), url(2fcrYFNaTjcS6g4U3t-Y5ZjZjT5FdEJ140U2DJYC3mY.woff2) format('woff2');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-moz-font-feature-settings: 'liga';
-moz-osx-font-smoothing: grayscale;
}

BIN
desktopapp/fonts/roboto/Roboto-Bold.eot


BIN
desktopapp/fonts/roboto/Roboto-Bold.ttf


BIN
desktopapp/fonts/roboto/Roboto-Bold.woff


BIN
desktopapp/fonts/roboto/Roboto-Bold.woff2


BIN
desktopapp/fonts/roboto/Roboto-Light.eot


BIN
desktopapp/fonts/roboto/Roboto-Light.ttf


BIN
desktopapp/fonts/roboto/Roboto-Light.woff


BIN
desktopapp/fonts/roboto/Roboto-Light.woff2


BIN
desktopapp/fonts/roboto/Roboto-Medium.eot


BIN
desktopapp/fonts/roboto/Roboto-Medium.ttf


BIN
desktopapp/fonts/roboto/Roboto-Medium.woff


BIN
desktopapp/fonts/roboto/Roboto-Medium.woff2


BIN
desktopapp/fonts/roboto/Roboto-Regular.eot


BIN
desktopapp/fonts/roboto/Roboto-Regular.ttf


BIN
desktopapp/fonts/roboto/Roboto-Regular.woff


BIN
desktopapp/fonts/roboto/Roboto-Regular.woff2


BIN
desktopapp/fonts/roboto/Roboto-Thin.eot


BIN
desktopapp/fonts/roboto/Roboto-Thin.ttf


BIN
desktopapp/fonts/roboto/Roboto-Thin.woff


BIN
desktopapp/fonts/roboto/Roboto-Thin.woff2


BIN
desktopapp/img/avatars/anteater.png

Before After
Width: 512  |  Height: 512  |  Size: 8.1 KiB

BIN
desktopapp/img/avatars/bat.png

Before After
Width: 512  |  Height: 512  |  Size: 10 KiB

BIN
desktopapp/img/avatars/beetle.png

Before After
Width: 512  |  Height: 512  |  Size: 16 KiB

BIN
desktopapp/img/avatars/bulldog.png

Before After
Width: 512  |  Height: 512  |  Size: 17 KiB

BIN
desktopapp/img/avatars/butterfly.png

Before After
Width: 512  |  Height: 512  |  Size: 11 KiB

BIN
desktopapp/img/avatars/camel.png

Before After
Width: 512  |  Height: 512  |  Size: 13 KiB

BIN
desktopapp/img/avatars/cat.png

Before After
Width: 512  |  Height: 512  |  Size: 17 KiB

BIN
desktopapp/img/avatars/chameleon.png

Before After
Width: 512  |  Height: 512  |  Size: 15 KiB

BIN
desktopapp/img/avatars/clown-fish.png

Before After
Width: 512  |  Height: 512  |  Size: 21 KiB

BIN
desktopapp/img/avatars/cobra.png

Before After
Width: 512  |  Height: 512  |  Size: 17 KiB

BIN
desktopapp/img/avatars/cow.png

Before After
Width: 512  |  Height: 512  |  Size: 21 KiB

BIN
desktopapp/img/avatars/crab.png

Before After
Width: 512  |  Height: 512  |  Size: 17 KiB

BIN
desktopapp/img/avatars/crocodile.png

Before After
Width: 512  |  Height: 512  |  Size: 8.7 KiB

BIN
desktopapp/img/avatars/duck.png

Before After
Width: 512  |  Height: 512  |  Size: 9.6 KiB

BIN
desktopapp/img/avatars/elephant.png

Before After
Width: 512  |  Height: 512  |  Size: 11 KiB

BIN
desktopapp/img/avatars/frog.png

Before After
Width: 512  |  Height: 512  |  Size: 15 KiB

BIN
desktopapp/img/avatars/giraffe.png

Before After
Width: 512  |  Height: 512  |  Size: 17 KiB

BIN
desktopapp/img/avatars/hen.png

Before After
Width: 512  |  Height: 512  |  Size: 12 KiB

BIN
desktopapp/img/avatars/hippopotamus.png

Before After
Width: 512  |  Height: 512  |  Size: 11 KiB

BIN
desktopapp/img/avatars/kangaroo.png

Before After
Width: 512  |  Height: 512  |  Size: 11 KiB

BIN
desktopapp/img/avatars/lion.png

Before After
Width: 512  |  Height: 512  |  Size: 17 KiB

BIN
desktopapp/img/avatars/llama.png

Before After
Width: 512  |  Height: 512  |  Size: 8.4 KiB

BIN
desktopapp/img/avatars/macaw.png

Before After
Width: 512  |  Height: 512  |  Size: 14 KiB

BIN
desktopapp/img/avatars/monkey.png

Before After
Width: 512  |  Height: 512  |  Size: 16 KiB

BIN
desktopapp/img/avatars/moose.png

Before After
Width: 512  |  Height: 512  |  Size: 11 KiB

BIN
desktopapp/img/avatars/mouse.png

Before After
Width: 512  |  Height: 512  |  Size: 10 KiB

BIN
desktopapp/img/avatars/octopus.png

Before After
Width: 512  |  Height: 512  |  Size: 21 KiB

BIN
desktopapp/img/avatars/ostrich.png

Before After
Width: 512  |  Height: 512  |  Size: 12 KiB

BIN
desktopapp/img/avatars/owl.png

Before After
Width: 512  |  Height: 512  |  Size: 15 KiB

BIN
desktopapp/img/avatars/panda.png

Before After
Width: 512  |  Height: 512  |  Size: 12 KiB

BIN
desktopapp/img/avatars/pelican.png

Before After
Width: 512  |  Height: 512  |  Size: 11 KiB

BIN
desktopapp/img/avatars/penguin.png

Before After
Width: 512  |  Height: 512  |  Size: 14 KiB

BIN
desktopapp/img/avatars/pig.png

Before After
Width: 512  |  Height: 512  |  Size: 13 KiB

BIN
desktopapp/img/avatars/rabbit.png

Before After
Width: 512  |  Height: 512  |  Size: 12 KiB

BIN
desktopapp/img/avatars/racoon.png

Before After
Width: 512  |  Height: 512  |  Size: 13 KiB

BIN
desktopapp/img/avatars/ray.png

Before After
Width: 512  |  Height: 512  |  Size: 12 KiB

BIN
desktopapp/img/avatars/rhinoceros.png

Before After
Width: 512  |  Height: 512  |  Size: 10 KiB

BIN
desktopapp/img/avatars/sea-cow.png

Before After
Width: 512  |  Height: 512  |  Size: 7.5 KiB

BIN
desktopapp/img/avatars/shark.png

Before After
Width: 512  |  Height: 512  |  Size: 9.5 KiB

BIN
desktopapp/img/avatars/sheep.png

Before After
Width: 512  |  Height: 512  |  Size: 10 KiB

BIN
desktopapp/img/avatars/siberian-husky.png

Before After
Width: 512  |  Height: 512  |  Size: 19 KiB

BIN
desktopapp/img/avatars/sloth.png

Before After
Width: 512  |  Height: 512  |  Size: 15 KiB

BIN
desktopapp/img/avatars/snake.png

Before After
Width: 512  |  Height: 512  |  Size: 11 KiB

BIN
desktopapp/img/avatars/spider.png

Before After
Width: 512  |  Height: 512  |  Size: 20 KiB

BIN
desktopapp/img/avatars/squirrel.png

Before After
Width: 512  |  Height: 512  |  Size: 14 KiB

BIN
desktopapp/img/avatars/swan.png

Before After
Width: 512  |  Height: 512  |  Size: 12 KiB

BIN
desktopapp/img/avatars/tiger.png

Before After
Width: 512  |  Height: 512  |  Size: 22 KiB

BIN
desktopapp/img/avatars/toucan.png

Before After
Width: 512  |  Height: 512  |  Size: 11 KiB

BIN
desktopapp/img/avatars/turtle.png

Before After
Width: 512  |  Height: 512  |  Size: 20 KiB

BIN
desktopapp/img/avatars/whale.png

Before After
Width: 512  |  Height: 512  |  Size: 9.2 KiB

BIN
desktopapp/img/trash.png

Before After
Width: 32  |  Height: 32  |  Size: 731 B

BIN
desktopapp/img/webicons/ai.png

Before After
Width: 512  |  Height: 512  |  Size: 11 KiB

BIN
desktopapp/img/webicons/allocation-1.png

Before After
Width: 512  |  Height: 512  |  Size: 11 KiB

BIN
desktopapp/img/webicons/allocation-2.png

Before After
Width: 512  |  Height: 512  |  Size: 16 KiB

BIN
desktopapp/img/webicons/allocation.png

Before After
Width: 512  |  Height: 512  |  Size: 3.0 KiB

BIN
desktopapp/img/webicons/attach.png

Before After
Width: 512  |  Height: 512  |  Size: 11 KiB

BIN
desktopapp/img/webicons/avatar-1.png

Before After
Width: 512  |  Height: 512  |  Size: 20 KiB

BIN
desktopapp/img/webicons/avatar.png

Before After
Width: 512  |  Height: 512  |  Size: 19 KiB

BIN
desktopapp/img/webicons/background-1.png

Before After
Width: 512  |  Height: 512  |  Size: 3.4 KiB

BIN
desktopapp/img/webicons/background.png

Before After
Width: 512  |  Height: 512  |  Size: 13 KiB

BIN
desktopapp/img/webicons/browser-1.png

Before After
Width: 512  |  Height: 512  |  Size: 13 KiB

BIN
desktopapp/img/webicons/browser-2.png

Before After
Width: 512  |  Height: 512  |  Size: 14 KiB

BIN
desktopapp/img/webicons/browser-3.png

Before After
Width: 512  |  Height: 512  |  Size: 12 KiB

BIN
desktopapp/img/webicons/browser-4.png

Before After
Width: 512  |  Height: 512  |  Size: 17 KiB

BIN
desktopapp/img/webicons/browser-5.png

Before After
Width: 512  |  Height: 512  |  Size: 12 KiB

BIN
desktopapp/img/webicons/browser-6.png

Before After
Width: 512  |  Height: 512  |  Size: 18 KiB

BIN
desktopapp/img/webicons/browser.png

Before After
Width: 512  |  Height: 512  |  Size: 13 KiB

BIN
desktopapp/img/webicons/cloud-computing.png

Before After
Width: 512  |  Height: 512  |  Size: 11 KiB

BIN
desktopapp/img/webicons/coding.png

Before After
Width: 512  |  Height: 512  |  Size: 16 KiB

BIN
desktopapp/img/webicons/color-palette.png

Before After
Width: 512  |  Height: 512  |  Size: 10 KiB

BIN
desktopapp/img/webicons/compass.png

Before After
Width: 512  |  Height: 512  |  Size: 13 KiB

BIN
desktopapp/img/webicons/computer.png

Before After
Width: 512  |  Height: 512  |  Size: 7.3 KiB

BIN
desktopapp/img/webicons/crop.png

Before After
Width: 512  |  Height: 512  |  Size: 3.6 KiB

BIN
desktopapp/img/webicons/css.png

Before After
Width: 512  |  Height: 512  |  Size: 13 KiB

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save