|
48 | 48 | <svg |
49 | 49 | v-if="app === 'TOOLKIT' && stage !== 'CONNECTED'" |
50 | 50 | width="100" |
51 | | - height="100" |
52 | | - viewBox="0 0 54 54" |
| 51 | + height="80" |
| 52 | + viewBox="0 0 54 40" |
53 | 53 | fill="none" |
54 | 54 | id="Layer_1" |
55 | 55 | data-name="Layer 1" |
|
106 | 106 | class="selectable-item" |
107 | 107 | ></SelectableItem> |
108 | 108 | <SelectableItem |
| 109 | + v-if="app === 'AMAZONQ'" |
109 | 110 | @toggle="toggleItemSelection" |
110 | 111 | :isSelected="selectedLoginOption === LoginOption.ENTERPRISE_SSO" |
111 | 112 | :itemId="LoginOption.ENTERPRISE_SSO" |
112 | 113 | :itemText="'Single sign-on with AWS IAM Identity Center'" |
113 | 114 | :itemTitle="'Use professional license'" |
114 | 115 | class="selectable-item" |
115 | 116 | ></SelectableItem> |
| 117 | + <SelectableItem |
| 118 | + v-if="app === 'TOOLKIT'" |
| 119 | + @toggle="toggleItemSelection" |
| 120 | + :isSelected="selectedLoginOption === LoginOption.ENTERPRISE_SSO" |
| 121 | + :itemId="LoginOption.ENTERPRISE_SSO" |
| 122 | + :itemText="'Sign in to AWS with single sign-on'" |
| 123 | + :itemTitle="'Workforce'" |
| 124 | + class="selectable-item" |
| 125 | + ></SelectableItem> |
116 | 126 | <SelectableItem |
117 | 127 | v-if="app === 'TOOLKIT'" |
118 | 128 | @toggle="toggleItemSelection" |
|
147 | 157 | Using CodeCatalyst with AWS Builder ID? |
148 | 158 | <a href="#" @click="handleCodeCatalystSignin()">Skip to sign-in</a> |
149 | 159 | </div> |
150 | | - <br /><br /> |
151 | 160 | </div> |
152 | | - <div class="p">Start URL</div> |
| 161 | + <div class="title">Start URL</div> |
153 | 162 | <div class="hint">URL for your organization, provided by an admin or help desk</div> |
154 | 163 | <input |
155 | 164 | class="urlInput" |
|
160 | 169 | v-model="startUrl" |
161 | 170 | /> |
162 | 171 | <h4 class="start-url-error">{{ startUrlError }}</h4> |
163 | | - <br /><br /> |
164 | 172 | <div class="title">Region</div> |
165 | 173 | <div class="hint">AWS Region that hosts identity directory</div> |
166 | 174 | <select class="regionSelect" id="regions" name="regions" v-model="selectedRegion"> |
167 | 175 | <option v-for="region in regions" :key="region.id" :value="region.id"> |
168 | 176 | {{ `${region.name} (${region.id})` }} |
169 | 177 | </option> |
170 | 178 | </select> |
171 | | - <br /><br /> |
172 | 179 | <button |
173 | 180 | class="continue-button" |
174 | 181 | :disabled="startUrl.length == 0 || startUrlError.length > 0" |
|
199 | 206 | </button> |
200 | 207 | <div class="title">IAM Credentials:</div> |
201 | 208 | <div class="hint">Credentials will be added to the appropriate ~/.aws/ files</div> |
202 | | - <br /><br /> |
203 | | - <div class="p">Profile Name</div> |
| 209 | + <div style="margin-bottom: 8px"></div> |
| 210 | + <div class="title">Profile Name</div> |
204 | 211 | <div class="hint">The identifier for these credentials</div> |
205 | 212 | <input class="iamInput" type="text" id="profileName" name="profileName" v-model="profileName" /> |
206 | | - |
207 | | - <br /><br /> |
208 | | - <div class="p">Access Key</div> |
| 213 | + <div class="title">Access Key</div> |
209 | 214 | <input class="iamInput" type="text" id="accessKey" name="accessKey" v-model="accessKey" /> |
210 | | - |
211 | | - <br /><br /> |
212 | | - <div class="p">Secret Key</div> |
| 215 | + <div class="title">Secret Key</div> |
213 | 216 | <input class="iamInput" type="text" id="secretKey" name="secretKey" v-model="secretKey" /> |
214 | | - |
215 | | - <br /><br /> |
216 | 217 | <button |
217 | 218 | class="continue-button" |
218 | 219 | :disabled="profileName.length <= 0 || accessKey.length <= 0 || secretKey.length <= 0" |
@@ -432,65 +433,113 @@ export default defineComponent({ |
432 | 433 | margin-bottom: 10px; |
433 | 434 | margin-top: 10px; |
434 | 435 | } |
435 | | -.continue-button { |
436 | | - background-color: #29a7ff; |
437 | | - color: white; |
438 | | - width: 100%; |
439 | | - height: 40px; |
440 | | -} |
441 | | -.back-button { |
442 | | - background: none; |
443 | | - border: none; |
444 | | - cursor: pointer; |
445 | | - color: white; |
446 | | - font-size: 30px; |
447 | | -} |
448 | 436 | .logoIcon { |
449 | 437 | display: flex; |
450 | 438 | flex-direction: row; |
451 | 439 | justify-content: left; |
452 | 440 | align-items: flex-start; |
453 | | - padding-top: 150px; |
454 | | - padding-bottom: 10px; |
| 441 | + padding-top: 130px; |
| 442 | + padding-bottom: 2px; |
455 | 443 | padding-left: 10px; |
456 | 444 | height: auto; |
457 | 445 | } |
458 | 446 | .hint { |
459 | | - color: #948a8a; |
| 447 | + color: #c6c6c6; |
460 | 448 | margin-bottom: 5px; |
461 | 449 | margin-top: 5px; |
| 450 | + font-size: 8px; |
| 451 | +} |
| 452 | +.vscode-light .hint { |
| 453 | + color: #3d3a3a; |
| 454 | +} |
| 455 | +.vscode-dark .hint { |
| 456 | + color: #c6c6c6; |
462 | 457 | } |
| 458 | +
|
463 | 459 | .title { |
464 | | - margin-bottom: 5px; |
465 | | - margin-top: 5px; |
466 | | - font-size: 15px; |
| 460 | + margin-bottom: 3px; |
| 461 | + margin-top: 3px; |
| 462 | + font-size: 12px; |
467 | 463 | font-weight: bold; |
| 464 | +} |
| 465 | +.title.vscode-dark { |
468 | 466 | color: white; |
469 | 467 | } |
| 468 | +.title.vscode-light { |
| 469 | + color: black; |
| 470 | +} |
| 471 | +
|
470 | 472 | .h4 { |
471 | | - font-size: 10px; |
| 473 | + font-size: 8px; |
| 474 | + margin-bottom: 8px; |
| 475 | +} |
| 476 | +.continue-button { |
| 477 | + background-color: var(--vscode-button-background); |
| 478 | + color: white; |
| 479 | + width: 100%; |
| 480 | + height: 30px; |
| 481 | + border: none; |
| 482 | + border-radius: 4px; |
| 483 | + font-weight: bold; |
| 484 | + margin-bottom: 3px; |
| 485 | + margin-top: 3px; |
| 486 | +} |
| 487 | +.back-button { |
| 488 | + background: none; |
| 489 | + border: none; |
| 490 | + cursor: pointer; |
| 491 | + color: var(--vscode-button-foreground); |
| 492 | + padding: 0; |
| 493 | + height: 13px; |
472 | 494 | } |
473 | 495 | .continue-button:disabled { |
474 | | - background-color: #252526; |
| 496 | + background-color: var(--vscode-input-background); |
475 | 497 | color: #6f6f6f; |
476 | 498 | } |
477 | 499 | .urlInput { |
478 | | - background-color: #252526; |
| 500 | + background-color: var(--vscode-input-background); |
479 | 501 | width: 100%; |
| 502 | + height: 15px; |
| 503 | + color: white; |
| 504 | + border: none; |
| 505 | +} |
| 506 | +.vscode-light .urlInput { |
| 507 | + color: black; |
| 508 | +} |
| 509 | +.vscode-dark .urlInput { |
480 | 510 | color: white; |
481 | 511 | } |
482 | 512 | .iamInput { |
483 | | - background-color: #252526; |
| 513 | + background-color: var(--vscode-input-background); |
484 | 514 | width: 100%; |
| 515 | + height: 15px; |
| 516 | + color: white; |
| 517 | + border: none; |
| 518 | + margin-bottom: 5px; |
| 519 | + margin-top: 2px; |
| 520 | +} |
| 521 | +.vscode-light .iamInput { |
| 522 | + color: black; |
| 523 | +} |
| 524 | +.vscode-dark .iamInput { |
485 | 525 | color: white; |
486 | 526 | } |
487 | 527 | .regionSelect { |
488 | | - background-color: #252526; |
| 528 | + background-color: var(--vscode-input-background); |
489 | 529 | width: 100%; |
490 | 530 | color: white; |
| 531 | + margin-bottom: 5px; |
| 532 | + margin-top: 2px; |
| 533 | +} |
| 534 | +.vscode-light .regionSelect { |
| 535 | + color: black; |
| 536 | +} |
| 537 | +.vscode-dark .regionSelect { |
| 538 | + color: white; |
491 | 539 | } |
492 | 540 | .start-url-error { |
493 | 541 | color: #ff0000; |
| 542 | + font-size: 8px; |
494 | 543 | } |
495 | 544 | #logo { |
496 | 545 | fill: var(--vscode-button-foreground); |
|
0 commit comments