isite 2023.12.16 → 2023.12.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -129,17 +129,12 @@ module.exports = function (site) {
129
129
  });
130
130
 
131
131
  site.get({
132
- name: '/x-fonts',
132
+ name: ['/x-fonts', '/x-css/x-fonts'],
133
133
  path: __dirname + '/site_files/fonts',
134
134
  public: true,
135
135
  });
136
136
  site.get({
137
- name: '/x-css/x-fonts',
138
- path: __dirname + '/site_files/fonts',
139
- public: true,
140
- });
141
- site.get({
142
- name: '/webfonts',
137
+ name: ['/webfonts', '/x-css/webfonts'],
143
138
  path: __dirname + '/site_files/webfonts',
144
139
  public: true,
145
140
  });
@@ -1,4 +1,4 @@
1
- <button class="btn {{class}} {{class2}}" type="button" ng-click="click()" ng-disabled="busy">
1
+ <button class="btn {{class}} {{class2}}" type="button" ng-click="onclick()" ng-disabled="busy">
2
2
  <span ng-show="busy || clickBusy" class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
3
3
  {{label}}
4
4
  <i class="{{fa}}"></i>
@@ -215,7 +215,7 @@ app.directive('iButton', [
215
215
  type: '@',
216
216
  class2: '@',
217
217
  loading: '@',
218
- ngClick: '&',
218
+ click: '&',
219
219
  fa: '@',
220
220
  },
221
221
  link: function ($scope, element, attrs, ctrl) {
@@ -255,10 +255,10 @@ app.directive('iButton', [
255
255
  $scope.class = 'btn-secondary';
256
256
  } else if ($scope.type.like('*export*|*excel*')) {
257
257
  $scope.fa = 'fas fa-file-export';
258
- $scope.class = 'btn-secondary';
258
+ $scope.class = 'btn-light';
259
259
  } else if ($scope.type.like('*import*')) {
260
260
  $scope.fa = 'fas fa-file-upload';
261
- $scope.class = 'btn-secondary';
261
+ $scope.class = 'btn-light';
262
262
  } else if ($scope.type.like('*search*|*find*')) {
263
263
  $scope.fa = 'fas fa-search';
264
264
  $scope.class = 'btn-light';
@@ -276,7 +276,7 @@ app.directive('iButton', [
276
276
  $scope.class = 'btn-danger';
277
277
  } else if ($scope.type.like('*upload*')) {
278
278
  $scope.fa = 'fas fa-upload';
279
- $scope.class = 'btn-primary';
279
+ $scope.class = 'btn-light';
280
280
  } else if ($scope.type.like('*up*')) {
281
281
  $scope.fa = 'fas fa-long-arrow-alt-up';
282
282
  $scope.class = 'btn-light';
@@ -302,11 +302,8 @@ app.directive('iButton', [
302
302
  if ($scope.class2) {
303
303
  $scope.class = $scope.class2;
304
304
  }
305
- $scope.click = function () {
305
+ $scope.onclick = function () {
306
306
  $scope.clickBusy = true;
307
- if ($scope.ngClick) {
308
- $scope.ngClick();
309
- }
310
307
  $timeout(() => {
311
308
  $scope.clickBusy = false;
312
309
  }, 250);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isite",
3
- "version": "2023.12.16",
3
+ "version": "2023.12.18",
4
4
  "description": "Create Secure Multi-Language Web Site [Fast and Easy] ",
5
5
  "main": "index.js",
6
6
  "repository": {