Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CS699-Project
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Meet Narendra
CS699-Project
Commits
abe9d083
Commit
abe9d083
authored
Nov 21, 2022
by
Abuhujair Javed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create Ticket Button
parent
55ffd481
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
60 additions
and
13 deletions
+60
-13
frontend/sitcomm/src/app/app.module.ts
frontend/sitcomm/src/app/app.module.ts
+7
-2
frontend/sitcomm/src/app/jira/create-ticket-dialog.html
frontend/sitcomm/src/app/jira/create-ticket-dialog.html
+8
-0
frontend/sitcomm/src/app/jira/jira.component.css
frontend/sitcomm/src/app/jira/jira.component.css
+11
-1
frontend/sitcomm/src/app/jira/jira.component.html
frontend/sitcomm/src/app/jira/jira.component.html
+14
-9
frontend/sitcomm/src/app/jira/jira.component.ts
frontend/sitcomm/src/app/jira/jira.component.ts
+20
-1
No files found.
frontend/sitcomm/src/app/app.module.ts
View file @
abe9d083
...
@@ -26,7 +26,9 @@ import { ProjectComponent } from './project/project.component';
...
@@ -26,7 +26,9 @@ import { ProjectComponent } from './project/project.component';
import
{
MatTab
,
MatTabsModule
}
from
'
@angular/material/tabs
'
;
import
{
MatTab
,
MatTabsModule
}
from
'
@angular/material/tabs
'
;
import
{
MatStepperModule
}
from
'
@angular/material/stepper
'
;
import
{
MatStepperModule
}
from
'
@angular/material/stepper
'
;
import
{
MatListModule
}
from
'
@angular/material/list
'
;
import
{
MatListModule
}
from
'
@angular/material/list
'
;
import
{
MatExpansionModule
}
from
'
@angular/material/expansion
'
;
import
{
MatExpansionModule
}
from
'
@angular/material/expansion
'
;
//import { MatDialog, MatDialogRef } from '@angular/material/dialog';
//import { CreateTicketDialog } from './jira/jira.component';
@
NgModule
({
@
NgModule
({
declarations
:
[
declarations
:
[
...
@@ -58,7 +60,10 @@ import {MatExpansionModule} from '@angular/material/expansion';
...
@@ -58,7 +60,10 @@ import {MatExpansionModule} from '@angular/material/expansion';
MatTabsModule
,
MatTabsModule
,
MatStepperModule
,
MatStepperModule
,
MatListModule
,
MatListModule
,
MatExpansionModule
MatExpansionModule
,
//MatDialog,
//MatDialogRef,
//CreateTicketDialog
],
],
providers
:
[
CookieService
],
providers
:
[
CookieService
],
bootstrap
:
[
AppComponent
]
bootstrap
:
[
AppComponent
]
...
...
frontend/sitcomm/src/app/jira/create-ticket-dialog.html
0 → 100644
View file @
abe9d083
<h1
mat-dialog-title
>
Delete file
</h1>
<div
mat-dialog-content
>
Would you like to delete cat.jpeg?
</div>
<div
mat-dialog-actions
>
<button
mat-button
mat-dialog-close
>
No
</button>
<button
mat-button
mat-dialog-close
cdkFocusInitial
>
Ok
</button>
</div>
frontend/sitcomm/src/app/jira/jira.component.css
View file @
abe9d083
...
@@ -16,3 +16,13 @@
...
@@ -16,3 +16,13 @@
display
:
inline-block
;
display
:
inline-block
;
font-size
:
20px
;
font-size
:
20px
;
}
}
.add-button-css
{
display
:
flex
;
justify-content
:
center
;
width
:
100px
;
height
:
60px
;
position
:
fixed
;
right
:
0px
;
bottom
:
20px
;
}
\ No newline at end of file
frontend/sitcomm/src/app/jira/jira.component.html
View file @
abe9d083
...
@@ -21,8 +21,8 @@
...
@@ -21,8 +21,8 @@
</mat-menu>
</mat-menu>
</mat-card-title>
</mat-card-title>
<mat-card-content>
<mat-card-content>
<p>
{{tile.tid}}
</p>
<p>
{{tile.tid}}
<
p
>
{{tile.content}}
</p>
<
br
>
{{tile.content}}
</p>
</mat-card-content>
</mat-card-content>
</mat-card>
</mat-card>
</mat-grid-tile>
</mat-grid-tile>
...
@@ -51,8 +51,8 @@
...
@@ -51,8 +51,8 @@
</mat-menu>
</mat-menu>
</mat-card-title>
</mat-card-title>
<mat-card-content>
<mat-card-content>
<p>
{{tile.tid}}
</p>
<p>
{{tile.tid}}
<
p
>
{{tile.content}}
</p>
<
br
>
{{tile.content}}
</p>
</mat-card-content>
</mat-card-content>
</mat-card>
</mat-card>
</mat-grid-tile>
</mat-grid-tile>
...
@@ -81,8 +81,8 @@
...
@@ -81,8 +81,8 @@
</mat-menu>
</mat-menu>
</mat-card-title>
</mat-card-title>
<mat-card-content>
<mat-card-content>
<p>
{{tile.tid}}
</p>
<p>
{{tile.tid}}
<
p
>
{{tile.content}}
</p>
<
br
>
{{tile.content}}
</p>
</mat-card-content>
</mat-card-content>
</mat-card>
</mat-card>
</mat-grid-tile>
</mat-grid-tile>
...
@@ -112,8 +112,8 @@
...
@@ -112,8 +112,8 @@
</mat-menu>
</mat-menu>
</mat-card-title>
</mat-card-title>
<mat-card-content>
<mat-card-content>
<p>
{{tile.tid}}
</p>
<p>
{{tile.tid}}
<
p
>
{{tile.content}}
</p>
<
br
>
{{tile.content}}
</p>
</mat-card-content>
</mat-card-content>
</mat-card>
</mat-card>
</mat-grid-tile>
</mat-grid-tile>
...
@@ -121,5 +121,10 @@
...
@@ -121,5 +121,10 @@
</mat-card-content>
</mat-card-content>
</mat-card>
</mat-card>
</mat-grid-tile>
</mat-grid-tile>
<div
class=
"add-button-css"
>
<button
mat-fab
color=
"primary"
(click)=
"openDialog()"
>
<mat-icon>
create
</mat-icon>
</button>
</div>
</mat-grid-list>
</mat-grid-list>
frontend/sitcomm/src/app/jira/jira.component.ts
View file @
abe9d083
import
{
DialogRef
}
from
'
@angular/cdk/dialog
'
;
import
{
Component
,
OnInit
}
from
'
@angular/core
'
;
import
{
Component
,
OnInit
}
from
'
@angular/core
'
;
import
{
Observable
,
Observer
}
from
'
rxjs
'
;
import
{
Observable
,
Observer
}
from
'
rxjs
'
;
import
{
FetcherService
}
from
'
../fetcher.service
'
;
import
{
FetcherService
}
from
'
../fetcher.service
'
;
@
Component
({
@
Component
({
selector
:
'
app-jira
'
,
selector
:
'
app-jira
'
,
templateUrl
:
'
./jira.component.html
'
,
templateUrl
:
'
./jira.component.html
'
,
...
@@ -26,6 +28,8 @@ export class JiraComponent implements OnInit {
...
@@ -26,6 +28,8 @@ export class JiraComponent implements OnInit {
}
}
}
}
openDialog
(){}
calRowHeight
(){
calRowHeight
(){
let
max_issue
=
Math
.
max
(
this
.
to_do
.
length
,
this
.
in_prog
.
length
,
this
.
done
.
length
,
this
.
backlog
.
length
)
let
max_issue
=
Math
.
max
(
this
.
to_do
.
length
,
this
.
in_prog
.
length
,
this
.
done
.
length
,
this
.
backlog
.
length
)
let
str
=
''
;
let
str
=
''
;
...
@@ -73,7 +77,22 @@ export class JiraComponent implements OnInit {
...
@@ -73,7 +77,22 @@ export class JiraComponent implements OnInit {
backlog
=
BACKLOG
;
backlog
=
BACKLOG
;
}
}
/*
@Component({
selector: 'create-ticket-dialog',
templateUrl: 'create-ticket-dialog.html',
})
export class CreateTicketDialog {
constructor(public dialogRef: MatDialogRef<CreateTicketDialog> ) {}
openDialog(){
this.dialogRef.open(CreateTicketDialog, {
height: '250px',
width: '250px'
});
}
}
*/
export
const
GRID_NAME
=
[
export
const
GRID_NAME
=
[
{
name
:
'
TO DO ISSUES
'
,
content
:
'
BLAH BLAH BLAH
'
},
{
name
:
'
TO DO ISSUES
'
,
content
:
'
BLAH BLAH BLAH
'
},
{
name
:
'
IN PROGRESS
'
,
content
:
'
BLAH BLAH BLAH
'
},
{
name
:
'
IN PROGRESS
'
,
content
:
'
BLAH BLAH BLAH
'
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment