-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a1712e7
commit b1fbc0d
Showing
12 changed files
with
86 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ | |
> * { | ||
margin: 0 ($x / 8); | ||
} | ||
> .lot\:task { | ||
> .lot\:tasks { | ||
margin-right: (-$x / 4); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php namespace _\lot\x\panel\route\__test; | ||
|
||
function pager($_) { | ||
$_['title'] = 'Pager'; | ||
$lot = [ | ||
'pager-0' => [ | ||
'type' => 'pager', | ||
'count' => 1000, | ||
'chunk' => 10, | ||
'current' => $_['i'] ?? 1, | ||
'stack' => 10 | ||
] | ||
]; | ||
$_['lot']['desk']['lot']['form']['lot'][1]['lot'] = $lot; | ||
return $_; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?php namespace _\lot\x\panel\route\__test; | ||
|
||
function pages($_) { | ||
$_['title'] = 'Pages'; | ||
$item = static function($title = null, $description = null, $type = 'page', $stack = 10) { | ||
return [ | ||
'title' => $title, | ||
'description' => $description, | ||
'type' => $type, | ||
'url' => '/', | ||
'tasks' => [ | ||
0 => [ | ||
'title' => 'Task 1', | ||
'description' => 'Task 1.', | ||
'icon' => 'M5,3C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19H5V5H12V3H5M17.78,4C17.61,4 17.43,4.07 17.3,4.2L16.08,5.41L18.58,7.91L19.8,6.7C20.06,6.44 20.06,6 19.8,5.75L18.25,4.2C18.12,4.07 17.95,4 17.78,4M15.37,6.12L8,13.5V16H10.5L17.87,8.62L15.37,6.12Z', | ||
'url' => '/', | ||
'stack' => 10 | ||
], | ||
1 => [ | ||
'title' => 'Task 2', | ||
'description' => 'Task 2.', | ||
'icon' => 'M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19M8,9H16V19H8V9M15.5,4L14.5,3H9.5L8.5,4H5V6H19V4H15.5Z', | ||
'url' => '/', | ||
'stack' => 20 | ||
] | ||
], | ||
'stack' => $stack | ||
]; | ||
}; | ||
$lot = [ | ||
'pages' => [ | ||
'type' => 'pages', | ||
'sort' => \Get::get('sort'), | ||
'lot' => [ | ||
$item('Default Page Example', 'Page description goes here.', 'page', 10), | ||
\array_replace($item('Page Example with Image', 'Image placeholder provided by <a href="https://placekitten.com" rel="nofollow" target="_blank">Placekitten</a> service.', 'page', 10.1), [ | ||
'image' => 'https://placekitten.com/100/100?image=3' | ||
]), | ||
\array_replace($item('Hidden Image View', 'Disabling the thumbnail view.', 'page', 10.2), [ | ||
'image' => false | ||
]), | ||
\array_replace($item('Disabled Page Example', 'Page description goes here.', 'page', 10.3), [ | ||
'active' => false | ||
]), | ||
\array_replace($item('Current Page Example', 'Page description goes here.', 'page', 20.1), [ | ||
'current' => true | ||
]) | ||
], | ||
'stack' => 10 | ||
] | ||
]; | ||
$_['lot']['desk']['lot']['form']['lot'][1]['lot'] = $lot; | ||
return $_; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters