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 {
|
impl PageComponent for Block {
|
||||||
|
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
Block {
|
Block {
|
||||||
renderable: always,
|
renderable: always,
|
||||||
|
|
@ -51,7 +50,6 @@ impl PageComponent for Block {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Block {
|
impl Block {
|
||||||
|
|
||||||
pub fn with(html: Markup) -> Self {
|
pub fn with(html: Markup) -> Self {
|
||||||
Block::new().add(html)
|
Block::new().add(html)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ pub struct Chunck {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PageComponent for Chunck {
|
impl PageComponent for Chunck {
|
||||||
|
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
Chunck {
|
Chunck {
|
||||||
renderable: always,
|
renderable: always,
|
||||||
|
|
@ -36,7 +35,6 @@ impl PageComponent for Chunck {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Chunck {
|
impl Chunck {
|
||||||
|
|
||||||
pub fn with(html: Markup) -> Self {
|
pub fn with(html: Markup) -> Self {
|
||||||
Chunck::new().add(html)
|
Chunck::new().add(html)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@ pub struct Container {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PageComponent for Container {
|
impl PageComponent for Container {
|
||||||
|
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
Container {
|
Container {
|
||||||
renderable: always,
|
renderable: always,
|
||||||
|
|
@ -74,7 +73,6 @@ impl PageComponent for Container {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Container {
|
impl Container {
|
||||||
|
|
||||||
pub fn header() -> Self {
|
pub fn header() -> Self {
|
||||||
let mut c = Container::new();
|
let mut c = Container::new();
|
||||||
c.container = ContainerType::Header;
|
c.container = ContainerType::Header;
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ pub struct Button {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PageComponent for Button {
|
impl PageComponent for Button {
|
||||||
|
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
Button {
|
Button {
|
||||||
renderable : always,
|
renderable : always,
|
||||||
|
|
@ -68,7 +67,6 @@ impl PageComponent for Button {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Button {
|
impl Button {
|
||||||
|
|
||||||
pub fn button(value: &str) -> Self {
|
pub fn button(value: &str) -> Self {
|
||||||
Button::new().with_value(value)
|
Button::new().with_value(value)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@ pub struct Date {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PageComponent for Date {
|
impl PageComponent for Date {
|
||||||
|
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
Date {
|
Date {
|
||||||
renderable : always,
|
renderable : always,
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ pub struct Form {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PageComponent for Form {
|
impl PageComponent for Form {
|
||||||
|
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
Form {
|
Form {
|
||||||
renderable: always,
|
renderable: always,
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ pub struct Hidden {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PageComponent for Hidden {
|
impl PageComponent for Hidden {
|
||||||
|
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
Hidden {
|
Hidden {
|
||||||
weight: 0,
|
weight: 0,
|
||||||
|
|
@ -32,7 +31,6 @@ impl PageComponent for Hidden {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Hidden {
|
impl Hidden {
|
||||||
|
|
||||||
pub fn set(name: &str, value: &str) -> Self {
|
pub fn set(name: &str, value: &str) -> Self {
|
||||||
Hidden::new().with_name(name).with_value(value)
|
Hidden::new().with_name(name).with_value(value)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@ pub struct Input {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PageComponent for Input {
|
impl PageComponent for Input {
|
||||||
|
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
Input {
|
Input {
|
||||||
renderable : always,
|
renderable : always,
|
||||||
|
|
@ -114,7 +113,6 @@ impl PageComponent for Input {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Input {
|
impl Input {
|
||||||
|
|
||||||
pub fn textfield() -> Self {
|
pub fn textfield() -> Self {
|
||||||
Input::new()
|
Input::new()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ pub struct Column {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PageComponent for Column {
|
impl PageComponent for Column {
|
||||||
|
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
Column {
|
Column {
|
||||||
renderable: always,
|
renderable: always,
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ pub struct Row {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PageComponent for Row {
|
impl PageComponent for Row {
|
||||||
|
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
Row {
|
Row {
|
||||||
renderable: always,
|
renderable: always,
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ pub struct Image {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PageComponent for Image {
|
impl PageComponent for Image {
|
||||||
|
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
Image {
|
Image {
|
||||||
renderable: always,
|
renderable: always,
|
||||||
|
|
@ -41,7 +40,6 @@ impl PageComponent for Image {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Image {
|
impl Image {
|
||||||
|
|
||||||
pub fn image(source: &str) -> Self {
|
pub fn image(source: &str) -> Self {
|
||||||
Image::new().with_source(source)
|
Image::new().with_source(source)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@ pub struct MenuItem {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PageComponent for MenuItem {
|
impl PageComponent for MenuItem {
|
||||||
|
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
MenuItem {
|
MenuItem {
|
||||||
renderable: always,
|
renderable: always,
|
||||||
|
|
@ -71,7 +70,6 @@ impl PageComponent for MenuItem {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl MenuItem {
|
impl MenuItem {
|
||||||
|
|
||||||
pub fn label(label: &str) -> Self {
|
pub fn label(label: &str) -> Self {
|
||||||
MenuItem {
|
MenuItem {
|
||||||
renderable: always,
|
renderable: always,
|
||||||
|
|
@ -162,7 +160,6 @@ pub struct Menu {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PageComponent for Menu {
|
impl PageComponent for Menu {
|
||||||
|
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
Menu {
|
Menu {
|
||||||
renderable: always,
|
renderable: always,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue