mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-06-04 02:34:13 +02:00
js bundle wip
This commit is contained in:
parent
dc80d715a6
commit
305e8ec8ed
11 changed files with 3090 additions and 130 deletions
|
|
@ -1,3 +1,4 @@
|
|||
use crate::asset::saved_asset_url;
|
||||
use crate::pages::plugin_section::PluginSection;
|
||||
use crate::pages::Page;
|
||||
use maud::{html, Markup};
|
||||
|
|
@ -21,6 +22,7 @@ impl Page for UploadPage {
|
|||
}
|
||||
|
||||
fn render(&self) -> Markup {
|
||||
let script = saved_asset_url!("upload.js");
|
||||
html! {
|
||||
.upload-page {
|
||||
section.upload {
|
||||
|
|
@ -50,6 +52,7 @@ impl Page for UploadPage {
|
|||
}
|
||||
(self.plugin_section())
|
||||
}
|
||||
script src = (script);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue