forked from public/fvtt-cthulhu-eternal
		
	Fix #39 - Display cured/uncured for mental disorder
This commit is contained in:
		| @@ -605,8 +605,8 @@ i.fvtt-cthulhu-eternal { | |||||||
|   display: flex; |   display: flex; | ||||||
|   align-items: center; |   align-items: center; | ||||||
|   gap: 4px; |   gap: 4px; | ||||||
|   min-width: 16rem; |   min-width: 18rem; | ||||||
|   max-width: 16rem; |   max-width: 18rem; | ||||||
| } | } | ||||||
| .fvtt-cthulhu-eternal .tab.protagonist-status .bonds .bond .controls { | .fvtt-cthulhu-eternal .tab.protagonist-status .bonds .bond .controls { | ||||||
|   min-width: 2rem; |   min-width: 2rem; | ||||||
| @@ -617,8 +617,8 @@ i.fvtt-cthulhu-eternal { | |||||||
|   max-width: 12rem; |   max-width: 12rem; | ||||||
| } | } | ||||||
| .fvtt-cthulhu-eternal .tab.protagonist-status .bonds .bond .type { | .fvtt-cthulhu-eternal .tab.protagonist-status .bonds .bond .type { | ||||||
|   min-width: 5rem; |   min-width: 6rem; | ||||||
|   max-width: 5rem; |   max-width: 6rem; | ||||||
| } | } | ||||||
| .fvtt-cthulhu-eternal .tab.protagonist-status .bonds .bond .level { | .fvtt-cthulhu-eternal .tab.protagonist-status .bonds .bond .level { | ||||||
|   min-width: 2rem; |   min-width: 2rem; | ||||||
| @@ -638,8 +638,8 @@ i.fvtt-cthulhu-eternal { | |||||||
|   display: flex; |   display: flex; | ||||||
|   align-items: center; |   align-items: center; | ||||||
|   gap: 4px; |   gap: 4px; | ||||||
|   min-width: 16rem; |   min-width: 18rem; | ||||||
|   max-width: 16rem; |   max-width: 18rem; | ||||||
| } | } | ||||||
| .fvtt-cthulhu-eternal .tab.protagonist-status .mentaldisorders .mentaldisorder .controls { | .fvtt-cthulhu-eternal .tab.protagonist-status .mentaldisorders .mentaldisorder .controls { | ||||||
|   min-width: 2rem; |   min-width: 2rem; | ||||||
| @@ -649,6 +649,10 @@ i.fvtt-cthulhu-eternal { | |||||||
|   min-width: 14rem; |   min-width: 14rem; | ||||||
|   max-width: 14rem; |   max-width: 14rem; | ||||||
| } | } | ||||||
|  | .fvtt-cthulhu-eternal .tab.protagonist-status .mentaldisorders .mentaldisorder .cured { | ||||||
|  |   min-width: 5rem; | ||||||
|  |   max-width: 5rem; | ||||||
|  | } | ||||||
| .fvtt-cthulhu-eternal .tab.protagonist-status .mentaldisorders .mentaldisorder .item-img { | .fvtt-cthulhu-eternal .tab.protagonist-status .mentaldisorders .mentaldisorder .item-img { | ||||||
|   width: 24px; |   width: 24px; | ||||||
|   height: 24px; |   height: 24px; | ||||||
|   | |||||||
| @@ -325,6 +325,8 @@ | |||||||
|       "veryHarsh": "Very Harsh" |       "veryHarsh": "Very Harsh" | ||||||
|     }, |     }, | ||||||
|     "Label": { |     "Label": { | ||||||
|  |       "Cured": "Cured", | ||||||
|  |       "Uncured": "Uncured", | ||||||
|       "nudgedRoll": "Nudged Roll", |       "nudgedRoll": "Nudged Roll", | ||||||
|       "selectNewValue": "Select the new value", |       "selectNewValue": "Select the new value", | ||||||
|       "wpCost": "WP Cost", |       "wpCost": "WP Cost", | ||||||
|   | |||||||
| @@ -1,3 +1,8 @@ | |||||||
| 2025/02/06-20:25:16.737126 7ffae77fe6c0 Recovering log #102 | 2025/02/06-20:25:16.737126 7ffae77fe6c0 Recovering log #102 | ||||||
| 2025/02/06-20:25:16.746805 7ffae77fe6c0 Delete type=3 #100 | 2025/02/06-20:25:16.746805 7ffae77fe6c0 Delete type=3 #100 | ||||||
| 2025/02/06-20:25:16.746880 7ffae77fe6c0 Delete type=0 #102 | 2025/02/06-20:25:16.746880 7ffae77fe6c0 Delete type=0 #102 | ||||||
|  | 2025/02/06-21:09:49.042911 7ffae6bff6c0 Level-0 table #107: started | ||||||
|  | 2025/02/06-21:09:49.042956 7ffae6bff6c0 Level-0 table #107: 0 bytes OK | ||||||
|  | 2025/02/06-21:09:49.048918 7ffae6bff6c0 Delete type=0 #105 | ||||||
|  | 2025/02/06-21:09:49.049103 7ffae6bff6c0 Manual compaction at level-0 from '!folders!DD8331Hda4rhvEf9' @ 72057594037927935 : 1 .. '!items!zplzTG30QXHURusr' @ 0 : 0; will stop at (end) | ||||||
|  | 2025/02/06-21:09:49.049145 7ffae6bff6c0 Manual compaction at level-1 from '!folders!DD8331Hda4rhvEf9' @ 72057594037927935 : 1 .. '!items!zplzTG30QXHURusr' @ 0 : 0; will stop at (end) | ||||||
|   | |||||||
										
											Binary file not shown.
										
									
								
							| @@ -370,6 +370,7 @@ | |||||||
|       padding-left: 5px; |       padding-left: 5px; | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   .bonds { |   .bonds { | ||||||
|     display: grid; |     display: grid; | ||||||
|     grid-template-columns: repeat(2, 1fr); |     grid-template-columns: repeat(2, 1fr); | ||||||
| @@ -378,8 +379,8 @@ | |||||||
|       display: flex; |       display: flex; | ||||||
|       align-items: center; |       align-items: center; | ||||||
|       gap: 4px; |       gap: 4px; | ||||||
|       min-width: 16rem; |       min-width: 18rem; | ||||||
|       max-width: 16rem; |       max-width: 18rem; | ||||||
|       .controls { |       .controls { | ||||||
|         min-width: 2rem; |         min-width: 2rem; | ||||||
|         max-width: 2rem; |         max-width: 2rem; | ||||||
| @@ -389,8 +390,8 @@ | |||||||
|         max-width: 12rem; |         max-width: 12rem; | ||||||
|       } |       } | ||||||
|       .type { |       .type { | ||||||
|         min-width: 5rem; |         min-width: 6rem; | ||||||
|         max-width: 5rem; |         max-width: 6rem; | ||||||
|       } |       } | ||||||
|       .level { |       .level { | ||||||
|         min-width: 2rem; |         min-width: 2rem; | ||||||
| @@ -403,6 +404,7 @@ | |||||||
|       } |       } | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   .mentaldisorders { |   .mentaldisorders { | ||||||
|     display: grid; |     display: grid; | ||||||
|     grid-template-columns: repeat(2, 1fr); |     grid-template-columns: repeat(2, 1fr); | ||||||
| @@ -411,8 +413,8 @@ | |||||||
|       display: flex; |       display: flex; | ||||||
|       align-items: center; |       align-items: center; | ||||||
|       gap: 4px; |       gap: 4px; | ||||||
|       min-width: 16rem; |       min-width: 18rem; | ||||||
|       max-width: 16rem; |       max-width: 18rem; | ||||||
|       .controls { |       .controls { | ||||||
|         min-width: 2rem; |         min-width: 2rem; | ||||||
|         max-width: 2rem; |         max-width: 2rem; | ||||||
| @@ -421,6 +423,10 @@ | |||||||
|         min-width: 14rem; |         min-width: 14rem; | ||||||
|         max-width: 14rem; |         max-width: 14rem; | ||||||
|       } |       } | ||||||
|  |       .cured { | ||||||
|  |         min-width: 5rem; | ||||||
|  |         max-width: 5rem; | ||||||
|  |       } | ||||||
|       .item-img { |       .item-img { | ||||||
|         width: 24px; |         width: 24px; | ||||||
|         height: 24px; |         height: 24px; | ||||||
| @@ -428,6 +434,7 @@ | |||||||
|       } |       } | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   .injuries { |   .injuries { | ||||||
|     display: grid; |     display: grid; | ||||||
|     grid-template-columns: repeat(2, 1fr); |     grid-template-columns: repeat(2, 1fr); | ||||||
|   | |||||||
| @@ -12,7 +12,7 @@ | |||||||
|             {{item.name}} |             {{item.name}} | ||||||
|           </div> |           </div> | ||||||
|           <div class="type"> |           <div class="type"> | ||||||
|             {{item.system.bondType}} |             {{upperFirst item.system.bondType}} | ||||||
|           </div> |           </div> | ||||||
|           <div class="level"> |           <div class="level"> | ||||||
|             {{item.system.value}} |             {{item.system.value}} | ||||||
| @@ -56,6 +56,13 @@ | |||||||
|           <div class="name" data-tooltip="{{{item.system.description}}}"> |           <div class="name" data-tooltip="{{{item.system.description}}}"> | ||||||
|             {{item.name}} |             {{item.name}} | ||||||
|           </div> |           </div> | ||||||
|  |           <div class="cured"> | ||||||
|  |             {{#if item.system.cured}} | ||||||
|  |               {{localize 'CTHULHUETERNAL.Label.Cured'}} | ||||||
|  |             {{else}} | ||||||
|  |               {{localize 'CTHULHUETERNAL.Label.Uncured'}} | ||||||
|  |             {{/if}} | ||||||
|  |           </div> | ||||||
|           <div class="controls"> |           <div class="controls"> | ||||||
|             <a data-tooltip="{{localize 'CTHULHUETERNAL.Edit'}}" data-action="edit" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}"><i class="fas fa-edit"></i></a> |             <a data-tooltip="{{localize 'CTHULHUETERNAL.Edit'}}" data-action="edit" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}"><i class="fas fa-edit"></i></a> | ||||||
|             <a data-tooltip="{{localize 'CTHULHUETERNAL.Delete'}}" data-action="delete" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}"><i class="fas fa-trash"></i></a> |             <a data-tooltip="{{localize 'CTHULHUETERNAL.Delete'}}" data-action="delete" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}"><i class="fas fa-trash"></i></a> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user