UX: Tweak some styles
This commit is contained in:
		
							parent
							
								
									c450dcbb8d
								
							
						
					
					
						commit
						3aa0862fa9
					
				|  | @ -26,19 +26,15 @@ export default Component.extend({ | ||||||
|     } |     } | ||||||
|   ), |   ), | ||||||
| 
 | 
 | ||||||
|   officialRepoImageSrc: computed("repo.official", function () { |   officialRepoBadge: computed("repo.official", function () { | ||||||
|     if (this.get("repo.fork")) { |     if (this.get("repo.fork")) { | ||||||
|       return getURLWithCDN( |       return "exclamation-circle"; | ||||||
|         "/plugins/docker_manager/images/font-awesome-exclamation-circle.png" |  | ||||||
|       ); |  | ||||||
|     } else if (this.get("repo.official")) { |     } else if (this.get("repo.official")) { | ||||||
|       return getURLWithCDN( |       return "check-circle"; | ||||||
|         "/plugins/docker_manager/images/font-awesome-check-circle.png" |  | ||||||
|       ); |  | ||||||
|     } |     } | ||||||
|   }), |   }), | ||||||
| 
 | 
 | ||||||
|   officialRepoImageTitle: computed("repo.official", function () { |   officialRepoBadgeTitle: computed("repo.official", function () { | ||||||
|     if (this.get("repo.fork")) { |     if (this.get("repo.fork")) { | ||||||
|       return "Forked Official Plugin"; |       return "Forked Official Plugin"; | ||||||
|     } else if (this.get("repo.official")) { |     } else if (this.get("repo.official")) { | ||||||
|  |  | ||||||
|  | @ -1,11 +1,11 @@ | ||||||
| <td> | <td> | ||||||
|   {{#if officialRepoImageSrc}} |   {{#if this.officialRepoBadge}} | ||||||
|     <img |     {{d-icon | ||||||
|  |       this.officialRepoBadge | ||||||
|       class="check-circle" |       class="check-circle" | ||||||
|       src={{officialRepoImageSrc}} |       alt=this.officialRepoBadgeTitle | ||||||
|       alt={{officialRepoImageTitle}} |       title=this.officialRepoBadgeTitle | ||||||
|       title={{officialRepoImageTitle}} |     }} | ||||||
|     /> |  | ||||||
|   {{/if}} |   {{/if}} | ||||||
| </td> | </td> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -12,11 +12,11 @@ | ||||||
| </button> | </button> | ||||||
| 
 | 
 | ||||||
| <table class="table" id="repos"> | <table class="table" id="repos"> | ||||||
|   <tr> |   <thead> | ||||||
|     <th></th> |     <th></th> | ||||||
|     <th style="width: 50%">Repository</th> |     <th style="width: 50%">Repository</th> | ||||||
|     <th>Status</th> |     <th>Status</th> | ||||||
|   </tr> |   </thead> | ||||||
|   <tbody> |   <tbody> | ||||||
|     {{#each model as |repo|}} |     {{#each model as |repo|}} | ||||||
|       {{repo-status repo=repo upgradingRepo=upgrading managerRepo=managerRepo}} |       {{repo-status repo=repo upgradingRepo=upgrading managerRepo=managerRepo}} | ||||||
|  |  | ||||||
|  | @ -11,7 +11,7 @@ | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   .check-circle { |   .check-circle { | ||||||
|     height: 15px; |     color: var(--success); | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   table#repos { |   table#repos { | ||||||
|  | @ -46,8 +46,8 @@ | ||||||
| 
 | 
 | ||||||
|     ul { |     ul { | ||||||
|       list-style: none; |       list-style: none; | ||||||
|  |       margin: 0 0 10px 0; | ||||||
|       padding: 0; |       padding: 0; | ||||||
|       margin-bottom: 10px; |  | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     li.new-commits { |     li.new-commits { | ||||||
|  |  | ||||||
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 3.6 KiB | 
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 3.4 KiB | 
		Loading…
	
		Reference in New Issue