Skip to content

Commit

Permalink
law
Browse files Browse the repository at this point in the history
  • Loading branch information
cn-kali-team committed Mar 5, 2024
1 parent bf61001 commit 7bf0922
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 6 deletions.
2 changes: 1 addition & 1 deletion nvd-yew/i18n.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Access Complexity":{"zh":"访问复杂度"},"Access Vector":{"zh":"访问途径"},"Attack Complexity":{"zh":"攻击复杂度"},"Attack Vector":{"zh":"攻击途径"},"Authentication":{"zh":"认证"},"Availability Impact":{"zh":"可用性影响度"},"CVE":{"zh":"CVE编号"},"CVSS":{"zh":"评分"},"CWE":{"zh":"弱点"},"Comments":{"zh":"评论"},"Confidentiality Impact":{"zh":"机密性影响度"},"Configurations":{"zh":"影响组件"},"Count":{"zh":"条"},"Entries":{"zh":"共"},"Home":{"zh":"主页"},"Integrity Impact":{"zh":"完整性影响度"},"KnowledgeBase":{"zh":"知识库"},"Lang":{"zh":"语言"},"Link":{"zh":"链接"},"Match":{"zh":"影响版本"},"Meta":{"zh":"元数据"},"Name":{"zh":"名称"},"Next":{"zh":"下一页"},"Operator":{"zh":"逻辑"},"Path":{"zh":"路径"},"Prev":{"zh":"上一页"},"Privileges Required":{"zh":"权限要求"},"Products":{"zh":"产品"},"References":{"zh":"参考"},"Resource":{"zh":"资源"},"Scope":{"zh":"作用域属性"},"Show":{"zh":"展示"},"Source Code":{"zh":"源码"},"Sponsor":{"zh":"赞助"},"Tags":{"zh":"标签"},"To":{"zh":"到"},"Updated":{"zh":"更新时间"},"User Interaction":{"zh":"用户交互"},"Vendors":{"zh":"厂商"},"Verified":{"zh":"是否已验证"},"Weaknesses":{"zh":"弱点"}}
{"Access Complexity":{"zh":"访问复杂度"},"Access Vector":{"zh":"访问途径"},"AdjacentNetwork":{"zh":"相邻网络"},"Attack Complexity":{"zh":"攻击复杂度"},"Attack Vector":{"zh":"攻击途径"},"Authentication":{"zh":"认证"},"Availability Impact":{"zh":"可用性影响度"},"CVE":{"zh":"CVE编号"},"CVSS":{"zh":"评分"},"CWE":{"zh":"弱点"},"Changed":{"zh":"更改"},"Comments":{"zh":"评论"},"Complete":{"zh":"完全"},"Confidentiality Impact":{"zh":"机密性影响度"},"Configurations":{"zh":"影响组件"},"Count":{"zh":"条"},"Entries":{"zh":"共"},"High":{"zh":"高"},"Home":{"zh":"主页"},"Integrity Impact":{"zh":"完整性影响度"},"KnowledgeBase":{"zh":"知识库"},"Lang":{"zh":"语言"},"Link":{"zh":"链接"},"Local":{"zh":"本地网络"},"Low":{"zh":"低"},"Match":{"zh":"影响版本"},"Medium":{"zh":"中"},"Meta":{"zh":"元数据"},"Multiple":{"zh":"多个"},"Name":{"zh":"名称"},"Network":{"zh":"网络"},"Next":{"zh":"下一页"},"None":{"zh":"无"},"Operator":{"zh":"逻辑"},"Partial":{"zh":"部分"},"Path":{"zh":"路径"},"Physical":{"zh":"物理"},"Prev":{"zh":"上一页"},"Privileges Required":{"zh":"权限要求"},"Products":{"zh":"产品"},"References":{"zh":"参考"},"Required":{"zh":"需要"},"Resource":{"zh":"资源"},"Scope":{"zh":"作用域属性"},"Show":{"zh":"展示"},"Single":{"zh":"单个"},"Source Code":{"zh":"源码"},"Sponsor":{"zh":"赞助"},"Tags":{"zh":"标签"},"To":{"zh":"到"},"Unchanged":{"zh":"未更改"},"Updated":{"zh":"更新时间"},"User Interaction":{"zh":"用户交互"},"Vendors":{"zh":"厂商"},"Verified":{"zh":"是否已验证"},"Weaknesses":{"zh":"弱点"}}
32 changes: 31 additions & 1 deletion nvd-yew/i18n.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,34 @@ Prev:
Next:
zh: 下一页
Lang:
zh: 语言
zh: 语言
Network:
zh: 网络
AdjacentNetwork:
zh: 相邻网络
Local:
zh: 本地网络
Physical:
zh: 物理
None:
zh:
High:
zh:
Medium:
zh:
Low:
zh:
Multiple:
zh: 多个
Single:
zh: 单个
Partial:
zh: 部分
Complete:
zh: 完全
Unchanged:
zh: 未更改
Changed:
zh: 更改
Required:
zh: 需要
5 changes: 3 additions & 2 deletions nvd-yew/src/layout/footer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ impl Component for Footer {
<div class="container">
<div class="row text-center align-items-center flex-row-reverse">
<div class="col-lg-auto ms-lg-auto">

<i class="ti ti-alert-triangle text-red"></i>
{"本站提供的任何内容、代码与服务仅供学习,请勿用于非法用途,否则后果自负!"}
</div>
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
{"Copyright © 2023"}
{"Copyright © 2023-2024"}
<a href="https://github.com/cn-kali-team" target="_blank">{"Kali-Team"}</a>{"."}
{"All rights reserved."}
</li>
Expand Down
2 changes: 1 addition & 1 deletion nvd-yew/src/layout/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ impl Component for Main {
html! {
<div class="page-wrapper">
<div class="page-body">
<div class="container">
<div class="container-xl">
<Switch<Route> render={Route::switch} />
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion nvd-yew/src/layout/nav.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl Component for Nav {
</button>
<h1 class="navbar-brand navbar-brand-autodark d-none-navbar-horizontal pe-0 pe-md-3">
<Link<Route> classes={classes!("navbar-brand")} to={Route::Home}>
<img src="https://avatars.githubusercontent.com/u/30642514?v=4" width="110" height="32" class="navbar-brand-image"/>
<img src="https://avatars.githubusercontent.com/u/99640169?v=4" width="110" height="32" class="navbar-brand-image"/>
</Link<Route>>
</h1>
<div class="navbar-nav flex-row order-md-last">
Expand Down

0 comments on commit 7bf0922

Please sign in to comment.