improve page header

This commit is contained in:
Sam Rijs 2018-01-28 20:07:46 +11:00
parent 2cb7b1ef02
commit 3ace68dc38
2 changed files with 5 additions and 4 deletions

View file

@ -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');

View file

@ -86,10 +86,10 @@ pub fn status_html(analysis_outcome: AnalyzeDependenciesOutcome, repo_path: Repo
section class=(format!("hero {}", hero_class)) {
div class="hero-body" {
div class="container" {
h1 class="title is-2" {
"Dependency status for "
h1 class="title is-1" {
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()))
}
}