mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-18 03:52:54 +00:00
[#1396] Add justin to tour bubbles
This commit is contained in:
parent
598c4445ff
commit
16a4e87fea
3 changed files with 10 additions and 1 deletions
|
|
@ -21,6 +21,7 @@
|
|||
@import "./game-pane.styl"
|
||||
@import "./npcs.styl"
|
||||
@import "./challenges.styl"
|
||||
@import "./tour.styl"
|
||||
|
||||
// fix exploding to very wide for some reason
|
||||
.datepicker
|
||||
|
|
|
|||
5
public/css/tour.styl
Normal file
5
public/css/tour.styl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
@import "../bower_components/bootstrap-tour/build/css/bootstrap-tour.min.css"
|
||||
.tour-tour .NPC-Justin
|
||||
float: left
|
||||
padding-right: 5px
|
||||
.popover-navigation {clear:both;}
|
||||
|
|
@ -13,7 +13,7 @@ angular.module('guideServices', []).
|
|||
{
|
||||
element: ".main-herobox",
|
||||
title: "Welcome to HabitRPG",
|
||||
content: "Welcome to HabitRPG, a habit-tracker which treats your goals like a Role Playing Game."
|
||||
content: "Welcome to HabitRPG, a habit-tracker which treats your goals like a Role Playing Game. I'm <a href='http://www.kickstarter.com/profile/1823740484' target='_blank'>Justin</a>, your guide! "
|
||||
}, {
|
||||
element: "#bars",
|
||||
title: "Achieve goals and level up",
|
||||
|
|
@ -45,6 +45,9 @@ angular.module('guideServices', []).
|
|||
placement: "right"
|
||||
}
|
||||
];
|
||||
_.each(tourSteps, function(step){
|
||||
step.content = "<div><div class='NPC-Justin'></div>" + step.content + "</div>"; // add Justin NPC img
|
||||
});
|
||||
$('.main-herobox').popover('destroy');
|
||||
var tour = new Tour({
|
||||
onEnd: function(){
|
||||
|
|
|
|||
Loading…
Reference in a new issue