app.css | ●●●●● patch | view | raw | blame | history | |
app.js | ●●●●● patch | view | raw | blame | history |
app.css
@@ -1,5 +1,10 @@ /* ehem. app-layout anfang */ /* app-layout anfang Aus dem app-layout-Projekt übernommen und teilweise angepasst */ html, body { margin: 0; @@ -34,7 +39,7 @@ .west { flex-grow: 0; flex-shrink: 0; flex-basis: 10em; flex-basis: 4em; background-color: antiquewhite; transition: all 0.3s ease-in; overflow: hidden; @@ -47,14 +52,6 @@ flex-basis: 10em; background-color: antiquewhite; } /* .zentrum { width: 100%; height: 100%; overflow: auto; -webkit-overflow-scrolling: touch; } */ .zentrum { display: flex; flex-flow: row; @@ -70,9 +67,7 @@ immer ueber das gesamte Browserfenster ausdehnt. */ /* ehem. app-layout ende */ /* app-layout ende */ #app-titel { padding-left: 2em; @@ -86,7 +81,6 @@ display: flex; flex-flow: column; } /* Dialogfeld */ app.js
@@ -4,13 +4,13 @@ var TPL_DLG_MSG = 'dlg-msg'; var TPL_DLG_INFO = 'dlg-info'; var TPL_DLG_SENDER = 'dlg-sender'; var templateCache = {}; // mustache templates 'home', 'prefs', 'sender' var templateCache = {}; // mustache templates var prefsRendered = false; function app_init() { $('.dialog').hide(); $('.ost').hide(); app_menu_init("data/menu/", "hauptmenue.json", "../jslib/app-menu/app-menu.tpl", ".west"); app_menu_init("data/menu/", "hauptmenue.json", "../jslib/app-menu/app-menu.tpl", ".west", "8em"); app_get_template('data/tpl/dlg-msg.tpl', TPL_DLG_MSG); app_get_template('data/tpl/dlg-info.tpl', TPL_DLG_INFO); app_get_template('data/tpl/sender.tpl', TPL_SENDER); @@ -26,10 +26,12 @@ function app_nachricht_test() { app_dialog_laden_und_zeigen(templateCache[TPL_DLG_MSG], 'data/msg-test.json'); app_menu_toggle(); } function app_info_dialog_zeigen() { app_dialog_laden_und_zeigen(templateCache[TPL_DLG_INFO], ''); app_menu_toggle(); } function app_neuer_sender() {