add "from" section
This commit is contained in:
9
.github/ISSUE_TEMPLATE/new.yml
vendored
9
.github/ISSUE_TEMPLATE/new.yml
vendored
@ -13,6 +13,13 @@ body:
|
||||
id: author
|
||||
attributes:
|
||||
label: 作者
|
||||
description: 这个句子是哪位角色说的
|
||||
description: 这个句子是哪位角色说的,例如:"桂乃芬"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: from
|
||||
attributes:
|
||||
label: 出处
|
||||
description: 这个句子是哪个游戏哪个任务里的,例如:"崩坏:星穹铁道《狐斋志异》双生"
|
||||
validations:
|
||||
required: true
|
@ -51,7 +51,14 @@ require("track.php");
|
||||
if ($row["author"] != NULL) {
|
||||
?>
|
||||
<div id="author" style="font-size: 1.5rem;">
|
||||
—<?php echo $row["author"] ?>
|
||||
——<?php echo $row["author"] ?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
if ($row["from"] != NULL) {
|
||||
?>
|
||||
<div id="from" style="font-size: 1.5rem; color: dimgray;">
|
||||
<i>(<?php echo $row["from"] ?>)</i>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
Reference in New Issue
Block a user