Change container name path
continuous-integration/drone/push Build is passing Details

master
dorian.hodin 2 years ago
parent 61395e5fd9
commit 589803ec21

@ -12,8 +12,8 @@
<link href="<?php echo $bootstrapIcon; ?>" rel="stylesheet" />
<link href="<?php echo $bootstrapMin; ?>" rel="stylesheet" />
<link href="<?php echo $awesomeFont; ?>" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="<?php echo $_ENV['CONTAINER_NAME']."/Views/CSS/styles.css"?>" />
<link rel="stylesheet" type="text/css" href="<?php echo $_ENV['CONTAINER_NAME']."/Views/CSS/stylesForm.css"?>" />
<link rel="stylesheet" type="text/css" href="Views/CSS/styles.css" />
<link rel="stylesheet" type="text/css" href="Views/CSS/stylesForm.css" />
<link href="<?php echo $poppins; ?>" rel="stylesheet">
<link rel="shortcut icon" href="<?php echo $icon; ?>" type="image/x-icon">
<link rel="icon" href="<?php echo $icon; ?>" type="image/x-icon">
@ -82,7 +82,7 @@
</label>
</div>
<div class="thanks-message text-center" id="text-message"> <img src="https://i.imgur.com/O18mJ1K.png" width="100" class="mb-4" alt="">
<div class="thanks-message text-center" id="text-message"> <img src="https://i.imgur.com/O18mJ1K.png" width="100" height="100" class="mb-4" alt="">
<h3>Souhaitez-vous ajouter votre question ?</h3>
<input type='submit' value='Ajouter' id='button'>
<input type='hidden' name='action' value='addQuestion'>

@ -14,7 +14,7 @@
<title></title>
</head>
<body class="acolorba d-flex flex-column align-items-center">
<img src="<?php echo $_ENV['CONTAINER_NAME']."/Views/IMAGES/logoUca.png"?>" class="logo" alt="logo">
<img src="<?php echo $_ENV['CONTAINER_NAME']."/Views/IMAGES/logoUca.png"?>" class="logo" alt="logo" height="auto" width="auto">
<article class="card">
<main id="main-content">
<section id="content">

@ -6,8 +6,8 @@
global $jQueryMin, $bundle4, $bundle5;
?>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="<?php echo $_ENV['CONTAINER_NAME']."/Views/CSS/styles.css"?>" />
<link type="text/css" rel="stylesheet" href="<?php echo $_ENV['CONTAINER_NAME']."/Views/CSS/stylesForm.css"?>" />
<link type="text/css" rel="stylesheet" href="Views/CSS/styles.css" />
<link type="text/css" rel="stylesheet" href="Views/CSS/stylesForm.css" />
<link rel="preconnect" href="<?php echo $googleApis; ?>">
<link rel="preconnect" href="<?php echo $googleStatic; ?>" crossorigin>
<link href="<?php echo $poppins; ?>" rel="stylesheet">
@ -40,8 +40,8 @@
<script src="<?php echo $jQueryMin; ?>"></script>
<script src="<?php echo $bundle4; ?>"></script>
<script src="<?php echo $bundle5; ?>"></script>
<script type="text/javascript" src="<?php echo $_ENV['CONTAINER_NAME']."/Views/JS/scripts.js"?>"></script>
<script type="text/javascript" src="<?php echo $_ENV['CONTAINER_NAME']."/Views/JS/getData-Ids.js"?>"></script>
<script type="text/javascript" src="Views/JS/scripts.js"></script>
<script type="text/javascript" src="Views/JS/getData-Ids.js"></script>
</body>

@ -7,14 +7,14 @@ document.addEventListener("DOMContentLoaded", function(event) {
});
function showTab(n) {
var x = document.getElementsByClassName("tab");
const x = document.getElementsByClassName("tab");
x[n].style.display = "block";
if (n == 0) {
if (n === 0) {
document.getElementById("prevBtn").style.display = "none";
} else {
document.getElementById("prevBtn").style.display = "inline";
}
if (n == (x.length - 1)) {
if (n === (x.length - 1)) {
document.getElementById("nextBtn").innerHTML = '<i class="fa fa-angle-double-right"></i>';
} else {
document.getElementById("nextBtn").innerHTML = '<i class="fa fa-angle-double-right"></i>';
@ -23,8 +23,8 @@ function showTab(n) {
}
function nextPrev(n) {
var x = document.getElementsByClassName("tab");
if (n == 1 && !validateForm()) return false;
const x = document.getElementsByClassName("tab");
if (n === 1 && !validateForm()) return false;
x[currentTab].style.display = "none";
currentTab = currentTab + n;
if (currentTab >= x.length) {
@ -42,11 +42,11 @@ function nextPrev(n) {
}
function validateForm() {
var x, y, i, valid = true;
let x, y, i, valid = true;
x = document.getElementsByClassName("tab");
y = x[currentTab].getElementsByTagName("input");
for (i = 0; i < y.length; i++) {
if (y[i].value == "") {
if (y[i].value === "") {
y[i].className += " invalid";
valid = false;
}
@ -60,7 +60,7 @@ function validateForm() {
}
function fixStepIndicator(n) {
var i, x = document.getElementsByClassName("step");
let i, x = document.getElementsByClassName("step");
for (i = 0; i < x.length; i++) {
x[i].className = x[i].className.replace(" active", "");
}

Loading…
Cancel
Save