added images for achievements! Demo is now operational
|
@ -1,5 +1,4 @@
|
|||
.notifyjs-achievement-base
|
||||
//background: url("/images/pages/base/notify_mockup.png")
|
||||
cursor: auto
|
||||
white-space: nowrap
|
||||
text-overflow: ellipsis
|
||||
|
@ -26,13 +25,11 @@
|
|||
width: 72%
|
||||
|
||||
.achievement-border-wood
|
||||
background: url("/images/achievements/border_wood-01.png") no-repeat
|
||||
//background-color: transparent
|
||||
background: url("/images/achievements/border_wood.png") no-repeat
|
||||
background-size: 100% 100%
|
||||
|
||||
.achievement-border-silver
|
||||
background: url("/images/achievements/border_silver-01.png") no-repeat
|
||||
//background-color: transparent
|
||||
background: url("/images/achievements/border_silver.png") no-repeat
|
||||
background-size: 100% 100%
|
||||
|
||||
.achievement-content
|
||||
|
|
|
@ -12,4 +12,4 @@ div
|
|||
//.earned-exp(data-notify-html="earnedExp")
|
||||
.progress-bar-wrapper(data-notify-html="progressBar")
|
||||
.progress-bar-border
|
||||
img(src='/images/achievements/bar_border-01.png' width='100%')
|
||||
img(src='/images/achievements/bar_border.png' width='100%')
|
||||
|
|
BIN
public/images/achievements/bar_border.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
public/images/achievements/border_diamond.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
public/images/achievements/border_gold.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
public/images/achievements/border_silver.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
public/images/achievements/border_stone.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
public/images/achievements/border_wood.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
public/images/achievements/cross-01.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
public/images/achievements/cup-01.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
public/images/achievements/message-01.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
public/images/achievements/patch-01.png
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
public/images/achievements/pendant-01.png
Normal file
After Width: | Height: | Size: 8.7 KiB |
BIN
public/images/achievements/reward_background2.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
public/images/achievements/scroll-01.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
BIN
public/images/achievements/stars-01.png
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
public/images/achievements/swords-01.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
|
@ -8,6 +8,8 @@ class MockServer
|
|||
|
||||
|
||||
module.exports = ->
|
||||
me.set('points', 48)
|
||||
|
||||
unlockableObj =
|
||||
name: 'Dungeon Arena Started'
|
||||
description: 'Started playing Dungeon Arena. '
|
||||
|
@ -25,7 +27,7 @@ module.exports = ->
|
|||
|
||||
console.log currentView
|
||||
data = currentView.createNotifyData unlockable, earnedUnlockable
|
||||
imageURL = '/images/achievements/swords.png'
|
||||
imageURL = '/images/achievements/swords-01.png'
|
||||
data.image = $("<img src='#{imageURL}' />")
|
||||
options =
|
||||
autoHideDelay: 10000
|