72 Commits (782d66aed04372e8768f9787440bbe27e6cbfe39)
 

Author SHA1 Message Date
KKlochko 782d66aed0 Update the handler to get a article's row briefly.
1 year ago
KKlochko 88a9eb7749 Add a validation for the edit article form.
1 year ago
KKlochko 4e6d36d98c Update the main layout to ignore validation htmx requests.
1 year ago
KKlochko f493b47320 Add a validation for the create form.
1 year ago
KKlochko 634f7e41e2 Add a validation for the about form in the admin panel.
1 year ago
KKlochko a8fc0ab70c Add the example of .env.
1 year ago
KKlochko 6206b211ec Add the README.
1 year ago
KKlochko b14171da7b Update the footer's text for the white theme.
1 year ago
KKlochko 60f943d2ca Add the about page and the about content form to the admin panel.
1 year ago
KKlochko 38e89bc2db Add CRU for the about content.
1 year ago
KKlochko a5ffc29eba Update the article blocks to make the content uncentered.
1 year ago
KKlochko da7b6e6122 Add the validation for the /login page.
1 year ago
KKlochko 0d2566c8ce Update the white theme for the login page.
1 year ago
KKlochko 153ccabd23 Update the white theme for the navbar and the footer.
1 year ago
KKlochko f26e028fc4 Update the login template to prevent login if authorized.
1 year ago
KKlochko 69ef4e3069 Add the logout item to the navbar and the footer.
1 year ago
KKlochko 16d8e1f140 Add cookie-parser and session to use authorization.
1 year ago
KKlochko 3f1ba5a556 Add the middleware to prevent access to the admin panel if authorized.
1 year ago
KKlochko d70f03aee4 Add the authorization to login and logout as the admin.
1 year ago
KKlochko a1d48ceb64 Add a function to get the SECRET enviroment variable.
1 year ago
KKlochko 89d6fa229c Add cookie-parser and express-session for the authorization.
1 year ago
KKlochko 6c64fd5609 Update the values for the primary css classes.
1 year ago
KKlochko 8f9f47c73e Update the preview drawer's size to the update drawer's size.
1 year ago
KKlochko 8ee9b5b595 Add a drawer, routes, handlers to update an article.
1 year ago
KKlochko 09ce47614a Add the function to update an article.
1 year ago
KKlochko 74f220bcc8 Update ids for the preview modal in the admin panel.
1 year ago
KKlochko 7991d55600 Update the search to update without override other parameters and use alpinejs.
1 year ago
KKlochko 6d3eefcd35 Add the search for articles for the admin panel.
1 year ago
KKlochko dd72f8d489 Update the index page to save the search in the query parameters.
1 year ago
KKlochko cc3456fa3b Update the index page to the partial for articles.
1 year ago
KKlochko 9d2f940a07 Add the urls of main pages for navbar.
1 year ago
KKlochko 2f82f419d7 Add the search for articles on the index page.
1 year ago
KKlochko e464e9d70f Add auto-creating tables if they do not exists.
1 year ago
KKlochko df371f50a6 Update templates to move the navbar to the main layout.
1 year ago
KKlochko 65c8a49182 Update the navbar to highlight depend on the page.
1 year ago
KKlochko b79c1e4134 Add the separators between articles on the index page.
1 year ago
KKlochko 76cd096f70 Add the lazy loading for articles on the index page.
1 year ago
KKlochko c24fce08f3 Update the queries to get articles in the order new first.
1 year ago
KKlochko 9d7ec9888b Add a helper to format an article's timestamp.
1 year ago
KKlochko cbc813924e Update the article_row template to use helpers to make rows concise.
1 year ago
KKlochko 9c0e888284 Add the helpers for timestamp and brief contents.
1 year ago
KKlochko 5ce17d3aa8 Update the admin panel to show brief contents.
1 year ago
KKlochko 72b9e604ca Add functions to get an article or articles with the brief content.
1 year ago
KKlochko d8d8340aa2 Add the route and handler to delete a article.
1 year ago
KKlochko 9177e42fb0 Add the create modal, a route, a handler to create a article.
1 year ago
KKlochko 657d58d15f Update the admin panel to show the article counters.
1 year ago
KKlochko 75b7d84806 Fix that a new article row added as element instead of a child.
1 year ago
KKlochko 3bfe008326 Fix the dialog components won't toggle when a created row is added.
1 year ago
KKlochko 94e2ff7609 Add a feature to delete an article for the admin panel.
1 year ago
KKlochko 72cbb71d55 Add the delete-article to delete an article by the id.
1 year ago