init project
This commit is contained in:
15
templates/base.html.twig
Executable file
15
templates/base.html.twig
Executable file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>{% block title %}{% endblock title %} - MAPS360</title>
|
||||
|
||||
{% block head %}
|
||||
{% include 'includecss.html.twig' %}
|
||||
{% endblock head %}
|
||||
</head>
|
||||
<body>
|
||||
{% block body %}{% endblock body %}
|
||||
{% block footer %}{% include 'includescript.html.twig' %}{% endblock footer %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
28
templates/catch/404.html.twig
Executable file
28
templates/catch/404.html.twig
Executable file
@@ -0,0 +1,28 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
{% block title %}Erreur 404{% endblock %}
|
||||
{% block body %}
|
||||
|
||||
<div class="text-center pt-5" style="height:100vh;">
|
||||
|
||||
<img src="/static/img/404.png" alt="404" class="zoom-hover" style="max-width:100vw;">
|
||||
|
||||
<i class="h5 d-block pb-4"> La page que vous essayez d'atteindre n'existe pas ou vous n'êtes pas autorisé à la voir.</i>
|
||||
|
||||
<hr class="mx-5 mb-4">
|
||||
|
||||
<a href="/" class="btn btn-primary mdi mdi-arrow-left me-2"> Page d'accueil</a>
|
||||
|
||||
<a href="/login" class="btn btn-outline-primary ms-2"> Login <span class="mdi mdi-arrow-right"></span> <a/>
|
||||
|
||||
</div>
|
||||
|
||||
<style media="screen">
|
||||
.zoom-hover {
|
||||
transition: transform .5s ease;
|
||||
}
|
||||
.zoom-hover:hover {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
</style>
|
||||
|
||||
{% endblock %}
|
||||
22
templates/includecss.html.twig
Normal file
22
templates/includecss.html.twig
Normal file
@@ -0,0 +1,22 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="Pointcloud viewer">
|
||||
<meta name="author" content="https://pradierh.fr/, https://sorlinv.fr/">
|
||||
|
||||
|
||||
<!-- Favicons -->
|
||||
<link rel="apple-touch-icon" href="/static/favicon.png" sizes="180x180">
|
||||
<link rel="icon" href="/static/favicon.png" type="image/png">
|
||||
<link rel="mask-icon" href="/static/favicon.png" color="#7952b3">
|
||||
<meta name="theme-color" content="#333333">
|
||||
|
||||
<link href="https://vjs.zencdn.net/7.17.0/video-js.css" rel="stylesheet" />
|
||||
<link href="https://unpkg.com/@videojs/themes@1/dist/fantasy/index.css" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="/static/styles/bootstrap.css">
|
||||
<link rel="stylesheet" href="/static/styles/specific.css">
|
||||
|
||||
<link rel="stylesheet" href="//cdn.materialdesignicons.com/5.3.45/css/materialdesignicons.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@6.6.96/css/materialdesignicons.min.css">
|
||||
|
||||
<script src="https://accounts.google.com/gsi/client" async defer></script>
|
||||
14
templates/includescript.html.twig
Normal file
14
templates/includescript.html.twig
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
<script src="/static/scripts/jquery-3.2.1.slim.min.js"></script>
|
||||
<script src="/static/scripts/popper.min.js"></script>
|
||||
<script src="/static/scripts/bootstrap.min.js"></script>
|
||||
<script src="https://unpkg.com/petite-vue"></script>
|
||||
|
||||
<script src="https://unpkg.com/@popperjs/core@2"></script>
|
||||
<script src="https://unpkg.com/tippy.js@6"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.5/dist/umd/popper.min.js" integrity="sha384-Xe+8cL9oJa6tN/veChSP7q+mnSPaj5Bcu9mPX5F5xIGE0DVittaqT5lorf0EI7Vk" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.min.js" integrity="sha384-ODmDIVzN+pFdexxHEHFBQH3/9/vQ9uori45z4JjnFsRydbmQbmL5t1tQ0culUzyK" crossorigin="anonymous"></script>
|
||||
<script type="module" src="/static/scripts/specific.js"></script>
|
||||
4
templates/index.html.twig
Executable file
4
templates/index.html.twig
Executable file
@@ -0,0 +1,4 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
{% block title %}Acceuil{% endblock %}
|
||||
{% block body %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user