1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

feat(ui): replace boxselector with react component EE-3593 (#7215)

* replace boxselector and upload vendor icon
This commit is contained in:
Richard Wei 2022-07-08 12:57:36 +12:00 committed by GitHub
parent 14a8b1d897
commit 9a2cdc4a93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 993 additions and 61 deletions

View file

@ -14,7 +14,7 @@
<input type="radio" id="network_config" ng-model="$ctrl.data.Scope" value="local" />
<label for="network_config">
<div class="boxselector_header">
<i class="fa fa-cog" aria-hidden="true" style="margin-right: 2px"></i>
<pr-icon icon="'sliders'" feather="true"></pr-icon>
Configuration
</div>
<p>I want to configure a network before deploying it</p>
@ -24,7 +24,7 @@
<input type="radio" id="network_deploy" ng-model="$ctrl.data.Scope" value="swarm" ng-disabled="$ctrl.availableNetworks.length === 0" />
<label for="network_deploy" ng-class="$ctrl.availableNetworks.length === 0 ? 'boxselector_disabled' : ''">
<div class="boxselector_header">
<i class="fa fa-sitemap" aria-hidden="true" style="margin-right: 2px"></i>
<pr-icon icon="'share-2'" feather="true"></pr-icon>
Creation
</div>
<p>I want to create a network from a configuration</p>