aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/main.php
AgeCommit message (Collapse)AuthorFilesLines
2024-12-01PHP Keywords and types should be in lowercaseThomas Lange1-3/+3
Follow PSR-12 and use lowercase variants of PHP reserved keywords. See: https://www.php-fig.org/psr/psr-12/#25-keywords-and-types Find all uppercase occurrences of "or", "and", "null", "true" and "false" and change them to the lowercase variant.
2024-11-29Rename "rsrc" directories to "static"Thomas Lange1-3/+3
Stop using "rsrc" as name for the directories which contain static files and rename them to "static". This affects the global static directory and the subdirectories in the theme directories. If you've stored your own files in the old global "rsrc" directory, you must move them to the new "static" directory.
2024-01-23Remove trailing slash on void elementsThomas Lange1-5/+5
The trailing slash on void elements (self-closing tags) doesn't have any effect, isn't required by HTML5 and it is recommended to not use it.
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 dark color mode for admin themeThomas Lange1-1/+24
This commit adds a dark color mode for the admin theme. The dark color mode can be enabled/disabled by clicking the hyperlink in the footer. It is not perfect yet (it uses cookies and needs a full page reload), but it works just fine for the moment. Hope your eyes can enjoy it!
2021-07-01Add category system to categorize posts (readme)Thomas Lange1-0/+1
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-26Add and change some Fontello icons for admin themeThomas Lange1-2/+2
2021-06-24Implement database schema MigratorThomas Lange1-1/+1
This commit implements the new database schema Migrator which keeps track of the on-disk schema and the schema used by the codebase. It tries to makes future database schema upgrades user-friendlier.
2021-06-23Show custom title and description in admin headerThomas Lange1-2/+2
2021-06-13Use grid layout for items in administration areaThomas Lange1-5/+3
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-12Use SCSS for stylesheetsThomas Lange1-1/+1
2021-05-25Change header icon link in admin themeThomas Lange1-1/+3
This commit changes the URL of the icon link in the admin theme. The link now leads to the blogs home page instead of the admin dashboard.
2019-10-29Remove PHP closing tags and add LF to text filesThomas Lange1-1/+1
Remove the unnecessary PHP closing tags and ensure that *all* text files ending with a LF character.
2019-05-05Update CSS layoutThomas Lange1-7/+7
2019-04-26Rename "template" directory to "theme"Thomas Lange1-0/+52
This commit renames the "template" directory to "theme" because "theme" is the more correct term here.