1
0
Fork 0
forked from forgejo/forgejo

ui for user/profile page, only skeleton

This commit is contained in:
FuXiaoHei 2014-03-02 21:47:55 +08:00
parent ffcfd428b8
commit ffe0ba562c
8 changed files with 125 additions and 3 deletions

17
public/js/app.js Normal file
View 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);