forked from appen-isen/site-interpromo-2023
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from appen-isen/felix
Refactor JS (remove code bloc) and add plausible
- Loading branch information
Showing
17 changed files
with
878 additions
and
1,033 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Deploy to server | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Copy build directory to server | ||
uses: Dylan700/[email protected] | ||
with: | ||
server: ${{ secrets.SERVER_HOST }} | ||
username: ${{ secrets.SERVER_USERNAME }} | ||
password: ${{ secrets.SERVER_PASSWORD }} | ||
port: ${{ secrets.SERVER_PORT }} | ||
uploads: | | ||
./Front => /var/www/site-interpromo-2024 | ||
delete: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider | ||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | ||
|
||
# User-specific stuff | ||
.idea/**/workspace.xml | ||
.idea/**/tasks.xml | ||
.idea/**/usage.statistics.xml | ||
.idea/**/dictionaries | ||
.idea/**/shelf | ||
|
||
# AWS User-specific | ||
.idea/**/aws.xml | ||
|
||
# Generated files | ||
.idea/**/contentModel.xml | ||
|
||
# Sensitive or high-churn files | ||
.idea/**/dataSources/ | ||
.idea/**/dataSources.ids | ||
.idea/**/dataSources.local.xml | ||
.idea/**/sqlDataSources.xml | ||
.idea/**/dynamic.xml | ||
.idea/**/uiDesigner.xml | ||
.idea/**/dbnavigator.xml | ||
|
||
# Gradle | ||
.idea/**/gradle.xml | ||
.idea/**/libraries | ||
|
||
# Gradle and Maven with auto-import | ||
# When using Gradle or Maven with auto-import, you should exclude module files, | ||
# since they will be recreated, and may cause churn. Uncomment if using | ||
# auto-import. | ||
# .idea/artifacts | ||
# .idea/compiler.xml | ||
# .idea/jarRepositories.xml | ||
# .idea/modules.xml | ||
# .idea/*.iml | ||
# .idea/modules | ||
# *.iml | ||
# *.ipr | ||
|
||
# CMake | ||
cmake-build-*/ | ||
|
||
# Mongo Explorer plugin | ||
.idea/**/mongoSettings.xml | ||
|
||
# File-based project format | ||
*.iws | ||
|
||
# IntelliJ | ||
out/ | ||
|
||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Cursive Clojure plugin | ||
.idea/replstate.xml | ||
|
||
# Crashlytics plugin (for Android Studio and IntelliJ) | ||
com_crashlytics_export_strings.xml | ||
crashlytics.properties | ||
crashlytics-build.properties | ||
fabric.properties | ||
|
||
# Editor-based Rest Client | ||
.idea/httpRequests | ||
|
||
# Android studio 3.1+ serialized cache file | ||
.idea/caches/build_file_checksums.ser | ||
|
||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
*.code-workspace | ||
|
||
# Local History for Visual Studio Code | ||
.history/ | ||
|
||
|
||
|
||
|
||
# End of https://mrkandreev.name/snippets/gitignore-generator/#WebStorm+all,VisualStudioCode,js,html,css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,77 +5,87 @@ | |
<title> Arbitrage Match </title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" /> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous"> | ||
<link rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200"/> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" | ||
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous"> | ||
<!--- Ajout d'un fichier css pour les classes personalisé ---> | ||
<link rel="stylesheet" href="style.css" /> | ||
<link rel="stylesheet" href="style.css"/> | ||
<script src="js/cookie.js" defer></script> | ||
<link rel="icon" href="assets/appen.png"> | ||
<script src="js/backend/login.js" type="module" defer></script> | ||
<script src="js/backend/arbitrage.js" type="module" defer></script> | ||
<script defer data-domain="appen.fr" src="https://plausible.mrqt.fr/js/script.js"></script> | ||
</head> | ||
<body> | ||
<header> | ||
<nav class="navbar navbar-dark bg-dark fixed-top"> | ||
<div class="container-fluid"> | ||
<a class="navbar-brand" href="index.html"> | ||
<img src="assets/appen.png" alt="Logo" width="30" height="30" class="d-inline-block align-text-top logo-appen"> | ||
Interpromos 2023 | ||
</a> | ||
<header> | ||
<nav class="navbar navbar-dark bg-dark fixed-top"> | ||
<div class="container-fluid"> | ||
<a class="navbar-brand" href="index.html"> | ||
<img src="assets/appen.png" alt="Logo" width="30" height="30" | ||
class="d-inline-block align-text-top logo-appen"> | ||
Interpromos 2023 | ||
</a> | ||
|
||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarToggleExternalContent" aria-controls="navbarToggleExternalContent" aria-expanded="false" aria-label="Ouvrir la navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
|
||
<div class="collapse text-bg-dark" id="navbarToggleExternalContent" data-bs-theme="dark"> | ||
<ul class="navbar-nav justify-content-end flex-grow-1 pe-3"> | ||
<li class="nav-item"> | ||
<a class="nav-link d-inline-flex align-items-center" aria-current="page" href="index.html"> | ||
<!-- | ||
<span class="material-symbols-outlined pe-3">wifi_tethering</span> | ||
---> | ||
<div class="pe-3 icons-display"></div> | ||
Matchs en direct | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link d-inline-flex align-items-center" href="teams.html"> | ||
<!---<span class="material-symbols-outlined pe-3">trophy</span>---> | ||
<div class="pe-3 icons-display"></div> | ||
Classement et équipes | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link d-inline-flex align-items-center" href="sports.html"> | ||
<!---<span class="material-symbols-outlined pe-3">fitness_center</span>---> | ||
<div class="pe-3 icons-display"></div> | ||
Liste des sports | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link d-inline-flex align-items-center" role="button" id="disconect"> | ||
<!---<span class="material-symbols-outlined">login</span>---> | ||
<div class="pe-3 icons-display"></div> | ||
Déconnexion | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" | ||
data-bs-target="#navbarToggleExternalContent" aria-controls="navbarToggleExternalContent" | ||
aria-expanded="false" aria-label="Ouvrir la navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
|
||
<div class="collapse text-bg-dark" id="navbarToggleExternalContent" data-bs-theme="dark"> | ||
<ul class="navbar-nav justify-content-end flex-grow-1 pe-3"> | ||
<li class="nav-item"> | ||
<a class="nav-link d-inline-flex align-items-center" aria-current="page" href="index.html"> | ||
<!-- | ||
<span class="material-symbols-outlined pe-3">wifi_tethering</span> | ||
---> | ||
<div class="pe-3 icons-display"></div> | ||
Matchs en direct | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link d-inline-flex align-items-center" href="teams.html"> | ||
<!---<span class="material-symbols-outlined pe-3">trophy</span>---> | ||
<div class="pe-3 icons-display"></div> | ||
Classement et équipes | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link d-inline-flex align-items-center" href="sports.html"> | ||
<!---<span class="material-symbols-outlined pe-3">fitness_center</span>---> | ||
<div class="pe-3 icons-display"></div> | ||
Liste des sports | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link d-inline-flex align-items-center" role="button" id="disconect"> | ||
<!---<span class="material-symbols-outlined">login</span>---> | ||
<div class="pe-3 icons-display"></div> | ||
Déconnexion | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</nav> | ||
</header> | ||
|
||
<div class="container"> | ||
<div class="col-8 offset-2 mt-6" id="arbitrage"> | ||
<div class="text-center"><a href="" class="btn btn-primary" id="btnPoint1">But pour promo X</a></div> | ||
<h5 class="text-center" id="textPoint1"></h5> | ||
<br> | ||
<h5 class="text-center" id="textPoint2"></h5> | ||
<div class="text-center"><a href="" class="btn btn-primary" id="btnPoint2">But pour promo Y</a></div> | ||
<br> | ||
<form id="stopMatch"><div class="text-center"><button type="submit" class="btn btn-danger" id="btnStop">Arrêter le match</button></div></form> | ||
</div> | ||
</nav> | ||
</header> | ||
|
||
<div class="container"> | ||
<div class="col-8 offset-2 mt-6" id="arbitrage"> | ||
<div class="text-center"><a href="" class="btn btn-primary" id="btnPoint1">But pour promo X</a></div> | ||
<h5 class="text-center" id="textPoint1"></h5> | ||
<br> | ||
<h5 class="text-center" id="textPoint2"></h5> | ||
<div class="text-center"><a href="" class="btn btn-primary" id="btnPoint2">But pour promo Y</a></div> | ||
<br> | ||
<form id="stopMatch"> | ||
<div class="text-center"> | ||
<button type="submit" class="btn btn-danger" id="btnStop">Arrêter le match</button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.