Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                
    <head>
        <meta charset="utf-8"/>
        <meta name="format-detection" content="telephone=no"/>
        <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height"/>

        <link rel="stylesheet" href="phonon/css/phonon.css"/>
      <link rel="stylesheet" href="phonon/css/benim.css"/>
        <script src="https://cdn.jsdelivr.net/npm/vue"></script>
        
        
        <title>Tabs</title>
    </head>
    <body>
      

            <!-- Panel tags go here -->

        <!-- Side Panel tags go here -->

        <!-- Notification tags go here -->

        <!-- Dialog tags go here -->

        <!-- Popover tags go here -->

       <div class="side-panel side-panel-left" data-expose-aside="left" data-disable="right" data-page="home" id="side-panel-example">
            <header class="header-bar">
                <button class="btn pull-right icon icon-close show-for-phone-only" data-side-panel-close="true"></button>
                <div class="pull-left">
                    <h1 class="title">Filmovie</h1>
                </div>
            </header>
            <div class="content">
                <ul class="list">
                    <li><a class="padded-list">Filmler</a></li>
                    <li><a class="padded-list">Diziler</a></li>
                    <li><a class="padded-list">Hakkında</a></li>
                    <li><a class="padded-list">iletisim</a></li>
                   
                </ul>
            </div>
        </div>

        <home data-page="true">

        <header class="header-bar">
                <button class="btn icon icon-menu pull-left show-for-phone-only" data-side-panel-id="side-panel-example"></button>
                <div class="center">
                    <h1 class="title">Filmovie</h1>
                </div>
            </header>
     
            
            <nav class="tabs header-tabs">
                <div class="tab-items">
                    <a class="tab-item" >izlenecekler</a>
                    <a class="tab-item" >izlenenler</a>
                    <a class="tab-item icon-text" >favoriler</a>
                </div>
                <div class="tab-indicator"></div>
            </nav>

            
            <div class="content" data-tab-contents="true" data-disable-swipe="false" data-tab-default="1" >
                  <div id="container">
                    <div class="tab-content">
                        <div class="padded-full">    
                            <!--film satır row baslangıc -->
                            <h4 class="baslik">İzlenecek Filmler</h4>

                          
                            <!--film satır row bitis -->
                          
                          
        <!-------------------------------------ornek olsun diye cogaltıklarım buradan böyle baslıyorr------------------------------- -->
                            <div id="satir">
                            <div class="row text-center" v-for="(item, index) in items" >
                                <div class="tablet-3 phone-3 large-3 column">
                                     <!--resim ve tür olarak ayırıyoruz burada-->
                                    <div class="row text-center">
                                         <div class="tablet-6 phone-6 large-6 column">  
                                            <img src="img/afis.jpg" class="film-resim" alt="Smiley face">
                                         </div>
                                        <div class="tablet-6 phone-6 large-6 column">  
                                           <span class="tur">{{ item.kategori }} </span>
                                        </div>
                                    </div>
                                </div>
                                     <!--resim ve tür olarak ayırıyoruz burada bitiyor-->
                                <div class="tablet-6 phone-6 large-6 column"><span class="film-adi">{{ item.film_adi }}  </span></div>
                                <div class="tablet-3 phone-3 large-3 column">
                                    <div class="izledim-alan">
                                        <button  v-on:click="ekle" class="btn">
                                            <span>{{item.durum}}</span>
                                         </button>
                                    </div>
                                </div>

                            </div>  
                     </div>   <!--- container divi -->          
                             
                                             
                            
         <!-------------------------------------ornek olsun diye cogaltıklarım buradan böyle baslıyorr------------------------------- -->         
                            
                            
                            
                             
                       </div>
                        
                        
                        
                    
                    </div>
                    <div class="tab-content">
                        <div class="padded-full">    
                            <!--film satır row baslangıc -->
                            <h4 class="baslik">İzlenen Filmler</h4>
                            <div class="row text-center" id="satir">
                                <div class="tablet-3 phone-3 large-3 column">
                                     <!--resim ve tür olarak ayırıyoruz burada-->
                                    <div class="row text-center">
                                         <div class="tablet-6 phone-6 large-6 column">  
                                            <img src="img/afis.jpg" class="film-resim" alt="Smiley face">
                                         </div>
                                        <div class="tablet-6 phone-6 large-6 column">  
                                           <span class="tur">komedi </span>
                                        </div>
                                    </div>
                                </div>
                                     <!--resim ve tür olarak ayırıyoruz burada bitiyor-->
                                <div class="tablet-6 phone-6 large-6 column"><span class="film-adi">tarkan duvara karşı</span></div>
                                <div class="tablet-3 phone-3 large-3 column">
                                    <div class="izledim-alan">
                                        <button class="btn"> 
                                            <i class="icon icon-check"></i>
                                        </button>
                                    </div>
                                </div>

                            </div>
                            <!--film satır row bitis -->
                            
                            
        <!-------------------------------------ornek olsun diye cogaltıklarım buradan böyle baslıyorr------------------------------- -->
                                 <div class="row text-center" id="satir">
                                <div class="tablet-3 phone-3 large-3 column">
                                     <!--resim ve tür olarak ayırıyoruz burada-->
                                    <div class="row text-center">
                                         <div class="tablet-6 phone-6 large-6 column">  
                                            <img src="img/afis.jpg" class="film-resim" alt="Smiley face">
                                         </div>
                                        <div class="tablet-6 phone-6 large-6 column">  
                                           <span class="tur">komedi </span>
                                        </div>
                                    </div>
                                </div>
                                     <!--resim ve tür olarak ayırıyoruz burada bitiyor-->
                                <div class="tablet-6 phone-6 large-6 column"><span class="film-adi">tarkan duvara karşı</span></div>
                                <div class="tablet-3 phone-3 large-3 column">
                                    <div class="izledim-alan">
                                        <button class="btn"> 
                                            <i class="icon icon-check"></i>
                                        </button>
                                    </div>
                                </div>

                            </div>     <div class="row text-center" id="satir">
                                <div class="tablet-3 phone-3 large-3 column">
                                     <!--resim ve tür olarak ayırıyoruz burada-->
                                    <div class="row text-center">
                                         <div class="tablet-6 phone-6 large-6 column">  
                                            <img src="img/afis.jpg" class="film-resim" alt="Smiley face">
                                         </div>
                                        <div class="tablet-6 phone-6 large-6 column">  
                                           <span class="tur">komedi </span>
                                        </div>
                                    </div>
                                </div>
                                     <!--resim ve tür olarak ayırıyoruz burada bitiyor-->
                                <div class="tablet-6 phone-6 large-6 column"><span class="film-adi">tarkan duvara karşı</span></div>
                                <div class="tablet-3 phone-3 large-3 column">
                                    <div class="izledim-alan">
                                        <button class="btn"> 
                                            <i class="icon icon-check"></i>
                                        </button>
                                    </div>
                                </div>

                            </div>     <div class="row text-center" id="satir">
                                <div class="tablet-3 phone-3 large-3 column">
                                     <!--resim ve tür olarak ayırıyoruz burada-->
                                    <div class="row text-center">
                                         <div class="tablet-6 phone-6 large-6 column">  
                                            <img src="img/afis.jpg" class="film-resim" alt="Smiley face">
                                         </div>
                                        <div class="tablet-6 phone-6 large-6 column">  
                                           <span class="tur">komedi </span>
                                        </div>
                                    </div>
                                </div>
                                     <!--resim ve tür olarak ayırıyoruz burada bitiyor-->
                                <div class="tablet-6 phone-6 large-6 column"><span class="film-adi">tarkan duvara karşı</span></div>
                                <div class="tablet-3 phone-3 large-3 column">
                                    <div class="izledim-alan">
                                        <button class="btn"> 
                                            <i class="icon icon-check"></i>
                                        </button>
                                    </div>
                                </div>

                            </div>     <div class="row text-center" id="satir">
                                <div class="tablet-3 phone-3 large-3 column">
                                     <!--resim ve tür olarak ayırıyoruz burada-->
                                    <div class="row text-center">
                                         <div class="tablet-6 phone-6 large-6 column">  
                                            <img src="img/afis.jpg" class="film-resim" alt="Smiley face">
                                         </div>
                                        <div class="tablet-6 phone-6 large-6 column">  
                                           <span class="tur">komedi </span>
                                        </div>
                                    </div>
                                </div>
                                     <!--resim ve tür olarak ayırıyoruz burada bitiyor-->
                                <div class="tablet-6 phone-6 large-6 column"><span class="film-adi">tarkan duvara karşı</span></div>
                                <div class="tablet-3 phone-3 large-3 column">
                                    <div class="izledim-alan">
                                        <button class="btn"> 
                                            <i class="icon icon-check"></i>
                                        </button>
                                    </div>
                                </div>

                            </div>
                            
                            
                            
         <!-------------------------------------ornek olsun diye cogaltıklarım buradan böyle baslıyorr------------------------------- -->         
                            
                            
                            
                             
                       </div>
                    </div>
                    <div class="tab-content">
                         <div class="padded-full">    
                            <!--film satır row baslangıc -->
                            <h4 class="baslik">Favori Filmler</h4>
                             
                                <div class="row text-center">
                                    <div class="phone-12 tablet-12 column large-12 column">
                                    <span class="puan-baslik">Puanım</span>
                                    </div>
                                </div>
                            <div class="row text-center" id="satir">
                                <div class="tablet-3 phone-3 large-3 column">
                                     <!--resim ve tür olarak ayırıyoruz burada-->
                                    <div class="row text-center">
                                         <div class="tablet-6 phone-6 large-6 column">  
                                            <img src="img/afis.jpg" class="film-resim" alt="Smiley face">
                                         </div>
                                        <div class="tablet-6 phone-6 large-6 column">  
                                           <span class="tur">komedi </span>
                                        </div>
                                    </div>
                                </div>
                                     <!--resim ve tür olarak ayırıyoruz burada bitiyor-->
                                <div class="tablet-6 phone-6 large-6 column"><span class="film-adi">tarkan duvara karşı</span></div>
                                <div class="tablet-3 phone-3 large-3 column">
                                    <!--burada ppuan ve menu olarak 2 ye bölüyoruz -->
                                    <div class="row text-center">
                                        <div class="phone-6 tablet-6 column large-6 column">
                                            <span class="tur">7/10 </span>
                                        </div>
                                        <div class="phone-6 tablet-6 column large-6 column">
                                            <i class="icon icon-more-vert"> </i>
                                        </div>
                                    </div>
                                        <!--burada ppuan ve menu olarak 2 ye bölüyoruz bitiş -->	
                                     
                                        	
                                   
                                </div>

                            </div>
                            <!--film satır row bitis -->
                            
                            
        <!-------------------------------------ornek olsun diye cogaltıklarım buradan böyle baslıyorr------------------------------- -->
                              
                            
                            
                            
         <!-------------------------------------ornek olsun diye cogaltıklarım buradan böyle baslıyorr------------------------------- -->         
                            

                            
                             
                       </div>
                    </div>
                      
                </div>
            </div>
            <!-- flat icon baslangıc -->
           <button v-on:click="ekle" class="floating-action padded-full icon icon-edit active primary bottom right"></button>
        
    
               
            <!-- float icon bitis -->
        </home>
       

        <!-- for the second page, Phonon will load its content. -->
        <pagetwo data-page="true"></pagetwo>


        <!-- scripts -->
        <script src="phonon/js/phonon.js"></script>
      
        <!-- our app config -->
        <script src="app.js"></script>
        <script src="benim.js"></script>
            
        
    </body>

       


              
            
