diff --git a/YKWIM/static/doc/template.ods b/YKWIM/static/doc/template.ods index 11afa63577899710183d1513bb8bff65f4ff6480..c156def128d22f0ec4e0b697e5c004ce43bde476 100644 Binary files a/YKWIM/static/doc/template.ods and b/YKWIM/static/doc/template.ods differ diff --git a/YKWIM/static/doc/template.xlsx b/YKWIM/static/doc/template.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..7924cc0162b9c03e533f66f5a963900c13abd5de Binary files /dev/null and b/YKWIM/static/doc/template.xlsx differ diff --git a/YKWIM/templates/index.html b/YKWIM/templates/index.html index 557fe0276bbc16a7613bdac27610260dfcba142b..41aa483cd6064268c1732f566c8310a1e821319b 100644 --- a/YKWIM/templates/index.html +++ b/YKWIM/templates/index.html @@ -27,14 +27,21 @@ <i class="bi bi-gear-fill"></i> Configuration </button> - <div class="btn-group"> - <button class="nav-link btn-lg dropdown-toggle" data-bs-toggle="dropdown" type="button" aria-expanded="false"> - <i class="bi bi-question-circle-fill"></i> - </button> - <ul class="dropdown-menu"> - <li><a class="dropdown-item" href="{{url_for('static',filename='/doc/notice.pdf')}}" target=â€_blankâ€>Aide Template</a></li> - <li><a class="dropdown-item" href="">Exemples de vocabulaires partagés</a></li> - </ul> + <div class="dropdown"> + <div class="btn-group"> + <button class="nav-link btn-lg dropdown-toggle" data-bs-toggle="dropdown" type="button" aria-expanded="false"> + <i class="bi bi-question-circle-fill"></i> + </button> + <ul class="dropdown-menu"> + <li><a class="dropdown-item" href="{{url_for('static',filename='/doc/notice.pdf')}}" target=â€_blankâ€>Aide Template</a></li> + <li class="dropdown dropend"> + <a class="dropdown-item dropdown-toggle" href="#" id="dropdown-layouts" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Exemples de vocabulaires partagés</a> + <ul class="dropdown-menu" aria-labelledby="dropdown-layouts"> + <li><a class="dropdown-item" href="https://schema.org/" target=â€_blankâ€>Schema.org</a></li> + <li></li><a class="dropdown-item" href="http://data.ign.fr/data.html" target=â€_blankâ€>IGN</a></li> + </ul> + </ul> + </div> </div> </div> @@ -127,6 +134,9 @@ <span id="instancesURLHelp" class="form-text visually-hidden"></span> </div> </div> + <div class="row py-3"> + <button type="submit" class="offset-4 btn btn-primary col-8" aria-disabled="disabled">Modifier</button> + </div> </form> </div> </div> @@ -140,6 +150,17 @@ <!-- Option 1: Bootstrap Bundle with Popper --> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script> + + <script> + let dropdowns = document.querySelectorAll('.dropdown-toggle') + dropdowns.forEach((dd)=>{ + dd.addEventListener('click', function (e) { + var el = this.nextElementSibling + el.style.display = el.style.display==='block'?'none':'block' + } + ) +}) + </script> <!-- Option 2: Separate Popper and Bootstrap JS --> <!--