Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
catlaser
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chris Prince
catlaser
Commits
2475176e
Commit
2475176e
authored
Apr 18, 2021
by
Chris Prince
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update forms and slight layouts
parent
8cec80ed
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
4 deletions
+19
-4
app.component.css
website/lasercat-ui/src/app/app.component.css
+7
-0
app.component.html
website/lasercat-ui/src/app/app.component.html
+5
-3
app.module.ts
website/lasercat-ui/src/app/app.module.ts
+7
-1
No files found.
website/lasercat-ui/src/app/app.component.css
View file @
2475176e
.inline
{
display
:
block
;
}
.pos
{
display
:
inline
;
}
\ No newline at end of file
website/lasercat-ui/src/app/app.component.html
View file @
2475176e
...
@@ -5,17 +5,19 @@
...
@@ -5,17 +5,19 @@
</h1>
</h1>
<img
width=
"300"
alt=
"Angular Logo"
src=
"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg=="
>
<img
width=
"300"
alt=
"Angular Logo"
src=
"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg=="
>
</div>
</div>
<div>
<div
class=
"centered"
>
<button
(
click
)="
alterState
()"
>
Turn {{ laserState }} Laser
</button>
<button
(
click
)="
alterState
()"
>
Turn {{ laserState }} Laser
</button>
<button>
Start Random Patterns
</button>
<button>
Start Random Patterns
</button>
<div>
<div
class=
"inline"
>
<div
class=
"pos"
>
<label
for=
"xPos"
>
X:
</label>
<label
for=
"xPos"
>
X:
</label>
<input
id=
"XPos"
type=
"number"
/>
<input
id=
"XPos"
type=
"number"
/>
</div>
</div>
<div
>
<div
class=
"pos"
>
<label
for=
"yPos"
>
Y:
</label>
<label
for=
"yPos"
>
Y:
</label>
<input
id=
"yPos"
type=
"number"
/>
<input
id=
"yPos"
type=
"number"
/>
</div>
</div>
<button
(
click
)="
moveLaser
()"
>
Move
</button>
<button
(
click
)="
moveLaser
()"
>
Move
</button>
</div>
</div>
</div>
<router-outlet></router-outlet>
<router-outlet></router-outlet>
website/lasercat-ui/src/app/app.module.ts
View file @
2475176e
...
@@ -3,6 +3,8 @@ import { NgModule } from '@angular/core';
...
@@ -3,6 +3,8 @@ import { NgModule } from '@angular/core';
import
{
AppRoutingModule
}
from
'./app-routing.module'
;
import
{
AppRoutingModule
}
from
'./app-routing.module'
;
import
{
AppComponent
}
from
'./app.component'
;
import
{
AppComponent
}
from
'./app.component'
;
import
{
FormsModule
,
ReactiveFormsModule
}
from
'@angular/forms'
;
import
{
HttpClientModule
}
from
'@angular/common/http'
;
@
NgModule
({
@
NgModule
({
declarations
:
[
declarations
:
[
...
@@ -10,7 +12,11 @@ import { AppComponent } from './app.component';
...
@@ -10,7 +12,11 @@ import { AppComponent } from './app.component';
],
],
imports
:
[
imports
:
[
BrowserModule
,
BrowserModule
,
AppRoutingModule
AppRoutingModule
,
FormsModule
,
HttpClientModule
,
ReactiveFormsModule
,
],
],
providers
:
[],
providers
:
[],
bootstrap
:
[
AppComponent
]
bootstrap
:
[
AppComponent
]
...
...
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