Styling und in Dash einbauen
This commit is contained in:
		@@ -30,6 +30,9 @@ var vue = new Vue({
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    methods: {
 | 
					    methods: {
 | 
				
			||||||
 | 
					        backToDash(){
 | 
				
			||||||
 | 
					            window.location.href = "/";
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
        fertig() {
 | 
					        fertig() {
 | 
				
			||||||
            if(!this.image){
 | 
					            if(!this.image){
 | 
				
			||||||
                this.image = this.dataPic
 | 
					                this.image = this.dataPic
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,8 +6,8 @@
 | 
				
			|||||||
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
 | 
					    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
 | 
				
			||||||
    <link rel='stylesheet' href='/stylesheets/style.css'>
 | 
					    <link rel='stylesheet' href='/stylesheets/style.css'>
 | 
				
			||||||
    <link rel='stylesheet' href='/stylesheets/colorpicker-style.css'>
 | 
					    <link rel='stylesheet' href='/stylesheets/colorpicker-style.css'>
 | 
				
			||||||
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU"
 | 
					    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css"
 | 
				
			||||||
        crossorigin="anonymous">
 | 
					        integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
 | 
				
			||||||
    <link rel='stylesheet' href='/bootstrap/dist/css/bootstrap.min.css'>
 | 
					    <link rel='stylesheet' href='/bootstrap/dist/css/bootstrap.min.css'>
 | 
				
			||||||
    <script src="https://www.gstatic.com/firebasejs/5.7.0/firebase.js"></script>
 | 
					    <script src="https://www.gstatic.com/firebasejs/5.7.0/firebase.js"></script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -28,9 +28,21 @@
 | 
				
			|||||||
                <button class="btn btn-outline-light border-secondary sl_add" style="color: black">Shoppingliste
 | 
					                <button class="btn btn-outline-light border-secondary sl_add" style="color: black">Shoppingliste
 | 
				
			||||||
                    Hinzufügen</button>
 | 
					                    Hinzufügen</button>
 | 
				
			||||||
            </li>
 | 
					            </li>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        </ul>
 | 
				
			||||||
 | 
					        <ul class="nav justify-content-end liste">
 | 
				
			||||||
 | 
					            <li class="nav-item">
 | 
				
			||||||
 | 
					                <a class="btn btn-outline-light border-secondary userbearbeiten" href="/user" style="color: black">User
 | 
				
			||||||
 | 
					                    bearbeiten</a>
 | 
				
			||||||
 | 
					            </li>
 | 
				
			||||||
 | 
					             
 | 
				
			||||||
 | 
					            <li class="nav-item">
 | 
				
			||||||
 | 
					                <button class="btn btn-outline-danger logout" style="color: red">Logout</button>
 | 
				
			||||||
 | 
					            </li>
 | 
				
			||||||
        </ul>
 | 
					        </ul>
 | 
				
			||||||
        <!-- <a href="/logout"> -->
 | 
					        <!-- <a href="/logout"> -->
 | 
				
			||||||
        <button class="btn btn-outline-light border-secondary logout" style="color: black">Logout</button>
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <!-- </a> -->
 | 
					        <!-- </a> -->
 | 
				
			||||||
    </nav>
 | 
					    </nav>
 | 
				
			||||||
    <br>
 | 
					    <br>
 | 
				
			||||||
@@ -60,8 +72,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <!-- Modal Group Hinzufügen -->
 | 
					    <!-- Modal Group Hinzufügen -->
 | 
				
			||||||
    <div class="modal fade bd-example-modal-sm ListenDetailAdd" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel"
 | 
					    <div class="modal fade bd-example-modal-sm ListenDetailAdd" tabindex="-1" role="dialog"
 | 
				
			||||||
        aria-hidden="true">
 | 
					        aria-labelledby="mySmallModalLabel" aria-hidden="true">
 | 
				
			||||||
        <div class="modal-dialog modal-sm">
 | 
					        <div class="modal-dialog modal-sm">
 | 
				
			||||||
            <div class="modal-content">
 | 
					            <div class="modal-content">
 | 
				
			||||||
                <div>
 | 
					                <div>
 | 
				
			||||||
@@ -129,8 +141,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <!-- Modal Item Hinzufügen -->
 | 
					    <!-- Modal Item Hinzufügen -->
 | 
				
			||||||
    <div class="modal fade bd-example-modal-sm GroupItemAdd" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel"
 | 
					    <div class="modal fade bd-example-modal-sm GroupItemAdd" tabindex="-1" role="dialog"
 | 
				
			||||||
        aria-hidden="true">
 | 
					        aria-labelledby="mySmallModalLabel" aria-hidden="true">
 | 
				
			||||||
        <div class="modal-dialog modal-sm">
 | 
					        <div class="modal-dialog modal-sm">
 | 
				
			||||||
            <div class="modal-content">
 | 
					            <div class="modal-content">
 | 
				
			||||||
                <div class="inhalt">
 | 
					                <div class="inhalt">
 | 
				
			||||||
@@ -145,7 +157,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                    <div class="form-group layout">
 | 
					                    <div class="form-group layout">
 | 
				
			||||||
                        <label for="Anzahl-example">Anzahl</label>
 | 
					                        <label for="Anzahl-example">Anzahl</label>
 | 
				
			||||||
                        <input type="number" class="form-control" id="inputGroupSelect01" placeholder="zB: 2" maxlength="3">
 | 
					                        <input type="number" class="form-control" id="inputGroupSelect01" placeholder="zB: 2"
 | 
				
			||||||
 | 
					                            maxlength="3">
 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
@@ -170,7 +183,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                    <div class="form-group layout">
 | 
					                    <div class="form-group layout">
 | 
				
			||||||
                        <label for="exampleInputPassword1">Beschreibung</label>
 | 
					                        <label for="exampleInputPassword1">Beschreibung</label>
 | 
				
			||||||
                        <input type="text" class="form-control" id="einkaufslistenbeschreibung" placeholder="zB: Großeinkauf bei Billa">
 | 
					                        <input type="text" class="form-control" id="einkaufslistenbeschreibung"
 | 
				
			||||||
 | 
					                            placeholder="zB: Großeinkauf bei Billa">
 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    <div class="form-group layout">
 | 
					                    <div class="form-group layout">
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,21 +22,28 @@
 | 
				
			|||||||
    <!-- Square card -->
 | 
					    <!-- Square card -->
 | 
				
			||||||
    <center>
 | 
					    <center>
 | 
				
			||||||
      <div class="demo-card-image mdl-card mdl-shadow--2dp">
 | 
					      <div class="demo-card-image mdl-card mdl-shadow--2dp">
 | 
				
			||||||
 | 
					          <button @click="backToDash" class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored mdl-js-ripple-effect"> Zurück
 | 
				
			||||||
 | 
					              zu SmartShopper</button>
 | 
				
			||||||
        <img v-bind:src="this.dataPic" width="100%" />
 | 
					        <img v-bind:src="this.dataPic" width="100%" />
 | 
				
			||||||
        <div class="mdl-card__title mdl-card--expand"></div>
 | 
					        <div class="mdl-card__title mdl-card--expand">
 | 
				
			||||||
 | 
					            
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
        <div class="mdl-card__actions">
 | 
					        <div class="mdl-card__actions">
 | 
				
			||||||
          <label for="nameinput">Name: </label><input type="text" id="nameinput" v-model="name">
 | 
					          <label for="nameinput">Name: </label><input type="text" id="nameinput" v-model="name">
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
        <div class="mdl-card__actions mdl-card--border">
 | 
					        <div class="mdl-card__actions mdl-card--border">
 | 
				
			||||||
          <div v-if="!showUploadButtons">
 | 
					          <div v-if="!showUploadButtons">
 | 
				
			||||||
            <input type="file" @change="onFileChange">
 | 
					              <Label class="input-custom-file mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--colored">
 | 
				
			||||||
 | 
					                  Foto ändern
 | 
				
			||||||
 | 
					                  <input type="file" @change="onFileChange">
 | 
				
			||||||
 | 
					                </label>
 | 
				
			||||||
            <button @click="fertig" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
 | 
					            <button @click="fertig" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
 | 
				
			||||||
              Fertig
 | 
					              Fertig
 | 
				
			||||||
            </button>
 | 
					            </button>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
          <div v-else>
 | 
					          <div v-else>
 | 
				
			||||||
            <button @click="removeImage" class="mdl-button mdl-button--raised mdl-button--accent">Remove image</button>
 | 
					            <button @click="removeImage" class="mdl-button mdl-js-button mdl-button--raised mdl-button--coloredmdl-js-ripple-effect mdl-button--accent">Remove image</button>
 | 
				
			||||||
            <button @click="fotoChoose" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
 | 
					            <button @click="fotoChoose" class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored mdl-js-ripple-effect">
 | 
				
			||||||
              Foto setzten
 | 
					              Foto setzten
 | 
				
			||||||
            </button>
 | 
					            </button>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user