Compare commits

..

No commits in common. "07761f55bc340c75f9c7380cbed66a028c47e85d" and "48f860bd19971454d6c42cf64e18931b3e5ee575" have entirely different histories.

4 changed files with 11 additions and 19 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
*~
/dist
# Added by cargo

View File

@ -17,8 +17,4 @@ futures = {version = "0.3"}
version = "0.3"
features = [
'KeyboardEvent',
]
[profile.release]
lto = true
opt-level = 's'
]

View File

@ -56,13 +56,6 @@ p.orateurice {
text-align: center;
}
p.orateurice button{
margin: auto;
display: block;
margin-top: 10px;
}
li.dernier_arrive {
font-style: italic;
}
@ -101,8 +94,3 @@ section.queue {
.hidden {
display: none;
}
#bouton_next {
font-size: 1.5rem;
font-weight: bold;
}

View File

@ -196,6 +196,14 @@ struct BarreCôtéProp<'a> {
queues: &'a Signal<Vec<ÉtatQueue<'a>>>,
}
fn classe_visible(b: bool) -> &'static str {
if b {
"visible"
} else {
"hidden"
}
}
#[component]
fn Explications<'a, G: Html>(cx: Scope<'a>) -> View<G> {
details()
@ -213,6 +221,7 @@ fn Explications<'a, G: Html>(cx: Scope<'a>) -> View<G> {
#[component]
fn BarreCôté<'a, G: Html>(cx: Scope<'a>, p: BarreCôtéProp<'a>) -> View<G> {
let conf_visible = create_signal(cx, false);
let nom_nouvelle_file = create_signal(cx, String::new());
let nouvelle_file = {
let queues = p.queues.clone();
@ -347,7 +356,7 @@ fn main() {
}
)
br {}
button(on:click=next, id="bouton_next") { "Suivantə" }
button(on:click=next) { "Suivantə" }
" "
button(on:click=pause) { "Pause" }
}