Vous êtes connecté en tant que anonymous Se Deconnecter
Browse code

Ajout d'une autre application symfony 5.0.99 afin de tester le partage de la variable $_SESSION -->OK

TODO: ajouter un plug-in symfony permettant de charger un utilisateur dans les apps a partir de l'authentification multiple

TODO: lire les documentation officielles provenant des 4 plate-formes tranquillement afin de comprendre commet doit on tester ces type d'auth quitte a créé un sous domaine particulier directement hebergé sur gittea
-->Sécuriser le serveur de dev

Emmanuel ROY authored on 23/11/2019 03:00:32
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,164 @@
1
+{% extends 'base.html.twig' %}
2
+
3
+{% block body %}
4
+    <div id="wrapper">
5
+        <div id="container">
6
+            <div id="welcome">
7
+                <h1><span>Welcome to</span> Symfony {{ constant('Symfony\\Component\\HttpKernel\\Kernel::VERSION') }}
8
+                </h1>
9
+            </div>
10
+
11
+            <div id="status">
12
+                <p>
13
+                    <svg id="icon-status" width="1792" height="1792" viewBox="0 0 1792 1792"
14
+                         xmlns="http://www.w3.org/2000/svg">
15
+                        <path d="M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z"
16
+                              fill="#759E1A"/>
17
+                    </svg>
18
+
19
+                    Your application is now ready. You can start working on it at:
20
+                    <code>{{ base_dir }}</code>
21
+                </p>
22
+            </div>
23
+
24
+            <div id="next">
25
+                <h2>What's next?</h2>
26
+                <p>
27
+                    <svg id="icon-book" version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
28
+                         viewBox="-12.5 9 64 64" enable-background="new -12.5 9 64 64" xml:space="preserve">
29
+                        <path fill="#AAA" d="M6.8,40.8c2.4,0.8,4.5-0.7,4.9-2.5c0.2-1.2-0.3-2.1-1.3-3.2l-0.8-0.8c-0.4-0.5-0.6-1.3-0.2-1.9
30
+                            c0.4-0.5,0.9-0.8,1.8-0.5c1.3,0.4,1.9,1.3,2.9,2.2c-0.4,1.4-0.7,2.9-0.9,4.2l-0.2,1c-0.7,4-1.3,6.2-2.7,7.5
31
+                            c-0.3,0.3-0.7,0.5-1.3,0.6c-0.3,0-0.4-0.3-0.4-0.3c0-0.3,0.2-0.3,0.3-0.4c0.2-0.1,0.5-0.3,0.4-0.8c0-0.7-0.6-1.3-1.3-1.3
32
+                            c-0.6,0-1.4,0.6-1.4,1.7s1,1.9,2.4,1.8c0.8,0,2.5-0.3,4.2-2.5c2-2.5,2.5-5.4,2.9-7.4l0.5-2.8c0.3,0,0.5,0.1,0.8,0.1
33
+                            c2.4,0.1,3.7-1.3,3.7-2.3c0-0.6-0.3-1.2-0.9-1.2c-0.4,0-0.8,0.3-1,0.8c-0.1,0.6,0.8,1.1,0.1,1.5c-0.5,0.3-1.4,0.6-2.7,0.4l0.3-1.3
34
+                            c0.5-2.6,1-5.7,3.2-5.8c0.2,0,0.8,0,0.8,0.4c0,0.2,0,0.2-0.2,0.5c-0.2,0.3-0.3,0.4-0.2,0.7c0,0.7,0.5,1.1,1.2,1.1
35
+                            c0.9,0,1.2-1,1.2-1.4c0-1.2-1.2-1.8-2.6-1.8c-1.5,0.1-2.8,0.9-3.7,2.1c-1.1,1.3-1.8,2.9-2.3,4.5c-0.9-0.8-1.6-1.8-3.1-2.3
36
+                            c-1.1-0.7-2.3-0.5-3.4,0.3c-0.5,0.4-0.8,1-1,1.6c-0.4,1.5,0.4,2.9,0.8,3.4l0.9,1c0.2,0.2,0.6,0.8,0.4,1.5c-0.3,0.8-1.2,1.3-2.1,1
37
+                            c-0.4-0.2-1-0.5-0.9-0.9c0.1-0.2,0.2-0.3,0.3-0.5s0.1-0.3,0.1-0.3c0.2-0.6-0.1-1.4-0.7-1.6c-0.6-0.2-1.2,0-1.3,0.8
38
+                            C4.3,38.4,4.7,40,6.8,40.8z M46.1,20.9c0-4.2-3.2-7.5-7.1-7.5h-3.8C34.8,10.8,32.7,9,30.2,9L-2.3,9.1c-2.8,0.1-4.9,2.4-4.9,5.4
39
+                            L-7,58.6c0,4.8,8.1,13.9,11.6,14.1l34.7-0.1c3.9,0,7-3.4,7-7.6L46.1,20.9z M-0.3,36.4c0-8.6,6.5-15.6,14.5-15.6
40
+                            c8,0,14.5,7,14.5,15.6S22.1,52,14.2,52C6.1,52-0.3,45-0.3,36.4z M42.1,65.1c0,1.8-1.5,3.1-3.1,3.1H4.6c-0.7,0-3-1.8-4.5-4.4h30.4
41
+                            c2.8,0,5-2.4,5-5.4V17.9h3.7c1.6,0,2.9,1.4,2.9,3.1V65.1L42.1,65.1z"/>
42
+                    </svg>
43
+
44
+                    Read the documentation to learn
45
+                    <a href="https://symfony.com/doc/{{ constant('Symfony\\Component\\HttpKernel\\Kernel::VERSION')[:3] }}/page_creation.html">
46
+                        How to create your first page in Symfony
47
+                    </a>
48
+                </p>
49
+            </div>
50
+
51
+        </div>
52
+    </div>
53
+{% endblock %}
54
+
55
+{% block stylesheets %}
56
+    <style>
57
+        body {
58
+            background: #F5F5F5;
59
+            font: 18px/1.5 sans-serif;
60
+        }
61
+
62
+        h1, h2 {
63
+            line-height: 1.2;
64
+            margin: 0 0 .5em;
65
+        }
66
+
67
+        h1 {
68
+            font-size: 36px;
69
+        }
70
+
71
+        h2 {
72
+            font-size: 21px;
73
+            margin-bottom: 1em;
74
+        }
75
+
76
+        p {
77
+            margin: 0 0 1em 0;
78
+        }
79
+
80
+        a {
81
+            color: #0000F0;
82
+        }
83
+
84
+        a:hover {
85
+            text-decoration: none;
86
+        }
87
+
88
+        code {
89
+            background: #F5F5F5;
90
+            max-width: 100px;
91
+            padding: 2px 6px;
92
+            word-wrap: break-word;
93
+        }
94
+
95
+        #wrapper {
96
+            background: #FFF;
97
+            margin: 1em auto;
98
+            max-width: 800px;
99
+            width: 95%;
100
+        }
101
+
102
+        #container {
103
+            padding: 2em;
104
+        }
105
+
106
+        #welcome, #status {
107
+            margin-bottom: 2em;
108
+        }
109
+
110
+        #welcome h1 span {
111
+            display: block;
112
+            font-size: 75%;
113
+        }
114
+
115
+        #icon-status, #icon-book {
116
+            float: left;
117
+            height: 64px;
118
+            margin-right: 1em;
119
+            margin-top: -4px;
120
+            width: 64px;
121
+        }
122
+
123
+        #icon-book {
124
+            display: none;
125
+        }
126
+
127
+        @media (min-width: 768px) {
128
+            #wrapper {
129
+                width: 80%;
130
+                margin: 2em auto;
131
+            }
132
+
133
+            #icon-book {
134
+                display: inline-block;
135
+            }
136
+
137
+            #status a, #next a {
138
+                display: block;
139
+            }
140
+
141
+            @-webkit-keyframes fade-in {
142
+                0% {
143
+                    opacity: 0;
144
+                }
145
+                100% {
146
+                    opacity: 1;
147
+                }
148
+            }
149
+            @keyframes fade-in {
150
+                0% {
151
+                    opacity: 0;
152
+                }
153
+                100% {
154
+                    opacity: 1;
155
+                }
156
+            }
157
+            .sf-toolbar {
158
+                opacity: 0;
159
+                -webkit-animation: fade-in 1s .2s forwards;
160
+                animation: fade-in 1s .2s forwards;
161
+            }
162
+        }
163
+    </style>
164
+{% endblock %}
0 165
\ No newline at end of file