mirror of
https://github.com/deps-rs/deps.rs.git
synced 2024-11-22 02:16:30 +00:00
parent
ca367f54bb
commit
9f07308418
4 changed files with 26 additions and 0 deletions
|
@ -12,5 +12,6 @@ pub fn render(title: &str, descr: &str) -> Response {
|
|||
}
|
||||
}
|
||||
}
|
||||
(super::render_footer())
|
||||
})
|
||||
}
|
||||
|
|
|
@ -50,5 +50,6 @@ pub fn render(popular: Vec<Repository>) -> Response {
|
|||
section class="section" {
|
||||
div class="container" (popular_table(popular))
|
||||
}
|
||||
(super::render_footer())
|
||||
})
|
||||
}
|
||||
|
|
|
@ -52,3 +52,25 @@ fn render_navbar() -> Markup {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
fn render_footer() -> Markup {
|
||||
html! {
|
||||
footer class="footer" {
|
||||
div class="container" {
|
||||
div class="content has-text-centered" {
|
||||
p {
|
||||
strong "Deps.rs"
|
||||
" is a service for the Rust community. It is open source on "
|
||||
a href="https://github.com/srijs/deps.rs" "GitHub"
|
||||
"."
|
||||
}
|
||||
p {
|
||||
"Please report any issues on the "
|
||||
a href="https://github.com/srijs/deps.rs/issues" "issue tracker"
|
||||
"."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -108,6 +108,7 @@ fn render_failure(repo_path: RepoPath) -> Markup {
|
|||
}
|
||||
}
|
||||
}
|
||||
(super::render_footer())
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -153,6 +154,7 @@ fn render_success(analysis_outcome: AnalyzeDependenciesOutcome, repo_path: RepoP
|
|||
}
|
||||
}
|
||||
}
|
||||
(super::render_footer())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue