3 class="page-layout simple left-sidenav inner-sidenav motion-list"
7 class="header md-accent-bg"
9 layout-align="space-between center"
12 <div layout="row" layout-align="start center">
13 <div class="logo" layout="row" layout-align="start center">
14 <span class="logo-icon">
15 <md-icon md-font-icon="icon-cog" class="s24"></md-icon>
17 <span class="logo-text" translate="SETTINGS.AITOOLS">AiTools</span>
25 class="search-input-wrapper"
27 layout-align="start center"
30 <md-icon md-font-icon="icon-magnify"></md-icon>
32 <md-input-container md-no-float class="m-0">
35 placeholder="Search for anyone"
37 ng-model="vm.query.filter"
38 ng-model-options="{ debounce: 1000 }"
40 translate-attr-placeholder="SETTINGS.SEARCH_FOR_ANYONE"
51 ng-show="vm.selectedAiTools.length > 0"
52 class="selected-bar header animate-slide-down md-accent-bg"
54 layout-align="start center"
56 <div class="close-button-wrapper" ng-click="vm.selectedAiTools =[]">
57 <md-button layout="row" layout-align="start center">
58 <md-icon md-font-icon="icon-arrow-left" class="mr-8"></md-icon>
59 <span translate="SETTINGS.BACK">Back</span>
63 <div flex layout="row" layout-align="space-between center">
65 <span class="selected-cloudProviders-count">
66 <span>{{vm.selectedAiTools.length}}</span>
67 <span translate="SETTINGS.SELECTED">selected</span>
70 <md-menu class="select-menu" ng-if="!vm.currentThread">
72 class="md-icon-button"
73 ng-click="$mdMenu.open($event)"
74 aria-label="multi select toggle"
76 translate-attr-aria-label="SETTINGS.MULTI_SELECT_TOGGLE"
78 <md-icon md-font-icon="icon-menu-down"></md-icon>
80 <md-menu-content width="3">
83 ng-click="vm.selectAllAiTools()"
84 translate="SETTINGS.SELECT_ALL"
91 ng-click="vm.deselectAiTools()"
92 translate="SETTINGS.SELECT_NONE"
101 <div class="multi-select-actions">
103 class="md-icon-button"
104 ng-csv="vm.exportSelectedAiTools"
106 filename="cloudProviders.csv"
108 <md-icon md-font-icon="icon-file-excel"></md-icon>
111 class="md-icon-button"
112 ng-click="vm.deleteSelectedAiTools($event)"
113 aria-label="delete selected"
115 translate-attr-label="SETTINGS.DELETE_SELECTED"
117 <md-icon md-font-icon="icon-delete"></md-icon>
122 <!-- / SELECTED BAR -->
125 <div class="content" md-background-bg layout="row" layout-align="start start">
127 <div class="main scrollable" ms-scroll>
128 <!-- CLOUDPROVIDER TABLE -->
135 ng-model="vm.selectedAiTools"
136 md-progress="vm.promise"
140 md-order="vm.query.sort"
141 md-on-reorder="vm.getAiTools"
146 ng-if="vm.table == 'users' || vm.table == 'agents'"
149 <th md-column md-order-by="id">
150 {{ 'SETTINGS.ID' | translate }}
152 <th md-column md-order-by="name">
153 {{ 'SETTINGS.NAME' | translate }}
155 <th md-column md-order-by="service">
156 {{ 'SETTINGS.SERVICE' | translate }}
158 <th md-column width="10px"></th>
162 <tr md-row ng-hide="vm.cloudProviders.rows.length">
163 <td md-cell colspan="4">
164 <div layout="row" layout-align="center center">
165 <span translate="SETTINGS.NO_AVAILABLE_INFO"
166 >No Available Info</span
173 md-select="cloudProvider"
175 ng-repeat="cloudProvider in vm.cloudProviders.rows"
177 <td md-cell ng-if="cloudProvider.userpic">
180 alt="{{cloudProvider.name}}"
181 ng-src="api/users/{{cloudProvider.id}}/avatar"
186 ng-if="!cloudProvider.userpic && (vm.table == 'users' || vm.table == 'agents')"
190 alt="{{cloudProvider.name}}"
191 ng-src="assets/images/avatars/profile.png"
195 ng-click="vm.createOrEditCloudProvider($event, cloudProvider)"
202 ng-click="vm.createOrEditCloudProvider($event, cloudProvider)"
206 {{cloudProvider.name}}
209 ng-click="vm.createOrEditCloudProvider($event, cloudProvider)"
213 {{ vm.arrayservice[cloudProvider.service].option }}
216 <td md-cell class="actions">
219 class="md-icon-button"
222 translate-attr-aria-label="SETTINGS.MORE"
223 ng-click="$mdMenu.open($event)"
225 <md-icon md-font-icon="icon-dots-vertical"></md-icon>
228 <md-menu-content width="3">
235 ng-click="vm.editdialog(cloudProvider, $event )"
236 translate="SETTINGS.EDIT_CLOUDPROVIDER"
248 ng-click="vm.deleteconfirm(cloudProvider, $event )"
249 translate="SETTINGS.DELETE_CLOUDPROVIDER"
260 </md-table-container>
263 md-label="{page: '{{'SETTINGS.PAGE' | translate}}:', rowsPerPage: '{{'SETTINGS.ROWSPERPAGE' | translate}}:', of: '{{'SETTINGS.OF' | translate}}'}"
264 md-limit="vm.query.limit"
265 md-limit-options="[10, 15, 20, 50, 100, 250]"
266 md-page="vm.query.page"
267 md-total="{{vm.cloudProviders.count}}"
268 md-on-paginate="vm.getAiTools"
270 ></md-table-pagination>
272 <!-- / CLOUDPROVIDER TABLE -->
275 <!-- / NO RESULTS -->
281 <!-- ADD CLOUDPROVIDER BUTTON -->
283 class="md-fab md-accent add-item-button"
284 id="add-cloudProvider-button"
285 ng-click="vm.createOrEditCloudProvider($event)"
286 aria-label="add cloudProvider"
288 translate-attr-aria-label="SETTINGS.ADD_CLOUDPROVIDER"
290 <md-icon md-font-icon="icon-plus"></md-icon>
292 <!-- / ADD CLOUDPROVIDER BUTTON -->