trestle 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/.travis.yml +12 -6
- data/CONTRIBUTING.md +38 -0
- data/Gemfile +9 -2
- data/README.md +5 -0
- data/app/assets/bundle/trestle/bundle.css +6 -6
- data/app/assets/bundle/trestle/bundle.js +40 -38
- data/app/assets/bundle/trestle/fa-brands-400.eot +0 -0
- data/app/assets/bundle/trestle/fa-brands-400.svg +41 -41
- data/app/assets/bundle/trestle/fa-brands-400.ttf +0 -0
- data/app/assets/bundle/trestle/fa-brands-400.woff +0 -0
- data/app/assets/bundle/trestle/fa-brands-400.woff2 +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.eot +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.svg +2 -2
- data/app/assets/bundle/trestle/fa-regular-400.ttf +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.woff +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.woff2 +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.eot +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.svg +13 -7
- data/app/assets/bundle/trestle/fa-solid-900.ttf +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.woff +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.woff2 +0 -0
- data/app/assets/bundle/trestle/flatpickr/ar-dz.js +1 -0
- data/app/assets/bundle/trestle/flatpickr/ar.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/at.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/az.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/be.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/bg.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/bn.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/bs.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/cat.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/ckb.js +1 -0
- data/app/assets/bundle/trestle/flatpickr/cs.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/cy.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/da.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/de.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/default.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/eo.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/es.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/et.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/fa.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/fi.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/fo.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/fr.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/ga.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/gr.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/he.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/hi.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/hr.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/hu.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/hy.js +1 -0
- data/app/assets/bundle/trestle/flatpickr/id.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/is.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/it.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/ja.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/ka.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/km.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/ko.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/kz.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/lt.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/lv.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/mk.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/mn.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/ms.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/my.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/nl.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/nn.js +1 -0
- data/app/assets/bundle/trestle/flatpickr/no.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/pa.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/pl.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/pt.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/ro.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/ru.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/si.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/sk.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/sl.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/sq.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/sr-cyr.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/sr.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/sv.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/th.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/tr.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/uk.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/uz.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/uz_latn.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/vn.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/zh-tw.js +1 -1
- data/app/assets/bundle/trestle/flatpickr/zh.js +1 -1
- data/app/assets/javascripts/trestle/i18n.js.erb +1 -1
- data/app/controllers/trestle/dashboard_controller.rb +2 -2
- data/app/helpers/trestle/avatar_helper.rb +6 -2
- data/app/helpers/trestle/container_helper.rb +12 -4
- data/app/helpers/trestle/params_helper.rb +4 -1
- data/app/helpers/trestle/url_helper.rb +1 -11
- data/app/views/trestle/flash/_alert.html.erb +3 -1
- data/app/views/trestle/flash/_debug.html.erb +13 -8
- data/app/views/trestle/flash/_flash.html.erb +1 -1
- data/config/routes.rb +1 -1
- data/frontend/css/components/_alerts.scss +31 -0
- data/frontend/css/components/_avatar.scss +14 -0
- data/frontend/css/components/_buttons.scss +0 -1
- data/frontend/css/components/_datepicker.scss +1 -0
- data/frontend/css/components/_modal.scss +2 -0
- data/frontend/css/components/_tags.scss +2 -0
- data/frontend/css/components/_timestamp.scss +1 -1
- data/frontend/css/layout/_sidebar.scss +3 -2
- data/frontend/css/variables/_bootstrap.scss +1 -0
- data/frontend/css/variables/_trestle.scss +20 -0
- data/frontend/js/components/dialog.js +8 -3
- data/frontend/theme/trestle/theme/_defaults.scss +4 -4
- data/lib/generators/trestle/install/templates/_theme.scss +1 -1
- data/lib/generators/trestle/install/templates/trestle.rb.erb +6 -1
- data/lib/trestle/adapters/active_record_adapter.rb +16 -0
- data/lib/trestle/form/automatic.rb +2 -0
- data/lib/trestle/form/field.rb +1 -1
- data/lib/trestle/form/renderer.rb +4 -1
- data/lib/trestle/registry.rb +61 -0
- data/lib/trestle/reloader.rb +1 -1
- data/lib/trestle/table/automatic.rb +7 -0
- data/lib/trestle/version.rb +1 -1
- data/lib/trestle.rb +29 -14
- data/package.json +20 -23
- data/webpack.config.js +36 -48
- data/yarn.lock +2947 -4595
- metadata +9 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trestle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Pohlenz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -191,6 +191,7 @@ files:
|
|
191
191
|
- ".gitignore"
|
192
192
|
- ".rspec"
|
193
193
|
- ".travis.yml"
|
194
|
+
- CONTRIBUTING.md
|
194
195
|
- Gemfile
|
195
196
|
- Guardfile
|
196
197
|
- LICENSE
|
@@ -213,6 +214,7 @@ files:
|
|
213
214
|
- app/assets/bundle/trestle/fa-solid-900.ttf
|
214
215
|
- app/assets/bundle/trestle/fa-solid-900.woff
|
215
216
|
- app/assets/bundle/trestle/fa-solid-900.woff2
|
217
|
+
- app/assets/bundle/trestle/flatpickr/ar-dz.js
|
216
218
|
- app/assets/bundle/trestle/flatpickr/ar.js
|
217
219
|
- app/assets/bundle/trestle/flatpickr/at.js
|
218
220
|
- app/assets/bundle/trestle/flatpickr/az.js
|
@@ -221,6 +223,7 @@ files:
|
|
221
223
|
- app/assets/bundle/trestle/flatpickr/bn.js
|
222
224
|
- app/assets/bundle/trestle/flatpickr/bs.js
|
223
225
|
- app/assets/bundle/trestle/flatpickr/cat.js
|
226
|
+
- app/assets/bundle/trestle/flatpickr/ckb.js
|
224
227
|
- app/assets/bundle/trestle/flatpickr/cs.js
|
225
228
|
- app/assets/bundle/trestle/flatpickr/cy.js
|
226
229
|
- app/assets/bundle/trestle/flatpickr/da.js
|
@@ -239,6 +242,7 @@ files:
|
|
239
242
|
- app/assets/bundle/trestle/flatpickr/hi.js
|
240
243
|
- app/assets/bundle/trestle/flatpickr/hr.js
|
241
244
|
- app/assets/bundle/trestle/flatpickr/hu.js
|
245
|
+
- app/assets/bundle/trestle/flatpickr/hy.js
|
242
246
|
- app/assets/bundle/trestle/flatpickr/id.js
|
243
247
|
- app/assets/bundle/trestle/flatpickr/is.js
|
244
248
|
- app/assets/bundle/trestle/flatpickr/it.js
|
@@ -254,6 +258,7 @@ files:
|
|
254
258
|
- app/assets/bundle/trestle/flatpickr/ms.js
|
255
259
|
- app/assets/bundle/trestle/flatpickr/my.js
|
256
260
|
- app/assets/bundle/trestle/flatpickr/nl.js
|
261
|
+
- app/assets/bundle/trestle/flatpickr/nn.js
|
257
262
|
- app/assets/bundle/trestle/flatpickr/no.js
|
258
263
|
- app/assets/bundle/trestle/flatpickr/pa.js
|
259
264
|
- app/assets/bundle/trestle/flatpickr/pl.js
|
@@ -544,6 +549,7 @@ files:
|
|
544
549
|
- lib/trestle/navigation/group.rb
|
545
550
|
- lib/trestle/navigation/item.rb
|
546
551
|
- lib/trestle/options.rb
|
552
|
+
- lib/trestle/registry.rb
|
547
553
|
- lib/trestle/reloader.rb
|
548
554
|
- lib/trestle/resource.rb
|
549
555
|
- lib/trestle/resource/adapter_methods.rb
|
@@ -591,7 +597,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
591
597
|
- !ruby/object:Gem::Version
|
592
598
|
version: '0'
|
593
599
|
requirements: []
|
594
|
-
rubygems_version: 3.
|
600
|
+
rubygems_version: 3.1.6
|
595
601
|
signing_key:
|
596
602
|
specification_version: 4
|
597
603
|
summary: A modern, responsive admin framework for Ruby on Rails
|