Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
phorward committed Sep 25, 2024
1 parent 24737f0 commit 0294975
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 28 deletions.
6 changes: 3 additions & 3 deletions deploy/html/todo_add.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ <h1 class="headline">Kontaktieren Sie Uns</h1>

<p class="paragraph">
Haben Sie eine Frage oder ein Problem? Zögern Sie nicht und
kontaktieren Sie uns direkt über unser Kontaktformular.
Wir werden uns so schenll wie möglich um Ihr Anliegen kümmern.
kontaktieren Sie uns direkt über unser Kontaktformular.<br>
Wir werden uns so schnell wie möglich um Ihr Anliegen kümmern.
<br>
Unser Service-Team ist Montag bid Freitag zwischen 9 und 16 Uhr für
Unser Service-Team ist Montag bis Freitag zwischen 9 und 16 Uhr für
Sie da.
<br><br>
Wir freuen uns von Ihnen zu hören.
Expand Down
26 changes: 9 additions & 17 deletions deploy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#
# ------------------------------------------------------------------------------

from viur.core import conf, db, email, securityheaders, secret, current, errors, setup
from viur.core import conf, db, email, securityheaders, secret, current, errors, setup, setDefaultLanguage
from viur.core.config import ConfigType


Expand Down Expand Up @@ -128,21 +128,13 @@ class ProjectConfig(ConfigType):
# Admin specific configurations
#

conf.admin.name = \
conf.project.appnames.get(conf.instance.project_id, conf.instance.project_id) \
+ " v" + conf.project.version

# conf.admin.logo = "/static/images/logo.svg"
# conf.admin.login_logo = "/static/images/logo.svg"
# conf.admin.login_background = "login-backgound-2.jpg"
# conf.admin.color_primary = "#2e7291"
# conf.admin.color_secondary = "#15a995"
# conf.admin.module_groups = {
# "system": {
# "name": "System",
# "icon": "gear",
# },
# }
conf.admin.name = "DiWoDo 2024 - Hausverwaltung"

conf.admin.logo = "/static/site/images/logo.svg"
conf.admin.login_logo = "/static/site/images/logo.svg"
conf.admin.login_background = "/static/site/images/stage.jpg"
conf.admin.color_primary = "#970000"
conf.admin.color_secondary = "#000000"

# ------------------------------------------------------------------------------
# Email configuration
Expand Down Expand Up @@ -241,5 +233,5 @@ def vuejs_cors_allow_all(path):
import modules # noqa
import render # noqa

# core.setDefaultLanguage("de")
setDefaultLanguage("de")
app = setup(modules, render)
9 changes: 5 additions & 4 deletions sources/site/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions sources/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
},
"devDependencies": {
"@csstools/postcss-bundler": "^1.0.14",
"postcss-import": "^16.1.0",
"@csstools/postcss-global-data": "^3.0.0",
"@vitejs/plugin-vue": "^5.1.3",
"postcss": "^8.4.39",
"postcss-cli": "^11.0.0",
"postcss-discard-comments": "^7.0.1",
"postcss-focus": "^7.0.0",
"postcss-import": "^16.1.0",
"postcss-preset-env": "^9.5.15",
"postcss-sort-media-queries": "^5.2.0",
"postcss-url": "^10.1.3",
"@csstools/postcss-global-data": "^3.0.0",
"@vitejs/plugin-vue": "^5.1.3",
"rollup-plugin-copy": "^3.5.0",
"sharp": "^0.33.5",
"svgo": "^3.3.2",
Expand All @@ -29,9 +29,9 @@
"dependencies": {
"@ckeditor/ckeditor5-vue": "^5.1.0",
"@viur/ckeditor5-build-classic": "^1.0.3-v38.0.1",
"@viur/vue-utils": "^1.7.4",
"@viur/ignite": "^5.1.2",
"@viur/shoelace": "^1.0.8-v2.16.0",
"@viur/vue-utils": "^1.7.8",
"pinia": "^2.2.2",
"vue": "^3.5.4"
}
Expand Down
1 change: 1 addition & 0 deletions sources/site/vue/components/TodoAddForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
ref="addform"
module="todo"
action="add"
:useCategories="false"
>
</vi-form>
</div>
Expand Down

0 comments on commit 0294975

Please sign in to comment.