dashboardjavacloudcoapiotiot-analyticsiot-platformiot-solutionskafkalwm2mmicroservicesmiddlewaremqttnettyplatformsnmpthingsboardvisualizationwebsocketswidgets
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
2.6 KiB
50 lines
2.6 KiB
<!--
|
|
|
|
Copyright © 2016-2020 The Thingsboard Authors
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
-->
|
|
<md-button ng-click="onManageUsers({event: $event})" ng-show="!isEdit && !isPublic" class="md-raised md-primary">{{ 'customer.manage-users' | translate }}</md-button>
|
|
<md-button ng-click="onManageAssets({event: $event})" ng-show="!isEdit" class="md-raised md-primary">{{ 'customer.manage-assets' | translate }}</md-button>
|
|
<md-button ng-click="onManageDevices({event: $event})" ng-show="!isEdit" class="md-raised md-primary">{{ 'customer.manage-devices' | translate }}</md-button>
|
|
<md-button ng-click="onManageDashboards({event: $event})" ng-show="!isEdit" class="md-raised md-primary">{{ 'customer.manage-dashboards' | translate }}</md-button>
|
|
<md-button ng-click="onManageEdges({event: $event})" ng-show="!isEdit && vm.isEdgesSupportEnabled" class="md-raised md-primary">{{ 'customer.manage-edges' | translate }}</md-button>
|
|
<md-button ng-click="onDeleteCustomer({event: $event})" ng-show="!isEdit && !isPublic" class="md-raised md-primary">{{ 'customer.delete' | translate }}</md-button>
|
|
|
|
<div layout="row">
|
|
<md-button ngclipboard data-clipboard-action="copy"
|
|
ngclipboard-success="onCustomerIdCopied(e)"
|
|
data-clipboard-text="{{customer.id.id}}" ng-show="!isEdit"
|
|
class="md-raised">
|
|
<md-icon md-svg-icon="mdi:clipboard-arrow-left"></md-icon>
|
|
<span translate>customer.copyId</span>
|
|
</md-button>
|
|
</div>
|
|
|
|
<md-content class="md-padding" layout="column">
|
|
<fieldset ng-show="!isPublic" ng-disabled="$root.loading || !isEdit">
|
|
<md-input-container class="md-block">
|
|
<label translate>customer.title</label>
|
|
<input required name="title" ng-model="customer.title">
|
|
<div ng-messages="theForm.title.$error">
|
|
<div translate ng-message="required">customer.title-required</div>
|
|
</div>
|
|
</md-input-container>
|
|
<md-input-container class="md-block">
|
|
<label translate>customer.description</label>
|
|
<textarea ng-model="customer.additionalInfo.description" rows="2"></textarea>
|
|
</md-input-container>
|
|
<tb-contact contact="customer" the-form="theForm" is-edit="isEdit"></tb-contact>
|
|
</fieldset>
|
|
</md-content>
|
|
|