Libera la versión de desarrollo 0.0.7
This commit is contained in:
parent
cc579add5f
commit
69139f2a62
12 changed files with 0 additions and 21 deletions
|
|
@ -11,7 +11,6 @@ pub struct Block {
|
|||
}
|
||||
|
||||
impl PageComponent for Block {
|
||||
|
||||
fn new() -> Self {
|
||||
Block {
|
||||
renderable: always,
|
||||
|
|
@ -51,7 +50,6 @@ impl PageComponent for Block {
|
|||
}
|
||||
|
||||
impl Block {
|
||||
|
||||
pub fn with(html: Markup) -> Self {
|
||||
Block::new().add(html)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ pub struct Chunck {
|
|||
}
|
||||
|
||||
impl PageComponent for Chunck {
|
||||
|
||||
fn new() -> Self {
|
||||
Chunck {
|
||||
renderable: always,
|
||||
|
|
@ -36,7 +35,6 @@ impl PageComponent for Chunck {
|
|||
}
|
||||
|
||||
impl Chunck {
|
||||
|
||||
pub fn with(html: Markup) -> Self {
|
||||
Chunck::new().add(html)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ pub struct Container {
|
|||
}
|
||||
|
||||
impl PageComponent for Container {
|
||||
|
||||
fn new() -> Self {
|
||||
Container {
|
||||
renderable: always,
|
||||
|
|
@ -74,7 +73,6 @@ impl PageComponent for Container {
|
|||
}
|
||||
|
||||
impl Container {
|
||||
|
||||
pub fn header() -> Self {
|
||||
let mut c = Container::new();
|
||||
c.container = ContainerType::Header;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ pub struct Button {
|
|||
}
|
||||
|
||||
impl PageComponent for Button {
|
||||
|
||||
fn new() -> Self {
|
||||
Button {
|
||||
renderable : always,
|
||||
|
|
@ -68,7 +67,6 @@ impl PageComponent for Button {
|
|||
}
|
||||
|
||||
impl Button {
|
||||
|
||||
pub fn button(value: &str) -> Self {
|
||||
Button::new().with_value(value)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ pub struct Date {
|
|||
}
|
||||
|
||||
impl PageComponent for Date {
|
||||
|
||||
fn new() -> Self {
|
||||
Date {
|
||||
renderable : always,
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ pub struct Form {
|
|||
}
|
||||
|
||||
impl PageComponent for Form {
|
||||
|
||||
fn new() -> Self {
|
||||
Form {
|
||||
renderable: always,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ pub struct Hidden {
|
|||
}
|
||||
|
||||
impl PageComponent for Hidden {
|
||||
|
||||
fn new() -> Self {
|
||||
Hidden {
|
||||
weight: 0,
|
||||
|
|
@ -32,7 +31,6 @@ impl PageComponent for Hidden {
|
|||
}
|
||||
|
||||
impl Hidden {
|
||||
|
||||
pub fn set(name: &str, value: &str) -> Self {
|
||||
Hidden::new().with_name(name).with_value(value)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ pub struct Input {
|
|||
}
|
||||
|
||||
impl PageComponent for Input {
|
||||
|
||||
fn new() -> Self {
|
||||
Input {
|
||||
renderable : always,
|
||||
|
|
@ -114,7 +113,6 @@ impl PageComponent for Input {
|
|||
}
|
||||
|
||||
impl Input {
|
||||
|
||||
pub fn textfield() -> Self {
|
||||
Input::new()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ pub struct Column {
|
|||
}
|
||||
|
||||
impl PageComponent for Column {
|
||||
|
||||
fn new() -> Self {
|
||||
Column {
|
||||
renderable: always,
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ pub struct Row {
|
|||
}
|
||||
|
||||
impl PageComponent for Row {
|
||||
|
||||
fn new() -> Self {
|
||||
Row {
|
||||
renderable: always,
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ pub struct Image {
|
|||
}
|
||||
|
||||
impl PageComponent for Image {
|
||||
|
||||
fn new() -> Self {
|
||||
Image {
|
||||
renderable: always,
|
||||
|
|
@ -41,7 +40,6 @@ impl PageComponent for Image {
|
|||
}
|
||||
|
||||
impl Image {
|
||||
|
||||
pub fn image(source: &str) -> Self {
|
||||
Image::new().with_source(source)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ pub struct MenuItem {
|
|||
}
|
||||
|
||||
impl PageComponent for MenuItem {
|
||||
|
||||
fn new() -> Self {
|
||||
MenuItem {
|
||||
renderable: always,
|
||||
|
|
@ -71,7 +70,6 @@ impl PageComponent for MenuItem {
|
|||
}
|
||||
|
||||
impl MenuItem {
|
||||
|
||||
pub fn label(label: &str) -> Self {
|
||||
MenuItem {
|
||||
renderable: always,
|
||||
|
|
@ -162,7 +160,6 @@ pub struct Menu {
|
|||
}
|
||||
|
||||
impl PageComponent for Menu {
|
||||
|
||||
fn new() -> Self {
|
||||
Menu {
|
||||
renderable: always,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue