Compare commits

...

2 Commits

Author SHA1 Message Date
22d262d8e6 barre de navigation fixé en haut 2021-04-23 14:51:05 +02:00
f729dcddf8 Fix: bouton non grisé 2021-04-23 14:50:38 +02:00
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html class="has-navbar-fixed-top">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{% block title %}{% endblock %}</title> <title>{% block title %}{% endblock %}</title>
@ -9,7 +9,7 @@
</head> </head>
<body> <body>
<!-- Barre de navigation --> <!-- Barre de navigation -->
<nav class="navbar is-primary is-spaced py-0"> <nav class="navbar is-primary is-spaced is-fixed-top py-0">
<div class="container"> <div class="container">
<div class="navbar-brand"> <div class="navbar-brand">
<a class="navbar-item is-size-5" href="https://scodoc.org/">ScoDoc</a> <a class="navbar-item is-size-5" href="https://scodoc.org/">ScoDoc</a>

View File

@ -94,7 +94,7 @@ template = env.from_string("""
<nav class="level is-mobile"> <nav class="level is-mobile">
<div class="level-left"> <div class="level-left">
<div class="level-item"> <div class="level-item">
<a class="button is-primary is-outlined{% if not precedent %} is-static"{% else %}" href="{{precedent}}"{% endif %}> <a class="button is-primary{% if not precedent %} is-static"{% else %} is-outlined" href="{{precedent}}"{% endif %}>
<span class="icon is-small"> <span class="icon is-small">
<i class="fas fa-arrow-left"></i> <i class="fas fa-arrow-left"></i>
</span> </span>
@ -104,7 +104,7 @@ template = env.from_string("""
</div> </div>
<div class="level-right"> <div class="level-right">
<div class="level-item"> <div class="level-item">
<a class="button is-primary is-outlined{% if not suivant %} is-static"{% else %}" href="{{suivant}}"{% endif %}> <a class="button is-primary{% if not suivant %} is-static"{% else %} is-outlined" href="{{suivant}}"{% endif %}>
<span>Suivant</span> <span>Suivant</span>
<span class="icon is-small"> <span class="icon is-small">
<i class="fas fa-arrow-right"></i> <i class="fas fa-arrow-right"></i>
@ -147,7 +147,7 @@ template = env.from_string("""
<nav class="level is-mobile"> <nav class="level is-mobile">
<div class="level-left"> <div class="level-left">
<div class="level-item"> <div class="level-item">
<a class="button is-primary is-outlined{% if not precedent %} is-static"{% else %}" href="{{precedent}}"{% endif %}> <a class="button is-primary{% if not precedent %} is-static"{% else %} is-outlined" href="{{precedent}}"{% endif %}>
<span class="icon is-small"> <span class="icon is-small">
<i class="fas fa-arrow-left"></i> <i class="fas fa-arrow-left"></i>
</span> </span>
@ -157,7 +157,7 @@ template = env.from_string("""
</div> </div>
<div class="level-right"> <div class="level-right">
<div class="level-item"> <div class="level-item">
<a class="button is-primary is-outlined{% if not suivant %} is-static"{% else %}" href="{{suivant}}"{% endif %}> <a class="button is-primary{% if not suivant %} is-static"{% else %} is-outlined" href="{{suivant}}"{% endif %}>
<span>Suivant</span> <span>Suivant</span>
<span class="icon is-small"> <span class="icon is-small">
<i class="fas fa-arrow-right"></i> <i class="fas fa-arrow-right"></i>