From dc04495e7b7aa8b41edb3fce1d85c14bd5a4af2d Mon Sep 17 00:00:00 2001
From: ulrich <not disclosed>
Date: Fri, 05 Jan 2018 10:34:41 +0000
Subject: [PATCH] Dialoge vereinheitlicht

---
 data/tpl/dlg-sender-edit.tpl |    8 ++++++--
 data/tpl/dlg-info.tpl        |    8 +++++---
 data/tpl/dlg-msg.tpl         |    4 +++-
 app.css                      |   26 +++++++++++++++++++++-----
 4 files changed, 35 insertions(+), 11 deletions(-)

diff --git a/app.css b/app.css
index 89e9593..031c422 100644
--- a/app.css
+++ b/app.css
@@ -91,10 +91,30 @@
 /* Dialogfeld */
 
 .dialog {
-  background-color: #fffbde;
   position: relative;
 }
 
+.dlg-behaelter {
+  padding: 0.4em;
+}
+
+.dlg-info {
+  background-color: #dcf2fb; // blau
+  padding: 0.4em;
+}
+
+.nachricht {
+  background-color: #fffbde; // gelb
+}
+
+.form-button-footer {
+  text-align: right;
+}
+
+.dlg-sender-edit {
+  /* background-color: #f6f6f6; // grau */
+  background-color: #dcf2fb; // blau
+}
 
 /*
   Close Button
@@ -112,10 +132,6 @@
   padding: 0;
   font-size: 1.3em;
   color: #b8b8b8;
-}
-
-.dlg-info {
-  background-color: #dcf2fb;
 }
 
 /* Sender */
diff --git a/data/tpl/dlg-info.tpl b/data/tpl/dlg-info.tpl
index 1da50af..b4071f7 100644
--- a/data/tpl/dlg-info.tpl
+++ b/data/tpl/dlg-info.tpl
@@ -1,6 +1,8 @@
 <div class="dlg-info">
   <span class="close-btn pointer-cursor">&#10006;</span>
-  <div class="dlg-info-app-titel">radio-ui</div>
-  <div class="dlg-info-app-info">Eine Bedienoberfläche für Webradio von <a href='https://uhilger.de'>Ulrich Hilger</a>.</div>
-  <div class="dlg-info-app-info">Weitere Infos im <a href='https://uhilger.de/gitblit/docs/web!radio-ui.git'>Code-Repository</a>.</div>
+  <div class="dlg-behaelter">
+    <div class="dlg-info-app-titel">radio-ui</div>
+    <div class="dlg-info-app-info">Eine Bedienoberfläche für Webradio von <a href='https://uhilger.de'>Ulrich Hilger</a>.</div>
+    <div class="dlg-info-app-info">Weitere Infos im <a href='https://uhilger.de/gitblit/docs/web!radio-ui.git'>Code-Repository</a>.</div>
+  </div>
 </div>
diff --git a/data/tpl/dlg-msg.tpl b/data/tpl/dlg-msg.tpl
index b5d0ff5..2122dbe 100644
--- a/data/tpl/dlg-msg.tpl
+++ b/data/tpl/dlg-msg.tpl
@@ -1,4 +1,6 @@
 <div class="{{typ}}">
   <span class="close-btn pointer-cursor">&#10006;</span>
-  {{text}}
+  <div class="dlg-behaelter">
+    {{text}}
+  </div>
 </div>
diff --git a/data/tpl/dlg-sender-edit.tpl b/data/tpl/dlg-sender-edit.tpl
index 792e99c..b399524 100644
--- a/data/tpl/dlg-sender-edit.tpl
+++ b/data/tpl/dlg-sender-edit.tpl
@@ -1,10 +1,14 @@
 <div class="dlg-sender-edit">
   <span class="close-btn pointer-cursor">&#10006;</span>
-  <div class="sender-form">
+  <div class="dlg-behaelter">
+    <div class="dlg-sender-titel">Neuer Sender</div>
     <form>
       <input id="sender-name" placeholder="Name" type="text" class="sender-eingabe"></br>
       <input id="sender-logo" placeholder="Logo" type="text" class="sender-eingabe"></br>
-      <input id="sender-url" placeholder="URL" type="text" class="sender-eingabe">
+      <input id="sender-url" placeholder="URL" type="text" class="sender-eingabe"></br>
+      <div class="form-button-footer">
+        <button type="button" id="berechnen">Speichern</button>
+      </div>
     </form>
   </div>
 </div>

--
Gitblit v1.9.3