You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

56 lines
2.1 KiB

include @/helper/flush.pug
include @/helper/helper.pug
title 首页
block var
-title="首页" // 网页标题
block page
div
style
:public style/views/index.css
script
:public js/page/index.js
.content!= md
button.js-modal-trigger(data-target='modal-js-example').
Open JS example modal
#modal-js-example.modal
.modal-background
.modal-card
header.modal-card-head
p.modal-card-title Modal title
button.delete(aria-label='close')
section.modal-card-body
p 是大大撒大撒
footer.modal-card-foot
button.button.is-success Save changes
button.button Cancel
button.modal-close.is-large(aria-label='close')
//- if isLogin
//- button(hx-target="#single-page" hx-get="/about?htmx" hx-push-url="/about" hx-trigger="click" hx-swap="innerHTML") Click Me!
//- .tree#tree
//- details(open="true" style="direction: ltr;")
//- summary
//- span.tree-item sad
//- a.op(href="") 新建
//- details(open="true")
//- summary
//- span.tree-item sad
//- a.op(href="") 新建
//- details
//- summary
//- span.tree-item.tree-md-file
//- div(style="flex: 1;width: 0;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;") asda
//- a.op(href="") 新建
//- details
//- summary
//- span.tree-item.tree-md-file
//- div(style="flex: 1;width: 0;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;") asda
//- a.op(href="") 新建
//- details
//- summary
//- span.tree-item.tree-md-file.active
//- div(style="flex: 1;width: 0;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;") asda
//- a.op(href="") 新建