Advertisement
lp-gamboa

beieza

May 28th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.95 KB | None | 0 0
  1.  <body>
  2.  
  3.         <div id='app'>
  4.         <div id='but'> <!-- this has changed! (this div is not new) -->
  5.         <tr> <!-- this has changed before adding above div und ist neccesary -->
  6.             <div id='title'> <!--  this is super new -->
  7.                 <td> <b> CRISP_EDU </b> </td>
  8.                 <td> <span style="display:inline-block; width: 20;"></span> </td>
  9.             </div>
  10.             <td><button id='discussion' style="height: 80px" @click="goto = 0">      
  11.                 </button></td>
  12.             <td> <span style="display:inline-block; width:60;"></span> </td> <!-- espacios botones -->  
  13.             <td><button id='chat' style="height: 80px" @click="goto = 1">
  14.                 </button></td>
  15.             <td> <span style="display:inline-block; width:60;"></span> </td> <!-- espacios botones -->
  16.             <td><button id='QandA' style="height: 80px" @click="goto = 2">
  17.                 </button></td>
  18.         </tr>
  19.              </div>  
  20.  
  21.                
  22.  
  23.                <!-- <br>  -->
  24.                 <div id = 'linea'></div>
  25.  
  26.                 <div id = 'bodyContainer'>
  27.  
  28.                     <div v-if="goto == 0">
  29.                         <div id = 'summernote'>
  30.                             <b>{{date.toString()}}</b><br>
  31.                             Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas fringilla justo sit amet velit suscipit malesuada. Ut pharetra, purus ac rhoncus aliquet, felis nibh faucibus lorem, vitae ornare dui.
  32.  
  33.                         </div>                    
  34.                     </div>
  35.  
  36.                     <div v-if = 'goto == 1'>
  37.                         <div v-for = '(msg, index) in chat'>
  38.                             <p class='msg2' v-if='index.includes("A")'>
  39.                                 {{msg}}
  40.                             </p>
  41.                             <p class="msg1" v-if='index.includes("B")'>
  42.                                 {{msg}}
  43.                             </p>
  44.                         </div>
  45.  
  46.                         <input v-model = 'newMsg' id = 'inputMsg' placeholder="Escriba su mensaje aquí" @keyup.enter='submitMessage()'>
  47.  
  48.                         </input>
  49.  
  50.                         <input v-model = 'tempUser' id = 'inputMsg' placeholder="Usuario: {A,B}" @keyup.enter='submitMessage()'>
  51.  
  52.                         </input>
  53.  
  54.                     </div>
  55.  
  56.                     <div id = 'questionsList'  v-if="goto == 2">
  57.                         <p class = 'question' v-for='pregunta in preguntas'>
  58.                             {{pregunta["Title"] + " preguntado por: " + pregunta["Username"] + "@" + pregunta["Date"]  }} <br>
  59.                             <li v-for=""></li>
  60.                         </p>
  61.  
  62.                         <input v-model = 'newQuestion' id = 'inputQuestion' placeholder="Escriba su pregunta aquí" @keyup.enter='submitQuestion()'>
  63.  
  64.                         </input>
  65.                     </div>
  66.                
  67.  
  68.                 </div>            
  69.  
  70.         </div>
  71.  
  72.         <script> </script> </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement