Compare commits
4 Commits
48f860bd19
...
07761f55bc
| Author | SHA1 | Date |
|---|---|---|
|
|
07761f55bc | |
|
|
e5df3e0979 | |
|
|
4c4b27d10e | |
|
|
08df2e34ca |
|
|
@ -1,4 +1,5 @@
|
||||||
*~
|
*~
|
||||||
|
/dist
|
||||||
|
|
||||||
# Added by cargo
|
# Added by cargo
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,4 +17,8 @@ futures = {version = "0.3"}
|
||||||
version = "0.3"
|
version = "0.3"
|
||||||
features = [
|
features = [
|
||||||
'KeyboardEvent',
|
'KeyboardEvent',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
lto = true
|
||||||
|
opt-level = 's'
|
||||||
12
kikikoz.css
12
kikikoz.css
|
|
@ -56,6 +56,13 @@ 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;
|
||||||
}
|
}
|
||||||
|
|
@ -94,3 +101,8 @@ 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,14 +196,6 @@ 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()
|
||||||
|
|
@ -221,7 +213,6 @@ 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();
|
||||||
|
|
@ -356,7 +347,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
br {}
|
br {}
|
||||||
button(on:click=next) { "Suivantə" }
|
button(on:click=next, id="bouton_next") { "Suivantə" }
|
||||||
" "
|
" "
|
||||||
button(on:click=pause) { "Pause" }
|
button(on:click=pause) { "Pause" }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue