solid_litequeen 0.15.0 → 0.15.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f112dd52c78339931b6851d91130de3a386300e29b4ca84470d637a0d8cfdbb9
|
4
|
+
data.tar.gz: ffcaffbfa3caad295dd82ee7fd1aa86f0d7d5e24915badd9498b828afb18543c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e62a30f4f3995a3de6ec1ecd64abe9794ad06178375ed2773e0735d015bcb7aa9bb6799eda79af0440bb271fab816f4d72d8765311565af1631b797f4ddf409d
|
7
|
+
data.tar.gz: a6fab70afc4519c9cf039c96581937a6f85b1d704b4c84e88ed7cbef0629743f1803daef3a7a60144e920c61706aff20f06eeace1e96d2fdb864ee528635b7b4
|
data/README.md
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
# SolidLitequeen
|
2
|
-
|
2
|
+
Lite Queen is a Rails engine that allows you to manage SQLite databases in your Rails application. It provides a user-friendly interface to view and maintain your SQLite data directly from your app.
|
3
|
+
|
3
4
|
|
4
|
-
## Usage
|
5
|
-
How to use my plugin.
|
6
5
|
|
7
6
|
## Installation
|
8
7
|
Add this line to your application's Gemfile:
|
@@ -23,10 +22,10 @@ $ gem install solid_litequeen
|
|
23
22
|
|
24
23
|
After we need to mount in `routes.rb`:
|
25
24
|
```ruby
|
26
|
-
mount SolidLitequeen::Engine => "/
|
25
|
+
mount SolidLitequeen::Engine => "/sqlite"
|
27
26
|
```
|
28
27
|
|
29
|
-
You can now navigate to `/
|
28
|
+
You can now navigate to `/sqlite` to access the application
|
30
29
|
|
31
30
|
|
32
31
|
|
@@ -15,6 +15,7 @@
|
|
15
15
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/dagre/0.8.5/dagre.min.js"></script>
|
16
16
|
<style type="text/tailwindcss">
|
17
17
|
@plugins "form";
|
18
|
+
|
18
19
|
|
19
20
|
@theme {
|
20
21
|
--color-clifford: #da373d;
|
@@ -24,6 +25,20 @@
|
|
24
25
|
filter: invert(32%) sepia(65%) saturate(6380%) hue-rotate(219deg) brightness(98%) contrast(102%);
|
25
26
|
}
|
26
27
|
|
28
|
+
|
29
|
+
/* popover fix for safari */
|
30
|
+
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
31
|
+
/* Safari-only CSS here */
|
32
|
+
_::-webkit-full-page-media, _:future, :root div[popover] {
|
33
|
+
position: fixed !important;
|
34
|
+
top: 50% !important;
|
35
|
+
left: 50% !important;
|
36
|
+
transform: translate(-50%, -50%) !important;
|
37
|
+
margin: 0 !important;
|
38
|
+
max-width: 90vw;
|
39
|
+
z-index: 1000;
|
40
|
+
}
|
41
|
+
}
|
27
42
|
|
28
43
|
</style>
|
29
44
|
|
@@ -36,11 +36,11 @@
|
|
36
36
|
<%# popover the the column info %>
|
37
37
|
<% popover_id = "popover_#{column}_#{SecureRandom.hex(8)}" %>
|
38
38
|
|
39
|
-
<button popovertarget="<%= popover_id %>" class="mr-1 p-1 hover:cursor-pointer">
|
39
|
+
<button popovertarget="<%= popover_id %>" class="mr-1 p-1 hover:cursor-pointer" style="anchor-name: --anchor_<%= popover_id %>;">
|
40
40
|
<%= image_tag "solid_litequeen/icons/info.svg", class: "size-3.5" %>
|
41
41
|
</button>
|
42
42
|
|
43
|
-
<div popover id="<%= popover_id %>" class="max-w-lg min-h-10
|
43
|
+
<div popover id="<%= popover_id %>" class="max-w-lg min-h-10 bg-gray-100 border-gray-400 border p-4 rounded-md" style="position-anchor: --anchor_<%= popover_id%>; top: anchor(--anchor_<%= popover_id%> bottom); left: anchor(--anchor_<%= popover_id%> right);">
|
44
44
|
<table class="min-w-full divide-y divide-gray-200 border border-gray-200">
|
45
45
|
|
46
46
|
<tbody class="bg-white divide-y divide-gray-200">
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solid_litequeen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vik Borges
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|