Skip to content

Commit

Permalink
Feat/custo (#37)
Browse files Browse the repository at this point in the history
* Customisation front

* Fichiers de configuration

* Suppression mention PNG

* Unindex custom file

* Remove comments
  • Loading branch information
amandine-sahl committed Jul 18, 2023
1 parent ab0d952 commit db2b7b5
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
**/config.*
**/*.md
**/custom.css

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ La gestion de l'authentification est sans mot de passe et fonctionne avec des li
## Configuration

* `backend/config/config.py`
* `front-vite/.env`
* `front-vite/public/config/config.js`
* `front-vite/public/css/custom.css`
* `front-vite/public/page_accueil.md`
* `front-vite/public/page_info_admin.md`
* `front-vite/public/page_reservation.md`
Expand Down
2 changes: 1 addition & 1 deletion backend/core/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def send_login_email():
db.session.commit()

send_email(
get_mail_subject("Lien de connexion sur site de réservation du PNG"),
get_mail_subject("Lien de connexion au site de réservation des animations"),
recipients=[email],
html=render_template("login_mail.html", login_link=get_login_link(token.token)),
)
Expand Down
1 change: 1 addition & 0 deletions front-vite/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_APP_TITLE=Réservation animations
4 changes: 2 additions & 2 deletions front-vite/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<html lang="fr">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
<title>%VITE_APP_TITLE%</title>
</head>
<body>
<div id="app"></div>
Expand Down
Empty file.
6 changes: 0 additions & 6 deletions front-vite/public/page_reservation.md

This file was deleted.

2 changes: 1 addition & 1 deletion front-vite/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<header class="bg-sky-500">
<header id="app-header" class="bg-sky-500">
<nav class="mx-auto flex max-w-7xl items-center justify-between p-6 lg:px-8" aria-label="Global">
<div class="flex lg:flex-1">
<router-link to="/" class="-m-1.5 p-1.5 flex items-center">
Expand Down
1 change: 1 addition & 0 deletions front-vite/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import 'primevue/resources/primevue.min.css'
import 'primeicons/primeicons.css'

import './index.css'
import '../public/css/custom.css'

import { useAuthStore } from './stores/auth'

Expand Down

0 comments on commit db2b7b5

Please sign in to comment.