aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/post
AgeCommit message (Collapse)AuthorFilesLines
2021-07-22Catch possible PDOException for search requestThomas Lange1-0/+10
Catch possible PDOException on search requests with queries like "*" and pass the exception message to the template for displaying.
2021-07-22Add pagination for search resultsThomas Lange1-0/+4
Add pagination for search results in the admin and default theme.
2021-07-14Do some minor optimizations on the admin themeThomas Lange1-1/+1
* Add noisy background images * Rename SCSS/CSS file "main" to "bright" * Remove uppercase text-transform for headings * Replace hardcoded font sizes with SCSS variables * Decrease font size for category link in post item template * Move right-floated ID before the heading in the HTML markup to ensure it does not moves to the second line if the heading text is too wide.
2021-07-05Add SCSS variables and do some minor optimizationsThomas Lange1-1/+1
This commit adds and uses variables for the SCSS files. Additionally, some minor optimizations have been done on the theme's HTML/CSS code.
2021-07-04Use CSS grid for admin search formsThomas Lange1-2/+7
2021-07-04Prettify the item meta elements in the admin themeThomas Lange1-6/+9
This commit prettifies the item meta elements in the admin theme and also removes those ugly square brackets. It looks a lot better now.
2021-07-04Use list for item meta elementsThomas Lange1-4/+10
2021-07-04Move ID into heading element and remove bracketsThomas Lange1-2/+4
2021-07-01Add category system to categorize posts (readme)Thomas Lange2-1/+29
This commit implements a new category system to categorize posts. Each category can have an unlimited number of nested children categories. A single post don't necessarily need to be in a category, but it can. Each category can have a full content body like posts or pages, so you have enough space to describe the content of your categories. Please note that you need to have at least the following MySQL/MariaDB versions to use the category system, because it uses "WITH RECURSIVE" database queries, the so-called "Common-Table-Expressions (CTE)". MariaDB: 10.2.2 MySQL: 8.0 See: https://mariadb.com/kb/en/with/ See: https://dev.mysql.com/doc/refman/8.0/en/with.html
2021-06-26Use shorthand ternary operator in admin formsThomas Lange1-1/+1
2021-06-26Fix bug in user select form fieldThomas Lange1-1/+1
2021-06-26Add and change some Fontello icons for admin themeThomas Lange2-2/+2
2021-06-19Remove ID form field (and rearrange other fields)Thomas Lange1-17/+10
This commit removes the ID form field, enlarges the title form field and rearranges the other form fields in the grid layout.
2021-06-13Use grid layout for items in administration areaThomas Lange5-6/+16
Introduce a new 1/2/3-column CSS grid layout in the administration area for items on overview pages and in the search results. The column count of the grid depends on the users viewport width. In addition, the default value of the following configuration settings has been changed to 12 because 12 can also be divided by 2 and 3 which is useful for the 1/2/3-column grid layout. ADMIN.PAGE.LIST_SIZE = 12 ADMIN.POST.LIST_SIZE = 12
2021-06-13Replace the flex layout in favor of a grid layoutThomas Lange2-43/+49
This commit replaces the initial CSS flexbox layout for forms of the admin theme with a more elegant approach called "grid layout". :) Some interesting information: https://www.w3schools.com/css/css_grid.asp https://blog.logrocket.com/flexbox-vs-css-grid/
2021-06-12Place message boxes outside the <form> elementsThomas Lange1-11/+11
2021-06-12Show first image from items contentThomas Lange1-1/+4
If a item has at least one Markdown image embedded in its content, show this image within the <blockquote> tag in the item.php template files.
2019-04-26Rename "template" directory to "theme"Thomas Lange7-0/+170
This commit renames the "template" directory to "theme" because "theme" is the more correct term here.