Skip to content

Commit

Permalink
Signed-off-by: StarInitial <[email protected]>
Browse files Browse the repository at this point in the history
  • Loading branch information
StarInitial committed Jul 27, 2022
1 parent dfb3415 commit d071bc1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
12 changes: 6 additions & 6 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="card">
<div class="card-header">
<h1>深渊凝视着你</h1>
<h4>测试列表</h4>
<h4 style="display: block">测试列表</h4>
</div>
<div class="card-body">
<div class="table-responsive">
Expand All @@ -32,7 +32,7 @@ <h4>测试列表</h4>
</tbody>
</table>
</div>
<p style="color: #33cabb;">* 单击测试名称跳转到测试</p>
<p style="color: #33cabb;">* 单击测试名称跳转到测试</p>
</div>
</div>
<div id="gitalk-container" class="container"></div>
Expand All @@ -56,9 +56,9 @@ <h4>测试列表</h4>
authorSize ++;
let url = InkyList["inky-text-list"][i]["author"][j]["url"];
if (url === null || url === undefined) {
table += '<span class="label label-info">' + InkyList["inky-text-list"][i]["author"][j]["name"] +"</span>";
table += '<span class="label label-info">' + InkyList["inky-text-list"][i]["author"][j]["name"] +"</span>&nbsp;";
}else {
table += '<span class="label label-info"><a href="'+url+'" style="color: white" >' + InkyList["inky-text-list"][i]["author"][j]["name"] +"</a></span>";
table += '<span class="label label-info"><a href="'+url+'" style="color: white" >' + InkyList["inky-text-list"][i]["author"][j]["name"] +"</a></span>&nbsp;";
}
}

Expand All @@ -71,9 +71,9 @@ <h4>测试列表</h4>
authorSize ++;
let url = InkyList["inky-text-list"][i]["program-author"][j]["url"];
if (url === null || url === undefined) {
table += '<span class="label label-info">' + InkyList["inky-text-list"][i]["program-author"][j]["name"] +"</span>";
table += '<span class="label label-info">' + InkyList["inky-text-list"][i]["program-author"][j]["name"] +"</span>&nbsp;";
}else {
table += '<span class="label label-info"><a href="'+url+'" style="color: white" >' + InkyList["inky-text-list"][i]["program-author"][j]["name"] +"</a></span>";
table += '<span class="label label-info"><a href="'+url+'" style="color: white" >' + InkyList["inky-text-list"][i]["program-author"][j]["name"] +"</a></span>&nbsp;";
}
}
if (authorSize === 0) {
Expand Down
6 changes: 5 additions & 1 deletion docs/inky-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ var InkyList = {
"program-author":[
{
"name":"Star"
}
},
{
"name":"神楽坂 静瑶(@Dwscdv3)",
"url":"https://dwscdv3.com/"
}
]
}
]
Expand Down

0 comments on commit d071bc1

Please sign in to comment.