Skip to content
Snippets Groups Projects
Commit 899cc334 authored by Philipp Hock's avatar Philipp Hock
Browse files

init

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #103633 passed
Showing
with 180 additions and 0 deletions
# The Docker image that will be used to build your app
image: node:lts
# Functions that should be executed before the build script is run
before_script:
- echo nothing to do here
pages:
script:
- echo nothing to do here
artifacts:
paths:
# The folder that contains the files to be exposed at the Page URL
- public
rules:
# This ensures that only pushes to the default branch will trigger
# a pages deploy
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
# Submmission Template
Use this repository for your submissions.
Each assignment (and project deliverables) have corresponding subfolders in /public.
The public folder and all subfolders will be exposed to the web (limited view access through gitlab).
**IMPORTANT:** Each assignment needs an `aim.txt` with the amounts of points that is aimed with the submission.
Any submission without `aim.txt` will not be graded.
You can copy the `/public/assignment_template` as starting point for your assignments into any assignment if you want to use it.
Note that the `aim.txt` here is present but set to `0`!
## Publishing websites
Any push to this repoitory triggers the CI/CD pipeline to publish the `/public` folder.
In the left menu, goto `Build->Jobs` to see the current pipeline status.
In the left menu, goto `Deploy->Pages` to see the web-url where your assignments are published.
Check each assignment there before the deadline.
## Deadlines
The last commit before the deadline count as submission, if the corresponding subfolder contains an `aim.txt`.
## Non-public
You can use the root repository as you like. Create new folders and commit code as you like. Please keep the structure of the `./public` folder as it is. You can, of course, add files and folders in the subfolders of `./public/`.
## Course page
See the [course page](https://www.ida.liu.se/~729G87/) for more infos.
0
\ No newline at end of file
/*
.container{
background-color: red;
}
*/
\ No newline at end of file
body{
display: flex;
justify-content: center;
min-height: 100vh;
}
.container{
min-width: 570px;
max-width: 1200px;
margin: 0 auto; /* Center the container horizontally */
padding: 20px;
text-align: left; /* Left-align the content within the container */
}
\ No newline at end of file
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
\ No newline at end of file
html{
background-color: darkgray;
}
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/layout.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/debug.css">
<script type="module" src="js/main.js">
</script>
<title>Document</title>
</head>
<body>
<div class="container">
<h1>Hello world!</h1>
</div>
</body>
</html>
\ No newline at end of file
document.querySelector("h1").textContent="It works!";
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Assignments</title>
</head>
<body>
<ul>
<li><a href="assignment_1" target="_blank">assignment 1</a></li>
<li><a href="assignment_2" target="_blank">assignment 2</a></li>
<li><a href="assignment_3" target="_blank">assignment 3</a></li>
<li><a href="assignment_4" target="_blank">assignment 4</a></li>
<li><a href="assignment_5" target="_blank">assignment 5</a></li>
<li><a href="assignment_template" target="_blank">Template</a></li>
</ul>
</body>
</html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment