Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hunter-ht.cn
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘莹莹
hunter-ht.cn
Commits
450280a7
Commit
450280a7
authored
May 06, 2020
by
liuyingying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加文章链接问题
parent
a3cc59cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
user.html
Hunter_ht/hunter/templates/hunter/user.html
+18
-3
No files found.
Hunter_ht/hunter/templates/hunter/user.html
View file @
450280a7
...
...
@@ -15,6 +15,14 @@
<div
id=
"edit_title"
>
修改
</div>
<div
id=
"edit_content"
>
<div>
<label
for=
"title"
>
title
</label>
<input
id=
"title"
name=
"title"
>
</div>
<div>
<label
for=
"link"
>
外部链接
</label>
<input
id=
"link"
name=
"link"
>
</div>
<div>
<label>
是否公开发布:
</label>
<select
name=
"isPublish"
id =
'isPublish'
>
<option
value=
"1"
selected
>
公开(在首页显示)
</option>
...
...
@@ -506,6 +514,12 @@
' <div>
\
n'
+
' <label for="url">文章地址:</label>
\
n'
+
' <input id="url" name="url" type="text">
\
n'
+
' </div>'
+
' <div>
\
n'
+
' <label>是否公开发布:</label>
\
n'
+
' <select name="isPublish" id =
\'
isPublish
\'
>
\
n'
+
' <option value="1" selected>公开(在首页显示)</option>
\
n'
+
' <option value="0" >不公开(仅自己可见)</option>
\
n'
+
' </select>
\
n'
+
' </div>'
;
$
(
'#edit_content'
).
append
(
input_html
);
}
...
...
@@ -535,9 +549,6 @@
}
function
create_article_html
(){
}
function
create_publication_html
(){
$
(
'#edit_content'
).
empty
();
let
input_html
=
'<div>
\
n'
+
...
...
@@ -582,6 +593,10 @@
if
(
submit_what
===
'cve'
){
submit_cve
();
}
if
(
submit_what
===
'article'
){
submit_article
();
}
}
function
login_fail
(
message
){
$
(
'#error_log'
).
empty
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment