Compare commits
No commits in common. "07761f55bc340c75f9c7380cbed66a028c47e85d" and "48f860bd19971454d6c42cf64e18931b3e5ee575" have entirely different histories.
07761f55bc
...
48f860bd19
|
|
@ -1,5 +1,4 @@
|
||||||
*~
|
*~
|
||||||
/dist
|
|
||||||
|
|
||||||
# Added by cargo
|
# Added by cargo
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,3 @@ version = "0.3"
|
||||||
features = [
|
features = [
|
||||||
'KeyboardEvent',
|
'KeyboardEvent',
|
||||||
]
|
]
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
lto = true
|
|
||||||
opt-level = 's'
|
|
||||||
12
kikikoz.css
12
kikikoz.css
|
|
@ -56,13 +56,6 @@ p.orateurice {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.orateurice button{
|
|
||||||
margin: auto;
|
|
||||||
display: block;
|
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
li.dernier_arrive {
|
li.dernier_arrive {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
@ -101,8 +94,3 @@ section.queue {
|
||||||
.hidden {
|
.hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#bouton_next {
|
|
||||||
font-size: 1.5rem;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
11
src/main.rs
11
src/main.rs
|
|
@ -196,6 +196,14 @@ struct BarreCôtéProp<'a> {
|
||||||
queues: &'a Signal<Vec<ÉtatQueue<'a>>>,
|
queues: &'a Signal<Vec<ÉtatQueue<'a>>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn classe_visible(b: bool) -> &'static str {
|
||||||
|
if b {
|
||||||
|
"visible"
|
||||||
|
} else {
|
||||||
|
"hidden"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#[component]
|
#[component]
|
||||||
fn Explications<'a, G: Html>(cx: Scope<'a>) -> View<G> {
|
fn Explications<'a, G: Html>(cx: Scope<'a>) -> View<G> {
|
||||||
details()
|
details()
|
||||||
|
|
@ -213,6 +221,7 @@ fn Explications<'a, G: Html>(cx: Scope<'a>) -> View<G> {
|
||||||
|
|
||||||
#[component]
|
#[component]
|
||||||
fn BarreCôté<'a, G: Html>(cx: Scope<'a>, p: BarreCôtéProp<'a>) -> View<G> {
|
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 nom_nouvelle_file = create_signal(cx, String::new());
|
||||||
let nouvelle_file = {
|
let nouvelle_file = {
|
||||||
let queues = p.queues.clone();
|
let queues = p.queues.clone();
|
||||||
|
|
@ -347,7 +356,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
br {}
|
br {}
|
||||||
button(on:click=next, id="bouton_next") { "Suivantə" }
|
button(on:click=next) { "Suivantə" }
|
||||||
" "
|
" "
|
||||||
button(on:click=pause) { "Pause" }
|
button(on:click=pause) { "Pause" }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue