From ea1ae0d0da0d945518a99e7d6e96670e7e28fb45 Mon Sep 17 00:00:00 2001 From: ulrich <undisclosed> Date: Mon, 06 Mar 2017 16:20:27 +0000 Subject: [PATCH] eigene Stile fuer TinyMCE; Link zur Hauptseite auf Login-Form --- web/login_form.html | 6 ++++++ web/ui/mce.css | 4 +++- web/ui/ui.js | 3 ++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/web/login_form.html b/web/login_form.html index 9719e85..b470c21 100644 --- a/web/login_form.html +++ b/web/login_form.html @@ -56,6 +56,9 @@ border-top-left-radius: 0; border-top-right-radius: 0; } + .backlink { + margin-top: 2em; + } </style> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> @@ -79,7 +82,10 @@ </label> --> <button class="btn btn-lg btn-primary btn-block" type="submit">Senden</button> + <p class="backlink"><a href="/">zurück zur Hauptseite</a></p> </form> + + </div> <!-- /container --> diff --git a/web/ui/mce.css b/web/ui/mce.css index 8b709b1..3b818ac 100644 --- a/web/ui/mce.css +++ b/web/ui/mce.css @@ -17,4 +17,6 @@ */ -body {font-size: 1em;} \ No newline at end of file +body {font-size: 1em;} + +p.myClass {color: blue;} \ No newline at end of file diff --git a/web/ui/ui.js b/web/ui/ui.js index f3587cb..ddf9e16 100644 --- a/web/ui/ui.js +++ b/web/ui/ui.js @@ -129,7 +129,7 @@ selector: "textarea.text-editor", statusbar: false, menubar: false, - plugins: 'advlist charmap code image link lists media print preview save table textcolor', + plugins: 'advlist charmap code image link lists media print preview save table textcolor importcss', toolbar: 'undo redo | styleselect | image | link unlink | bullist numlist | outdent indent | code', /* menu: { @@ -139,6 +139,7 @@ }, */ resize: 'both', + importcss_append: true, width: "100%", height: '100%', document_base_url : base + "/", -- Gitblit v1.9.3