desktop offline app started
1
desktopapp/README.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
local offline desktop version
|
||||||
41
desktopapp/controllers.js
Normal file
@@ -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
desktopapp/css/materialize.css
vendored
Normal file
16
desktopapp/css/materialize.min.css
vendored
Normal file
23
desktopapp/fonts/icons.css
Normal file
@@ -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
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Bold.ttf
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Bold.woff
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Bold.woff2
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Light.eot
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Light.ttf
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Light.woff
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Light.woff2
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Medium.eot
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Medium.ttf
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Medium.woff
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Medium.woff2
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Regular.eot
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Regular.ttf
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Regular.woff
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Regular.woff2
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Thin.eot
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Thin.ttf
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Thin.woff
Normal file
BIN
desktopapp/fonts/roboto/Roboto-Thin.woff2
Normal file
BIN
desktopapp/img/avatars/anteater.png
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
BIN
desktopapp/img/avatars/bat.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
desktopapp/img/avatars/beetle.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
desktopapp/img/avatars/bulldog.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
desktopapp/img/avatars/butterfly.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
desktopapp/img/avatars/camel.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
desktopapp/img/avatars/cat.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
desktopapp/img/avatars/chameleon.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
desktopapp/img/avatars/clown-fish.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
desktopapp/img/avatars/cobra.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
desktopapp/img/avatars/cow.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
desktopapp/img/avatars/crab.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
desktopapp/img/avatars/crocodile.png
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
BIN
desktopapp/img/avatars/duck.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
desktopapp/img/avatars/elephant.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
desktopapp/img/avatars/frog.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
desktopapp/img/avatars/giraffe.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
desktopapp/img/avatars/hen.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
desktopapp/img/avatars/hippopotamus.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
desktopapp/img/avatars/kangaroo.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
desktopapp/img/avatars/lion.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
desktopapp/img/avatars/llama.png
Normal file
|
After Width: | Height: | Size: 8.4 KiB |
BIN
desktopapp/img/avatars/macaw.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
desktopapp/img/avatars/monkey.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
desktopapp/img/avatars/moose.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
desktopapp/img/avatars/mouse.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
desktopapp/img/avatars/octopus.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
desktopapp/img/avatars/ostrich.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
desktopapp/img/avatars/owl.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
desktopapp/img/avatars/panda.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
desktopapp/img/avatars/pelican.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
desktopapp/img/avatars/penguin.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
desktopapp/img/avatars/pig.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
desktopapp/img/avatars/rabbit.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
desktopapp/img/avatars/racoon.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
desktopapp/img/avatars/ray.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
desktopapp/img/avatars/rhinoceros.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
desktopapp/img/avatars/sea-cow.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
desktopapp/img/avatars/shark.png
Normal file
|
After Width: | Height: | Size: 9.5 KiB |
BIN
desktopapp/img/avatars/sheep.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
desktopapp/img/avatars/siberian-husky.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
desktopapp/img/avatars/sloth.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
desktopapp/img/avatars/snake.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
desktopapp/img/avatars/spider.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
desktopapp/img/avatars/squirrel.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
desktopapp/img/avatars/swan.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
desktopapp/img/avatars/tiger.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
desktopapp/img/avatars/toucan.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
desktopapp/img/avatars/turtle.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
desktopapp/img/avatars/whale.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
desktopapp/img/trash.png
Normal file
|
After Width: | Height: | Size: 731 B |
BIN
desktopapp/img/webicons/ai.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
desktopapp/img/webicons/allocation-1.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
desktopapp/img/webicons/allocation-2.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
desktopapp/img/webicons/allocation.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
desktopapp/img/webicons/attach.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
desktopapp/img/webicons/avatar-1.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
desktopapp/img/webicons/avatar.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
desktopapp/img/webicons/background-1.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
desktopapp/img/webicons/background.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
desktopapp/img/webicons/browser-1.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
desktopapp/img/webicons/browser-2.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
desktopapp/img/webicons/browser-3.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
desktopapp/img/webicons/browser-4.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
desktopapp/img/webicons/browser-5.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
desktopapp/img/webicons/browser-6.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
desktopapp/img/webicons/browser.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
desktopapp/img/webicons/cloud-computing.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
desktopapp/img/webicons/coding.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
desktopapp/img/webicons/color-palette.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
desktopapp/img/webicons/compass.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
desktopapp/img/webicons/computer.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
desktopapp/img/webicons/crop.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
desktopapp/img/webicons/css.png
Normal file
|
After Width: | Height: | Size: 13 KiB |