backend: route list icon

This commit is contained in:
muerwre 2018-11-30 16:45:45 +07:00
parent 7f7487b755
commit 095c7cf946
2 changed files with 6 additions and 4 deletions

View file

@ -100,10 +100,6 @@ export class Component extends React.PureComponent<Props, void> {
// onClick={this.props.takeAShot}
>
<Icon icon="icon-folder-1" />
{
route_count > 0 &&
<div className="control-bar-counter">{route_count < 100 ? route_count : '...'}</div>
}
</button>
</div>
</div>

View file

@ -305,6 +305,12 @@
<path xmlns="http://www.w3.org/2000/svg" d="M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z" fill="white" stroke="white" stroke-width="0" transform="translate(4 4)"/>
</g>
<g id="icon-folder-1" stroke="none">
<path stroke-opacity=".941" stroke-width=".265" d="M0 0h32v32H0z" fill="black"/>
<path xmlns="http://www.w3.org/2000/svg" d="M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z" fill="white" stroke="white" stroke-width="0" transform="translate(4 4)"/>
</g>
</svg>
</defs>

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Before After
Before After