-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5620a69
commit 605ad1c
Showing
176 changed files
with
6,542 additions
and
3,390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ | |
/5_RELEASES | ||
/6_API_my2sec_executable_OLD | ||
/6_API_my2sec | ||
/backup | ||
/backup | ||
/2_PAC/backup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
.task-container{ | ||
width: 25%; | ||
background: white; | ||
font-family: Arial, Helvetica, sans-serif; | ||
display:flex; | ||
flex-flow: column; | ||
/*height:100%;*/ | ||
align-items: stretch; | ||
/*resize: horizontal;*/ | ||
/*overflow: auto;*/ | ||
} | ||
.task-header_OLD{ | ||
transform: translateY(3px); | ||
border-radius: 5px; | ||
height: 5vh; | ||
background: rgb(42,45,46); | ||
display:flex; | ||
align-items: center; | ||
justify-content: center; | ||
margin:auto; | ||
width:94%; | ||
/*padding-top:1.5%; | ||
padding-bottom: 1.5%;*/ | ||
padding-left: 2%; | ||
padding-right: 2%; | ||
color:white; | ||
} | ||
.task-header{ | ||
height: 5vh; | ||
|
||
display:flex; | ||
align-items: center; | ||
|
||
margin:auto; | ||
width:94%; | ||
/*padding-top:1.5%; | ||
padding-bottom: 1.5%;*/ | ||
padding-left: 2%; | ||
padding-right: 2%; | ||
|
||
} | ||
.task-header h3{ | ||
margin:0; | ||
} | ||
#task-wrapper{ | ||
margin:auto; | ||
border-width:0px; | ||
border-style: solid; | ||
border-color:black; | ||
width: 90%; | ||
height: 20vh; | ||
overflow-y:scroll; | ||
padding: 2%; | ||
/*overflow: scroll;*/ | ||
background: white; | ||
flex: 1 1 auto; | ||
|
||
} | ||
#task-info{ | ||
width:100%; | ||
} | ||
|
||
/*LOADING BAR*/ | ||
.task-loading-wrapper{ | ||
|
||
} | ||
.task-loading_box{ | ||
display:block; | ||
position: relative; | ||
width: 98%; | ||
height:5px; | ||
border: 1px solid var(--main_color); | ||
border-radius: 10px; | ||
padding:2px; | ||
} | ||
.task-loading_bar{ | ||
border-radius: 10px; | ||
width:100px; | ||
height: 5px; | ||
background-color: var(--main_color); | ||
/*animation: load 1s infinite linear;*/ | ||
animation: none; | ||
|
||
} | ||
@keyframes load{ | ||
from { | ||
width: 0px; | ||
}to{ | ||
width: 100px; | ||
} | ||
} | ||
|
||
|
||
|
||
#log-times-panel-wrapper{ | ||
width:100%; | ||
} | ||
#log-times-container{ | ||
width: 90%; | ||
height: 47vh; | ||
overflow: scroll; | ||
padding-left: 2%; | ||
padding-right: 2%; | ||
margin:auto; | ||
border-width:0px; | ||
border-style: solid; | ||
border-color:black; | ||
} | ||
.log_time_cell-logged_time{ | ||
display:flex; | ||
align-items: center; | ||
} | ||
.work-day-cell{ | ||
background: rgb(42,45,46); | ||
width: 96%; | ||
padding: 2%; | ||
border-radius: 6px; | ||
} | ||
.work-day-date{ | ||
color:white; | ||
} | ||
.log_time_cell{ | ||
border-radius: 6px; | ||
background: white; | ||
width: 99%; | ||
padding: 0.5%; | ||
margin-bottom: 2%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
class MongoDbClient { | ||
constructor(jsap){ | ||
this.router_url=jsap.extended.AwProducer.endpoints.MongoDbRouter | ||
this.config={ | ||
headers:{ | ||
'Content-Type': 'application/json' | ||
} | ||
} | ||
} | ||
|
||
async test_datasource(){ | ||
var res=false | ||
try{ | ||
await this.ping() | ||
res=true; | ||
}catch(e){ | ||
res=false | ||
} | ||
return res; | ||
} | ||
async ping(){ | ||
var path="/mongodb/api"; | ||
var res = await axios.get(this.router_url+path,this.config) | ||
return res.data | ||
} | ||
|
||
async insertManyFiles(fileArr){ | ||
if(!fileArr){throw new Error("FileArr cannot be null")} | ||
var path="/mongodb/api/insertMany"; | ||
try{ | ||
const result = await axios.post(this.router_url+path,fileArr,this.config); | ||
//console.log(file); | ||
return result.data; | ||
}catch(e){ | ||
console.log(e); | ||
} | ||
} | ||
|
||
async insertFile(file){ | ||
if(!file){throw new Error("File cannot be null")} | ||
var path="/mongodb/api/insert"; | ||
try{ | ||
const result = await axios.post(this.router_url+path,file,this.config); | ||
//console.log(file); | ||
return result.data; | ||
}catch(e){ | ||
console.log(e); | ||
} | ||
} | ||
|
||
|
||
async deleteFileByObjectId(id){ | ||
throw new Error("Not implemented yet") | ||
} | ||
|
||
async getFileByObjectId(id){ | ||
throw new Error("Not implemented yet") | ||
} | ||
|
||
async getFile(query,options){ | ||
throw new Error("Not implemented yet") | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.