thecore_ui_rails_admin 2.2.3 → 2.2.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 10b3644b730e9c73f055d3a67fb6f019577c86f2e3a01e4a4c40d7ab5caef815
4
- data.tar.gz: 58435b6168cf6122a5137132386a666d5de6196a0d2e1020f9e4014f1294d3f6
3
+ metadata.gz: 34d98d8597c332bc09354e80339ce6505648c6883a080933ee1ecb3d0023ced9
4
+ data.tar.gz: 746d620f28e0433992bfbb0c042321f694eca2412b950bfd29b3593c9532fb33
5
5
  SHA512:
6
- metadata.gz: cbff7f91e9ec17f4fc5858204460cf5bd4b6de25033d2d408752d3d600cad8ea130306c02679decfe22087c59058fc965993dbfaf00f52d72d2d46b03c6e7585
7
- data.tar.gz: ce132c75c377c67c9ae2310753acd407ee2faebb92ae2c30799e0876901624876ab882be6fb71c73f67a349ad0b13a5103113eba8b5c49a011975e322c73241b
6
+ metadata.gz: 880b0036871cbc54097a94d694857c4c3e85dc2d5143d72aaa1eff51410f32eb621d31afb3e7fee3e9a77ad586dc0d0c40cfa9aa1bb96b07e7002b8944d88925
7
+ data.tar.gz: ed2992ef9652133c70b7164c4a8cf7b6c3df401e3acd59b1f3963b027eb2789c975904e074510f513d9ed8b1ffdf2ba10a8d39bd952e0641a170acb9524915b9
@@ -19,15 +19,15 @@ $(document).on 'rails_admin.dom_ready', (e, content) ->
19
19
  $(that).val(hex)
20
20
  $(that).css('backgroundColor', '#' + hex)
21
21
 
22
- # datetime picker
22
+ # datetime picker datepicker timepicker datetimepicker
23
23
  $.fn.datetimepicker.defaults.icons =
24
- time: 'fa fa-clock'
24
+ time: 'fa fa-clock-o'
25
25
  date: 'fa fa-calendar'
26
26
  up: 'fa fa-chevron-up'
27
27
  down: 'fa fa-chevron-down'
28
- previous: 'fa fa-angle-double-left'
29
- next: 'fa fa-angle-double-right'
30
- today: 'fa fa-dot-circle'
28
+ previous: 'fa fa-chevron-left'
29
+ next: 'fa fa-chevron-right'
30
+ today: 'fa fa-calendar-check-o'
31
31
  clear: 'fa fa-trash'
32
32
  close: 'fa fa-times'
33
33
 
@@ -1,6 +1,4 @@
1
1
  $primary: #1f4068 !default;
2
- // $primary: #ed6501 !default;
3
-
4
2
 
5
3
  $background: lighten($primary, 51%) !default;
6
4
  $shadows: darken($primary, 10%) !default;
@@ -295,4 +295,21 @@ a.delete {
295
295
  body.rails_admin {
296
296
  padding-top: 0px;
297
297
  background-color: $background;
298
+ }
299
+
300
+ body.rails_admin .form-horizontal input, body.rails_admin .form-horizontal textarea {
301
+ width: 100%;
302
+ width: -moz-available; /* WebKit-based browsers will ignore this. */
303
+ width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
304
+ width: fill-available;
305
+ // max-width: max-content;
306
+ }
307
+
308
+ // Fix for Datepicker DateTimepicker btn color
309
+ a.btn[data-action="incrementHours"],
310
+ a.btn[data-action="decrementHours"],
311
+ a.btn[data-action="incrementMinutes"],
312
+ a.btn[data-action="decrementMinutes"] {
313
+ background-color: transparent !important;
314
+ border-style: none !important;
298
315
  }
@@ -1,6 +1,6 @@
1
1
  module DeviseBootstrapErrorsHelper
2
2
  def devise_bootstrap_error_messages!
3
- return '' if resource.errors.empty?
3
+ return '' if resource.errors.blank?
4
4
 
5
5
  messages = resource.errors.full_messages.map { |msg| content_tag(:li, msg) }.join
6
6
  sentence = I18n.t('errors.messages.not_saved',
@@ -12,6 +12,9 @@
12
12
  div.sub-menu-container li.sub-menu a.pjax { padding-left: 0px }
13
13
  div#wrapper div#sidebar-wrapper { overflow: hidden }
14
14
 
15
+
16
+ = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => 'reload'
17
+ = javascript_pack_tag 'application', 'data-turbolinks-track' => 'reload'
15
18
  / Getting all the assets needed by thecore_ui_rails_admin from all the gems and the application level
16
19
  = get_asset_tags_for("thecore_rails_admin")
17
20
 
@@ -45,7 +45,7 @@
45
45
  #list
46
46
  = form_tag(index_path(params.except(*%w[page f query])), method: :get, class: "pjax-form form-inline") do
47
47
  %span#filters_box{data: {options: ordered_filter_options.to_json}}
48
- %hr.filters_box{style: "display:#{ordered_filters.empty? ? 'none' : 'block'}"}
48
+ %hr.filters_box{style: "display:#{ordered_filters.blank? ? 'none' : 'block'}"}
49
49
  .input-group
50
50
  %input.form-control.input-small{name: "query", type: "search", value: query, placeholder: t("admin.misc.filter")}
51
51
  %span.input-group-btn
@@ -57,7 +57,7 @@
57
57
  - if export_action
58
58
  %span{style: 'float:right'}= link_to wording_for(:link, export_action), export_path(params.except('set').except('page')), class: 'btn btn-info'
59
59
 
60
- - unless @model_config.list.scopes.empty?
60
+ - unless @model_config.list.scopes.blank?
61
61
  %ul.nav.nav-tabs.nav-justified#scope_selector
62
62
  - @model_config.list.scopes.each do |scope|
63
63
  - scope = '_all' if scope.nil?
@@ -5,15 +5,15 @@ it:
5
5
  question: Domanda
6
6
  root_actions: "Operazioni"
7
7
  admin:
8
- links:
9
- label: Collegamenti
10
- tools:
11
- label: "Strumenti"
12
- settings:
13
- label: "Impostazioni"
14
- advanced: Avanzate
15
- registries: Anagrafiche
16
- operations: Operatività
8
+ label: "Impostazioni"
9
+ advanced:
10
+ label: Avanzate
11
+ registries:
12
+ label: Anagrafiche
13
+ operations:
14
+ label: Operatività
15
+ master_data_set:
16
+ label: Dati
17
17
  js:
18
18
  true: Vero
19
19
  false: Falso
@@ -1,3 +1,3 @@
1
1
  module ThecoreUiRailsAdmin
2
- VERSION = "#{`git describe --tags $(git rev-list --tags --max-count=1)`}"
2
+ VERSION = "#{`git describe --tags $(git rev-list --tags --max-count=1)`.chomp}"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_ui_rails_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.3
4
+ version: 2.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-09 00:00:00.000000000 Z
11
+ date: 2021-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_ui_commons