Members
usersActivated
add user to new task
- Source:
Methods
(async) addNewParticipants()
Add new participants to our group (name and email)
allowDrop(ev)
Parameters:
Name | Type | Description |
---|---|---|
ev |
* | event |
backToLogin()
Back to Login Screen
backlogShowAllTasks()
Show all Tasks in Backlog
- Source:
(async) checkLogin()
Check if Login is valid and Login if
checkUrlShowOnNav()
Check URL and mark Link on navbar
closeAlert()
Add display none to Alert
closeLightbox()
Close Lightbox by clicking background
colorChoice(i)
Choice which color has the task on backlog depending on Urgency
Parameters:
Name | Type | Description |
---|---|---|
i |
number |
- Source:
Returns:
color
(async) createTask()
To create new task and then save task to backend
- Source:
deleteInput()
Delete content in field input
- Source:
deleteTask(id)
Delete Task on click
Parameters:
Name | Type | Description |
---|---|---|
id |
id |
(async) deleteUser(id)
Delete User which delete button is clicked
Parameters:
Name | Type | Description |
---|---|---|
id |
number | index of array of user |
drawSingleColumns(array, string)
draws all ststus container with the single tasks
Parameters:
Name | Type | Description |
---|---|---|
array |
* | an array with the status seperated tasks |
string |
* | string of the status seperated tasks and id of the html container |
forLoopTasks()
Loop for making Backlog Rows
- Source:
generateHTMLUser(i)
Generate Html to add User to task
Parameters:
Name | Type | Description |
---|---|---|
i |
i |
- Source:
Returns:
HTML Container for User Adding to Task
generateToDoElement(element)
draws a task in html
Parameters:
Name | Type | Description |
---|---|---|
element |
* | a special element(task) in an array |
Returns:
an html task
getUrgencyFrameColor(element)
get the color for the taskframe, depends on the urgency
Parameters:
Name | Type | Description |
---|---|---|
element |
* | element a special element(task) in an array |
Returns:
color for the frame seperated for the urgency
htmlTableHead()
Returns the HTML table Head
- Source:
Returns:
htmlTableRow(color, allTasks, i, j)
Returns the HTML table row for each task
Parameters:
Name | Type | Description |
---|---|---|
color |
string | |
allTasks |
array | |
i |
number | |
j |
number |
- Source:
Returns:
(async) init()
Init for every Page with loading from Backend and templates
(async) initAddTask()
show Users on AddTask Assigned To
- Source:
(async) initBacklog()
init and show Tasks on Backlog
- Source:
(async) initBoard()
show Tasks on Board
(async) initPage()
Init Function for all Pages with Nav
(async) initWelcome()
Init Function for Welcome Page
(async) loadFromBackend()
Load allTasks and allUsers from backend
(async) loginGuestUser()
button login as guest
loginUser(event)
Login Button login User and write json to loggedInUser
Parameters:
Name | Type | Description |
---|---|---|
event |
click | only to stop prevent link |
moveTo(status)
change status of a task after the task was dragged in an other container
Parameters:
Name | Type | Description |
---|---|---|
status |
* | status of the task |
readTaskAndPushToArray()
Read Values from Input and Push to Array allTasks
- Source:
(async) saveToBackend()
Save Users and Tasks in Backend
(async) showProfilePicOnNavbar()
show Profile Pic of User who is logged in on Navbarstarts on init()
showTaskLightbox($)
Parameters:
Name | Type | Description |
---|---|---|
$ |
* |
showUsersOnAddTask()
Show users in Add Task
- Source:
startDragging(id)
Parameters:
Name | Type | Description |
---|---|---|
id |
* | special identification number of a task |
startNewSignIn()
Sign In new User
updateHTML()
updates the status container