Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RLG Maker
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Romain DELEAU
RLG Maker
Commits
225bafa9
Commit
225bafa9
authored
Mar 14, 2023
by
Romain DELEAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add interupt sider-piece
parent
f5c56a6e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
112 additions
and
2 deletions
+112
-2
app.component.html
src/app/app.component.html
+1
-0
app.module.ts
src/app/app.module.ts
+3
-1
interupt.component.html
src/app/sider-pieces/interupt/interupt.component.html
+13
-0
interupt.component.scss
src/app/sider-pieces/interupt/interupt.component.scss
+56
-0
interupt.component.spec.ts
src/app/sider-pieces/interupt/interupt.component.spec.ts
+23
-0
interupt.component.ts
src/app/sider-pieces/interupt/interupt.component.ts
+15
-0
repeat.component.scss
src/app/sider-pieces/repeat/repeat.component.scss
+1
-1
No files found.
src/app/app.component.html
View file @
225bafa9
...
...
@@ -137,6 +137,7 @@
<div
class=
"container-sider"
>
<app-comments
class=
"container-sider-element"
></app-comments>
<app-repeat
class=
"container-sider-element"
></app-repeat>
<app-interupt
class=
"container-sider-element"
></app-interupt>
<app-characters
class=
"container-sider-element"
></app-characters>
<app-rules
class=
"container-sider-element"
></app-rules>
</div>
...
...
src/app/app.module.ts
View file @
225bafa9
...
...
@@ -24,6 +24,7 @@ import { RulesComponent } from './sider-pieces/rules/rules.component';
import
{
StepComponent
}
from
'./pieces/step/step.component'
;
import
{
FinalTaskComponent
}
from
'./pieces/final-task/final-task.component'
;
import
{
RepeatTaskComponent
}
from
'./pieces/repeat-task/repeat-task.component'
;
import
{
InteruptComponent
}
from
'./sider-pieces/interupt/interupt.component'
;
import
{
DragScrollDirective
}
from
'./directives/drag-scroll.directive'
;
import
{
MouseWheelZoomDirective
}
from
'./directives/mouse-wheel-zoom.directive'
;
...
...
@@ -49,7 +50,8 @@ import { MouseWheelZoomDirective } from './directives/mouse-wheel-zoom.directive
RulesComponent
,
StepComponent
,
FinalTaskComponent
,
RepeatTaskComponent
RepeatTaskComponent
,
InteruptComponent
],
imports
:
[
BrowserModule
,
...
...
src/app/sider-pieces/interupt/interupt.component.html
0 → 100644
View file @
225bafa9
<div
class=
"piece"
>
<div
class=
"piece-form"
>
<div
class=
"piece-form-header"
>
<mat-icon
fontIcon=
"front_hand"
></mat-icon>
<div
class=
"piece-form-header-label"
>
<label>
Interruption de la tâche
</label>
</div>
</div>
<div
class=
"piece-form-textarea"
>
<textarea></textarea>
</div>
</div>
</div>
\ No newline at end of file
src/app/sider-pieces/interupt/interupt.component.scss
0 → 100644
View file @
225bafa9
.piece
{
--piece-background-color
:
#f7c9cf
;
width
:
300px
;
position
:
relative
;
background-color
:
var
(
--
piece-background-color
);
border
:
solid
black
1px
;
border-radius
:
10px
;
&
-form
{
position
:
relative
;
text-align
:
center
;
margin
:
10px
5px
10px
5px
;
&
-header
{
display
:
flex
;
flex-direction
:
row
;
mat-icon
{
position
:
absolute
;
transform
:
scale
(
1
.5
);
color
:
white
;
}
&
-label
{
display
:
flex
;
flex-direction
:
row
;
position
:
relative
;
left
:
50%
;
transform
:
translateX
(
-50%
);
font-family
:
'Glacial Indifference Bold'
;
}
}
&
-textarea
{
display
:
flex
;
flex-direction
:
column
;
margin-top
:
20px
;
textarea
{
padding
:
5px
10px
5px
10px
;
margin-top
:
10px
;
resize
:
vertical
;
border
:
none
;
border-radius
:
10px
;
flex-grow
:
1
;
min-height
:
50px
;
max-height
:
100px
;
background-image
:
url("../../../assets/background-images/interruption.png")
;
background-position
:
center
;
background-repeat
:
no-repeat
;
background-size
:
20%
;
}
}
}
}
\ No newline at end of file
src/app/sider-pieces/interupt/interupt.component.spec.ts
0 → 100644
View file @
225bafa9
import
{
ComponentFixture
,
TestBed
}
from
'@angular/core/testing'
;
import
{
InteruptComponent
}
from
'./interupt.component'
;
describe
(
'InteruptComponent'
,
()
=>
{
let
component
:
InteruptComponent
;
let
fixture
:
ComponentFixture
<
InteruptComponent
>
;
beforeEach
(
async
()
=>
{
await
TestBed
.
configureTestingModule
({
declarations
:
[
InteruptComponent
]
})
.
compileComponents
();
fixture
=
TestBed
.
createComponent
(
InteruptComponent
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
});
it
(
'should create'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/sider-pieces/interupt/interupt.component.ts
0 → 100644
View file @
225bafa9
import
{
Component
,
OnInit
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-interupt'
,
templateUrl
:
'./interupt.component.html'
,
styleUrls
:
[
'./interupt.component.scss'
]
})
export
class
InteruptComponent
implements
OnInit
{
constructor
()
{
}
ngOnInit
():
void
{
}
}
src/app/sider-pieces/repeat/repeat.component.scss
View file @
225bafa9
...
...
@@ -58,7 +58,7 @@
background-image
:
url("../../../assets/background-images/repeat.png")
;
background-position
:
center
;
background-repeat
:
no-repeat
;
background-size
:
3
0%
;
background-size
:
2
0%
;
}
}
}
...
...
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