| | |
| | | flex-grow: 0; |
| | | flex-shrink: 0; |
| | | flex-basis: 4em; |
| | | background-color: white; |
| | | background-color: #ececec; /* white; */ |
| | | transition: all 0.3s ease-in; |
| | | overflow: hidden; |
| | | white-space: nowrap; |
| | |
| | | overflow-x: hidden; |
| | | overflow-y: auto; |
| | | -webkit-overflow-scrolling: touch; |
| | | background-color: white; |
| | | } |
| | | |
| | | .zentraler-inhalt { |
| | |
| | | } |
| | | |
| | | .dlg-info { |
| | | background-color: #dcf2fb; // blau |
| | | background-color: #dcf2fb; /* blau */ |
| | | padding: 0.4em; |
| | | } |
| | | |
| | |
| | | flex-flow: column; |
| | | } |
| | | |
| | | .entity-liste-kopf { |
| | | display: flex; |
| | | flex-flow: row; |
| | | justify-content: space-between; |
| | | vertical-align: middle; |
| | | } |
| | | |
| | | .entity-liste-kopf .button { |
| | | /* margin-left: 1rem; */ |
| | | /* margin-top: -0.2rem; */ |
| | | } |
| | | |
| | | .entity-element { |
| | | margin: 0.4rem; |
| | | } |
| | | |
| | | .entity-element:hover { |
| | | background-color: background; |
| | | } |
| | | |
| | | .entity-liste { |
| | |
| | | margin-left: 0; |
| | | margin-right: 0; |
| | | margin-bottom: 0; |
| | | cursor: pointer; |
| | | } |
| | | |
| | | .entity-eintrag:hover { |
| | | background-color: background; |
| | | } |
| | | |
| | | .form-button-footer { |
| | |
| | | margin-left: 0.4rem; |
| | | } |
| | | |
| | | /* |
| | | |
| | | @media (min-width: 800px) { |
| | | .zentrum-behaelter { |
| | | padding: 0 1em 0 1em; |
| | | } |
| | | .zentrum-behaelter, .nord { |
| | | .zentraler-inhalt { |
| | | margin: 0 10% 0 10%; |
| | | } |
| | | } |
| | |
| | | "funktion": "app.ablageort_liste" |
| | | }, |
| | | { |
| | | "titel": "Neuer Ablageort", |
| | | "umenue": false, |
| | | "funktion": "app.ablageort_form" |
| | | }, |
| | | { |
| | | "titel": "Seite umschalten", |
| | | "umenue": false, |
| | | "funktion": "app.seitenleiste_umschalten" |
| | |
| | | |
| | | <div class='entity-formular'> |
| | | Ablageorte |
| | | <div class='entity-liste-kopf'> |
| | | Ablageorte |
| | | <button class='button' id='neu-btn'>Neu</button> |
| | | </div> |
| | | <ul class='entity-liste'> |
| | | {{#ArrayList}} |
| | | <li class='entity-eintrag'>{{.}}</li> |
| | |
| | | self.ablageort_form(ablageort); |
| | | }); |
| | | }); |
| | | self.addEvtListener('#neu-btn', 'click', function (event) { |
| | | eval("self.ablageort_form" + "(this)"); |
| | | }); |
| | | }); |
| | | }); |
| | | }; |
| | |
| | | }); |
| | | } |
| | | document.querySelector(".zentraler-inhalt").innerHTML = ''; |
| | | self.ablageort_liste(); |
| | | }); |
| | | self.addEvtListener('#cancel-btn', 'click', function () { |
| | | document.querySelector(".zentraler-inhalt").innerHTML = ''; |
| | | self.ablageort_liste(); |
| | | }); |
| | | self.addEvtListener('#loeschen-btn', 'click', function() { |
| | | var aoname = document.querySelector('#ablageort-name').value; |
| | |
| | | // hier die Antwort verarbeiten |
| | | self.dialog_schliessen(); |
| | | document.querySelector(".zentraler-inhalt").innerHTML = ''; |
| | | self.ablageort_liste(); |
| | | }); |
| | | }); |
| | | }); |
| | |
| | | } |
| | | }; |
| | | |
| | | /* asynchroner HTTP Client */ |
| | | |
| | | this.http_get = function (u, cb) { |
| | | self.http_call('GET', u, null, cb); |
| | | }; |