stuff
This commit is contained in:
@@ -9,18 +9,32 @@ sub render {
|
||||
|
||||
my @boards = @{ $self->ctx->{boards} };
|
||||
return [
|
||||
map {
|
||||
(
|
||||
li => [
|
||||
a => {
|
||||
href => '/' . $_->{id} . '/',
|
||||
class => 'index-board-link'
|
||||
} => [ '/' . $_->{id} . '/ - ' . $_->{name} ],
|
||||
p => { class => 'index-board-description' } =>
|
||||
[ $_->{description} ]
|
||||
]
|
||||
)
|
||||
} @boards
|
||||
div => { class => "index-content" } => [
|
||||
h2 => ["Boards"],
|
||||
ul => { class => "board-list" } => [
|
||||
map {
|
||||
(
|
||||
li => { class => "board-list-item" } => [
|
||||
a => {
|
||||
href => '/' . $_->{id} . '/',
|
||||
class => 'index-board-link'
|
||||
} => [ '/' . $_->{id} . '/ - ' . $_->{name} ],
|
||||
|
||||
# p => {
|
||||
# style => "margin: 0",
|
||||
# class => 'index-board-description'
|
||||
# } => [ $_->{description} ]
|
||||
]
|
||||
)
|
||||
} @boards
|
||||
]
|
||||
],
|
||||
div => { class => "index-content" } => [
|
||||
h2 => ["Changelog"],
|
||||
ul => { class => 'changelog-list' } => [
|
||||
li => ["Absofuckinglutely nothing"]
|
||||
]
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user