fix linting

This commit is contained in:
Régis Hanol 2018-08-31 10:49:44 +02:00
parent 931cffcebe
commit 6ada825a4d
2 changed files with 8 additions and 4 deletions

View File

@ -197,12 +197,14 @@ export default Ember.Controller.extend(
},
toggleToken(token) {
Ember.set(token, 'visible', !token.visible);
Ember.set(token, "visible", !token.visible);
},
revokeAuthToken() {
ajax(
userPath(`${this.get('model.username_lower')}/preferences/revoke-auth-token`),
userPath(
`${this.get("model.username_lower")}/preferences/revoke-auth-token`
),
{ type: "POST" }
);
},

View File

@ -577,7 +577,8 @@ select {
.auth-token-summary {
padding: 0px 10px;
.auth-token-label, .auth-token-value {
.auth-token-label,
.auth-token-value {
font-size: 1.2em;
margin-top: 5px;
}
@ -593,7 +594,8 @@ select {
}
}
.auth-token-label, .auth-token-value {
.auth-token-label,
.auth-token-value {
float: left;
width: 50%;
}