ui for user/profile page, only skeleton
This commit is contained in:
		
							parent
							
								
									ffcfd428b8
								
							
						
					
					
						commit
						ffe0ba562c
					
				
					 8 changed files with 125 additions and 3 deletions
				
			
		
							
								
								
									
										17
									
								
								public/js/app.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								public/js/app.js
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,17 @@
 | 
			
		|||
var Gogits = {};
 | 
			
		||||
 | 
			
		||||
(function($){
 | 
			
		||||
    Gogits.showTooltips = function(){
 | 
			
		||||
        $("body").tooltip({
 | 
			
		||||
            selector: "[data-toggle=tooltip]"
 | 
			
		||||
            //container: "body"
 | 
			
		||||
        });
 | 
			
		||||
    };
 | 
			
		||||
    Gogits.showTab = function (selector, index) {
 | 
			
		||||
        if (!index) {
 | 
			
		||||
            index = 0;
 | 
			
		||||
        }
 | 
			
		||||
        $(selector).tab("show");
 | 
			
		||||
        $(selector).find("li:eq(" + index + ") a").tab("show");
 | 
			
		||||
    }
 | 
			
		||||
})(jQuery);
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue