ajout style
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="buttons-container" style="float: left; width: 20%">
|
||||
<button id="projets" >
|
||||
<button class="btn btn-primary" id="projets" >
|
||||
<span> Home </span>
|
||||
</button>
|
||||
</div>
|
||||
@@ -48,20 +48,20 @@
|
||||
<div class="col-md-6">
|
||||
<div id="content1" class="hiddenTable">
|
||||
<table
|
||||
class="table table-striped scrollable sticky-header"
|
||||
class="table table-striped scrollable sticky-header .thead-dark"
|
||||
id="table-image"
|
||||
>
|
||||
<thead >
|
||||
<tr>
|
||||
<th>
|
||||
<button id="toggle-view">
|
||||
<button class="btn btn-primary" id="toggle-view">
|
||||
See all images
|
||||
</button>
|
||||
</th>
|
||||
<th><button>
|
||||
<th><button class="btn btn-primary">
|
||||
sort images
|
||||
</button></th>
|
||||
<th><button>
|
||||
<th><button class="btn btn-primary">
|
||||
export images
|
||||
</button></th>
|
||||
</tr>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<body>
|
||||
<div id="section"></div>
|
||||
<div class="buttons-container">
|
||||
<button id="projets" ><span>
|
||||
<button class="btn btn-primary" id="projets" ><span>
|
||||
Mes projets
|
||||
</span>
|
||||
</button>
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
<body>
|
||||
<div id="section" class="container mt-5">
|
||||
<div class="buttons-container mb-4">
|
||||
<button id="video" ><span>Mes vidéos</span></button>
|
||||
<button id="download" ><span>Download App</span></button>
|
||||
<button class="btn btn-primary" id="video" ><span>Mes vidéos</span></button>
|
||||
<button class="btn btn-primary" id="download" ><span>Download App</span></button>
|
||||
</div>
|
||||
|
||||
<table class="table table-striped" id="table-projects">
|
||||
|
||||
@@ -18,13 +18,13 @@ function display_metrics(metrics_datas) {
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
const projectId = urlParams.get("id");
|
||||
getDataProjectMetricsFromApi(projectId)
|
||||
.then((project_metrics) => {
|
||||
display_metrics(project_metrics);
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error(error);
|
||||
});
|
||||
// getDataProjectMetricsFromApi(projectId)
|
||||
// .then((project_metrics) => {
|
||||
// display_metrics(project_metrics);
|
||||
// })
|
||||
// .catch((error) => {
|
||||
// console.error(error);
|
||||
// });
|
||||
document.getElementById("projets").addEventListener("click", () => {
|
||||
window.location.href = "../index.html";
|
||||
current_project = "";
|
||||
|
||||
Reference in New Issue
Block a user