Show queued tasks

This commit is contained in:
Joscha 2023-08-06 20:31:11 +02:00
parent 2c0a496897
commit ad5da60b5a
8 changed files with 180 additions and 25 deletions

View file

@ -14,6 +14,7 @@ pub enum Tab {
Queue,
}
#[derive(Clone)]
pub struct Base {
root: String,
repo_name: String,
@ -43,6 +44,7 @@ pub async fn run(state: AppState) -> somehow::Result<()> {
.route("/commit/", get(commit::get))
.route("/commit/:hash", get(commit_hash::get))
.route("/queue/", get(queue::get))
.route("/queue/table", get(queue::get_table))
.fallback(get(r#static::static_handler))
.with_state(state.clone());