Skip to content

Conversation

meynet-salesforce
Copy link
Contributor

@meynet-salesforce meynet-salesforce commented Dec 9, 2016

Creating this for Anny since she can't login to github right now

@coveralls
Copy link

Coverage Status

Coverage remained the same at 83.081% when pulling 2a8645b on tokenPage into daaf7b3 on more-tokens-api.

@meynet-salesforce meynet-salesforce temporarily deployed to refocus-pr-129 December 9, 2016 20:52 Inactive
Copy link
Contributor

@iamigo iamigo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor changes only :)

doctype html
html
head
title Create new token
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

title New Token

toggleVisibility(successInfo, true);
toggleVisibility(tokenInfo, true);
successInfo.innerHTML = 'Token generated from ' + res.body.name +
'. Please save this token, you will not see this token again!';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about something like this:

<b>Copy and paste your new token somewhere safe--you will not be able to see it again!</b>

Token name: ________
Token value: __________________

#successInfo
#tokenInfo
.form-group
input.form-control(type='text', autofocus, name="name", maxlength='60' placeholder='Enter token name' required)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you get back the token value, can we put a little more vertical space and maybe even a horizontal line between the new token that gets returned and the form fields where you enter a name to create yet another new token?

@annyhe
Copy link
Contributor

annyhe commented Dec 13, 2016

@iamigo Updated style. Screenshots are attached.
screen shot 2016-12-13 at 8 41 26 am
screen shot 2016-12-13 at 8 41 05 am

@coveralls
Copy link

Coverage Status

Coverage remained the same at 83.081% when pulling 80addef on tokenPage into daaf7b3 on more-tokens-api.

iamigo
iamigo previously requested changes Dec 13, 2016
@@ -0,0 +1,34 @@
/**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls add copyright to file

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@annyhe annyhe dismissed iamigo’s stale review December 13, 2016 16:52

implemented changes

@coveralls
Copy link

Coverage Status

Coverage remained the same at 83.081% when pulling f756e5a on tokenPage into daaf7b3 on more-tokens-api.

@annyhe
Copy link
Contributor

annyhe commented Dec 13, 2016

Comments @shriramshankar ?

}
#formGroup.show {
margin: 20px 0;
} No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a new line at the end of the file. Sorry for nit picking.

@iamigo
Copy link
Contributor

iamigo commented Dec 14, 2016

@shriramshankar waiting for review

@shriramshankar
Copy link
Contributor

@iamigo left a comment yesterday. Ok, to merge if we do not want to take care of that.

@iamigo iamigo merged commit 1e6b12a into more-tokens-api Dec 14, 2016
@iamigo iamigo deleted the tokenPage branch December 14, 2016 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants