diff --git a/CHANGELOG.md b/CHANGELOG.md index 52b01c2..2e7eb79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ + +### v2.0.3 - 2024-10-01 +- right align the 'hits' column of histograms + ### v2.0.2 - 2024-09-07 - allow some additional spaces in filters of several kinds, eg `-d '> 12/25'` diff --git a/Cargo.lock b/Cargo.lock index 1669ac8..0f41efa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -989,7 +989,7 @@ checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" [[package]] name = "rhit" -version = "2.0.2" +version = "2.0.3" dependencies = [ "bet", "clap", diff --git a/Cargo.toml b/Cargo.toml index 52b6dbc..4aa43ad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rhit" -version = "2.0.2" +version = "2.0.3" authors = ["dystroy "] repository = "https://github.com/Canop/rhit" description = "nginx log analyzer" diff --git a/src/date_histogram.rs b/src/date_histogram.rs index 68a8531..689449a 100644 --- a/src/date_histogram.rs +++ b/src/date_histogram.rs @@ -7,7 +7,7 @@ use { static MD: &str = r#" |:-:|:-:|:-:|:- |**date**|**hits**|**bytes**|**${scale}** -|:-|:-:|-:|:- +|:-|-:|-:|:- ${bars |${date}|${hits}|${bytes}|*${bar}* } diff --git a/website/docs/css/extra.css b/website/docs/css/extra.css index 4004321..a965d3e 100644 --- a/website/docs/css/extra.css +++ b/website/docs/css/extra.css @@ -37,7 +37,7 @@ p img.logo { body { background-image: - linear-gradient(to right, rgba(22, 32, 32, 0.67) 0%, #162020 25%, #162020 75%, rgba(22, 32, 32, 0.67) 100%), + linear-gradient(to right, rgba(1,1,1, 0.67) 0%, #000 25%, #111 75%, rgba(1,1,1, 0.67) 100%), url("../img/whiskey.jpg"); background-position: repeat; background-size: initial;