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
802fe880
Commit
802fe880
authored
10 months ago
by
Oskar Marquardt
Browse files
Options
Downloads
Patches
Plain Diff
Initial commit
parent
7e14d754
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#22103
passed
10 months ago
Stage: deploy
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
elm.json
+28
-0
28 additions, 0 deletions
elm.json
public/index.html
+17
-22
17 additions, 22 deletions
public/index.html
public/style.css
+0
-24
0 additions, 24 deletions
public/style.css
src/Main.elm
+41
-0
41 additions, 0 deletions
src/Main.elm
with
88 additions
and
46 deletions
.gitignore
0 → 100644
+
2
−
0
View file @
802fe880
elm-stuff/
ZZZ_meta/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
elm.json
0 → 100644
+
28
−
0
View file @
802fe880
{
"type"
:
"application"
,
"source-directories"
:
[
"src"
],
"elm-version"
:
"0.19.1"
,
"dependencies"
:
{
"direct"
:
{
"elm/browser"
:
"1.0.2"
,
"elm/core"
:
"1.0.5"
,
"elm/html"
:
"1.0.0"
,
"elm/http"
:
"2.0.0"
,
"elm/json"
:
"1.1.3"
,
"elm/svg"
:
"1.0.1"
,
"elm/url"
:
"1.0.0"
},
"indirect"
:
{
"elm/bytes"
:
"1.0.8"
,
"elm/file"
:
"1.0.5"
,
"elm/time"
:
"1.0.0"
,
"elm/virtual-dom"
:
"1.0.3"
}
},
"test-dependencies"
:
{
"direct"
:
{},
"indirect"
:
{}
}
}
This diff is collapsed.
Click to expand it.
public/index.html
+
17
−
22
View file @
802fe880
<!DOCTYPE
html
>
<!DOCTYPE
HTML
>
<html>
<html>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"UTF-8"
>
<meta
name=
"generator"
content=
"GitLab Pages"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
Plain HTML site using GitLab Pages
</title>
<script
src=
"main.js"
></script>
<link
rel=
"stylesheet"
href=
"style.css"
>
<link
</head>
rel=
"stylesheet"
<body>
href=
"https://cdn.jsdelivr.net/npm/bulma@1.0.0/css/bulma.min.css"
<div
class=
"navbar"
>
>
<a
href=
"https://pages.gitlab.io/plain-html/"
>
Plain HTML Example
</a>
</head>
<a
href=
"https://gitlab.com/pages/plain-html/"
>
Repository
</a>
<body>
<a
href=
"https://gitlab.com/pages/"
>
Other Examples
</a>
<div
id=
"myapp"
></div>
</div>
<script>
var
app
=
Elm
.
Main
.
init
();
<h1>
Hello World!
</h1>
</script>
</body>
<p>
</html>
This is a simple plain-HTML website on GitLab Pages, without any fancy static site generator.
\ No newline at end of file
</p>
</body>
</html>
This diff is collapsed.
Click to expand it.
public/style.css
deleted
100644 → 0
+
0
−
24
View file @
7e14d754
body
{
font-family
:
sans-serif
;
margin
:
auto
;
max-width
:
1280px
;
}
.navbar
{
background-color
:
#313236
;
border-radius
:
2px
;
max-width
:
800px
;
}
.navbar
a
{
color
:
#aaa
;
display
:
inline-block
;
font-size
:
15px
;
padding
:
10px
;
text-decoration
:
none
;
}
.navbar
a
:hover
{
color
:
#ffffff
;
}
This diff is collapsed.
Click to expand it.
src/Main.elm
0 → 100644
+
41
−
0
View file @
802fe880
module
Main
exposing
(
..
)
import
Browser
import
Html
exposing
(
..
)
import
Html
.
Attributes
exposing
(
..
)
main
:
Program
()
Model
Msg
main
=
Browser
.
document
{
init
=
init
,
view
=
view
,
update
=
update
,
subscriptions
=
subscriptions
}
init
:
()
->
(
Model
,
Cmd
Msg
)
init
_
=
(
{}
,
Cmd
.
none
)
type
alias
Model
=
{}
type
Msg
=
Nothing
update
:
Msg
->
Model
->
(
Model
,
Cmd
Msg
)
update
msg
model
=
(
model
,
Cmd
.
none
)
view
:
Model
->
Browser
.
Document
Msg
view
model
=
{
title
=
"
TBD"
,
body
=
[
div
[]
[]
]
}
subscriptions
:
Model
->
Sub
Msg
subscriptions
_
=
Sub
.
none
\ No newline at end of file
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