diff --git a/assets/images/travis-crying.png b/assets/images/travis-crying.png new file mode 100644 index 00000000..4f42ba2a Binary files /dev/null and b/assets/images/travis-crying.png differ diff --git a/assets/scripts/app/templates/insufficient_oauth_permissions.hbs b/assets/scripts/app/templates/insufficient_oauth_permissions.hbs index 53480599..6160c9bb 100644 --- a/assets/scripts/app/templates/insufficient_oauth_permissions.hbs +++ b/assets/scripts/app/templates/insufficient_oauth_permissions.hbs @@ -1,5 +1,30 @@ -

We need more permissions to allow you to use Travis.

+
+ -{{#if existingUser}} -

This will be shown if #existing-user is added to the url

-{{/if}} +

+ Oops, looks like something went wrong! +

+

+ It looks like we don't have authorization to access your GitHub account.
+ Please review your GitHub settings and try again. +

+ +
+
+

+ More information on GithubAuth +

+
+ +
+

+ More information on GithubAuth +

+
+
+
+ {{#if existingUser}} +

This will be shown if #existing-user is added to the url

+ {{/if}} +
+
\ No newline at end of file diff --git a/assets/styles/auth.sass b/assets/styles/auth.sass index a3bb1fcf..13b59273 100644 --- a/assets/styles/auth.sass +++ b/assets/styles/auth.sass @@ -50,4 +50,46 @@ margin: 0 0 50px 0 height: 150px background: inline-image('travis-mascot-150.png') 50% 0 no-repeat - background-size: 150px 150px \ No newline at end of file + background-size: 150px 150px + +#insufficient-permissions + width: 850px + margin: 0 auto + padding-top: 30px + font-family: 'Source Sans Pro', Helvetica, sans-serif + font-size: 17px + line-height: 26px + text-align: center + + .insufficient-permissions-head + font-size: 35px + color: #337389 + font-weight: 800 + text-align: center + padding-bottom: 20px + margin: 0 + + .insufficient-permissions-more + color: #919191 + font-size: 20px + font-weight: 400 + text-align: center + padding: 0 + margin: 0 + + .sad-travis + border: 0px + padding-bottom: 30px + align: center + + .insufficient-permissions-row + display: inline-block + clear: all + padding-top: 30px + + .insufficient-permissions-column + padding-right: 28px + max-width: 380px + display: block + float: left + clear: all \ No newline at end of file diff --git a/public/images/travis-crying.png b/public/images/travis-crying.png new file mode 100644 index 00000000..4f42ba2a Binary files /dev/null and b/public/images/travis-crying.png differ