!

CSS

              
                .film-resim {
    height: 45px;
    width: 45px;
  
}
.izledim-alan button{

    min-height: 20px;
    position: relative;
    padding: 5px 11px;
    display: inline-block;
    text-align: center;
    vertical-align: top;
    text-transform: none;
    background-color: #ea4fa0;
    color: #fff;
 
    
}
.tur{
   font-size: 9px;
    background: #ffa512;
    padding: 2px;
    border-radius: 3px;
    text-align: center;
    font-weight: 700;
}
.baslik{
    text-align: center;
    font-size: 20px;
    font-family: fantasy
}
.film-adi{
    font-size: 14px;
    font-family: sans-serif;
}
.header-bar{
    background-color: #000;
}
.tabs .tab-items .tab-item{
    color: #000;
    background-color: #ff3;
    text-transform: none; 
    font-weight: 600;
}

.tabs .tab-indicator{
    background-color:#000;
}
.satir{
    background-color: red;
}
#satir{
    
    padding-left: 4px;
    padding-top: 5px;
    border-top-style: solid;
    border-width: 1px;
    border-color: #d9d9dc;
    
}
.tab-content{
 background-color:#ecf0f1;

}
.puan{
    background-color: #000;
    color: #fff;
    padding:2px;
    border-radius: 3px;
    text-align: center;
    
}
.puan-baslik{
    float: right;
    padding-right: 12%;
    font-family: monospace;
    font-style: italic
}

              
            
!

JS

              
                Vue.config.devtools = true

var app = new Vue({
  el: '#container',
  data() {   
//var items=JSON.parse(localStorage.getItem("veriler"));
       var items= localStorage.getItem("veriler");
    console.log(items);
 

// items: [
  //     { film_adi: 'tarkan',kategori:'komedi',durum:'izlenecek' },
    //   { film_adi: 'xman',kategori:'aksiyon',durum:'izlenecek' },
      // { film_adi: 'star',kategori:'bilim',durum:'izlenecek' },

    //]

  },
    methods:{
        ekle:function(){
            alert('ekledi')
     
        },
       
    },
 

    
});


var app1 = new Vue({
  el: '#ekle-film',
  data: {
      film_adi:'',
      kategori:'',
      durum:'',
     
   list:[],
  },
    methods:{
        ekle:function(){
            
        
            this.list.push({
                film_adi:this.film_adi,
                kategori:this.kategori,
                durum:this.durum,
               
                   
            });
            
           
            localStorage.setItem('veriler',JSON.stringify(app1.list));
            
        },
       
    },
    

 
    
});




              
            
!
999px

Console