|
@@ -1,5 +1,6 @@
|
|
|
<!DOCTYPE html>
|
|
|
<html lang="en">
|
|
|
+
|
|
|
<head>
|
|
|
<!-- Required meta tags -->
|
|
|
<meta charset="utf-8">
|
|
@@ -9,14 +10,13 @@
|
|
|
<link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css'>
|
|
|
<link rel='stylesheet' href='https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'>
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css">
|
|
|
- <link rel="stylesheet"
|
|
|
- href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt"
|
|
|
- crossorigin="anonymous">
|
|
|
-<!-- <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='styles/reset.css') }}"> -->
|
|
|
+ <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css"
|
|
|
+ integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
|
|
|
+ <!-- <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='styles/reset.css') }}"> -->
|
|
|
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='styles/main.css') }}">
|
|
|
-
|
|
|
+
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.20/lodash.min.js"></script>
|
|
|
- <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
|
|
|
+ <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
|
|
|
<script src='https://code.jquery.com/jquery-3.2.1.slim.min.js'></script>
|
|
|
|
|
|
<style>
|
|
@@ -25,16 +25,18 @@
|
|
|
}
|
|
|
</style>
|
|
|
{% if title %}
|
|
|
- <title>bhouse backstage - {{ title }}</title>
|
|
|
+ <title>bhouse backstage - {{ title }}</title>
|
|
|
{% else %}
|
|
|
- <title>bhouse backstage</title>
|
|
|
+ <title>bhouse backstage</title>
|
|
|
{% endif %}
|
|
|
</head>
|
|
|
+
|
|
|
<body>
|
|
|
<div class="container-fluid">
|
|
|
<div class="row" id="body-row">
|
|
|
<!-- Sidebar -->
|
|
|
- <nav id="sidebar-container" class="sidebar-expanded col-2 sidebar"><!-- d-* hiddens the Sidebar in smaller devices. Its itens can be kept on the Navbar 'Menu' -->
|
|
|
+ <nav id="sidebar-container" class="sidebar-expanded col-2 sidebar">
|
|
|
+ <!-- d-* hiddens the Sidebar in smaller devices. Its itens can be kept on the Navbar 'Menu' -->
|
|
|
<div class="sidebar-header">
|
|
|
<h3 class="sidebar__company">小寶優居</h3>
|
|
|
</div>
|
|
@@ -42,91 +44,107 @@
|
|
|
<ul class="list-group pt-2">
|
|
|
<!-- /END Separator -->
|
|
|
<!-- Menu with submenu -->
|
|
|
- <a href="{{ url_for('home.home') }}" class="bg-dark list-group-item list-group-item-action flex-column align-items-start">
|
|
|
+ <a href="{{ url_for('home.home') }}"
|
|
|
+ class="bg-dark list-group-item list-group-item-action flex-column align-items-start">
|
|
|
<div class="d-flex w-100 justify-content-start align-items-center">
|
|
|
<i class="fas fa-home mr-3"></i>
|
|
|
- <span class="menu-collapsed">首頁</span>
|
|
|
+ <span class="menu-collapsed">首頁</span>
|
|
|
<span class="submenu-icon ml-auto"></span>
|
|
|
</div>
|
|
|
</a>
|
|
|
- <a href="{{ url_for('room_planner.main') }}" class="bg-dark list-group-item list-group-item-action flex-column align-items-start"">
|
|
|
+ <a href="{{ url_for('blogs.edit_news') }}" class="bg-dark list-group-item list-group-item-action">
|
|
|
<div class="d-flex w-100 justify-content-start align-items-center">
|
|
|
+ <i class="far fa-newspaper mr-3"></i>
|
|
|
+ <span class="menu-collapsed">最新消息</span>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ <a href="{{ url_for('room_planner.main') }}"
|
|
|
+ class="bg-dark list-group-item list-group-item-action flex-column align-items-start">
|
|
|
+ <div class=" d-flex w-100 justify-content-start align-items-center">
|
|
|
<i class="fas fa-user-alt mr-3"></i>
|
|
|
<span class="menu-collapsed">家具規劃師</span>
|
|
|
- <span class="submenu-icon ml-auto"></span>
|
|
|
+ <span class="submenu-icon ml-auto"></span>
|
|
|
</div>
|
|
|
</a>
|
|
|
<a href="{{ url_for('collections.collection_list') }}" class="bg-dark list-group-item list-group-item-action">
|
|
|
<div class="d-flex w-100 justify-content-start align-items-center">
|
|
|
<i class="fas fa-ruler-combined mr-3"></i>
|
|
|
- <span class="menu-collapsed">規劃作品</span>
|
|
|
+ <span class="menu-collapsed">規劃作品</span>
|
|
|
</div>
|
|
|
</a>
|
|
|
<a href="{{ url_for('store_locations.main') }}" class="bg-dark list-group-item list-group-item-action">
|
|
|
<div class="d-flex w-100 justify-content-start align-items-center">
|
|
|
<i class="fas fa-location-arrow mr-3"></i>
|
|
|
- <span class="menu-collapsed">門市據點</span>
|
|
|
+ <span class="menu-collapsed">門市據點</span>
|
|
|
</div>
|
|
|
</a>
|
|
|
<a href="#" class="bg-dark list-group-item list-group-item-action">
|
|
|
<div class="d-flex w-100 justify-content-start align-items-center">
|
|
|
<i class="fas fa-question-circle mr-3"></i>
|
|
|
- <span class="menu-collapsed">常見問題</span>
|
|
|
+ <span class="menu-collapsed">常見問題</span>
|
|
|
</div>
|
|
|
</a>
|
|
|
<a href="#" class="bg-dark list-group-item list-group-item-action">
|
|
|
<div class="d-flex w-100 justify-content-start align-items-center">
|
|
|
<i class="fas fa-tasks mr-3"></i>
|
|
|
- <span class="menu-collapsed">關於小寶</span>
|
|
|
+ <span class="menu-collapsed">關於小寶</span>
|
|
|
</div>
|
|
|
</a>
|
|
|
<a href="{{ url_for('blogs.blog_list') }}" class="bg-dark list-group-item list-group-item-action">
|
|
|
<div class="d-flex w-100 justify-content-start align-items-center">
|
|
|
<i class="far fa-newspaper mr-3"></i>
|
|
|
- <span class="menu-collapsed">設計專欄</span>
|
|
|
+ <span class="menu-collapsed">設計專欄</span>
|
|
|
</div>
|
|
|
</a>
|
|
|
- <a href="{{ url_for('blogs.edit_solid_wood_furniture') }}" class="bg-dark list-group-item list-group-item-action">
|
|
|
+ <a href="{{ url_for('blogs.edit_solid_wood_furniture') }}"
|
|
|
+ class="bg-dark list-group-item list-group-item-action">
|
|
|
<div class="d-flex w-100 justify-content-start align-items-center">
|
|
|
<i class="far fa-newspaper mr-3"></i>
|
|
|
- <span class="menu-collapsed">單品家具</span>
|
|
|
+ <span class="menu-collapsed">單品家具</span>
|
|
|
</div>
|
|
|
</a>
|
|
|
<a href="{{ url_for('blogs.edit_system_furniture') }}" class="bg-dark list-group-item list-group-item-action">
|
|
|
<div class="d-flex w-100 justify-content-start align-items-center">
|
|
|
<i class="far fa-newspaper mr-3"></i>
|
|
|
- <span class="menu-collapsed">模組系統櫃</span>
|
|
|
+ <span class="menu-collapsed">模組系統櫃</span>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ <a href="{{ url_for('blogs.edit_contact_us') }}" class="bg-dark list-group-item list-group-item-action">
|
|
|
+ <div class="d-flex w-100 justify-content-start align-items-center">
|
|
|
+ <i class="far fa-newspaper mr-3"></i>
|
|
|
+ <span class="menu-collapsed">聯絡我們</span>
|
|
|
</div>
|
|
|
</a>
|
|
|
<!-- Separator with title -->
|
|
|
- <a href="#" data-toggle="sidebar-colapse" class="bg-dark list-group-item list-group-item-action d-flex align-items-center">
|
|
|
+ <a href="#" data-toggle="sidebar-colapse"
|
|
|
+ class="bg-dark list-group-item list-group-item-action d-flex align-items-center">
|
|
|
<div class="d-flex w-100 justify-content-start align-items-center">
|
|
|
<span id="collapse-icon" class="fa fa-2x mr-3"></span>
|
|
|
<span id="collapse-text" class="menu-collapsed">Collapse</span>
|
|
|
</div>
|
|
|
- </a>
|
|
|
+ </a>
|
|
|
</ul><!-- List Group END-->
|
|
|
</nav><!-- sidebar-container END -->
|
|
|
<!-- Modal -->
|
|
|
<div>
|
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
|
- {% if messages %}
|
|
|
- {% for category, message in messages %}
|
|
|
- <div class="alert alert-{{ category }}" role="alert">
|
|
|
- {{ message }}
|
|
|
- <button type="button" class="close modal__close" data-dismiss="alert" aria-label="Close">
|
|
|
- <span class="modal__close__back">
|
|
|
- <span aria-hidden="true">×</span>
|
|
|
- </span>
|
|
|
- </button>
|
|
|
- </div>
|
|
|
- {% endfor %}
|
|
|
- {% endif %}
|
|
|
+ {% if messages %}
|
|
|
+ {% for category, message in messages %}
|
|
|
+ <div class="alert alert-{{ category }}" role="alert">
|
|
|
+ {{ message }}
|
|
|
+ <button type="button" class="close modal__close" data-dismiss="alert" aria-label="Close">
|
|
|
+ <span class="modal__close__back">
|
|
|
+ <span aria-hidden="true">×</span>
|
|
|
+ </span>
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
+ {% endfor %}
|
|
|
+ {% endif %}
|
|
|
{% endwith %}
|
|
|
</div>
|
|
|
<!-- Main -->
|
|
|
<div class="main my-4 ml-auto col-10">
|
|
|
- {% block main %}{% endblock %}
|
|
|
+ {% block main %}{% endblock %}
|
|
|
</div>
|
|
|
<!-- toTop Button -->
|
|
|
<div class='toTop'>
|
|
@@ -140,4 +158,5 @@
|
|
|
<script src='https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js'></script>
|
|
|
<script type="text/javascript" src="{{url_for('static', filename='js/sidebar.js')}}"></script>
|
|
|
</body>
|
|
|
+
|
|
|
</html>
|