mirror of
https://seed.radicle.dev/rad:zwTxygwuz5LDGBq255RA2CbNGrz8.git
synced 2026-10-18 19:30:29 +08:00
feat: make it clearer what the repo name is
This commit is contained in:
+9
-5
@@ -384,11 +384,15 @@ impl PageData {
|
|||||||
);
|
);
|
||||||
|
|
||||||
doc.push(
|
doc.push(
|
||||||
Element::new(Tag::P).with_text("Repository ID ").with_child(
|
Element::new(Tag::P)
|
||||||
Element::new(Tag::Code)
|
.with_text("Repository ")
|
||||||
.with_class("repoid")
|
.with_child(Element::code().with_class("repo-name").with_text(name))
|
||||||
.with_text(rid.to_string()),
|
.with_text(" ")
|
||||||
),
|
.with_child(
|
||||||
|
Element::code()
|
||||||
|
.with_class("repoid")
|
||||||
|
.with_text(rid.to_string()),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
doc.push(Element::new(Tag::P).with_text(format!("This page last updated: {timestamp}")));
|
doc.push(Element::new(Tag::P).with_text(format!("This page last updated: {timestamp}")));
|
||||||
|
|
||||||
|
|||||||
@@ -46,6 +46,10 @@ code.repoid, span.repoid {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
code.repo-name {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
span.broker-run-id {
|
span.broker-run-id {
|
||||||
font-style: monospace;
|
font-style: monospace;
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
|
|||||||
Reference in New Issue
Block a user