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
38dfd5a5
Commit
38dfd5a5
authored
Feb 14, 2023
by
Romain DELEAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add sider-pieces (repeat done)
parent
058dd899
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
180 additions
and
17 deletions
+180
-17
app.component.html
src/app/app.component.html
+2
-10
app.component.scss
src/app/app.component.scss
+3
-5
app.module.ts
src/app/app.module.ts
+6
-2
comments.component.html
src/app/sider-pieces/comments/comments.component.html
+3
-0
comments.component.scss
src/app/sider-pieces/comments/comments.component.scss
+10
-0
comments.component.spec.ts
src/app/sider-pieces/comments/comments.component.spec.ts
+23
-0
comments.component.ts
src/app/sider-pieces/comments/comments.component.ts
+15
-0
repeat.component.html
src/app/sider-pieces/repeat/repeat.component.html
+16
-0
repeat.component.scss
src/app/sider-pieces/repeat/repeat.component.scss
+64
-0
repeat.component.spec.ts
src/app/sider-pieces/repeat/repeat.component.spec.ts
+23
-0
repeat.component.ts
src/app/sider-pieces/repeat/repeat.component.ts
+15
-0
No files found.
src/app/app.component.html
View file @
38dfd5a5
...
...
@@ -37,16 +37,8 @@
</div>
<div
class=
"container-sider"
>
<div
class=
"container-sider-element"
>
</div>
<div
class=
"container-sider-element"
>
</div>
<div
class=
"container-sider-element"
>
</div>
<div
class=
"container-sider-element"
>
<app-comments
class=
"container-sider-element"
></app-comments>
<app-repeat
class=
"container-sider-element"
></app-repeat>
</div>
...
...
src/app/app.component.scss
View file @
38dfd5a5
...
...
@@ -40,13 +40,11 @@
box-shadow
:
-20px
0px
25px
rgba
(
0
,
0
,
0
,
0
.3
);
&
-element
{
margin-left
:
auto
;
margin-right
:
auto
;
margin-top
:
10px
;
margin-bottom
:
10px
;
width
:
300p
x
;
height
:
400px
;
background-color
:
green
;
display
:
fle
x
;
flex-direction
:
column
;
align-items
:
center
;
}
}
}
\ No newline at end of file
src/app/app.module.ts
View file @
38dfd5a5
...
...
@@ -16,6 +16,8 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import
{
MatIconModule
}
from
'@angular/material/icon'
;
import
{
DragScrollDirective
}
from
'./directives/drag-scroll.directive'
;
import
{
MouseWheelZoomDirective
}
from
'./directives/mouse-wheel-zoom.directive'
;
import
{
CommentsComponent
}
from
'./sider-pieces/comments/comments.component'
;
import
{
RepeatComponent
}
from
'./sider-pieces/repeat/repeat.component'
;
@
NgModule
({
declarations
:
[
...
...
@@ -28,7 +30,9 @@ import { MouseWheelZoomDirective } from './directives/mouse-wheel-zoom.directive
TaskComponent
,
AnnexeTaskComponent
,
DragScrollDirective
,
MouseWheelZoomDirective
MouseWheelZoomDirective
,
CommentsComponent
,
RepeatComponent
],
imports
:
[
BrowserModule
,
...
...
src/app/sider-pieces/comments/comments.component.html
0 → 100644
View file @
38dfd5a5
<div
class=
"piece"
>
</div>
\ No newline at end of file
src/app/sider-pieces/comments/comments.component.scss
0 → 100644
View file @
38dfd5a5
.piece
{
--piece-background-color
:
#f3ed97
;
width
:
300px
;
height
:
400px
;
position
:
relative
;
background-color
:
var
(
--
piece-background-color
);
border
:
solid
black
1px
;
border-radius
:
10px
;
}
\ No newline at end of file
src/app/sider-pieces/comments/comments.component.spec.ts
0 → 100644
View file @
38dfd5a5
import
{
ComponentFixture
,
TestBed
}
from
'@angular/core/testing'
;
import
{
CommentsComponent
}
from
'./comments.component'
;
describe
(
'CommentsComponent'
,
()
=>
{
let
component
:
CommentsComponent
;
let
fixture
:
ComponentFixture
<
CommentsComponent
>
;
beforeEach
(
async
()
=>
{
await
TestBed
.
configureTestingModule
({
declarations
:
[
CommentsComponent
]
})
.
compileComponents
();
fixture
=
TestBed
.
createComponent
(
CommentsComponent
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
});
it
(
'should create'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/sider-pieces/comments/comments.component.ts
0 → 100644
View file @
38dfd5a5
import
{
Component
,
OnInit
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-comments'
,
templateUrl
:
'./comments.component.html'
,
styleUrls
:
[
'./comments.component.scss'
]
})
export
class
CommentsComponent
implements
OnInit
{
constructor
()
{
}
ngOnInit
():
void
{
}
}
src/app/sider-pieces/repeat/repeat.component.html
0 → 100644
View file @
38dfd5a5
<div
class=
"piece"
>
<div
class=
"piece-form"
>
<div
class=
"piece-form-header"
>
<mat-icon
fontIcon=
"refresh"
></mat-icon>
<div
class=
"piece-form-header-for"
>
<label>
Répéter
</label>
<input
type=
"text"
/>
<label>
fois
</label>
</div>
</div>
<div
class=
"piece-form-while"
>
<label>
ou jusqu'à ce que :
</label>
<textarea></textarea>
</div>
</div>
</div>
\ No newline at end of file
src/app/sider-pieces/repeat/repeat.component.scss
0 → 100644
View file @
38dfd5a5
.piece
{
--piece-background-color
:
#a6c9ec
;
width
:
300px
;
height
:
200px
;
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
;
height
:
100%
;
&
-header
{
display
:
flex
;
flex-direction
:
row
;
mat-icon
{
position
:
absolute
;
transform
:
scale
(
1
.5
);
color
:
white
;
}
&
-for
{
//width: 100%;
display
:
flex
;
flex-direction
:
row
;
position
:
relative
;
left
:
50%
;
transform
:
translateX
(
-50%
);
input
{
width
:
25px
;
border
:
none
;
border-radius
:
10px
;
background-color
:
white
;
margin-left
:
5px
;
margin-right
:
5px
;
text-align
:
center
;
}
}
}
&
-while
{
display
:
flex
;
flex-direction
:
column
;
height
:
80%
;
textarea
{
padding
:
10px
;
margin-top
:
10px
;
resize
:
none
;
border
:
none
;
border-radius
:
10px
;
flex-grow
:
1
;
}
}
}
}
\ No newline at end of file
src/app/sider-pieces/repeat/repeat.component.spec.ts
0 → 100644
View file @
38dfd5a5
import
{
ComponentFixture
,
TestBed
}
from
'@angular/core/testing'
;
import
{
RepeatComponent
}
from
'./repeat.component'
;
describe
(
'RepeatComponent'
,
()
=>
{
let
component
:
RepeatComponent
;
let
fixture
:
ComponentFixture
<
RepeatComponent
>
;
beforeEach
(
async
()
=>
{
await
TestBed
.
configureTestingModule
({
declarations
:
[
RepeatComponent
]
})
.
compileComponents
();
fixture
=
TestBed
.
createComponent
(
RepeatComponent
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
});
it
(
'should create'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/sider-pieces/repeat/repeat.component.ts
0 → 100644
View file @
38dfd5a5
import
{
Component
,
OnInit
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-repeat'
,
templateUrl
:
'./repeat.component.html'
,
styleUrls
:
[
'./repeat.component.scss'
]
})
export
class
RepeatComponent
implements
OnInit
{
constructor
()
{
}
ngOnInit
():
void
{
}
}
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