refonte debut module

This commit is contained in:
JunkJumper 2021-01-21 09:37:31 +01:00
parent baaf398e5d
commit a2e304bb63
41 changed files with 871 additions and 1203 deletions

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

64
2019-2020/index.php Normal file
View File

@ -0,0 +1,64 @@
<?php
$dirT = getcwd();
$dir = basename(($dirT));
?>
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<title><?php echo "Displaying content of " .$dir?></title>
<link href="https://www.junkjumper-projects.com/images/ls/css/bootstrap.min.css" rel="stylesheet">
<link href="https://www.junkjumper-projects.com/images/ls/css/sticky-menu.css" rel="stylesheet">
</head>
<body data-spy="scroll" data-target=".navbar-fixed-top">
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header page-scroll">
<a class="navbar-brand page-scroll" href="">Pauline's M413 Web Folder</a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li class="hidden">
<a class="page-scroll" href="#page-top"></a>
</li>
</ul>
</div> <!-- .navbar-collapse -->
</div> <!-- .container -->
</nav>
<!-- Welcome -->
<section id="welcome" class="welcome-section">
<div class="container">
<div class="row">
<div class="col-lg-12">
<img src="https://www.junkjumper-projects.com/images/ls/img/banner.png" alt="content" id="h2" />
<br />
<?php
$path = ".";
$dh = opendir($path);
$i=1;
while (($file = readdir($dh)) !== false) {
if($file != "." && $file != ".." && $file != "index.php" && $file != ".htaccess" && $file != "error_log" && $file != "src" && $file != ".git" && $file != "LICENSE.md" && $file != "README.md" && $file != "cgi-bin" && $file != ".gitignore") {
if (filetype($file) == "dir")
{
echo "<a href='$path/$file' class='ls-s'><img src='./src/folder.png' alt='folder' class='icon' />$file</a><br />";
} else {
echo "<a href='$path/$file' class='ls-s'><img src='./src/file.png' alt='folder' class='icon' />$file</a><br />";
}
$i++;
}
}
closedir($dh);
?>
</div>
</div>
</div>
</section>
</body>
</html>

BIN
2019-2020/src/banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

BIN
2019-2020/src/file.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

BIN
2019-2020/src/folder.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 KiB

64
2020-2021/index.php Normal file
View File

@ -0,0 +1,64 @@
<?php
$dirT = getcwd();
$dir = basename(($dirT));
?>
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<title><?php echo "Displaying content of " .$dir?></title>
<link href="https://www.junkjumper-projects.com/images/ls/css/bootstrap.min.css" rel="stylesheet">
<link href="https://www.junkjumper-projects.com/images/ls/css/sticky-menu.css" rel="stylesheet">
</head>
<body data-spy="scroll" data-target=".navbar-fixed-top">
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header page-scroll">
<a class="navbar-brand page-scroll" href="">Pauline's M413 Web Folder</a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li class="hidden">
<a class="page-scroll" href="#page-top"></a>
</li>
</ul>
</div> <!-- .navbar-collapse -->
</div> <!-- .container -->
</nav>
<!-- Welcome -->
<section id="welcome" class="welcome-section">
<div class="container">
<div class="row">
<div class="col-lg-12">
<img src="https://www.junkjumper-projects.com/images/ls/img/banner.png" alt="content" id="h2" />
<br />
<?php
$path = ".";
$dh = opendir($path);
$i=1;
while (($file = readdir($dh)) !== false) {
if($file != "." && $file != ".." && $file != "index.php" && $file != ".htaccess" && $file != "error_log" && $file != "src" && $file != ".git" && $file != "LICENSE.md" && $file != "README.md" && $file != "cgi-bin" && $file != ".gitignore") {
if (filetype($file) == "dir")
{
echo "<a href='$path/$file' class='ls-s'><img src='./src/folder.png' alt='folder' class='icon' />$file</a><br />";
} else {
echo "<a href='$path/$file' class='ls-s'><img src='./src/file.png' alt='folder' class='icon' />$file</a><br />";
}
$i++;
}
}
closedir($dh);
?>
</div>
</div>
</div>
</section>
</body>
</html>

BIN
2020-2021/src/banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

BIN
2020-2021/src/file.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

BIN
2020-2021/src/folder.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 KiB

File diff suppressed because one or more lines are too long

View File

@ -1,23 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>M4103 - Programmation Web Client Riche</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='./css/main.css'>
<script src='./main.js'></script>
<h1>M4103 - Programmation Web Client Riche</h1>
<h2>Sommaire des TD</h2>
</head>
<body>
<ul>
<li><a href="./TD1/">TD1</a></li>
<li><a href="./TD2/">TD2</a></li>
<li><a href="./TD3/">TD3</a></li>
</ul>
</body>
</html>

64
index.php Normal file
View File

@ -0,0 +1,64 @@
<?php
$dirT = getcwd();
$dir = basename(($dirT));
?>
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<title><?php echo "Displaying content of " .$dir?></title>
<link href="https://www.junkjumper-projects.com/images/ls/css/bootstrap.min.css" rel="stylesheet">
<link href="https://www.junkjumper-projects.com/images/ls/css/sticky-menu.css" rel="stylesheet">
</head>
<body data-spy="scroll" data-target=".navbar-fixed-top">
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header page-scroll">
<a class="navbar-brand page-scroll" href="">Pauline's M413 Web Folder</a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li class="hidden">
<a class="page-scroll" href="#page-top"></a>
</li>
</ul>
</div> <!-- .navbar-collapse -->
</div> <!-- .container -->
</nav>
<!-- Welcome -->
<section id="welcome" class="welcome-section">
<div class="container">
<div class="row">
<div class="col-lg-12">
<img src="https://www.junkjumper-projects.com/images/ls/img/banner.png" alt="content" id="h2" />
<br />
<?php
$path = ".";
$dh = opendir($path);
$i=1;
while (($file = readdir($dh)) !== false) {
if($file != "." && $file != ".." && $file != "index.php" && $file != ".htaccess" && $file != "error_log" && $file != "src" && $file != ".git" && $file != "LICENSE.md" && $file != "README.md" && $file != "cgi-bin" && $file != ".gitignore") {
if (filetype($file) == "dir")
{
echo "<a href='$path/$file' class='ls-s'><img src='./src/folder.png' alt='folder' class='icon' />$file</a><br />";
} else {
echo "<a href='$path/$file' class='ls-s'><img src='./src/file.png' alt='folder' class='icon' />$file</a><br />";
}
$i++;
}
}
closedir($dh);
?>
</div>
</div>
</div>
</section>
</body>
</html>

BIN
src/banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

BIN
src/file.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

BIN
src/folder.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

BIN
src/umming_lines_paint.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 KiB