Refaktorering for å ha ha med flere moduler for en innlevering

Eirik Th S 2021-10-18 19:31:02 +02:00
parent 15ed8f1e6b
commit 6fcccf6fa1
29 changed files with 27 additions and 28 deletions

View File

@ -14,12 +14,17 @@ function getModuleName($input): string {
<html lang="no">
<head>
<title>IS-115 - Webprogrammering i PHP</title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>
<h1>IS-115 - Webprogrammering i PHP</h1>
<h3>Modul <?=$modul;?></h3>
<h3>
Modul <?=$modul;?>
</h3>
<h5>
<strong><a href="../">Tilbake til alle moduler</a></strong>
</h5>
<?php
foreach($dir as $item){

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
<style>
h1 {
font-size: 32px !important;

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
<style>
input[type=number] {
width: 50px;

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>

View File

@ -1 +0,0 @@
../modul1/common.php

View File

@ -1 +0,0 @@
../modul1/index.css

View File

@ -3,7 +3,7 @@
<head>
<title><?=title();?></title>
<meta charset='UTF-8'>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>

View File

@ -1 +0,0 @@
../modul1/common.php

View File

@ -1 +0,0 @@
../modul1/index.css

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
<style>
td {

View File

@ -1 +0,0 @@
../modul1/common.php

View File

@ -1 +0,0 @@
../modul1/index.css

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>

View File

@ -107,7 +107,7 @@ if(!empty($_POST)){
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>

View File

@ -112,7 +112,7 @@ if(!empty($_POST)){
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>

View File

@ -2,7 +2,7 @@
<html lang="no">
<head>
<title><?=title();?></title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="../index.css">
</head>
<body>