Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2021-005
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
IT18019896 A.R.M.R.M.Mudalinayake
2021-005
Commits
f97ec56e
Commit
f97ec56e
authored
Jul 05, 2021
by
Dinushe Jayasekera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated form and dashboard chart
parent
e82b27ec
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
126 additions
and
3 deletions
+126
-3
test-Angular - Copy/src/app/audio/audio.component.css
test-Angular - Copy/src/app/audio/audio.component.css
+68
-2
test-Angular - Copy/src/app/audio/audio.component.html
test-Angular - Copy/src/app/audio/audio.component.html
+57
-0
test-Angular - Copy/src/app/dashboard/dashboard.component.ts
test-Angular - Copy/src/app/dashboard/dashboard.component.ts
+1
-1
No files found.
test-Angular - Copy/src/app/audio/audio.component.css
View file @
f97ec56e
...
...
@@ -12,7 +12,7 @@
}
.page__content
{
min-height
:
calc
(
1
50vh
-
178px
);
min-height
:
calc
(
2
50vh
-
178px
);
border-radius
:
10px
;
margin-top
:
-2rem
;
background
:
white
;
...
...
@@ -23,8 +23,74 @@
min-height
:
calc
(
50vh
-
178px
);
margin-top
:
70px
;
}
.page__content-data
{
/*
.page__content-data{
top: 25%;
left: 25%;
transform: translate(-25%, -25%);
} */
.page__form
{
box-sizing
:
border-box
;
font-family
:
Verdana
,
Geneva
,
Tahoma
,
sans-serif
;
font-size
:
large
;
}
input
[
type
=
text
],
select
,
textarea
{
width
:
100%
;
padding
:
12px
;
border
:
1px
solid
#ccc
;
border-radius
:
4px
;
resize
:
vertical
;
}
label
{
padding
:
12px
12px
12px
0
;
display
:
inline-block
;
}
input
[
type
=
submit
]
{
background-color
:
#4CAF50
;
color
:
white
;
padding
:
12px
20px
;
border
:
none
;
border-radius
:
4px
;
cursor
:
pointer
;
float
:
right
;
}
input
[
type
=
submit
]
:hover
{
background-color
:
#45a049
;
}
.container
{
border-radius
:
5px
;
background-color
:
#f2f2f2
;
padding
:
20px
;
}
.col-25
{
float
:
left
;
width
:
25%
;
margin-top
:
6px
;
}
.col-75
{
float
:
left
;
width
:
75%
;
margin-top
:
6px
;
}
/* Clear floats after the columns */
.row
:after
{
content
:
""
;
display
:
table
;
clear
:
both
;
}
/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media
screen
and
(
max-width
:
600px
)
{
.col-25
,
.col-75
,
input
[
type
=
submit
]
{
width
:
100%
;
margin-top
:
0
;
}
}
\ No newline at end of file
test-Angular - Copy/src/app/audio/audio.component.html
View file @
f97ec56e
...
...
@@ -15,5 +15,62 @@
</canvas>
</div>
</div>
<div
class=
"page__form shadow p-3 position-relative"
>
<h2>
For More Details
</h2>
<div
class=
"container"
>
<form
action=
"/action_page.php"
>
<div
class=
"row"
>
<div
class=
"col-25"
>
<label
for=
"fname"
>
First Name
</label>
</div>
<div
class=
"col-75"
>
<input
type=
"text"
id=
"fname"
name=
"firstname"
placeholder=
"Your name.."
>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-25"
>
<label
for=
"lname"
>
Last Name
</label>
</div>
<div
class=
"col-75"
>
<input
type=
"text"
id=
"lname"
name=
"lastname"
placeholder=
"Your last name.."
>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-25"
>
<label
for=
"lname"
>
Email
</label>
</div>
<div
class=
"col-75"
>
<input
type=
"text"
id=
"lname"
name=
"lastname"
placeholder=
"Email.."
>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-25"
>
<label
for=
"country"
>
Severity Level
</label>
</div>
<div
class=
"col-75"
>
<select
id=
"country"
name=
"country"
>
<option
value=
"australia"
>
Level 1
</option>
<option
value=
"canada"
>
Level 2
</option>
<option
value=
"usa"
>
Level 3
</option>
</select>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-25"
>
<label
for=
"subject"
>
Subject
</label>
</div>
<div
class=
"col-75"
>
<textarea
id=
"subject"
name=
"subject"
placeholder=
"Write something.."
style=
"height:200px"
></textarea>
</div>
</div>
<div
class=
"row"
>
<input
type=
"submit"
value=
"Submit"
>
</div>
</form>
</div>
</div>
</div>
</div>
test-Angular - Copy/src/app/dashboard/dashboard.component.ts
View file @
f97ec56e
...
...
@@ -10,7 +10,7 @@ import { Color, Label } from 'ng2-charts';
export
class
DashboardComponent
implements
OnInit
{
lineChartData
:
ChartDataSets
[]
=
[
{
data
:
[
85
,
72
,
78
,
75
,
77
,
75
],
label
:
'
ASD Severity Level
growth
'
},
{
data
:
[
85
,
72
,
78
,
75
,
77
,
75
],
label
:
'
ASD Severity Level
Status
'
},
];
lineChartLabels
:
Label
[]
=
[
'
January
'
,
'
February
'
,
'
March
'
,
'
April
'
,
'
May
'
,
'
June
'
];
...
...
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