Compare commits
6 commits
a8960f4330
...
cac047d121
Author | SHA1 | Date | |
---|---|---|---|
cac047d121 | |||
1fb778da54 | |||
12baf4095b | |||
e2ed3dc55b | |||
307bbd804b | |||
95b722c606 |
7 changed files with 24 additions and 5 deletions
7
.github/dependabot.yml
vendored
Normal file
7
.github/dependabot.yml
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "cargo"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -657,7 +657,7 @@ checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0"
|
|||
|
||||
[[package]]
|
||||
name = "empede"
|
||||
version = "0.1.11"
|
||||
version = "0.1.13"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"askama",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "empede"
|
||||
description = "A web client for MPD"
|
||||
version = "0.1.11"
|
||||
version = "0.1.13"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
repository = "https://github.com/vijfhoek/empede"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM rust:1.69-alpine as builder
|
||||
FROM rust:alpine as builder
|
||||
WORKDIR /usr/src/empede
|
||||
RUN apk add --no-cache build-base
|
||||
COPY ./src ./src
|
||||
|
|
|
@ -6,6 +6,12 @@ use serde::Deserialize;
|
|||
|
||||
mod mpd;
|
||||
|
||||
macro_rules! crate_version {
|
||||
() => {
|
||||
env!("CARGO_PKG_VERSION")
|
||||
};
|
||||
}
|
||||
|
||||
#[derive(Template)]
|
||||
#[template(path = "index.html")]
|
||||
struct IndexTemplate;
|
||||
|
|
|
@ -142,8 +142,12 @@ ul {
|
|||
margin-right: 1.0rem;
|
||||
}
|
||||
|
||||
ul.breadcrumb { position: relative;
|
||||
rast: more) {
|
||||
ul.breadcrumb {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
list-style: none;
|
||||
}
|
||||
@media (prefers-contrast: more) {
|
||||
ul.breadcrumb {
|
||||
background-color: black;
|
||||
border: 2px solid white;
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<title>Empede</title>
|
||||
|
||||
<!-- Empede version: {{ crate_version!() }} -->
|
||||
|
||||
<!-- Source: https://github.com/bigskysoftware/htmx -->
|
||||
<script src="/static/vendor/htmx.min.js"></script>
|
||||
|
|
Loading…
Reference in a new issue