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