Skip to content

Commit 0d78620

Browse files
committed
Merge branch 'master' of https://github.com/CodeNow/runnable-angular into SAN-6007-edit-compose
2 parents c08b3f8 + ebf3259 commit 0d78620

14 files changed

Lines changed: 196 additions & 46 deletions

File tree

client/assets/styles/scss/components/wells.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@
6767
box-shadow: inset 0 0 0 1px $red;
6868
}
6969

70+
&.invalid {
71+
border-color: $red;
72+
box-shadow: inset 0 0 0 1px $red;
73+
}
74+
7075
.label-checkbox {
7176
height: 36px;
7277
line-height: 36px;

client/assets/styles/scss/forms/forms-inputs.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,13 @@ input {
8080

8181
// placeholder
8282
&::placeholder {
83-
color: $gray;
83+
color: $gray-light;
8484
}
8585
}
8686

8787
// sizes
8888
.input {
89+
color: $gray-dark;
8990
height: $input-md;
9091
line-height: $input-line-height-md;
9192

client/assets/styles/scss/forms/forms-payment.scss

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
&.padding-md,
55
> .padding-md {
66
@include media(xxs) {
7-
padding: 15px;
7+
padding: $sm;
88
}
99

1010
@include media(xxxs) {
@@ -15,17 +15,12 @@
1515
.well-payment {
1616

1717
// if server side error
18-
&.invalid {
19-
border-color: $red;
20-
box-shadow: inset 0 0 0 1px $red;
21-
22-
> .red {
23-
margin-bottom: 15px;
24-
}
18+
&.invalid > .red {
19+
margin-bottom: $sm;
2520
}
2621

2722
> .grid-block + .grid-block {
28-
margin-top: 15px;
23+
margin-top: $sm;
2924
}
3025

3126
// payment summary
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.form-registry {
2+
3+
// error msg
4+
.red {
5+
padding: $sm $sm 0;
6+
}
7+
8+
.well {
9+
border-radius: $input-border-radius-lg;
10+
11+
> .label {
12+
margin-bottom: 0;
13+
14+
+ .label {
15+
margin-top: 0;
16+
padding-top: 0;
17+
}
18+
}
19+
}
20+
21+
.footer {
22+
border-top: 1px solid $gray-lighter;
23+
}
24+
}

client/assets/styles/scss/index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
@import "forms/forms-github";
108108
@import "forms/forms-payment";
109109
@import "forms/forms-plan";
110+
@import "forms/forms-registry";
110111
@import "forms/forms-table-vars";
111112
@import "forms/forms-trial";
112113
@import "forms/forms-whitelist";

client/assets/styles/scss/modals/modals-settings.scss

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,18 @@
1010
min-height: 32px;
1111
}
1212

13-
.modal-header .orange {
14-
border: 0;
15-
border-radius: 15px;
16-
font-size: 11px;
17-
font-weight: $weight-normal;
18-
height: 15px;
19-
padding: 0 5px;
13+
.modal-header {
14+
padding-left: 0;
15+
padding-right: 0;
16+
17+
.orange {
18+
border: 0;
19+
border-radius: 15px;
20+
font-size: 11px;
21+
font-weight: $weight-normal;
22+
height: 15px;
23+
padding: 0 5px;
24+
}
2025
}
2126

2227
.modal-body {
@@ -89,7 +94,6 @@
8994
}
9095

9196
.list-teammates-pending {
92-
background-image: repeating-linear-gradient(60deg, #f9f9f9, #f9f9f9 18px, transparent 18px, transparent 36px);
9397

9498
+ .list-teammates-pending {
9599
margin-top: 15px;

client/assets/styles/scss/views/views-new-service.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@
5353
border-top: 1px solid $gray-lighter;
5454
}
5555

56+
&:not(:first-child) + .label {
57+
padding-top: 0;
58+
}
59+
5660
+ .label {
5761
margin-top: 0;
5862
}

client/directives/accountsSelect/popoverAccountMenu/viewPopoverAccountMenu.jade

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,22 @@
3737
)
3838
| {{data.currentOrg.poppa.trialDaysRemaining() + ' days left'}}
3939
li.list-item.popover-list-item(
40-
ng-click = "actions.openSettingsModal('teamManagement')"
40+
ng-click = "actions.openSettingsModal('githubIntegration')"
4141
)
4242
svg.iconnables
4343
use(
44-
xlink:href = "#icons-team"
44+
xlink:href = "#icons-octicons-github-gray"
4545
)
46-
| Teammates
46+
| PR Bot
4747
li.list-item.popover-list-item(
48-
ng-click = "actions.openSettingsModal('githubIntegration')"
48+
ng-click = "actions.openSettingsModal('privateRegistry')"
49+
ng-if = "$root.featureFlags.privateRegistry"
4950
)
5051
svg.iconnables
5152
use(
52-
xlink:href = "#icons-octicons-github-gray"
53+
xlink:href = "#icons-private-registry"
5354
)
54-
| PR Bot
55+
| Private Registry
5556
li.list-item.popover-list-item(
5657
ng-click = "actions.openSettingsModal('slackIntegration')"
5758
)
@@ -61,6 +62,14 @@
6162
width = "24"
6263
)
6364
| Slack Integration
65+
li.list-item.popover-list-item(
66+
ng-click = "actions.openSettingsModal('teamManagement')"
67+
)
68+
svg.iconnables
69+
use(
70+
xlink:href = "#icons-team"
71+
)
72+
| Teammates
6473
ul.list.popover-list(
6574
ng-class = "{'list-secondary': !data.currentOrg.isPersonalAccount()}"
6675
)

client/directives/modals/settingsModal/forms/billingForm/billingForm.jade

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,38 +11,37 @@
1111
name = "billingForm"
1212
)
1313
.grid-block.vertical.align-center.form-trial.padding-md.fade(
14-
ng-class = "{'in': isActivePanel()}"
15-
trial-form
1614
from-modal = 'true'
15+
ng-class = "{'in': isActivePanel()}"
1716
ng-if = "currentOrg.poppa.isInTrial() && !currentOrg.poppa.attrs.hasPaymentMethod"
17+
trial-form
1818
)
1919
.grid-block.vertical.form-plan.fade(
2020
ng-class = "{'in': isActivePanel()}"
21+
ng-if = "currentOrg.poppa.isInTrial() && !currentOrg.poppa.attrs.hasPaymentMethod"
2122
ng-init = "state.hasDuration = false"
22-
plan-status-form
2323
ng-show = "!$root.isLoading.billingForm"
24-
ng-if = "currentOrg.poppa.isInTrial() && !currentOrg.poppa.attrs.hasPaymentMethod"
24+
plan-status-form
2525
)
26-
2726
.grid-block.vertical.form-plan.label.padding-sm.fade(
2827
ng-class = "{'in': isActivePanel()}"
29-
show-plan-form
3028
ng-if = "!currentOrg.poppa.isInTrial() || (currentOrg.poppa.isInTrial() && currentOrg.poppa.attrs.hasPaymentMethod)"
29+
show-plan-form
3130
)
3231
.grid-block.vertical.label.padding-sm.fade(
3332
ng-class = "{'in': isActivePanel()}"
34-
show-payment-form
3533
ng-if = "!currentOrg.poppa.isInTrial() || (currentOrg.poppa.isInTrial() && currentOrg.poppa.attrs.hasPaymentMethod)"
34+
show-payment-form
3635
)
3736
.grid-block.vertical.label.padding-sm.fade(
38-
ng-class = "{'in': isActivePanel()}"
3937
billing-history-form
38+
ng-class = "{'in': isActivePanel()}"
4039
ng-if = "!currentOrg.poppa.isInTrial() || (currentOrg.poppa.isInTrial() && currentOrg.poppa.attrs.hasPaymentMethod)"
4140
)
4241
.grid-block.vertical.label.padding-sm.fade(
4342
ng-class = "{'in': isActivePanel()}"
44-
ng-include = "'disableOrgForm'"
4543
ng-if = "!currentOrg.poppa.isInTrial() || (currentOrg.poppa.isInTrial() && currentOrg.poppa.attrs.hasPaymentMethod)"
44+
ng-include = "'disableOrgForm'"
4645
)
4746
animated-panel(
4847
name = "planStatusForm"

client/directives/modals/settingsModal/forms/billingForm/showPaymentForm/showPaymentForm.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.clearfix
22
.label-col.full-width Payment Info
33
label.grid-block.vertical.well.well-summary(
4-
ng-class = "{flash: hasUpdated}"
4+
ng-class = "{'flash': hasUpdated}"
55
)
66
.grid-block.align-center.padding-sm
77
.grid-block.vertical

0 commit comments

Comments
 (0)