| | |
| | | var TPL_SENDER = 'sender'; |
| | | 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 prefsRendered = false; |
| | | |
| | |
| | | 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); |
| | | app_get_template('data/tpl/dlg-sender-edit.tpl', TPL_DLG_SENDER); |
| | | //app_get_template('tpl/prefs.tpl', 'prefs'); |
| | | $('.sued').text('Bereit.'); |
| | | setTimeout(function() { |
| | |
| | | app_nachricht_zeigen(templateCache[TPL_DLG_INFO], ''); |
| | | } |
| | | |
| | | function app_neuer_sender() { |
| | | app_nachricht_zeigen(templateCache[TPL_DLG_SENDER], ''); |
| | | } |
| | | |
| | | |
| | | /* --- Sonstiges --- */ |
| | | |
| | | function app_dialog_zeigen(vorlage, inhalt) { |