This commit is contained in:
Michel Roux 2023-01-01 21:59:57 +01:00
parent 1a70528880
commit 660f1732ce
2 changed files with 14 additions and 2 deletions

View File

@ -0,0 +1,3 @@
.has-addons .button {
border-left: 0
}

View File

@ -17,6 +17,8 @@
href="{{ url_for('static', filename='css/bulma-tooltip.min.css') }}"/> href="{{ url_for('static', filename='css/bulma-tooltip.min.css') }}"/>
<link rel="stylesheet" <link rel="stylesheet"
href="{{ url_for('static', filename='css/font-awesome.min.css') }}"/> href="{{ url_for('static', filename='css/font-awesome.min.css') }}"/>
<link rel="stylesheet"
href="{{ url_for('static', filename='css/styles.css') }}"/>
</head> </head>
<body> <body>
<nav class="navbar" role="navigation" aria-label="main navigation"> <nav class="navbar" role="navigation" aria-label="main navigation">
@ -29,8 +31,15 @@
</div> </div>
<div class="navbar-end"> <div class="navbar-end">
<form action="{{ url_for('index') }}" class="navbar-item"> <form action="{{ url_for('index') }}" class="navbar-item">
<div className="control has-icons-right"> <div class="field has-addons">
{{ search_form.q(placeholder=_("Search animes ..."), class="input", value=request.args.get("q", "")) }} <div class="control">
{{ search_form.q(placeholder=_("Search animes ..."), class="input", value=request.args.get("q", "")) }}
</div>
<div class="control">
<button type="submit" class="button">
<i class="fa fa-search"></i>
</button>
</div>
</div> </div>
</form> </form>
</div> </div>