Skip to content

Commit

Permalink
Merge pull request #4 from redhox/experimental
Browse files Browse the repository at this point in the history
afichage a la ligne
  • Loading branch information
redhox authored Dec 13, 2024
2 parents 0ca027f + 72b3408 commit ee5087b
Show file tree
Hide file tree
Showing 13 changed files with 47 additions and 9 deletions.
6 changes: 6 additions & 0 deletions docs/api/def_util/def_user.mf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Utilitaires - User

Description des fonctions utilitaires pour la gestion des utilisateurs.

```python
::: app.api.def_util.def_user
6 changes: 6 additions & 0 deletions docs/api/endpoints/images.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Endpoint - Images

Description de l'endpoint `images`.

```python
::: app.api.endpoints.images
6 changes: 6 additions & 0 deletions docs/api/endpoints/users.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Endpoint - Users

Description de l'endpoint `users`.

```python
::: app.api.endpoints.users
3 changes: 3 additions & 0 deletions docs/api/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Introduction à l'API

Cette section documente les différents endpoints de l'API, les utilitaires, et les modèles utilisés.
3 changes: 3 additions & 0 deletions docs/config/database.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Configuration de la Base de Données

Détails de la configuration de la base de données pour l'API.
3 changes: 3 additions & 0 deletions docs/config/docker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Configuration Docker

Guide pour la configuration Docker utilisée pour déployer cette API.
Empty file added docs/config/index.md
Empty file.
3 changes: 3 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Documentation de l'API FastAPI

Bienvenue dans la documentation de l'API FastAPI. Cette documentation couvre les endpoints, les configurations, et les tests.
3 changes: 3 additions & 0 deletions docs/tests/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Tests

Cette section décrit les tests pour les endpoints principaux et les utilitaires.
2 changes: 1 addition & 1 deletion templates/labelling.html
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@

<div id="page_model" style="z-index: 99; display: none; position: absolute; height: 100vh; width: 80vw;align-items: center; justify-content: center;">
<div style=" padding: 20px; display: flex; flex-direction: column; width: 80%;height: 60%; background-color: #d1f1ff;border-radius:20px;border: 2px solid #9fb7c2;">
<div style="height: 80%;overflow: scroll; display: flex; flex-direction: row;">
<div style="height: 80%;overflow: scroll; display: flex; flex-wrap: wrap;">
{% for model in liste_models %}
<div onclick="load_model('{{model.run_id}}')" class="bulle_model" style="border:solid 3px #9fb7c2;"> <h3>{{model.run_name}}</h3> <p>{{model.run_id}} ,{{model.path}}</p> <code>{{model.metrics}}</code> </div>
{% endfor %}
Expand Down
13 changes: 9 additions & 4 deletions templates/model_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

.colonne {
display: flex;
flex-direction: column;
flex-wrap: wrap;
padding: 20px;
overflow-y: auto;

Expand Down Expand Up @@ -76,20 +76,25 @@
height: 100px;
margin-bottom: 15px;
}

#model-data{
display: flex;
flex-wrap: wrap;
}
</style>





<main >
<h2>list actif</h2>
<div class="colonne">
<h2>list actif</h2>

<div id="model-data"></div>
</div>
<h2>All List</h2>
<div class="colonne">
<h2>All List</h2>

{% for model in list_model_all %}

<div class="bulle_model">
Expand Down
4 changes: 2 additions & 2 deletions templates/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
font-family: Arial, sans-serif;
margin: 0;
display: flex;
flex-direction: row;
flex-wrap: wrap;
min-height: 100vh;
background-color: #f0f0f0;

}

.list {
display: flex;
flex-direction: row;
flex-wrap: wrap;
list-style: none;
padding: 0;
text-align: center;
Expand Down
4 changes: 2 additions & 2 deletions templates/overview_img.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
font-family: Arial, sans-serif;
margin: 0;
display: flex;
flex-direction: column;
flex-wrap: wrap;
min-height: 100vh;
background-color: #f0f0f0;

Expand All @@ -26,7 +26,7 @@
}
.list {
display: flex;
flex-direction: row;
flex-wrap: wrap;
list-style: none;
padding: 0;
text-align: center;
Expand Down

0 comments on commit ee5087b

Please sign in to comment.