-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add NavHeader component * use NavHeader in SplashPage component and application.hbs * let download button take a block * add RadialProgress component * use RadialProgress in ShamirFlow component * style up the RadialProgress component * update ember-basic-dropdown, ember-basic-dropdown-hover * rework operation token generation workflow * directly depend on ember-maybe-in-element
- Loading branch information
Showing
62 changed files
with
1,167 additions
and
521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import Ember from 'ember'; | ||
|
||
export default Ember.Component.extend({ | ||
'data-test-hover-copy': true, | ||
classNameBindings: 'alwaysShow:hover-copy-button-static:hover-copy-button', | ||
copyValue: null, | ||
alwaysShow: false, | ||
|
||
tooltipText: 'Copy', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Ember from 'ember'; | ||
|
||
export default Ember.Component.extend({ | ||
'data-test-navheader': true, | ||
tagName: 'header', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import Ember from 'ember'; | ||
|
||
export default Ember.Component.extend({ | ||
tagName: '', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import Ember from 'ember'; | ||
|
||
export default Ember.Component.extend({ | ||
tagName: '', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import Ember from 'ember'; | ||
|
||
export default Ember.Component.extend({ | ||
tagName: '', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import Ember from 'ember'; | ||
const { computed } = Ember; | ||
|
||
export default Ember.Component.extend({ | ||
'data-test-radial-progress': true, | ||
tagName: 'svg', | ||
classNames: 'radial-progress', | ||
attributeBindings: ['size:width', 'size:height', 'viewBox'], | ||
progressDecimal: null, | ||
size: 20, | ||
strokeWidth: 1, | ||
|
||
viewBox: computed('size', function() { | ||
let s = this.get('size'); | ||
return `0 0 ${s} ${s}`; | ||
}), | ||
centerValue: computed('size', function() { | ||
return this.get('size') / 2; | ||
}), | ||
r: computed('size', 'strokeWidth', function() { | ||
return (this.get('size') - this.get('strokeWidth')) / 2; | ||
}), | ||
c: computed('r', function() { | ||
return 2 * Math.PI * this.get('r'); | ||
}), | ||
dashArrayOffset: computed('c', 'progressDecimal', function() { | ||
return this.get('c') * (1 - this.get('progressDecimal')); | ||
}), | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
import Ember from 'ember'; | ||
|
||
const { computed, inject } = Ember; | ||
|
||
export default Ember.Component.extend({ | ||
version: inject.service(), | ||
auth: inject.service(), | ||
store: inject.service(), | ||
tagName: '', | ||
|
||
activeCluster: computed('auth.activeCluster', function() { | ||
return this.get('store').peekRecord('cluster', this.get('auth.activeCluster')); | ||
}), | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.has-copy-button { | ||
position: relative; | ||
color: $grey; | ||
} | ||
.hover-copy-button, | ||
.hover-copy-button-static { | ||
position: absolute; | ||
top: 0.5rem; | ||
right: 0.5rem; | ||
} | ||
|
||
.hover-copy-button { | ||
opacity: 0; | ||
pointer-events: none; | ||
transition: opacity $speed ease-in-out; | ||
will-change: opacity; | ||
} | ||
|
||
.has-copy-button:hover .hover-copy-button, | ||
.has-copy-button:focus .hover-copy-button, | ||
.hover-copy-button .copy-button:focus { | ||
opacity: 1; | ||
pointer-events: auto; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,18 @@ | ||
.init-box { | ||
position: relative; | ||
z-index: 10; | ||
} | ||
.init-illustration { | ||
bottom: 0; | ||
right: 0; | ||
overflow: hidden; | ||
position: absolute; | ||
height: 200px; | ||
width: 200px; | ||
} | ||
.init-illustration svg { | ||
position: absolute; | ||
left: calc(50% - 100px); | ||
top: -94px; | ||
right: -50px; | ||
bottom: -50px; | ||
opacity: 0.8; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.message-in-page { | ||
margin-bottom: 2rem; | ||
margin-bottom: 1rem; | ||
position: relative; | ||
|
||
.close-button { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.radial-progress { | ||
transform: rotate(-90deg) translateX(-20%); | ||
} | ||
.radial-progress circle { | ||
stroke: rgba($grey-light, 0.5); | ||
transition: stroke-dashoffset $speed ease-in; | ||
will-change: stroke-dashoffset; | ||
stroke-linecap: round; | ||
} | ||
.radial-progress circle.progress-fill { | ||
stroke: $green; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
a.splash-page-logo { | ||
color: $white; | ||
svg { | ||
transform: scale(.5); | ||
transform-origin: left; | ||
fill: currentColor; | ||
} | ||
} | ||
|
||
.splash-page-container { | ||
margin: $size-2 0; | ||
} | ||
.splash-page-header { | ||
padding: .75rem 1.5rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.unseal-warning.message, | ||
.unseal-warning .message-body { | ||
border-radius: 0; | ||
margin-bottom: 0; | ||
} |
Oops, something went wrong.