Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lockhome
LockHome
Commits
abd8d051
Commit
abd8d051
authored
Nov 27, 2019
by
kylian lecomte
Browse files
up
parent
f21cdd3d
Changes
10
Hide whitespace changes
Inline
Side-by-side
.htaccess
View file @
abd8d051
RewriteEngine
On
RewriteBase
/~E183
835W/codeigniter
/
RewriteBase
/~E183
502J/lockhome
/
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteRule
(.*) index.php/$1
\ No newline at end of file
README.md
View file @
abd8d051
Changer le numéro étudiant dans les fichiers :
-
.htaccess
-
config.php
\ No newline at end of file
application/config/config.php
View file @
abd8d051
...
...
@@ -23,7 +23,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| a PHP script and you can easily do that on your own.
|
*/
$config
[
'base_url'
]
=
'http://srv-infoweb.iut-nantes.univ-nantes.prive/~E183
835W
/lockhome/'
;
$config
[
'base_url'
]
=
'http://srv-infoweb.iut-nantes.univ-nantes.prive/~E183
502J
/lockhome/'
;
/*
|--------------------------------------------------------------------------
...
...
application/config/routes.php
View file @
abd8d051
...
...
@@ -74,7 +74,7 @@ $route['profil'] = 'Profil';
$route
[
'(:any)'
]
=
'Accueil/index'
;
$route
[
'editer'
]
=
'Accueil/editer'
;
$route
[
'default_controller'
]
=
'Accueil/
index
'
;
$route
[
'default_controller'
]
=
'Accueil/
showAccueil
'
;
$route
[
'404_override'
]
=
''
;
$route
[
'translate_uri_dashes'
]
=
FALSE
;
application/controllers/Accueil.php
View file @
abd8d051
...
...
@@ -10,4 +10,12 @@ class Accueil extends CI_Controller {
public
function
index
()
{
echo
"bonjour"
;
}
public
function
showAccueil
(){
if
(
isset
(
$_SESSION
[
'email'
])){
$this
->
load
->
view
(
'accueil/accueil.html'
);
}
else
{
$this
->
load
->
view
(
'auth/connexion.html'
);
}
}
}
\ No newline at end of file
application/views/accueil/accueil.html
View file @
abd8d051
...
...
@@ -4,8 +4,8 @@
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<link
rel=
"stylesheet"
href=
"
CSS
/accueil.css"
>
<link
rel=
"stylesheet"
href=
"
CSS
/commun.css"
>
<link
rel=
"stylesheet"
href=
"
static
/accueil.css"
>
<link
rel=
"stylesheet"
href=
"
static
/commun.css"
>
<link
rel=
"stylesheet"
href=
"https://unicons.iconscout.com/release/v2.0.1/css/unicons.css"
>
<link
href=
"https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap"
rel=
"stylesheet"
>
<title>
Accueil
</title>
...
...
application/views/auth/connexion.html
View file @
abd8d051
...
...
@@ -5,7 +5,7 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
<title>
Connexion
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
./CSS
/connexion.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
static
/connexion.css"
>
<link
rel=
"stylesheet"
href=
"https://unicons.iconscout.com/release/v2.0.1/css/unicons.css"
>
</head>
<body>
...
...
application/views/auth/inscription.html
View file @
abd8d051
...
...
@@ -5,7 +5,7 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
<title>
Inscription
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
./CSS
/connexion.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
static
/connexion.css"
>
<link
rel=
"stylesheet"
href=
"https://unicons.iconscout.com/release/v2.0.1/css/unicons.css"
>
</head>
<body>
...
...
application/views/auth/mdp_oublie.html
View file @
abd8d051
...
...
@@ -5,7 +5,7 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
<title>
Mot de passe oublié
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
./CSS
/connexion.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
static
/connexion.css"
>
<link
rel=
"stylesheet"
href=
"https://unicons.iconscout.com/release/v2.0.1/css/unicons.css"
>
</head>
<body>
...
...
application/views/camera/index.html
View file @
abd8d051
...
...
@@ -6,8 +6,8 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
>
<title>
Liste des caméras - LockHome
</title>
<link
rel=
"stylesheet"
href=
"camera.css"
>
<link
rel=
"stylesheet"
href=
"
../CSS
/commun.css"
>
<link
rel=
"stylesheet"
href=
"
static/
camera.css"
>
<link
rel=
"stylesheet"
href=
"
static
/commun.css"
>
<link
href=
"https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
href=
"https://unicons.iconscout.com/release/v2.0.1/css/unicons.css"
>
</head>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment