hyper-kitten-tables 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +28 -0
- data/Rakefile +3 -0
- data/lib/hyper-kitten-tables.rb +6 -0
- data/lib/hyper_kitten_tables/components/table.rb +7 -0
- data/lib/hyper_kitten_tables/concerns/table.rb +134 -0
- data/lib/hyper_kitten_tables/engine.rb +5 -0
- data/lib/hyper_kitten_tables/version.rb +3 -0
- data/lib/tasks/tables_tasks.rake +4 -0
- data/spec/components/table_spec.rb +209 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +2 -0
- data/spec/dummy/app/controllers/pages_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/jobs/application_job.rb +7 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/views/hyper_kitten_meow/pages/hardcoded_page.html.haml +4 -0
- data/spec/dummy/app/views/pages/app_hardcoded_page.html.haml +4 -0
- data/spec/dummy/app/views/pages/show.html.haml +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +33 -0
- data/spec/dummy/config/application.rb +26 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +16 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +56 -0
- data/spec/dummy/config/environments/production.rb +93 -0
- data/spec/dummy/config/environments/test.rb +50 -0
- data/spec/dummy/config/initializers/assets.rb +12 -0
- data/spec/dummy/config/initializers/content_security_policy.rb +26 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +6 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/permissions_policy.rb +11 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/puma.rb +43 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/config.ru +6 -0
- data/spec/dummy/db/migrate/20220805173427_create_action_text_tables.action_text.rb +26 -0
- data/spec/dummy/db/migrate/20220805173748_create_active_storage_tables.active_storage.rb +57 -0
- data/spec/dummy/db/schema.rb +134 -0
- data/spec/dummy/db/seeds.rb +23 -0
- data/spec/dummy/log/development.log +12689 -0
- data/spec/dummy/log/test.log +58989 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/storage/it/lb/itlbn65dlnw20cu9ii6epg3qtr0h +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-04-16-58-13.777.html +148 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-04-16-59-53.965.html +148 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-04-17-00-42.481.html +148 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-04-17-01-02.940.html +229 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-04-17-03-02.450.html +229 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-04-17-03-17.782.html +148 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-04-17-03-57.376.html +229 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-04-17-07-53.996.html +232 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-04-17-13-29.891.html +232 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-04-17-13-56.197.html +232 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-04-17-15-26.557.html +232 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-14-43-43.563.html +165 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-14-45-19.375.html +157 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-15-29-06.088.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-15-29-06.102.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-15-29-06.116.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-15-29-06.193.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-15-29-06.206.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-16-26-51.644.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-16-26-54.957.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-16-30-28.415.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-16-30-34.037.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-16-43-01.197.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-16-43-04.942.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-16-45-09.535.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-16-45-14.082.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-16-45-26.094.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-16-45-26.446.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-16-57-08.858.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-16-57-11.332.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-16-58-08.456.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-16-58-08.832.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-02-35.674.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-02-39.415.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-03-38.082.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-03-38.564.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-04-08.143.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-04-08.472.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-04-34.570.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-04-40.657.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-04-52.001.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-04-52.410.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-06-40.488.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-06-46.796.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-09-28.828.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-09-32.459.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-09-45.931.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-09-46.318.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-12-03.393.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-12-06.113.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-12-11.111.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-12-16.868.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-15-57.176.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-16-03.653.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-29-32.001.html +91 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-05-17-29-34.702.html +96 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-11-16-24-42.604.html +85 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-11-16-25-08.753.html +76 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-12-14-02-02.769.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-12-14-08-16.549.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-12-14-09-06.988.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-12-14-10-02.456.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-12-14-12-58.767.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-12-14-13-38.946.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-12-14-20-23.040.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-12-14-22-40.972.html +31 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-12-14-30-50.210.html +31 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-12-14-31-41.216.html +31 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-12-14-42-03.223.html +31 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-12-14-53-14.392.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-18-16-52-54.850.html +35 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-18-16-53-03.992.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-18-16-53-40.077.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-18-16-53-55.068.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-18-16-54-08.951.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-18-16-54-39.523.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-18-16-55-46.588.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-18-16-56-53.302.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-18-16-57-13.712.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-18-16-59-55.972.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-10-18-17-04-32.815.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-19-45-56.483.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-19-51-45.853.html +54 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-19-56-35.870.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-19-58-42.872.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-19-59-53.565.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-25-51.194.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-27-18.607.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-34-14.915.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-34-23.967.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-35-20.693.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-38-57.780.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-39-59.478.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-40-32.807.html +0 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-40-42.311.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-41-40.038.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-43-18.794.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-45-22.057.html +9 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-46-07.622.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-46-23.810.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-46-42.443.html +9 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-47-03.378.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-49-38.206.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-49-53.697.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-50-25.359.html +1 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-50-43.146.html +9 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-51-18.812.html +54 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-51-55.591.html +78 -0
- data/spec/dummy/tmp/capybara/screenshot_2022-11-16-20-52-42.586.html +78 -0
- data/spec/dummy/tmp/development_secret.txt +1 -0
- data/spec/dummy/tmp/restart.txt +0 -0
- data/spec/features/admin/create_first_user_spec.rb +34 -0
- data/spec/features/admin/menu_management_spec.rb +137 -0
- data/spec/features/admin/page_management_spec.rb +73 -0
- data/spec/features/admin/post_management_spec.rb +80 -0
- data/spec/features/admin/users_management_spec.rb +65 -0
- data/spec/features/display_pages_spec.rb +45 -0
- data/spec/features/display_posts_spec.rb +0 -0
- data/spec/rails_helper.rb +13 -0
- metadata +502 -0
@@ -0,0 +1,232 @@
|
|
1
|
+
<html class="h-100"><head><style type="text/css" data-tag-name="trix-editor">trix-editor {
|
2
|
+
display: block;
|
3
|
+
}
|
4
|
+
|
5
|
+
trix-editor:empty:not(:focus)::before {
|
6
|
+
content: attr(placeholder);
|
7
|
+
color: graytext;
|
8
|
+
cursor: text;
|
9
|
+
pointer-events: none;
|
10
|
+
white-space: pre-line;
|
11
|
+
}
|
12
|
+
|
13
|
+
trix-editor a[contenteditable=false] {
|
14
|
+
cursor: text;
|
15
|
+
}
|
16
|
+
|
17
|
+
trix-editor img {
|
18
|
+
max-width: 100%;
|
19
|
+
height: auto;
|
20
|
+
}
|
21
|
+
|
22
|
+
trix-editor [data-trix-attachment] figcaption textarea {
|
23
|
+
resize: none;
|
24
|
+
}
|
25
|
+
|
26
|
+
trix-editor [data-trix-attachment] figcaption textarea.trix-autoresize-clone {
|
27
|
+
position: absolute;
|
28
|
+
left: -9999px;
|
29
|
+
max-height: 0px;
|
30
|
+
}
|
31
|
+
|
32
|
+
trix-editor [data-trix-attachment] figcaption[data-trix-placeholder]:empty::before {
|
33
|
+
content: attr(data-trix-placeholder);
|
34
|
+
color: graytext;
|
35
|
+
}
|
36
|
+
|
37
|
+
trix-editor [data-trix-cursor-target] {
|
38
|
+
display: inline-block !important;
|
39
|
+
width: 1px !important;
|
40
|
+
padding: 0 !important;
|
41
|
+
margin: 0 !important;
|
42
|
+
border: none !important;
|
43
|
+
}
|
44
|
+
|
45
|
+
trix-editor [data-trix-cursor-target=left] {
|
46
|
+
vertical-align: top !important;
|
47
|
+
margin-left: -1px !important;
|
48
|
+
}
|
49
|
+
|
50
|
+
trix-editor [data-trix-cursor-target=right] {
|
51
|
+
vertical-align: bottom !important;
|
52
|
+
margin-right: -1px !important;
|
53
|
+
}</style><style type="text/css" data-tag-name="trix-toolbar">trix-toolbar {
|
54
|
+
display: block;
|
55
|
+
}
|
56
|
+
|
57
|
+
trix-toolbar {
|
58
|
+
white-space: nowrap;
|
59
|
+
}
|
60
|
+
|
61
|
+
trix-toolbar [data-trix-dialog] {
|
62
|
+
display: none;
|
63
|
+
}
|
64
|
+
|
65
|
+
trix-toolbar [data-trix-dialog][data-trix-active] {
|
66
|
+
display: block;
|
67
|
+
}
|
68
|
+
|
69
|
+
trix-toolbar [data-trix-dialog] [data-trix-validate]:invalid {
|
70
|
+
background-color: #ffdddd;
|
71
|
+
}</style>
|
72
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
73
|
+
<title>Meow</title>
|
74
|
+
<link rel="stylesheet" crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3">
|
75
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/trix/1.3.1/trix.min.css">
|
76
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css">
|
77
|
+
<script type="importmap" data-turbo-track="reload">{
|
78
|
+
"imports": {
|
79
|
+
"bootstrap": "https://ga.jspm.io/npm:bootstrap@5.2.2/dist/js/bootstrap.esm.js",
|
80
|
+
"@popperjs/core": "https://ga.jspm.io/npm:@popperjs/core@2.11.6/lib/index.js",
|
81
|
+
"@hotwired/stimulus": "/assets/stimulus.min-aab608fae21f2c1bac54028a5ea332762374c7d5.js",
|
82
|
+
"@hotwired/stimulus-loading": "/assets/stimulus-loading-e367296568a6df104dc84fcfe5d1aafae5076fc0.js",
|
83
|
+
"sortablejs": "https://ga.jspm.io/npm:sortablejs@1.15.0/modular/sortable.esm.js",
|
84
|
+
"trix": "https://ga.jspm.io/npm:trix@2.0.0-beta.0/dist/trix.js",
|
85
|
+
"hyper_kitten_meow/application": "/assets/hyper_kitten_meow/application-18cb6ca0cdc2dc660e6211a74b9c9fd90ee26b70.js",
|
86
|
+
"hyper_kitten_meow/controllers/application": "/assets/hyper_kitten_meow/controllers/application-a45fcffa4627508814a7727d04043357d1dcedbe.js",
|
87
|
+
"hyper_kitten_meow/controllers": "/assets/hyper_kitten_meow/controllers/index-75d6331f3e6ac38720595fca892d1179c84dd34e.js",
|
88
|
+
"hyper_kitten_meow/controllers/menu_items_form_controller": "/assets/hyper_kitten_meow/controllers/menu_items_form_controller-9e4fa509fa20341521d88013ccadc71fa8f4c00e.js"
|
89
|
+
}
|
90
|
+
}</script>
|
91
|
+
<link rel="modulepreload" href="/assets/stimulus.min-aab608fae21f2c1bac54028a5ea332762374c7d5.js">
|
92
|
+
<link rel="modulepreload" href="/assets/stimulus-loading-e367296568a6df104dc84fcfe5d1aafae5076fc0.js">
|
93
|
+
<script src="/assets/es-module-shims.min-f7a11f41d669b1f9ca6432c0ba58580ba2b4087a.js" async="async" data-turbo-track="reload"></script>
|
94
|
+
<script type="module">import "application"</script>
|
95
|
+
<script type="module">import "hyper_kitten_meow/application"</script>
|
96
|
+
|
97
|
+
</head>
|
98
|
+
<body class="h-100">
|
99
|
+
<div class="container-fluid h-100">
|
100
|
+
<div class="row h-100">
|
101
|
+
<nav class="col-md-3 col-lg-2 d-md-block sidebar bg-dark text-white d-flex flex-column">
|
102
|
+
<h2 class="mb-3 mt-3">Meow</h2>
|
103
|
+
<hr>
|
104
|
+
<ul class="nav nav-pills flex-column mb-auto">
|
105
|
+
<li class="nav-item"><a class="nav-link text-white" href="/hyper-kitten-meow/admin/posts">Posts</a></li>
|
106
|
+
<li class="nav-item"><a class="nav-link text-white" href="/hyper-kitten-meow/admin/pages">Pages</a></li>
|
107
|
+
<li class="nav-item"><a class="nav-link text-white" href="/hyper-kitten-meow/admin/menus">Menus</a></li>
|
108
|
+
<li class="nav-item"><a class="nav-link text-white" href="/hyper-kitten-meow/admin/tags">Tags</a></li>
|
109
|
+
<li class="nav-item"><a class="nav-link text-white" href="/hyper-kitten-meow/admin/users">Users</a></li>
|
110
|
+
</ul>
|
111
|
+
<hr>
|
112
|
+
<a class="nav-link d-flex align-items-center text-white text-decoration-none dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" href="#"><strong>Andrew</strong>
|
113
|
+
</a><ul class="dropdown-menu dropdown-menu-dark text-small shadow">
|
114
|
+
<li><a class="dropdown-item" href="/hyper-kitten-meow/admin/logout">Log Out</a></li>
|
115
|
+
</ul>
|
116
|
+
</nav>
|
117
|
+
<div class="col-md-9 col-lg-10 mt-3 px-4">
|
118
|
+
<div class="alert alert-danger">There was a problem saving the menu.</div>
|
119
|
+
<section>
|
120
|
+
<div class="d-flex justify-content-between">
|
121
|
+
<h2>Edit My Menu</h2>
|
122
|
+
<div class="action">
|
123
|
+
<a class="btn btn-secondary" href="/hyper-kitten-meow/admin/menus">Back to Menus</a>
|
124
|
+
</div>
|
125
|
+
</div>
|
126
|
+
<form class="simple_form edit_menu" id="edit_menu_33" novalidate="novalidate" action="/hyper-kitten-meow/admin/menus/33" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="patch" autocomplete="off"><div class="mb-3 string required menu_name"><label class="form-label string required" for="menu_name">Name <abbr title="required">*</abbr></label><input class="form-control is-valid string required" type="text" value="My Menu" name="menu[name]" id="menu_name"></div>
|
127
|
+
<hr>
|
128
|
+
<div class="card">
|
129
|
+
<div class="card-body">
|
130
|
+
<h4>Menu Items</h4>
|
131
|
+
<div data-controller="menu-items-form">
|
132
|
+
<template data-menu-items-form-target="template">
|
133
|
+
<div class="card menu-item border mb-3" data-menu-items-target="menu-item" data-new-record="true" style="cursor: move">
|
134
|
+
<div class="card-body">
|
135
|
+
<div class="row">
|
136
|
+
<div class="col-1 align-self-center">
|
137
|
+
<i class="bi-grip-vertical fs-2"></i>
|
138
|
+
</div>
|
139
|
+
<div class="col-4">
|
140
|
+
<div class="mb-3 select required menu_menu_items_page"><label class="form-label select required" for="menu_menu_items_attributes_NEW_RECORD_page_id">Page <abbr title="required">*</abbr></label><select class="form-select select required" name="menu[menu_items_attributes][NEW_RECORD][page_id]" id="menu_menu_items_attributes_NEW_RECORD_page_id"><option value="" label=" "></option>
|
141
|
+
<option value="35">My Page 1</option>
|
142
|
+
<option value="36">My Page 2</option></select></div>
|
143
|
+
<div class="mb-3 hidden menu_menu_items_position"><input class="form-control hidden" autocomplete="off" type="hidden" name="menu[menu_items_attributes][NEW_RECORD][position]" id="menu_menu_items_attributes_NEW_RECORD_position"></div>
|
144
|
+
<div class="mb-3 hidden menu_menu_items__destroy"><input class="form-control hidden" autocomplete="off" type="hidden" value="false" name="menu[menu_items_attributes][NEW_RECORD][_destroy]" id="menu_menu_items_attributes_NEW_RECORD__destroy"></div>
|
145
|
+
</div>
|
146
|
+
<div class="col-3">
|
147
|
+
<div class="mb-3 string required menu_menu_items_title"><label class="form-label string required" for="menu_menu_items_attributes_NEW_RECORD_title">Title <abbr title="required">*</abbr></label><input class="form-control string required" type="text" name="menu[menu_items_attributes][NEW_RECORD][title]" id="menu_menu_items_attributes_NEW_RECORD_title"></div>
|
148
|
+
</div>
|
149
|
+
<div class="col-3">
|
150
|
+
<div class="mb-3 url optional menu_menu_items_url"><label class="form-label url optional" for="menu_menu_items_attributes_NEW_RECORD_url">Url</label><input class="form-control string url optional" type="url" name="menu[menu_items_attributes][NEW_RECORD][url]" id="menu_menu_items_attributes_NEW_RECORD_url"></div>
|
151
|
+
</div>
|
152
|
+
<div class="col-1 align-self-center">
|
153
|
+
<a class="btn btn-danger" data-action="click->menu-items-form#removeMenuItem" href="#">Remove</a>
|
154
|
+
</div>
|
155
|
+
</div>
|
156
|
+
</div>
|
157
|
+
</div>
|
158
|
+
|
159
|
+
</template>
|
160
|
+
<div class="card menu-item border mb-3" data-menu-items-target="menu-item" data-new-record="true" style="cursor: move">
|
161
|
+
<div class="card-body">
|
162
|
+
<div class="row">
|
163
|
+
<div class="col-1 align-self-center">
|
164
|
+
<i class="bi-grip-vertical fs-2"></i>
|
165
|
+
</div>
|
166
|
+
<div class="col-4">
|
167
|
+
<div class="mb-3 select required menu_menu_items_page"><label class="form-label select required" for="menu_menu_items_attributes_0_page_id">Page <abbr title="required">*</abbr></label><select class="form-select is-valid select required" name="menu[menu_items_attributes][0][page_id]" id="menu_menu_items_attributes_0_page_id"><option value="" label=" "></option>
|
168
|
+
<option selected="selected" value="35">My Page 1</option>
|
169
|
+
<option value="36">My Page 2</option></select></div>
|
170
|
+
<div class="mb-3 hidden menu_menu_items_position"><input class="form-control is-valid hidden" autocomplete="off" type="hidden" value="1" name="menu[menu_items_attributes][0][position]" id="menu_menu_items_attributes_0_position"></div>
|
171
|
+
<div class="mb-3 hidden menu_menu_items__destroy"><input class="form-control hidden" autocomplete="off" type="hidden" value="false" name="menu[menu_items_attributes][0][_destroy]" id="menu_menu_items_attributes_0__destroy"></div>
|
172
|
+
</div>
|
173
|
+
<div class="col-3">
|
174
|
+
<div class="mb-3 string required menu_menu_items_title"><label class="form-label string required" for="menu_menu_items_attributes_0_title">Title <abbr title="required">*</abbr></label><input class="form-control is-valid string required" type="text" value="First Item" name="menu[menu_items_attributes][0][title]" id="menu_menu_items_attributes_0_title"></div>
|
175
|
+
</div>
|
176
|
+
<div class="col-3">
|
177
|
+
<div class="mb-3 url optional menu_menu_items_url"><label class="form-label url optional" for="menu_menu_items_attributes_0_url">Url</label><input class="form-control string url optional" type="url" name="menu[menu_items_attributes][0][url]" id="menu_menu_items_attributes_0_url"></div>
|
178
|
+
</div>
|
179
|
+
<div class="col-1 align-self-center">
|
180
|
+
<a class="btn btn-danger" data-action="click->menu-items-form#removeMenuItem" href="#">Remove</a>
|
181
|
+
</div>
|
182
|
+
</div>
|
183
|
+
</div>
|
184
|
+
</div>
|
185
|
+
|
186
|
+
<div class="mb-3" data-menu-items-form-target="links">
|
187
|
+
<a class="btn btn-success" data-action="click->menu-items-form#addMenuItem" href="#">Add Menu Item</a>
|
188
|
+
</div>
|
189
|
+
<div class="card menu-item border mb-3" data-menu-items-target="menu-item" data-new-record="true" style="cursor: move">
|
190
|
+
<div class="card-body">
|
191
|
+
<div class="row">
|
192
|
+
<div class="col-1 align-self-center">
|
193
|
+
<i class="bi-grip-vertical fs-2"></i>
|
194
|
+
</div>
|
195
|
+
<div class="col-4">
|
196
|
+
<div class="mb-3 select required menu_menu_items_page"><label class="form-label select required" for="menu_menu_items_attributes_1_page_id">Page <abbr title="required">*</abbr></label><select class="form-select is-valid select required" name="menu[menu_items_attributes][1][page_id]" id="menu_menu_items_attributes_1_page_id"><option value="" label=" "></option>
|
197
|
+
<option value="35">My Page 1</option>
|
198
|
+
<option selected="selected" value="36">My Page 2</option></select></div>
|
199
|
+
<div class="mb-3 hidden menu_menu_items_position"><input class="form-control is-invalid hidden" aria-invalid="true" autocomplete="off" type="hidden" value="" name="menu[menu_items_attributes][1][position]" id="menu_menu_items_attributes_1_position"><div class="invalid-feedback">Position can't be blank</div></div>
|
200
|
+
<div class="mb-3 hidden menu_menu_items__destroy"><input class="form-control hidden" autocomplete="off" type="hidden" value="false" name="menu[menu_items_attributes][1][_destroy]" id="menu_menu_items_attributes_1__destroy"></div>
|
201
|
+
</div>
|
202
|
+
<div class="col-3">
|
203
|
+
<div class="mb-3 string required menu_menu_items_title"><label class="form-label string required" for="menu_menu_items_attributes_1_title">Title <abbr title="required">*</abbr></label><input class="form-control is-valid string required" type="text" value="Second Item" name="menu[menu_items_attributes][1][title]" id="menu_menu_items_attributes_1_title"></div>
|
204
|
+
</div>
|
205
|
+
<div class="col-3">
|
206
|
+
<div class="mb-3 url optional menu_menu_items_url"><label class="form-label url optional" for="menu_menu_items_attributes_1_url">Url</label><input class="form-control string url optional" type="url" name="menu[menu_items_attributes][1][url]" id="menu_menu_items_attributes_1_url"></div>
|
207
|
+
</div>
|
208
|
+
<div class="col-1 align-self-center">
|
209
|
+
<a class="btn btn-danger" data-action="click->menu-items-form#removeMenuItem" href="#">Remove</a>
|
210
|
+
</div>
|
211
|
+
</div>
|
212
|
+
</div>
|
213
|
+
</div>
|
214
|
+
|
215
|
+
<div class="mb-3" data-menu-items-form-target="links">
|
216
|
+
<a class="btn btn-success" data-action="click->menu-items-form#addMenuItem" href="#">Add Menu Item</a>
|
217
|
+
</div>
|
218
|
+
</div>
|
219
|
+
</div>
|
220
|
+
</div>
|
221
|
+
<div class="action mt-3">
|
222
|
+
<input type="submit" name="commit" value="Update Menu" class="btn btn-primary" data-disable-with="Update Menu">
|
223
|
+
</div>
|
224
|
+
|
225
|
+
</form></section>
|
226
|
+
|
227
|
+
</div>
|
228
|
+
</div>
|
229
|
+
</div>
|
230
|
+
|
231
|
+
|
232
|
+
</body></html>
|
@@ -0,0 +1,165 @@
|
|
1
|
+
<html class="h-100"><head><style type="text/css" data-tag-name="trix-editor">trix-editor {
|
2
|
+
display: block;
|
3
|
+
}
|
4
|
+
|
5
|
+
trix-editor:empty:not(:focus)::before {
|
6
|
+
content: attr(placeholder);
|
7
|
+
color: graytext;
|
8
|
+
cursor: text;
|
9
|
+
pointer-events: none;
|
10
|
+
white-space: pre-line;
|
11
|
+
}
|
12
|
+
|
13
|
+
trix-editor a[contenteditable=false] {
|
14
|
+
cursor: text;
|
15
|
+
}
|
16
|
+
|
17
|
+
trix-editor img {
|
18
|
+
max-width: 100%;
|
19
|
+
height: auto;
|
20
|
+
}
|
21
|
+
|
22
|
+
trix-editor [data-trix-attachment] figcaption textarea {
|
23
|
+
resize: none;
|
24
|
+
}
|
25
|
+
|
26
|
+
trix-editor [data-trix-attachment] figcaption textarea.trix-autoresize-clone {
|
27
|
+
position: absolute;
|
28
|
+
left: -9999px;
|
29
|
+
max-height: 0px;
|
30
|
+
}
|
31
|
+
|
32
|
+
trix-editor [data-trix-attachment] figcaption[data-trix-placeholder]:empty::before {
|
33
|
+
content: attr(data-trix-placeholder);
|
34
|
+
color: graytext;
|
35
|
+
}
|
36
|
+
|
37
|
+
trix-editor [data-trix-cursor-target] {
|
38
|
+
display: inline-block !important;
|
39
|
+
width: 1px !important;
|
40
|
+
padding: 0 !important;
|
41
|
+
margin: 0 !important;
|
42
|
+
border: none !important;
|
43
|
+
}
|
44
|
+
|
45
|
+
trix-editor [data-trix-cursor-target=left] {
|
46
|
+
vertical-align: top !important;
|
47
|
+
margin-left: -1px !important;
|
48
|
+
}
|
49
|
+
|
50
|
+
trix-editor [data-trix-cursor-target=right] {
|
51
|
+
vertical-align: bottom !important;
|
52
|
+
margin-right: -1px !important;
|
53
|
+
}</style><style type="text/css" data-tag-name="trix-toolbar">trix-toolbar {
|
54
|
+
display: block;
|
55
|
+
}
|
56
|
+
|
57
|
+
trix-toolbar {
|
58
|
+
white-space: nowrap;
|
59
|
+
}
|
60
|
+
|
61
|
+
trix-toolbar [data-trix-dialog] {
|
62
|
+
display: none;
|
63
|
+
}
|
64
|
+
|
65
|
+
trix-toolbar [data-trix-dialog][data-trix-active] {
|
66
|
+
display: block;
|
67
|
+
}
|
68
|
+
|
69
|
+
trix-toolbar [data-trix-dialog] [data-trix-validate]:invalid {
|
70
|
+
background-color: #ffdddd;
|
71
|
+
}</style>
|
72
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
73
|
+
<title>Meow</title>
|
74
|
+
<link rel="stylesheet" crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3">
|
75
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/trix/1.3.1/trix.min.css">
|
76
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css">
|
77
|
+
<script type="importmap" data-turbo-track="reload">{
|
78
|
+
"imports": {
|
79
|
+
"bootstrap": "https://ga.jspm.io/npm:bootstrap@5.2.2/dist/js/bootstrap.esm.js",
|
80
|
+
"@popperjs/core": "https://ga.jspm.io/npm:@popperjs/core@2.11.6/lib/index.js",
|
81
|
+
"@hotwired/stimulus": "/assets/stimulus.min-aab608fae21f2c1bac54028a5ea332762374c7d5.js",
|
82
|
+
"@hotwired/stimulus-loading": "/assets/stimulus-loading-e367296568a6df104dc84fcfe5d1aafae5076fc0.js",
|
83
|
+
"sortablejs": "https://ga.jspm.io/npm:sortablejs@1.15.0/modular/sortable.esm.js",
|
84
|
+
"trix": "https://ga.jspm.io/npm:trix@2.0.0-beta.0/dist/trix.js",
|
85
|
+
"hyper_kitten_meow/application": "/assets/hyper_kitten_meow/application-18cb6ca0cdc2dc660e6211a74b9c9fd90ee26b70.js",
|
86
|
+
"hyper_kitten_meow/controllers/application": "/assets/hyper_kitten_meow/controllers/application-a45fcffa4627508814a7727d04043357d1dcedbe.js",
|
87
|
+
"hyper_kitten_meow/controllers": "/assets/hyper_kitten_meow/controllers/index-75d6331f3e6ac38720595fca892d1179c84dd34e.js",
|
88
|
+
"hyper_kitten_meow/controllers/menu_items_form_controller": "/assets/hyper_kitten_meow/controllers/menu_items_form_controller-82ceff726898a80786aca24b9ae62b5862bd41b0.js"
|
89
|
+
}
|
90
|
+
}</script>
|
91
|
+
<link rel="modulepreload" href="/assets/stimulus.min-aab608fae21f2c1bac54028a5ea332762374c7d5.js">
|
92
|
+
<link rel="modulepreload" href="/assets/stimulus-loading-e367296568a6df104dc84fcfe5d1aafae5076fc0.js">
|
93
|
+
<script src="/assets/es-module-shims.min-f7a11f41d669b1f9ca6432c0ba58580ba2b4087a.js" async="async" data-turbo-track="reload"></script>
|
94
|
+
<script type="module">import "application"</script>
|
95
|
+
<script type="module">import "hyper_kitten_meow/application"</script>
|
96
|
+
|
97
|
+
</head>
|
98
|
+
<body class="h-100">
|
99
|
+
<div class="container-fluid h-100">
|
100
|
+
<div class="row h-100">
|
101
|
+
<nav class="col-md-3 col-lg-2 d-md-block sidebar bg-dark text-white d-flex flex-column">
|
102
|
+
<h2 class="mb-3 mt-3">Meow</h2>
|
103
|
+
<hr>
|
104
|
+
<ul class="nav nav-pills flex-column mb-auto">
|
105
|
+
<li class="nav-item"><a class="nav-link text-white" href="/hyper-kitten-meow/admin/posts">Posts</a></li>
|
106
|
+
<li class="nav-item"><a class="nav-link text-white" href="/hyper-kitten-meow/admin/pages">Pages</a></li>
|
107
|
+
<li class="nav-item"><a class="nav-link text-white" href="/hyper-kitten-meow/admin/menus">Menus</a></li>
|
108
|
+
<li class="nav-item"><a class="nav-link text-white" href="/hyper-kitten-meow/admin/tags">Tags</a></li>
|
109
|
+
<li class="nav-item"><a class="nav-link text-white" href="/hyper-kitten-meow/admin/users">Users</a></li>
|
110
|
+
</ul>
|
111
|
+
<hr>
|
112
|
+
<a class="nav-link d-flex align-items-center text-white text-decoration-none dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" href="#"><strong>Baker Biscuit Boi</strong>
|
113
|
+
</a><ul class="dropdown-menu dropdown-menu-dark text-small shadow">
|
114
|
+
<li><a class="dropdown-item" href="/hyper-kitten-meow/admin/logout">Log Out</a></li>
|
115
|
+
</ul>
|
116
|
+
</nav>
|
117
|
+
<div class="col-md-9 col-lg-10 mt-3 px-4">
|
118
|
+
<section class="posts">
|
119
|
+
<div class="d-flex justify-content-between">
|
120
|
+
<h2>Posts</h2>
|
121
|
+
<div class="action">
|
122
|
+
<a class="btn btn-primary" href="/hyper-kitten-meow/admin/posts/new">Add New</a>
|
123
|
+
</div>
|
124
|
+
</div>
|
125
|
+
<table class="table">
|
126
|
+
<thead>
|
127
|
+
<tr>
|
128
|
+
<th>Title</th>
|
129
|
+
<th>Article</th>
|
130
|
+
<th>Author</th>
|
131
|
+
<th>Slug</th>
|
132
|
+
<th>Tags</th>
|
133
|
+
<th>Manage</th>
|
134
|
+
</tr>
|
135
|
+
</thead>
|
136
|
+
<tbody>
|
137
|
+
<tr class="post not-published align-middle">
|
138
|
+
<td>Title10</td>
|
139
|
+
<td>my summary</td>
|
140
|
+
<td>Baker Biscuit Boi</td>
|
141
|
+
<td>title10</td>
|
142
|
+
<td></td>
|
143
|
+
<td><a class="btn btn-sm btn-outline-info" href="/hyper-kitten-meow/admin/posts/title10/edit">Edit</a></td>
|
144
|
+
</tr>
|
145
|
+
<tr class="post published align-middle">
|
146
|
+
<td>Test Title</td>
|
147
|
+
<td>Hello
|
148
|
+
This is a post.
|
149
|
+
</td>
|
150
|
+
<td>Admin</td>
|
151
|
+
<td>test-title</td>
|
152
|
+
<td></td>
|
153
|
+
<td><a class="btn btn-sm btn-outline-info" href="/hyper-kitten-meow/admin/posts/test-title/edit">Edit</a></td>
|
154
|
+
</tr>
|
155
|
+
</tbody>
|
156
|
+
</table>
|
157
|
+
<nav class="pagy-bootstrap-nav" aria-label="pager"><ul class="pagination"><li class="page-item prev"><a href="/hyper-kitten-meow/admin/posts?page=1" class="page-link" rel="prev" aria-label="previous">‹ Prev</a></li><li class="page-item"><a href="/hyper-kitten-meow/admin/posts?page=1" class="page-link" rel="prev">1</a></li><li class="page-item active"><a href="/hyper-kitten-meow/admin/posts?page=2" class="page-link">2</a></li><li class="page-item next disabled"><a href="#" class="page-link">Next ›</a></li></ul></nav>
|
158
|
+
</section>
|
159
|
+
|
160
|
+
</div>
|
161
|
+
</div>
|
162
|
+
</div>
|
163
|
+
|
164
|
+
|
165
|
+
</body></html>
|
@@ -0,0 +1,157 @@
|
|
1
|
+
<html class="h-100"><head><style type="text/css" data-tag-name="trix-editor">trix-editor {
|
2
|
+
display: block;
|
3
|
+
}
|
4
|
+
|
5
|
+
trix-editor:empty:not(:focus)::before {
|
6
|
+
content: attr(placeholder);
|
7
|
+
color: graytext;
|
8
|
+
cursor: text;
|
9
|
+
pointer-events: none;
|
10
|
+
white-space: pre-line;
|
11
|
+
}
|
12
|
+
|
13
|
+
trix-editor a[contenteditable=false] {
|
14
|
+
cursor: text;
|
15
|
+
}
|
16
|
+
|
17
|
+
trix-editor img {
|
18
|
+
max-width: 100%;
|
19
|
+
height: auto;
|
20
|
+
}
|
21
|
+
|
22
|
+
trix-editor [data-trix-attachment] figcaption textarea {
|
23
|
+
resize: none;
|
24
|
+
}
|
25
|
+
|
26
|
+
trix-editor [data-trix-attachment] figcaption textarea.trix-autoresize-clone {
|
27
|
+
position: absolute;
|
28
|
+
left: -9999px;
|
29
|
+
max-height: 0px;
|
30
|
+
}
|
31
|
+
|
32
|
+
trix-editor [data-trix-attachment] figcaption[data-trix-placeholder]:empty::before {
|
33
|
+
content: attr(data-trix-placeholder);
|
34
|
+
color: graytext;
|
35
|
+
}
|
36
|
+
|
37
|
+
trix-editor [data-trix-cursor-target] {
|
38
|
+
display: inline-block !important;
|
39
|
+
width: 1px !important;
|
40
|
+
padding: 0 !important;
|
41
|
+
margin: 0 !important;
|
42
|
+
border: none !important;
|
43
|
+
}
|
44
|
+
|
45
|
+
trix-editor [data-trix-cursor-target=left] {
|
46
|
+
vertical-align: top !important;
|
47
|
+
margin-left: -1px !important;
|
48
|
+
}
|
49
|
+
|
50
|
+
trix-editor [data-trix-cursor-target=right] {
|
51
|
+
vertical-align: bottom !important;
|
52
|
+
margin-right: -1px !important;
|
53
|
+
}</style><style type="text/css" data-tag-name="trix-toolbar">trix-toolbar {
|
54
|
+
display: block;
|
55
|
+
}
|
56
|
+
|
57
|
+
trix-toolbar {
|
58
|
+
white-space: nowrap;
|
59
|
+
}
|
60
|
+
|
61
|
+
trix-toolbar [data-trix-dialog] {
|
62
|
+
display: none;
|
63
|
+
}
|
64
|
+
|
65
|
+
trix-toolbar [data-trix-dialog][data-trix-active] {
|
66
|
+
display: block;
|
67
|
+
}
|
68
|
+
|
69
|
+
trix-toolbar [data-trix-dialog] [data-trix-validate]:invalid {
|
70
|
+
background-color: #ffdddd;
|
71
|
+
}</style>
|
72
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
73
|
+
<title>Meow</title>
|
74
|
+
<link rel="stylesheet" crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3">
|
75
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/trix/1.3.1/trix.min.css">
|
76
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css">
|
77
|
+
<script type="importmap" data-turbo-track="reload">{
|
78
|
+
"imports": {
|
79
|
+
"bootstrap": "https://ga.jspm.io/npm:bootstrap@5.2.2/dist/js/bootstrap.esm.js",
|
80
|
+
"@popperjs/core": "https://ga.jspm.io/npm:@popperjs/core@2.11.6/lib/index.js",
|
81
|
+
"@hotwired/stimulus": "/assets/stimulus.min-aab608fae21f2c1bac54028a5ea332762374c7d5.js",
|
82
|
+
"@hotwired/stimulus-loading": "/assets/stimulus-loading-e367296568a6df104dc84fcfe5d1aafae5076fc0.js",
|
83
|
+
"sortablejs": "https://ga.jspm.io/npm:sortablejs@1.15.0/modular/sortable.esm.js",
|
84
|
+
"trix": "https://ga.jspm.io/npm:trix@2.0.0-beta.0/dist/trix.js",
|
85
|
+
"hyper_kitten_meow/application": "/assets/hyper_kitten_meow/application-18cb6ca0cdc2dc660e6211a74b9c9fd90ee26b70.js",
|
86
|
+
"hyper_kitten_meow/controllers/application": "/assets/hyper_kitten_meow/controllers/application-a45fcffa4627508814a7727d04043357d1dcedbe.js",
|
87
|
+
"hyper_kitten_meow/controllers": "/assets/hyper_kitten_meow/controllers/index-75d6331f3e6ac38720595fca892d1179c84dd34e.js",
|
88
|
+
"hyper_kitten_meow/controllers/menu_items_form_controller": "/assets/hyper_kitten_meow/controllers/menu_items_form_controller-82ceff726898a80786aca24b9ae62b5862bd41b0.js"
|
89
|
+
}
|
90
|
+
}</script>
|
91
|
+
<link rel="modulepreload" href="/assets/stimulus.min-aab608fae21f2c1bac54028a5ea332762374c7d5.js">
|
92
|
+
<link rel="modulepreload" href="/assets/stimulus-loading-e367296568a6df104dc84fcfe5d1aafae5076fc0.js">
|
93
|
+
<script src="/assets/es-module-shims.min-f7a11f41d669b1f9ca6432c0ba58580ba2b4087a.js" async="async" data-turbo-track="reload"></script>
|
94
|
+
<script type="module">import "application"</script>
|
95
|
+
<script type="module">import "hyper_kitten_meow/application"</script>
|
96
|
+
|
97
|
+
</head>
|
98
|
+
<body class="h-100">
|
99
|
+
<div class="container-fluid h-100">
|
100
|
+
<div class="row h-100">
|
101
|
+
<nav class="col-md-3 col-lg-2 d-md-block sidebar bg-dark text-white d-flex flex-column">
|
102
|
+
<h2 class="mb-3 mt-3">Meow</h2>
|
103
|
+
<hr>
|
104
|
+
<ul class="nav nav-pills flex-column mb-auto">
|
105
|
+
<li class="nav-item"><a class="nav-link text-white" href="/hyper-kitten-meow/admin/posts">Posts</a></li>
|
106
|
+
<li class="nav-item"><a class="nav-link text-white" href="/hyper-kitten-meow/admin/pages">Pages</a></li>
|
107
|
+
<li class="nav-item"><a class="nav-link text-white" href="/hyper-kitten-meow/admin/menus">Menus</a></li>
|
108
|
+
<li class="nav-item"><a class="nav-link text-white" href="/hyper-kitten-meow/admin/tags">Tags</a></li>
|
109
|
+
<li class="nav-item"><a class="nav-link text-white" href="/hyper-kitten-meow/admin/users">Users</a></li>
|
110
|
+
</ul>
|
111
|
+
<hr>
|
112
|
+
<a class="nav-link d-flex align-items-center text-white text-decoration-none dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" href="#"><strong>Baker Biscuit Boi</strong>
|
113
|
+
</a><ul class="dropdown-menu dropdown-menu-dark text-small shadow">
|
114
|
+
<li><a class="dropdown-item" href="/hyper-kitten-meow/admin/logout">Log Out</a></li>
|
115
|
+
</ul>
|
116
|
+
</nav>
|
117
|
+
<div class="col-md-9 col-lg-10 mt-3 px-4">
|
118
|
+
<section class="posts">
|
119
|
+
<div class="d-flex justify-content-between">
|
120
|
+
<h2>Posts</h2>
|
121
|
+
<div class="action">
|
122
|
+
<a class="btn btn-primary" href="/hyper-kitten-meow/admin/posts/new">Add New</a>
|
123
|
+
</div>
|
124
|
+
</div>
|
125
|
+
<table class="table">
|
126
|
+
<thead>
|
127
|
+
<tr>
|
128
|
+
<th>Title</th>
|
129
|
+
<th>Article</th>
|
130
|
+
<th>Author</th>
|
131
|
+
<th>Slug</th>
|
132
|
+
<th>Tags</th>
|
133
|
+
<th>Manage</th>
|
134
|
+
</tr>
|
135
|
+
</thead>
|
136
|
+
<tbody>
|
137
|
+
<tr class="post published align-middle">
|
138
|
+
<td>Test Title</td>
|
139
|
+
<td>Hello
|
140
|
+
This is a post.
|
141
|
+
</td>
|
142
|
+
<td>Admin</td>
|
143
|
+
<td>test-title</td>
|
144
|
+
<td></td>
|
145
|
+
<td><a class="btn btn-sm btn-outline-info" href="/hyper-kitten-meow/admin/posts/test-title/edit">Edit</a></td>
|
146
|
+
</tr>
|
147
|
+
</tbody>
|
148
|
+
</table>
|
149
|
+
<nav class="pagy-bootstrap-nav" aria-label="pager"><ul class="pagination"><li class="page-item prev disabled"><a href="#" class="page-link">‹ Prev</a></li><li class="page-item active"><a href="/hyper-kitten-meow/admin/posts?page=1" class="page-link">1</a></li><li class="page-item next disabled"><a href="#" class="page-link">Next ›</a></li></ul></nav>
|
150
|
+
</section>
|
151
|
+
|
152
|
+
</div>
|
153
|
+
</div>
|
154
|
+
</div>
|
155
|
+
|
156
|
+
|
157
|
+
</body></html>
|
@@ -0,0 +1 @@
|
|
1
|
+
<html><head></head><body></body></html>
|
@@ -0,0 +1 @@
|
|
1
|
+
<html><head></head><body></body></html>
|
@@ -0,0 +1 @@
|
|
1
|
+
<html><head></head><body></body></html>
|
@@ -0,0 +1 @@
|
|
1
|
+
<html><head></head><body></body></html>
|
@@ -0,0 +1 @@
|
|
1
|
+
<html><head></head><body></body></html>
|