Upload All
This commit is contained in:
13
views/layout/footer.pug
Normal file
13
views/layout/footer.pug
Normal file
@ -0,0 +1,13 @@
|
||||
//- footer.pug
|
||||
footer.footer
|
||||
.container-fluid.bg-grassGreen
|
||||
.row.mt-20
|
||||
.col-xs-8.col-xs-push-2
|
||||
ul.nav.nav-pills
|
||||
li.nav-item(class= source=="gallery" ? "active" : ""): a.color-white(href="/gallery") 傑作藝廊
|
||||
li.nav-item(class= source=="theme" ? "active" : ""): a.color-white(href="/theme") 畫作主題
|
||||
li.nav-item(class= source=="drawing" ? "active" : ""): a.color-white(href="/drawing") 繪圖創作
|
||||
li.nav-item(class= source=="feedback" ? "active" : ""): a.color-white(href="/feedback") 意見回饋
|
||||
p.text-center.color-white Copyright © 2017 by Nebula3122. All rights reserved.
|
||||
|
||||
script(src="/js/bootstrap.min.js")
|
9
views/layout/head.pug
Normal file
9
views/layout/head.pug
Normal file
@ -0,0 +1,9 @@
|
||||
//- main.pug
|
||||
title= title
|
||||
meta(charset="utf-8")
|
||||
meta(name="viewport" content="width=device-width, initial-scale=1")
|
||||
link(rel="stylesheet", href="/css/bootstrap.min.css")
|
||||
link(rel="stylesheet", href="/css/bootstrap-theme.min.css")
|
||||
link(rel="stylesheet", href="/css/custom_styles.css")
|
||||
link(rel="stylesheet", href="/css/" + extendedStyle)
|
||||
script(src="/js/jquery-3.2.1.min.js")
|
26
views/layout/navbar.pug
Normal file
26
views/layout/navbar.pug
Normal file
@ -0,0 +1,26 @@
|
||||
//- navbar.pug
|
||||
nav.navbar.navbar-default
|
||||
div.container-fluid
|
||||
div.navbar-header
|
||||
a.navbar-brand(href="/index") JMuseum
|
||||
ul.nav.navbar-nav
|
||||
li(class= source=="gallery" ? "active" : ""): a(href="/gallery") 傑作藝廊
|
||||
li(class= source=="theme" ? "active" : ""): a(href="/theme") 畫作主題
|
||||
li(class= source=="drawing" ? "active" : ""): a(href="/drawing") 繪圖創作
|
||||
li(class= source=="feedback" ? "active" : ""): a(href="/feedback") 意見回饋
|
||||
if haveSubmitThemeEvent
|
||||
li(class= source=="submit_theme" ? "active" : "")
|
||||
a.color-deepOrange(href="/newtheme") 投稿主題
|
||||
if haveVoteThemeEvent
|
||||
li(class= source=="vote_theme" ? "active" : "")
|
||||
a.color-deepOrange(href="/votetheme") 主題票選
|
||||
ul.nav.navbar-nav.navbar-right
|
||||
if hasLogin
|
||||
li: a 你好! #{username}
|
||||
li(class= (source=="personal_page" && datas.username == username) ? "active" : "")
|
||||
a(href= "/home/" + username) 我的主頁
|
||||
span.badge #{notices}
|
||||
li: a(href="/signout") 登出
|
||||
else
|
||||
li(class= source=="signup" ? "active" : ""): a(href="/signup") 註冊
|
||||
li(class= source=="login" ? "active" : ""): a(href="/login") 登入
|
Reference in New Issue
Block a user