Commit 681dce63 authored by Eric Régnier's avatar Eric Régnier

Allow display flask admin using bootstrap fluid layout, depending on flask...

Allow display flask admin using bootstrap fluid layout, depending on flask configuration FLASK_ADMIN_FLUID_LAYOUT boolean value.
parent 5fff53bc
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
</head> </head>
<body> <body>
{% block page_body %} {% block page_body %}
<div class="container"> <div class="container{%if config.get('FLASK_ADMIN_FLUID_LAYOUT', False) %}-fluid{% endif %}">
<div class="navbar"> <div class="navbar">
<div class="navbar-inner"> <div class="navbar-inner">
{% block brand %} {% block brand %}
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</head> </head>
<body> <body>
{% block page_body %} {% block page_body %}
<div class="container"> <div class="container{%if config.get('FLASK_ADMIN_FLUID_LAYOUT', False) %}-fluid{% endif %}">
<nav class="navbar navbar-default" role="navigation"> <nav class="navbar navbar-default" role="navigation">
<!-- Brand and toggle get grouped for better mobile display --> <!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header"> <div class="navbar-header">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment