first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
doctype html
html
head
title= title
script(src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js")
block assets
body
if showHeader
include tpl/header.pug
if showLeftMenu
include tpl/leftMenu.pug
block content
if showFooter
include tpl/footer.pug
block js

View File

@@ -0,0 +1,14 @@
extends ../layout
block assets
link(rel="stylesheet", href="")
block content
h2 用户注册
input(class="name" type="text" placeholder="请输入用户名")
input(class="pwd" type="password" placeholder="请输入密码")
input(class="repwd" type="password" placeholder="请输入确认密码")
input(class="submitAdd" type="button" value=" 注 册 ")
block js
script(src="/js/admin/add.js")

View File

@@ -0,0 +1,9 @@
extends ../layout
block assets
link(rel="stylesheet", href="")
block content
h2 欢迎管理员 #{user.username} 登录
block js

View File

@@ -0,0 +1,13 @@
extends ../layout
block assets
link(rel="stylesheet", href="")
block content
h2 登录
input(type="text" placeholder="请输入用户名")
input(type="password" placeholder="请输入密码")
input(class="submitLogin" type="button" value="登录")
block js
script(src="/js/admin/user.js")

View File

@@ -0,0 +1,21 @@
extends ../layout
block assets
link(rel="stylesheet", href="")
block content
.push
input(class="title" placeholder="文章标题")
br
input(class="introduction" placeholder="文章简介")
br
input(class="author" placeholder="文章作者")
br
#editor
p 请开始你的文章创作
br
button(class="pushArticel") 发布
block js
script(src="/js/admin/push.js")

View File

@@ -0,0 +1,3 @@
h2 底部版权
script(src="https://unpkg.com/wangeditor@3.1.1/release/wangEditor.min.js")

View File

@@ -0,0 +1,17 @@
div(style="float:right")
//- #{user.username}
a(href="/admin/logout") 退出登录
ul
li
a(href="/") 首页
li
a(href="/admin/all") 所有文章
li
a(href="/admin/push") 发布文章
li
a(href="/admin/UserCenter") 用户管理
li
a(href="/admin/comment") 评论管理
li
a(href="/admin/setting") 网站设置

View File

@@ -0,0 +1 @@
h2 左边菜单