Skip to content

Commit

Permalink
Add Route Icon
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed May 17, 2020
1 parent bc055ae commit bf69010
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Route Extension for Mecha
Release Notes
-------------

### 1.0.x

- Added route icon for _Panel_ extension.

### 1.0.0

- Initial release.
2 changes: 1 addition & 1 deletion route/about.page
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Route
description: Custom route files.
author: Taufik Nurrohman
type: Markdown
version: 1.0.0
version: 1.0.1
...

Add some PHP files in `.\lot\route` folder:
Expand Down
3 changes: 3 additions & 0 deletions route/index/panel.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

$GLOBALS['_']['lot']['bar']['lot'][0]['lot']['folder']['lot']['route']['icon'] = 'M11,10H5L3,8L5,6H11V3L12,2L13,3V4H19L21,6L19,8H13V10H19L21,12L19,14H13V20A2,2 0 0,1 15,22H9A2,2 0 0,1 11,20V10Z';

0 comments on commit bf69010

Please sign in to comment.