Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MtA Character Sheet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Oskar Marquardt
MtA Character Sheet
Commits
22fe05a6
Commit
22fe05a6
authored
9 months ago
by
Oskar Marquardt
Browse files
Options
Downloads
Patches
Plain Diff
Removed main.js from langauge stat
- Added sphere affinity
parent
3f04788c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#22117
passed
9 months ago
Stage: deploy
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitattributes
+1
-0
1 addition, 0 deletions
.gitattributes
src/Character.elm
+1
-0
1 addition, 0 deletions
src/Character.elm
src/Main.elm
+2
-2
2 additions, 2 deletions
src/Main.elm
src/Sphere.elm
+1
-0
1 addition, 0 deletions
src/Sphere.elm
with
5 additions
and
2 deletions
.gitattributes
0 → 100644
+
1
−
0
View file @
22fe05a6
public/main.js -linguist-vendored
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Character.elm
+
1
−
0
View file @
22fe05a6
...
...
@@ -25,6 +25,7 @@ new =
,
spheres
=
[
{
name
=
"
Correspondence"
,
dots
=
Sphere
.
dots
0
,
affinity
=
False
}
]
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Main.elm
+
2
−
2
View file @
22fe05a6
...
...
@@ -112,12 +112,12 @@ viewSphere sphere =
[
span
[]
[
text
sphere
.
name
]
,
button
[
class
"
button is-small"
,
onClick
(
ChangeSphere
{
name
=
sphere
.
name
,
dots
=
BoundedInt
.
change
sphere
.
dots
(
sphere
.
dots
.
value
-
1
)
}
)
,
onClick
(
ChangeSphere
{
sphere
|
dots
=
BoundedInt
.
change
sphere
.
dots
(
sphere
.
dots
.
value
-
1
)
}
)
]
[
text
"
-"
]
,
span
[]
[
text
(
String
.
fromInt
sphere
.
dots
.
value
)
]
,
button
[
class
"
button is-small"
,
onClick
(
ChangeSphere
{
name
=
sphere
.
name
,
dots
=
BoundedInt
.
change
sphere
.
dots
(
sphere
.
dots
.
value
+
1
)
}
)
,
onClick
(
ChangeSphere
{
sphere
|
dots
=
BoundedInt
.
change
sphere
.
dots
(
sphere
.
dots
.
value
+
1
)
}
)
]
[
text
"
+"
]
]
...
...
This diff is collapsed.
Click to expand it.
src/Sphere.elm
+
1
−
0
View file @
22fe05a6
...
...
@@ -5,6 +5,7 @@ import BoundedInt exposing (BoundedInt)
type
alias
Sphere
=
{
name
:
String
,
dots
:
BoundedInt
,
affinity
:
Bool
}
changeSphereInList
:
List
Sphere
->
Sphere
->
List
Sphere
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment