cors-ui 0.1.0
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 +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +28 -0
- data/Rakefile +8 -0
- data/app/assets/images/cors/ui/braket-cors.svg +43 -0
- data/app/assets/images/cors/ui/flat-cors.svg +52 -0
- data/app/assets/stylesheets/cors/ui/application.css +15 -0
- data/app/assets/stylesheets/cors/ui/tailwind.css +176011 -0
- data/app/controllers/cors/ui/application_controller.rb +6 -0
- data/app/controllers/cors/ui/dashboard_controller.rb +10 -0
- data/app/controllers/cors/ui/home_controller.rb +6 -0
- data/app/controllers/cors/ui/pages_controller.rb +13 -0
- data/app/helpers/cors/ui/application_helper.rb +6 -0
- data/app/jobs/cors/ui/application_job.rb +6 -0
- data/app/mailers/cors/ui/application_mailer.rb +8 -0
- data/app/models/cors/ui/application_record.rb +7 -0
- data/app/views/cors/ui/dashboard/index.html.erb +219 -0
- data/app/views/cors/ui/home/index.html.erb +15 -0
- data/app/views/cors/ui/pages/about.html.erb +17 -0
- data/app/views/cors/ui/pages/index.html.erb +37 -0
- data/app/views/layouts/cors/ui/_footer.html.erb +10 -0
- data/app/views/layouts/cors/ui/_navbar.html.erb +32 -0
- data/app/views/layouts/cors/ui/application.html.erb +19 -0
- data/config/routes.rb +5 -0
- data/lib/cors/ui/cors_config_reader.rb +61 -0
- data/lib/cors/ui/engine.rb +9 -0
- data/lib/cors/ui/version.rb +5 -0
- data/lib/cors/ui.rb +8 -0
- data/lib/tasks/cors/ui_tasks.rake +4 -0
- metadata +104 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 70028eb014f4a0c325124be791e7ec06fd838f92cbb4b8e04c7efb386c9c6cc7
|
4
|
+
data.tar.gz: e25322cdc43785ae9444444e2307bd8066fb403515e5a51d34845400da051cf5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9e5e5f73dfb42945cafee00aa6c2589afee631669a67442f1689dee54abf09e6451b7fc92e884342c2c5fd557e84f138198948e106d23344759bf5a3f7cdfedb
|
7
|
+
data.tar.gz: 2eade897f2a53ac24fe8b3c9f392e12eb904dd58e836d9a345e1af34e9cf74941351efc2710f9b3d80fcf8611d94c3e811de43640b48e9e26079323886633268
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright Andres Yebra
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# Cors::Ui
|
2
|
+
Short description and motivation.
|
3
|
+
|
4
|
+
## Usage
|
5
|
+
How to use my plugin.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem "cors-ui"
|
12
|
+
```
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
```bash
|
16
|
+
$ bundle
|
17
|
+
```
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
```bash
|
21
|
+
$ gem install cors-ui
|
22
|
+
```
|
23
|
+
|
24
|
+
## Contributing
|
25
|
+
Contribution directions go here.
|
26
|
+
|
27
|
+
## License
|
28
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
3
|
+
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
4
|
+
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
5
|
+
width="858.000000pt" height="330.000000pt" viewBox="0 0 858.000000 330.000000"
|
6
|
+
preserveAspectRatio="xMidYMid meet">
|
7
|
+
|
8
|
+
<g transform="translate(0.000000,330.000000) scale(0.100000,-0.100000)"
|
9
|
+
fill="#e74c3c" stroke="none">
|
10
|
+
<path d="M0 1650 l0 -1650 4290 0 4290 0 0 1650 0 1650 -4290 0 -4290 0 0
|
11
|
+
-1650z m1417 592 c116 -41 274 -151 273 -191 -1 -13 -84 -87 -187 -165 l-24
|
12
|
+
-19 -37 36 c-86 83 -204 109 -313 68 -126 -48 -199 -156 -207 -307 -8 -147 51
|
13
|
+
-255 170 -313 118 -58 236 -49 332 24 26 19 51 35 57 35 13 0 191 -124 209
|
14
|
+
-145 27 -33 -134 -156 -276 -212 -62 -24 -82 -27 -194 -28 -106 0 -136 4 -198
|
15
|
+
24 -371 121 -535 584 -330 930 81 137 251 255 408 285 14 2 77 3 140 2 88 -2
|
16
|
+
130 -8 177 -24z m1312 -2 c143 -51 275 -169 347 -312 88 -174 85 -405 -8 -581
|
17
|
+
-47 -90 -174 -214 -265 -260 -344 -170 -771 0 -884 352 -30 92 -37 273 -15
|
18
|
+
361 55 218 223 392 436 452 93 26 298 20 389 -12z m2556 -10 c79 -25 209 -86
|
19
|
+
226 -106 8 -10 3 -41 -22 -124 -18 -61 -38 -118 -44 -127 -10 -14 -23 -9 -106
|
20
|
+
40 -126 75 -171 90 -264 85 -64 -3 -79 -7 -100 -28 -38 -38 -42 -80 -11 -117
|
21
|
+
27 -32 42 -38 229 -98 135 -43 221 -94 268 -157 38 -53 48 -77 60 -151 25
|
22
|
+
-152 -56 -313 -192 -382 -160 -82 -406 -74 -603 20 -81 38 -173 102 -181 125
|
23
|
+
-6 20 68 263 82 267 6 2 44 -24 84 -57 120 -98 222 -139 347 -140 108 0 155
|
24
|
+
37 138 107 -13 48 -57 76 -196 122 -73 24 -157 54 -186 67 -69 31 -139 94
|
25
|
+
-172 159 -24 44 -27 61 -26 150 0 84 3 108 23 147 51 105 150 180 277 213 86
|
26
|
+
21 277 14 369 -15z m1265 -380 c3 -266 9 -403 17 -421 17 -39 62 -88 97 -106
|
27
|
+
19 -10 55 -17 92 -17 76 0 123 27 162 92 l27 47 5 400 5 400 150 0 150 0 3
|
28
|
+
-360 c4 -428 -2 -491 -59 -605 -141 -280 -537 -349 -794 -138 -51 42 -110 136
|
29
|
+
-137 217 -21 63 -22 87 -26 464 -2 220 -1 405 2 413 5 12 32 14 153 12 l148
|
30
|
+
-3 5 -395z m-2584 380 c183 -24 303 -115 360 -275 12 -35 18 -80 18 -150 1
|
31
|
+
-89 -2 -107 -28 -162 -29 -65 -112 -154 -154 -167 -12 -4 -22 -12 -22 -17 0
|
32
|
+
-6 17 -41 39 -77 70 -121 172 -334 167 -348 -7 -19 -319 -21 -333 -1 -5 6 -45
|
33
|
+
92 -89 189 l-79 178 -82 0 -83 0 0 -177 c0 -98 -4 -184 -8 -191 -7 -9 -44 -12
|
34
|
+
-153 -10 l-144 3 -3 594 c-1 430 1 598 9 607 9 11 63 14 263 14 138 0 283 -5
|
35
|
+
322 -10z m3782 -2 c14 -14 17 -1174 4 -1196 -7 -9 -44 -12 -153 -10 l-144 3
|
36
|
+
-3 599 c-2 473 0 601 10 608 21 13 272 10 286 -4z"/>
|
37
|
+
<path d="M2405 1965 c-212 -86 -272 -380 -115 -559 18 -20 61 -51 94 -68 159
|
38
|
+
-80 334 -12 414 161 23 47 27 70 27 146 -1 117 -32 192 -112 265 -89 82 -196
|
39
|
+
101 -308 55z"/>
|
40
|
+
<path d="M3680 1820 l0 -153 133 5 c149 5 197 20 223 70 30 57 15 138 -32 179
|
41
|
+
-34 29 -87 41 -206 46 l-118 6 0 -153z"/>
|
42
|
+
</g>
|
43
|
+
</svg>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
3
|
+
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
4
|
+
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
5
|
+
width="922.000000pt" height="312.000000pt" viewBox="0 0 922.000000 312.000000"
|
6
|
+
preserveAspectRatio="xMidYMid meet">
|
7
|
+
|
8
|
+
<g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)"
|
9
|
+
fill="#e74c3c" stroke="none">
|
10
|
+
<path d="M1663 2679 c-54 -10 -91 -30 -130 -71 -65 -68 -67 -80 -73 -428 -5
|
11
|
+
-299 -6 -317 -27 -355 -27 -51 -90 -110 -170 -159 -97 -58 -97 -109 -1 -164
|
12
|
+
75 -42 134 -96 166 -150 l27 -47 5 -320 c5 -302 6 -322 27 -360 40 -76 93
|
13
|
+
-116 177 -135 55 -12 90 1 106 39 19 48 -1 78 -63 96 -95 28 -91 12 -97 374
|
14
|
+
l-5 316 -33 69 c-23 49 -52 87 -100 134 l-67 65 70 71 c78 78 112 139 126 225
|
15
|
+
5 31 9 179 9 329 l0 274 28 27 c17 17 43 30 69 34 63 10 93 65 59 109 -19 26
|
16
|
+
-56 35 -103 27z"/>
|
17
|
+
<path d="M2369 2678 c-31 -10 -51 -50 -43 -84 7 -27 50 -54 84 -54 12 0 35
|
18
|
+
-13 51 -29 l29 -29 0 -280 c0 -154 5 -303 10 -333 16 -81 47 -137 122 -214 37
|
19
|
+
-38 68 -70 68 -70 0 0 -29 -30 -64 -66 -74 -76 -110 -140 -125 -224 -6 -33
|
20
|
+
-11 -178 -11 -333 l0 -274 -29 -29 c-16 -16 -39 -29 -50 -29 -87 0 -120 -111
|
21
|
+
-41 -138 80 -28 198 39 244 138 20 42 21 67 26 360 l5 315 28 47 c29 50 78 94
|
22
|
+
169 152 90 57 91 106 4 155 -74 43 -141 105 -174 159 l-27 47 -5 320 c-4 287
|
23
|
+
-7 324 -24 355 -23 45 -73 98 -109 116 -40 21 -108 32 -138 22z"/>
|
24
|
+
<path d="M3584 2056 c-190 -43 -336 -193 -390 -396 -22 -82 -19 -231 5 -310
|
25
|
+
28 -90 86 -183 152 -244 200 -185 515 -194 708 -20 28 25 51 49 51 54 0 4 -25
|
26
|
+
27 -56 50 l-56 42 -40 -40 c-130 -135 -387 -128 -518 14 -75 82 -112 180 -112
|
27
|
+
303 0 132 29 212 106 298 60 67 120 101 208 119 112 23 216 -1 292 -68 l46
|
28
|
+
-40 48 38 c26 20 51 41 56 46 23 20 -93 105 -190 139 -77 27 -226 34 -310 15z"/>
|
29
|
+
<path d="M7883 2042 c-33 -5 -73 -58 -73 -96 0 -61 79 -112 132 -85 105 53 57
|
30
|
+
199 -59 181z"/>
|
31
|
+
<path d="M6792 1658 c4 -369 5 -385 26 -440 42 -104 127 -189 230 -229 45 -17
|
32
|
+
79 -22 158 -23 96 -1 103 0 176 36 111 55 181 142 212 263 13 48 16 126 16
|
33
|
+
417 l0 358 -69 0 -70 0 -3 -367 c-3 -362 -3 -369 -27 -420 -28 -62 -92 -125
|
34
|
+
-147 -144 -101 -34 -218 -6 -283 67 -72 82 -74 94 -79 502 l-4 362 -70 0 -70
|
35
|
+
0 4 -382z"/>
|
36
|
+
<path d="M4499 1696 c-277 -74 -366 -433 -155 -623 58 -52 93 -71 161 -89 172
|
37
|
+
-46 348 34 427 194 31 62 33 74 33 167 0 87 -3 107 -25 150 -29 58 -111 144
|
38
|
+
-161 170 -82 43 -191 55 -280 31z m162 -117 c101 -22 169 -118 169 -239 0 -75
|
39
|
+
-15 -124 -52 -166 -59 -67 -142 -93 -236 -73 -47 9 -65 20 -103 58 -53 52 -71
|
40
|
+
101 -70 194 0 110 69 203 168 226 53 13 65 13 124 0z"/>
|
41
|
+
<path d="M5417 1696 c-46 -17 -63 -29 -104 -75 l-33 -36 0 53 0 52 -65 0 -65
|
42
|
+
0 0 -350 0 -350 65 0 65 0 0 208 c0 119 5 224 11 247 23 82 110 132 212 122
|
43
|
+
l48 -4 -3 71 -3 71 -45 2 c-25 2 -62 -4 -83 -11z"/>
|
44
|
+
<path d="M5830 1695 c-128 -40 -195 -177 -140 -285 26 -51 80 -82 204 -116
|
45
|
+
117 -33 157 -61 158 -113 1 -44 -25 -66 -96 -81 -73 -15 -139 3 -193 53 -24
|
46
|
+
22 -30 20 -96 -36 l-28 -23 35 -36 c19 -19 56 -46 83 -59 41 -21 63 -24 153
|
47
|
+
-24 86 0 113 4 150 22 91 43 133 107 133 205 1 103 -60 156 -222 198 -107 27
|
48
|
+
-135 42 -150 79 -16 38 -7 68 27 85 68 35 145 27 200 -19 l30 -25 46 36 c25
|
49
|
+
19 46 39 46 44 0 19 -87 81 -134 95 -61 18 -146 18 -206 0z"/>
|
50
|
+
<path d="M7840 1340 l0 -350 65 0 65 0 0 350 0 350 -65 0 -65 0 0 -350z"/>
|
51
|
+
</g>
|
52
|
+
</svg>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
10
|
+
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
+
* It is generally better to create a new file per style scope.
|
12
|
+
*
|
13
|
+
*= require_tree .
|
14
|
+
*= require_self
|
15
|
+
*/
|