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
ef7a260a
Commit
ef7a260a
authored
Mar 17, 2023
by
Romain DELEAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add role-occurence and supplementary-task
parent
08db963c
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
180 additions
and
3 deletions
+180
-3
app.component.html
src/app/app.component.html
+4
-2
app.module.ts
src/app/app.module.ts
+5
-1
role-occurence.component.html
...sider-pieces/role-occurence/role-occurence.component.html
+22
-0
role-occurence.component.scss
...sider-pieces/role-occurence/role-occurence.component.scss
+39
-0
role-occurence.component.spec.ts
...er-pieces/role-occurence/role-occurence.component.spec.ts
+23
-0
role-occurence.component.ts
...p/sider-pieces/role-occurence/role-occurence.component.ts
+15
-0
supplementary-task.component.html
...eces/supplementary-task/supplementary-task.component.html
+9
-0
supplementary-task.component.scss
...eces/supplementary-task/supplementary-task.component.scss
+25
-0
supplementary-task.component.spec.ts
...s/supplementary-task/supplementary-task.component.spec.ts
+23
-0
supplementary-task.component.ts
...pieces/supplementary-task/supplementary-task.component.ts
+15
-0
No files found.
src/app/app.component.html
View file @
ef7a260a
...
...
@@ -136,11 +136,13 @@
</div>
<div
class=
"container-sider"
>
<app-comments
class=
"container-sider-element"
></app-comments>
<app-rules
class=
"container-sider-element"
></app-rules>
<app-role-occurence
class=
"container-sider-element"
></app-role-occurence>
<app-supplementary-task
class=
"container-sider-element"
></app-supplementary-task>
<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-rule
s>
<app-
comments
class=
"container-sider-element"
></app-comment
s>
</div>
<div
class=
"container-settings"
>
...
...
src/app/app.module.ts
View file @
ef7a260a
...
...
@@ -26,6 +26,8 @@ import { FinalTaskComponent } from './pieces/tasks/final-task/final-task.compone
import
{
RepeatTaskComponent
}
from
'./pieces/tasks/repeat-task/repeat-task.component'
;
import
{
InteruptComponent
}
from
'./sider-pieces/interupt/interupt.component'
;
import
{
OptionnalTaskComponent
}
from
'./pieces/tasks/optionnal-task/optionnal-task.component'
;
import
{
RoleOccurenceComponent
}
from
'./sider-pieces/role-occurence/role-occurence.component'
;
import
{
SupplementaryTaskComponent
}
from
'./sider-pieces/supplementary-task/supplementary-task.component'
;
import
{
DragScrollDirective
}
from
'./directives/drag-scroll.directive'
;
import
{
MouseWheelZoomDirective
}
from
'./directives/mouse-wheel-zoom.directive'
;
...
...
@@ -53,7 +55,9 @@ import { MouseWheelZoomDirective } from './directives/mouse-wheel-zoom.directive
FinalTaskComponent
,
RepeatTaskComponent
,
InteruptComponent
,
OptionnalTaskComponent
OptionnalTaskComponent
,
RoleOccurenceComponent
,
SupplementaryTaskComponent
],
imports
:
[
BrowserModule
,
...
...
src/app/sider-pieces/role-occurence/role-occurence.component.html
0 → 100644
View file @
ef7a260a
<div
class=
"piece"
>
<div
class=
"piece-form"
>
<div
class=
"piece-title"
>
Occurrence du rôle
</div>
<div
class=
"piece-form-occurrence"
>
<input
type=
"text"
/>
<label>
entre
</label>
<input
type=
"text"
/>
<label>
et
</label>
<input
type=
"text"
/>
<label>
joueurs
</label>
</div>
<div
class=
"piece-form-occurrence"
>
<input
type=
"text"
/>
<label>
entre
</label>
<input
type=
"text"
/>
<label>
et
</label>
<input
type=
"text"
/>
<label>
joueurs
</label>
</div>
<button
mat-button
><mat-icon
fontIcon=
"add"
></mat-icon></button>
</div>
</div>
\ No newline at end of file
src/app/sider-pieces/role-occurence/role-occurence.component.scss
0 → 100644
View file @
ef7a260a
.piece
{
--piece-background-color
:
#e5c5ac
;
width
:
300px
;
position
:
relative
;
background-color
:
var
(
--
piece-background-color
);
border
:
solid
black
1px
;
border-radius
:
10px
;
&
-title
{
font-family
:
'Glacial Indifference Bold'
;
margin-bottom
:
10px
;
}
&
-form
{
margin
:
10px
5px
10px
5px
;
display
:
flex
;
flex-direction
:
column
;
input
{
width
:
25px
;
border
:
none
;
border-radius
:
10px
;
margin-left
:
5px
;
margin-right
:
5px
;
}
button
{
margin-top
:
10px
;
border
:
none
;
background-color
:
white
;
border-radius
:
10px
;
}
&
-occurence
{
display
:
flex
;
}
}
}
\ No newline at end of file
src/app/sider-pieces/role-occurence/role-occurence.component.spec.ts
0 → 100644
View file @
ef7a260a
import
{
ComponentFixture
,
TestBed
}
from
'@angular/core/testing'
;
import
{
RoleOccurenceComponent
}
from
'./role-occurence.component'
;
describe
(
'RoleOccurenceComponent'
,
()
=>
{
let
component
:
RoleOccurenceComponent
;
let
fixture
:
ComponentFixture
<
RoleOccurenceComponent
>
;
beforeEach
(
async
()
=>
{
await
TestBed
.
configureTestingModule
({
declarations
:
[
RoleOccurenceComponent
]
})
.
compileComponents
();
fixture
=
TestBed
.
createComponent
(
RoleOccurenceComponent
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
});
it
(
'should create'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/sider-pieces/role-occurence/role-occurence.component.ts
0 → 100644
View file @
ef7a260a
import
{
Component
,
OnInit
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-role-occurence'
,
templateUrl
:
'./role-occurence.component.html'
,
styleUrls
:
[
'./role-occurence.component.scss'
]
})
export
class
RoleOccurenceComponent
implements
OnInit
{
constructor
()
{
}
ngOnInit
():
void
{
}
}
src/app/sider-pieces/supplementary-task/supplementary-task.component.html
0 → 100644
View file @
ef7a260a
<div
class=
"piece"
>
<div
class=
"piece-form"
>
<div
class=
"piece-title"
>
Tâche liée au rôle supplémentaire
</div>
<div
class=
"piece-form-checkbox"
>
<input
type=
"checkbox"
/>
<label>
Oui
</label>
</div>
</div>
</div>
\ No newline at end of file
src/app/sider-pieces/supplementary-task/supplementary-task.component.scss
0 → 100644
View file @
ef7a260a
.piece
{
--piece-background-color
:
#e5c5ac
;
width
:
300px
;
height
:
100px
;
position
:
relative
;
background
:
linear-gradient
(
165deg
,
rgba
(
154
,
213
,
236
,
1
)
0%
,
rgba
(
154
,
213
,
236
,
1
)
55%
,
rgba
(
0
,
0
,
0
,
1
)
55%
,
rgba
(
0
,
0
,
0
,
1
)
100%
);
border
:
solid
black
1px
;
border-radius
:
10px
;
&
-title
{
font-family
:
'Glacial Indifference Bold'
;
margin-bottom
:
10px
;
}
&
-form
{
margin
:
10px
5px
10px
5px
;
input
{
width
:
25px
;
border
:
none
;
border-radius
:
10px
;
}
}
}
\ No newline at end of file
src/app/sider-pieces/supplementary-task/supplementary-task.component.spec.ts
0 → 100644
View file @
ef7a260a
import
{
ComponentFixture
,
TestBed
}
from
'@angular/core/testing'
;
import
{
SupplementaryTaskComponent
}
from
'./supplementary-task.component'
;
describe
(
'SupplementaryTaskComponent'
,
()
=>
{
let
component
:
SupplementaryTaskComponent
;
let
fixture
:
ComponentFixture
<
SupplementaryTaskComponent
>
;
beforeEach
(
async
()
=>
{
await
TestBed
.
configureTestingModule
({
declarations
:
[
SupplementaryTaskComponent
]
})
.
compileComponents
();
fixture
=
TestBed
.
createComponent
(
SupplementaryTaskComponent
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
});
it
(
'should create'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/sider-pieces/supplementary-task/supplementary-task.component.ts
0 → 100644
View file @
ef7a260a
import
{
Component
,
OnInit
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-supplementary-task'
,
templateUrl
:
'./supplementary-task.component.html'
,
styleUrls
:
[
'./supplementary-task.component.scss'
]
})
export
class
SupplementaryTaskComponent
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