mirror of
https://github.com/deps-rs/deps.rs.git
synced 2024-11-22 10:26:30 +00:00
improve page header
This commit is contained in:
parent
2cb7b1ef02
commit
3ace68dc38
2 changed files with 5 additions and 4 deletions
|
@ -1 +1,2 @@
|
||||||
@import url('https://cdnjs.cloudflare.com/ajax/libs/bulma/0.6.2/css/bulma.min.css')
|
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
|
||||||
|
@import url('https://cdnjs.cloudflare.com/ajax/libs/bulma/0.6.2/css/bulma.min.css');
|
||||||
|
|
|
@ -86,10 +86,10 @@ pub fn status_html(analysis_outcome: AnalyzeDependenciesOutcome, repo_path: Repo
|
||||||
section class=(format!("hero {}", hero_class)) {
|
section class=(format!("hero {}", hero_class)) {
|
||||||
div class="hero-body" {
|
div class="hero-body" {
|
||||||
div class="container" {
|
div class="container" {
|
||||||
h1 class="title is-2" {
|
h1 class="title is-1" {
|
||||||
"Dependency status for "
|
|
||||||
a href=(format!("{}/{}/{}", repo_path.site.to_base_uri(), repo_path.qual.as_ref(), repo_path.name.as_ref())) {
|
a href=(format!("{}/{}/{}", repo_path.site.to_base_uri(), repo_path.qual.as_ref(), repo_path.name.as_ref())) {
|
||||||
code (format!("{}/{}", repo_path.qual.as_ref(), repo_path.name.as_ref()))
|
i class="fa fa-github" ""
|
||||||
|
(format!(" {}/{}", repo_path.qual.as_ref(), repo_path.name.as_ref()))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue