aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin
AgeCommit message (Collapse)AuthorFilesLines
2021-07-09Bugfix: Add CSS "word-break" propertyThomas Lange3-0/+3
2021-07-05Add dark color mode for admin themeThomas Lange9-8/+1281
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-05Add SCSS variables and do some minor optimizationsThomas Lange10-819/+896
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-04Remove unused CSS rules from admin themeThomas Lange2-76/+4
2021-07-04Use CSS grid for admin search formsThomas Lange4-4/+21
2021-07-04Prettify the item meta elements in the admin themeThomas Lange6-51/+51
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 Lange6-16/+52
2021-07-04Move ID into heading element and remove bracketsThomas Lange6-8/+20
2021-07-01Add category system to categorize posts (readme)Thomas Lange9-1/+208
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-07-01Add translations for upcoming category systemThomas Lange2-3/+15
2021-06-26Use shorthand ternary operator in admin formsThomas Lange3-3/+3
2021-06-26Fix bug in user select form fieldThomas Lange2-2/+2
2021-06-26Add and change some Fontello icons for admin themeThomas Lange16-405/+919
2021-06-24Implement database schema MigratorThomas Lange6-19/+125
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-19Remove ID form field (and rearrange other fields)Thomas Lange6-51/+48
This commit removes the ID form field, enlarges the title form field and rearranges the other form fields in the grid layout.
2021-06-19Fix missing margin on user listThomas Lange2-0/+9
2021-06-14Darken background on focused/active buttonsThomas Lange2-2/+21
2021-06-13Use grid layout for items in administration areaThomas Lange23-66/+166
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-13Ignore source maps for Javascript and CSSThomas Lange1-1/+0
2021-06-13Replace the flex layout in favor of a grid layoutThomas Lange11-277/+265
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-12Remove outline from focused form elementsThomas Lange2-0/+7
2021-06-12Place message boxes outside the <form> elementsThomas Lange7-53/+62
2021-06-12Show first image from items contentThomas Lange6-9/+40
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.
2021-06-12Use SCSS for stylesheetsThomas Lange7-509/+1411
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 Lange13-13/+12
Remove the unnecessary PHP closing tags and ensure that *all* text files ending with a LF character.
2019-05-05Update CSS layoutThomas Lange2-26/+36
2019-04-26Remove "box-sizing" property with invalid valueThomas Lange1-2/+0
The "box-sizing" property can only have two values: "content-box" (default) or "border-box" (the "padding-box" value has been removed from the specification a long time ago).
2019-04-26Rename "template" directory to "theme"Thomas Lange37-0/+2314
This commit renames the "template" directory to "theme" because "theme" is the more correct term here.