Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OS-951, OS-971, OS-958] PoC Make Art chromium selenium web driver #433

Open
wants to merge 727 commits into
base: master
Choose a base branch
from
Open
Changes from 5 commits
Commits
Show all changes
727 commits
Select commit Hold shift + click to select a range
5a41d86
Complete translation of medium challenges
japonophile May 9, 2016
ca47fac
Start translating Pixel Hack challenges
japonophile May 10, 2016
9f46d6b
Finish first translation of Pong
japonophile May 11, 2016
41df993
Push japanese translations
japonophile May 12, 2016
b34ccea
Merge branch 'japanese_translation' of https://github.com/japonophile…
japonophile May 13, 2016
d787eb9
Add instructions regarding translations
japonophile May 13, 2016
60f4d48
Change Pong to Pon in Japanese
japonophile May 17, 2016
173370f
Merge remote-tracking branch 'upstream/jessie' into jessie
japonophile May 17, 2016
f5368a2
Merge branch 'jessie' into japanese_translation
japonophile May 17, 2016
d301a64
Ensure we have a path set before tracking
May 24, 2016
98722a3
Merge pull request #328 from arifshanji/virtualPageTracking
andreiconstantinescu May 25, 2016
4fea9fc
Changed icon background colour for Kano Apps https://github.com/KanoC…
Jun 9, 2016
3e54c89
Merge pull request #331 from radujipa/kano-apps-colour-change
pazdera Jun 9, 2016
87bf19a
Merge remote-tracking branch 'upstream/jessie' into jessie
japonophile Jul 6, 2016
2f9026d
Merge branch 'jessie' into japanese_translation_jessie
japonophile Jul 6, 2016
b9a5f8e
Ignore locales
jkimbo Aug 22, 2016
3a00e43
Return gulp stream to ensure correct timing
jkimbo Aug 22, 2016
46c0dd9
Added some tests for the i18n module
jkimbo Aug 22, 2016
dc93888
Allow overriding language using query param
jkimbo Aug 22, 2016
509f306
Added supported language list
jkimbo Aug 22, 2016
2a4c0e9
Fixed some formatting
jkimbo Aug 22, 2016
ea0e226
Define supported locales instead of just languages
jkimbo Aug 22, 2016
67d24c8
Merge pull request #332 from KanoComputing/i18n-ja-translations
jkimbo Aug 23, 2016
15e0d96
adding rgb and rgba color functions for more straightforward color cr…
alecmolloy Aug 28, 2016
f99da23
add a transparent `"rgba(0,0,0,0)"` color
alecmolloy Aug 31, 2016
69c247b
new ozwald boateng challenges
alecmolloy Sep 1, 2016
a1f1512
fixed some validator issues
alecmolloy Sep 1, 2016
5822156
Merge pull request #1 from alecmolloy/rgb+rgba
alecmolloy Sep 1, 2016
aef9a06
replacing tabs with spaces
alecmolloy Sep 1, 2016
8e2e82c
Merge pull request #333 from alecmolloy/rgb+rgba
rcocetta Sep 5, 2016
0107acb
Merge pull request #337 from KanoComputing/jessie
rcocetta Sep 5, 2016
80f7e28
Merge pull request #336 from alecmolloy/ozwaldboateng
Sep 5, 2016
e718fde
small fixes in boateng challenge copy
mikegreer Sep 6, 2016
de1ed99
fixing small copy error
alecmolloy Sep 6, 2016
a59b81e
Added translations for basic worlds
jkimbo Sep 12, 2016
67b72ce
Added translations for medium challenges
jkimbo Sep 12, 2016
24cea24
Added messages.pot file
jkimbo Sep 13, 2016
8f0f128
Added es_AR po file
jkimbo Sep 13, 2016
7194a3b
Fix up po file
jkimbo Sep 13, 2016
9e7a4c9
Added some helper scripts
jkimbo Sep 13, 2016
ff2c7b6
Fix up extract strings to include full location
jkimbo Sep 13, 2016
7e9e0b3
Added tool to extract doc strings
jkimbo Sep 13, 2016
e3fa89e
Updated scripts
jkimbo Sep 13, 2016
953a762
Added script to convert po to docs json
jkimbo Sep 13, 2016
79e1d0b
Added spanish translations
jkimbo Sep 14, 2016
eabeb6f
Moved scripts to po folder
jkimbo Sep 14, 2016
04794bb
Updated docs with translations
jkimbo Sep 14, 2016
6ce3d22
Added spanish translations
jkimbo Sep 14, 2016
ca2c8bc
Fixed json
jkimbo Sep 14, 2016
a8743b0
Added es-AR to gulpfile
jkimbo Sep 14, 2016
25c9d36
Updated docs translations
jkimbo Sep 14, 2016
ac80e6f
Added some missing translations
jkimbo Sep 14, 2016
fa7084e
Fixed some translations
jkimbo Sep 14, 2016
76e4809
Updated translations
jkimbo Sep 14, 2016
ce7fde9
Revert "Added some missing translations"
jkimbo Sep 14, 2016
be84cac
Revert "Updated translations"
jkimbo Sep 14, 2016
114a1d1
Updated the docs
jkimbo Sep 14, 2016
3cf7f09
Very minor typos on Spanish literals, fixed and validated json formats.
skarbat Sep 21, 2016
d5cbf31
Merge pull request #339 from KanoComputing/spanish-translations
Sep 21, 2016
d760c9c
Allow Summer camp all the time
Sep 21, 2016
61847bb
Merge pull request #340 from arifshanji/alwaysSummer
Sep 22, 2016
e0733f9
SDK upgrade to get SSO
Sep 27, 2016
6f1e34a
sdk get latest
Sep 27, 2016
034d78a
Merge pull request #341 from arifshanji/sdkUpgradeForSSO
Sep 27, 2016
9f39263
Merge pull request #338 from alecmolloy/patch-1
Sep 27, 2016
94069f0
add jenkinsfile
Oct 4, 2016
a9fe802
add compress task and compress dependencies
Oct 4, 2016
c4e020e
Some fixes to restore building on the kit.
Ealdwulf Oct 21, 2016
d021be2
Fixed
etamity Nov 7, 2016
e3e3d79
Fixed Cannot share if not-logged in from Make Art
etamity Nov 7, 2016
cfe50ba
Updated Hour of Code
etamity Nov 8, 2016
253477d
Merge pull request #345 from etamity/master
etamity Nov 8, 2016
a3acf6f
Return the gulp stream.
Ealdwulf Nov 8, 2016
c04b06c
Fixed staging api url
etamity Nov 8, 2016
1bfedb8
Merge pull request #346 from etamity/stage
Nov 8, 2016
b2ccef0
Replace ‘source’ to ‘.’
etamity Nov 8, 2016
bcdeb4e
Merge pull request #347 from etamity/staging
Nov 8, 2016
e3c3bfc
Another try with ‘load’
etamity Nov 8, 2016
3452bd5
Merge pull request #348 from etamity/staging
Nov 8, 2016
037df2a
Merge pull request #342 from KanoComputing/fix_kit_build
Nov 14, 2016
dab1c80
[For review and QA only]: Add modified kano-nav-bar to Make Art for t…
Nov 16, 2016
db7e4c0
[For review and QA only]: Update Readme to include Bower install
Nov 16, 2016
11d731f
Push to datalayer events fired from sdk
Nov 17, 2016
c2e4a72
use latest sdk
Nov 17, 2016
ac8d207
Merge pull request #351 from arifshanji/trackSignups
Nov 17, 2016
4f70381
Add new hero header for the PixelHack challenges
Nov 21, 2016
e7b2328
Update kano-nav dependencies with new repos, and rename components an…
Nov 22, 2016
81efca9
Add setting to config
etamity Nov 23, 2016
9042776
Merge pull request #352 from etamity/staging
Nov 23, 2016
61bec95
Merge pull request #349 from abridger/navigation-updates
Nov 23, 2016
2b4b862
Fix missing dependencies and build steps
Nov 23, 2016
28a62be
Merge branch 'master' of github.com:KanoComputing/make-art into navig…
Nov 23, 2016
6b0b6da
Merge pull request #353 from abridger/navigation-updates
Nov 24, 2016
70dd33e
Fix navigation issues
Nov 24, 2016
caa6c24
Update World URL to use config value
Nov 29, 2016
23fd260
Merge pull request #354 from abridger/navigation-fixes
Nov 29, 2016
d74d385
Challenge fix
Nov 30, 2016
c60cb62
code formatting
Nov 30, 2016
ee5c399
Merge pull request #355 from arifshanji/fixPHchallenge
pazdera Nov 30, 2016
8ae2562
Move component import to index head
Nov 30, 2016
3aee9b3
Merge pull request #356 from abridger/master
Nov 30, 2016
ec54fc3
Challenge fixes
Nov 30, 2016
c58ff56
formatting
Nov 30, 2016
a29070f
Merge pull request #357 from arifshanji/fixChallenges
vikdoro Nov 30, 2016
b50e7d3
More challenge fixes with validation
Dec 1, 2016
ebe44c6
Merge pull request #358 from arifshanji/fixChallenges
vikdoro Dec 1, 2016
182ee17
Fixes to challenges
Dec 1, 2016
332eb12
Merge pull request #359 from arifshanji/fixChallenges
Dec 1, 2016
777042d
Fix challenge
Dec 1, 2016
ec468af
Merge pull request #360 from arifshanji/fixChallenges
Dec 1, 2016
834150b
Challenge fix bow and arrow
Dec 1, 2016
ec5c7fd
Merge pull request #361 from arifshanji/fixChallenges
Dec 1, 2016
ccb8b53
fishing challenge fix
Dec 1, 2016
00e7664
Merge pull request #362 from arifshanji/fixChallenges
Dec 1, 2016
19efdcd
Hiking challenge fix
Dec 1, 2016
3735532
Merge pull request #363 from arifshanji/fixChallenges
Dec 1, 2016
94783f4
CLI: Provide CLI args for challenges/playground launch
tombettany Nov 16, 2016
4de7f55
Added one-pager about the pixel hack
Dec 5, 2016
557eab4
Merge pull request #364 from arifshanji/PixelHackOnePager
Dec 5, 2016
3b14fda
Filename update
Dec 5, 2016
52f97f7
Merge pull request #365 from arifshanji/PixelHackOnePager
Dec 5, 2016
dd2d31c
Adding a priority field for Dashboard apps order
skarbat Dec 7, 2016
ce5476c
Adding kano-app-launcher wrapper
skarbat Dec 7, 2016
0c759da
Merge pull request #366 from KanoComputing/dashboard-order
skarbat Dec 7, 2016
47ae7b2
Icon: Update icon for one originally in Dashboard
tombettany Dec 9, 2016
969533e
Fire page tracking only if the route is valid, with content – ie. not…
Dec 15, 2016
eec2ec3
Bump kano-world-sdk dependency
pazdera Dec 21, 2016
be26e01
Merge pull request #369 from KanoComputing/pazdera-patch-1
Dec 21, 2016
25dbf83
Merge pull request #368 from abridger/tracking
Dec 22, 2016
03821ba
Fix auth issues on staging
vikdoro Jan 6, 2017
9ca722b
Merge pull request #370 from vikdoro/logout-issue-staging
Jan 6, 2017
e6dca39
Update sdk
vikdoro Jan 10, 2017
815c21f
Merge pull request #371 from vikdoro/sdk-update
Jan 10, 2017
c5ce266
Update tracking
Jan 11, 2017
9d10721
Merge pull request #372 from abridger/tracking
vikdoro Jan 12, 2017
717a94e
Remove trackEvent listener
Jan 13, 2017
757086b
Merge pull request #373 from abridger/tracking
vikdoro Jan 13, 2017
9e9af21
Add google-site-verification tag
Jan 17, 2017
d273b52
Merge pull request #374 from abridger/meta
etamity Jan 19, 2017
4139906
Export pot files to a new package.
Ealdwulf Jan 23, 2017
bf8a342
Merge pull request #378 from KanoComputing/generate_pot
Jan 27, 2017
8c3d9be
Change Kano World landing URL
vikdoro Jan 27, 2017
f51ce22
Merge pull request #379 from vikdoro/world-redirection-fix
Jan 27, 2017
fbed325
Standardise avatars used with other properties
Feb 1, 2017
3fce349
Fix authentication issues
Feb 1, 2017
dd9269f
Add signup link to the nav
Feb 3, 2017
9424d54
“by” translated in share cards
brandonjackson Feb 3, 2017
a1b205f
splash screen translation added
brandonjackson Feb 3, 2017
484f019
new translated challenges added
brandonjackson Feb 4, 2017
2e68e28
final challenge translations
brandonjackson Feb 6, 2017
b509c94
Merge pull request #380 from abridger/avatars
vikdoro Feb 6, 2017
5174301
Merge pull request #381 from abridger/auth
vikdoro Feb 6, 2017
f85105c
pixel hack update form removed from translated page
brandonjackson Feb 6, 2017
b4a42d0
lang translations added to locale json files (still not in PO files!)
brandonjackson Feb 6, 2017
135b39e
removing PO outdated files…
brandonjackson Feb 6, 2017
3e6fc31
Merge pull request #383 from brandonjackson/final-i18n
Feb 6, 2017
208c554
Fix conflicts
Feb 6, 2017
fafe873
Resolve conflicts
Feb 6, 2017
33ec66d
Remove those pesky hashes
Feb 6, 2017
6adfacc
Merge pull request #382 from abridger/nav-bar
pazdera Feb 6, 2017
0cd8993
Load splash in the view
Feb 6, 2017
42c4af0
Merge pull request #384 from paulvarache/i18n
brandonjackson Feb 7, 2017
ab9df0e
utf-8 encoding added to all argentina challenge files
brandonjackson Feb 7, 2017
553f174
Merge pull request #385 from brandonjackson/utf8-fix
Feb 7, 2017
03d1899
Force user update after signup, and call loadUserProfile & loadProgre…
Feb 8, 2017
164cdab
Merge pull request #386 from abridger/auth-fixes
Feb 8, 2017
fdc01b0
Fix auth issues
Feb 8, 2017
95ed015
Update login methods, to simply save the user and token that have alr…
Feb 9, 2017
78f5a40
Remove console log
Feb 9, 2017
90211ba
Merge pull request #387 from abridger/auth-fixes
vikdoro Feb 9, 2017
2eceb58
Prevent splash modal displaying more than once per session, and only …
Feb 9, 2017
11b01b6
Merge branch 'master' into popup
Feb 9, 2017
883f675
Merge pull request #388 from abridger/popup
Feb 9, 2017
84d871f
Ensure that pop-up fires
Feb 9, 2017
479d7aa
Merge branch 'popup' of github.com:abridger/make-art into popup
Feb 9, 2017
0e4c13b
Merge branch 'master' of github.com:KanoComputing/make-art into popup
Feb 9, 2017
ae9477e
Remove log
Feb 9, 2017
ffbe31b
Merge pull request #389 from abridger/popup
Feb 9, 2017
d0e3a2e
Add missing dependency
Feb 13, 2017
0ffa6ad
Merge pull request #390 from abridger/master
vikdoro Feb 13, 2017
3647cc2
Add other missing dependency
Feb 13, 2017
08d1386
Merge pull request #391 from abridger/master
vikdoro Feb 13, 2017
3ea7502
RPi: Fix build for Kano OS
tombettany Feb 15, 2017
b2b5c1e
Merge pull request #393 from KanoComputing/fix-kit-build
Feb 15, 2017
10b59ea
Add Spanish .app file
Ealdwulf Feb 15, 2017
f1939d4
fixed json for medium challenge 1
brandonjackson Feb 22, 2017
f345562
Merge pull request #395 from KanoComputing/fix-shrinking-challenge
brandonjackson Feb 22, 2017
43f25dd
changes made to validation code in es_AR challenges
brandonjackson Feb 22, 2017
b54ecbe
i18n error messages
brandonjackson Feb 23, 2017
c7925b8
translated “you’ve earned {int} XP”
brandonjackson Feb 24, 2017
69b7033
Removed text from splash asset for i18n (#399)
skarbat Feb 24, 2017
8f74c86
Merge pull request #398 from KanoComputing/i18n-xp
brandonjackson Feb 24, 2017
ac69f5f
Merge pull request #397 from KanoComputing/error-i18n
Feb 24, 2017
8ca0691
Restored English text on splash screen
May 3, 2017
9a3277d
Removed app dialog before the app itself (Make/Play/Social)
May 10, 2017
da8000b
Speed up load times (#404)
skarbat Jun 7, 2017
2e03e1a
i18n: Port Pixel Hack en_US validation fixes to es_AR
tombettany Jul 25, 2017
ca18c8e
i18n: Fix spelling of "ellipse" in es_AR
tombettany Jul 25, 2017
0d4422e
Debian: Bump package version
tombettany Jul 25, 2017
578fc8e
Debian: Bump package version
tombettany Jul 25, 2017
969c475
Updated es_AR trasnlations of nearly all challenges
Oct 16, 2017
ab5ac7a
Bumped changelog with applied changes from v3.9.2 es_AR backports
Oct 16, 2017
369d7e2
Replaced splash window for animation (#411)
skarbat Nov 16, 2017
0c5e3cd
RPi: Serve homepage for /challenge/.* routes
tombettany Nov 30, 2017
c647817
Change to 6.10.x of node.
Ealdwulf Dec 4, 2017
281a712
RPi: Build using Node 6
tombettany Dec 7, 2017
bc909f4
Bower: Resolve bower install conflicts
tombettany Dec 15, 2017
dd80ab3
Update dependency instead of providing a resolution
pazdera Dec 22, 2017
572df15
Merge pull request #416 from KanoComputing/fix_build
Dec 22, 2017
1272922
Fix instruction to press BACKSPACE rather than type it
radujipa Dec 21, 2017
0f33499
Disabled calls to kano.profiling
radujipa Jan 31, 2018
c2029f1
Fixing the build
pazdera Feb 16, 2018
590ea1f
Merge branch 'master' into fix-build
pazdera Feb 16, 2018
1b4e9ba
Merge pull request #420 from pazdera/fix-build
tombettany Feb 16, 2018
8ea707f
new grab keyboard partial for CK users
brandonjackson Jun 12, 2018
d5b4dd8
Debian: Fix packaging for Stretch
tombettany Jun 19, 2018
8d90b5b
Bumped debian package version
radujipa Oct 4, 2018
7b4e1a7
Fix spelling error
wtanaka Dec 20, 2017
3348a0c
Adding logs for abnormal app termination (#426)
skarbat Oct 16, 2018
fc135f5
Browser: Disable the inspector
tombettany Oct 26, 2018
1186e4a
Style: Fix Make Art challenges tips overflow (#429)
lauraenria Mar 12, 2019
599c50c
Feat: Fix shares-buttons Make Art App (#430)
tombettany Mar 28, 2019
272b8f3
[OS-904] Start button not visible on small browsers (#431)
lauraenria Apr 5, 2019
cd4e3f4
feat: run make-art with Chromium untested
lauraenria Apr 9, 2019
b0c82c0
feat: run make-art throught Chromium
lauraenria Apr 11, 2019
882c5ef
feat:first setup test with selenium-webdriver
lauraenria Apr 23, 2019
adb5681
feat: work in progress
lauraenria Apr 23, 2019
3cf44c6
feat: work in progress 2
lauraenria Apr 24, 2019
7fd6bc1
feat: work in progress 3
lauraenria Apr 29, 2019
adf5178
feat: work in progress 4
lauraenria Apr 29, 2019
5ec4763
feat:work in progress 5
lauraenria Apr 30, 2019
dec2dc5
feat:work in progress
lauraenria May 1, 2019
024e456
feat:work in progress 5
lauraenria May 1, 2019
5d75707
feat: create modules
lauraenria May 1, 2019
c890a2c
feat: work in progreess 10
lauraenria May 3, 2019
b27b963
feat: work in progress 11
lauraenria May 3, 2019
8051826
feat: delete extra space
lauraenria May 3, 2019
55cccae
feat: refactoring and split in modules
lauraenria May 3, 2019
ea64c29
docs: add data Kano-kit Chromium Benchmark
lauraenria May 7, 2019
b2cae76
feat: add manual testing data
lauraenria May 7, 2019
a360ba3
docs: fix info
lauraenria May 7, 2019
31ecec2
feat:add automatic data for chromium with webdriver
lauraenria May 8, 2019
1067d8c
docs: add automatic data chromium
lauraenria May 8, 2019
0a0bc04
feat: change name f main to driver
lauraenria May 8, 2019
da13d00
style: change indentation from 2 to 4 spaces
lauraenria May 8, 2019
b6e07f4
style: fix style indentation issues
lauraenria May 8, 2019
2ba07d5
feat: update import add specific data
lauraenria May 8, 2019
21149bb
feat: set option in kano kit for Chromium
lauraenria May 8, 2019
3a71160
feat: add manual test in kano kit with chromium
lauraenria May 9, 2019
80bbac4
feat: add data CanvasHasChange on the Kanokit
lauraenria May 9, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/app.js
Original file line number Diff line number Diff line change
@@ -172,8 +172,12 @@ app.run(function ($rootScope, $window) {
$rootScope.loggedIn = false;
$rootScope.user = null;
$rootScope.auth = {
mode: 'login',
showModal: false,
openModal: function () { this.showModal = true; },
openModal: function (type) {
this.mode = type;
this.showModal = true;
},
closeModal: function () { this.showModal = false; }
};
$rootScope.logout = function() {
1 change: 1 addition & 0 deletions locales/en/partial.json
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@
"visit_this_address_from_a_computer": "Visit this address from a computer with a connected printer to create your certificate.",
"discover_kano": "Discover Kano",
"login": "Login",
"signup": "Sign up",
"logout": "Logout",
"feedback": "Feedback",
"whats_up": "What\\'s up?",
1 change: 1 addition & 0 deletions locales/es-AR/partial.json
Original file line number Diff line number Diff line change
@@ -27,6 +27,7 @@
"enter_an_email_address": "Ingresa un correo electrónico",
"your_name": "Tu nombre...",
"login": "Ingresar",
"signup": "Regístrate",
"back_to_world": "'Atrás' + selectedWorld.name",
"thank_you": "¡Gracias!",
"start":"Comienza",
1 change: 1 addition & 0 deletions locales/ja/partial.json
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@
"visit_this_address_from_a_computer": "証明書を作るには、プリンターに繋がっているパソコンから次のリンクにアクセスしよう。",
"discover_kano": "Kanoを探検する",
"login": "ログイン",
"signup": "サインアップ",
"logout": "ログアウト",
"feedback": "ご意見",
"whats_up": "思ったこと",
3 changes: 3 additions & 0 deletions styles/core/header.styl
Original file line number Diff line number Diff line change
@@ -97,6 +97,9 @@ header
&.active
opacity 1

&.signup
top 0

i
opacity .5
font-size 18px
3 changes: 3 additions & 0 deletions styles/core/kano-nav.styl
Original file line number Diff line number Diff line change
@@ -81,6 +81,9 @@ kano-nav
i
color color-orange

&.signup
top 0

button.close
background color-red
width 25px
2 changes: 1 addition & 1 deletion views/partial/auth-modal.jade
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.modal-overlay(ng-show='auth.showModal', ng-cloak)
.auth-modal
.auth-modal-inner
auth-form(mode='login')
auth-form(mode='auth.mode')

4 changes: 3 additions & 1 deletion views/partial/header.jade
Original file line number Diff line number Diff line change
@@ -21,10 +21,12 @@ header: .main-navigation.page-width(ng-if='offline || !selectedWorld || !selecte
i.icon-cpu
| ${{ partial.discover_kano }}$

li(ng-if='!offline && !loggedIn'): a(href='', ng-click='auth.openModal()')
li(ng-if='!offline && !loggedIn'): a(href='', ng-click='auth.openModal("login")')
i.icon-login
| ${{ partial.login }}$

li(ng-if='!offline && !loggedIn'): a.signup(href='', ng-click='auth.openModal("signup")')
| ${{ partial.signup }}$

li(ng-if='!offline && loggedIn')
a.user-display(ng-href='http://world.kano.me/users/{{ user.username }}', target='_blank')
5 changes: 4 additions & 1 deletion views/partial/kano-nav.jade
Original file line number Diff line number Diff line change
@@ -12,10 +12,13 @@
| ${{ challenges.playground }}$

ul.nav.nav-right(ng-cloak slot='right')
li(ng-if='!offline && !loggedIn'): a(href='', ng-click='auth.openModal()')
li(ng-if='!offline && !loggedIn'): a(href='', ng-click='auth.openModal("login")')
i.icon-login
| ${{ partial.login }}$

li(ng-if='!offline && !loggedIn'): a.signup(href='', ng-click='auth.openModal("signup")')
| ${{ partial.signup }}$

li(ng-if='!offline && loggedIn')
a.user-display(ng-href='http://world.kano.me/users/{{ user.username }}', target='_blank')
.avatar: img(ng-src='{{ user.avatar.urls.circle || cfg.DEFAULT_AVATAR }}')