|
@@ -81,40 +81,18 @@
|
|
|
<</if>>
|
|
|
</div>
|
|
|
|
|
|
- <<actCLA 'Strip all clothing'>>
|
|
|
+ <div class="button">
|
|
|
+ <<link 'Strip all clothing'>>
|
|
|
<<run $wardrobe.strip('bra')>>
|
|
|
<<run $wardrobe.strip('clothes')>>
|
|
|
<<run $wardrobe.strip('panties')>>
|
|
|
<<run $wardrobe.strip('shoes')>>
|
|
|
<<gt 'wardrobe'>>
|
|
|
- <</actCLA>>
|
|
|
-
|
|
|
- <div id="outfitSetsSidebar" class="rightSidebar optional">
|
|
|
- <<for _outfitKey, _outfitData range $wardrobe.outfits>>
|
|
|
- <<capture _outfitKey>>
|
|
|
- <<if $wardrobe.outfitIsWearable(_outfitKey)>>
|
|
|
- <<link _outfitKey>>
|
|
|
- <<run $wardrobe.wearOutfit(_outfitKey)>>
|
|
|
- <<gt 'wardrobe'>>
|
|
|
- <</link>>
|
|
|
- <<else>>
|
|
|
- <span>_outfitKey</span>
|
|
|
- <</if>>
|
|
|
- <</capture>>
|
|
|
- <</for>>
|
|
|
- <<textbox "$newOutfitName" "OutfitSetName">> <<button "Save">>
|
|
|
- <<run $wardrobe.outfitAdd($newOutfitName)>>
|
|
|
- <<gt 'wardrobe'>>
|
|
|
- <</button>>
|
|
|
+ <</link>>
|
|
|
</div>
|
|
|
|
|
|
<h3>Outfit Sets</h3>
|
|
|
- <div id="outfitSets">
|
|
|
- <<if Object.keys($wardrobe.outfits).length > 0>>
|
|
|
- <div>Name</div>
|
|
|
- <div style="grid-column: 8">Sports</div>
|
|
|
- <div style="grid-column: 9">School</div>
|
|
|
- <</if>>
|
|
|
+ <div>
|
|
|
<<for _outfitKey, _outfitData range $wardrobe.outfits>>
|
|
|
<div class="outfitSet">
|
|
|
<<set _wearable_clothes = $wardrobe.wearable(_outfitData.clothes)>>
|
|
@@ -123,9 +101,12 @@
|
|
|
<<set _wearable_panties = $wardrobe.wearable(_outfitData.panties)>>
|
|
|
<<set _wearable = $wardrobe.outfitIsWearable(_outfitKey)>>
|
|
|
<<capture _outfitKey>>
|
|
|
- <div class="label">
|
|
|
+ <h4 class="label">
|
|
|
+ _outfitKey
|
|
|
+ </h4>
|
|
|
+ <div class="button buttonWear">
|
|
|
<<if _wearable == true>>
|
|
|
- <<actCLA _outfitKey 1>>
|
|
|
+ <<actCLA 'Wear' 1>>
|
|
|
<<run $wardrobe.wearOutfit(_outfitKey)>>
|
|
|
<<addtime 5>>
|
|
|
<<video "pc/activities/misc/dress_1.mp4">>
|
|
@@ -139,19 +120,10 @@
|
|
|
<</textWithTooltip>>
|
|
|
<</if>>
|
|
|
</div>
|
|
|
- <div class="overwriteOption">
|
|
|
- <<act 'Overwrite' 1>>
|
|
|
- <<run $wardrobe.outfitAdd(_outfitKey)>>
|
|
|
- <<gt 'wardrobe'>>
|
|
|
- <</act>>
|
|
|
- </div>
|
|
|
- <div class="deleteOption">
|
|
|
- <<linkreplace 'Delete'>>
|
|
|
- <<link "Confirm">>
|
|
|
- <<run $wardrobe.deleteOutfit(_outfitKey)>>
|
|
|
- <<gt 'wardrobe'>>
|
|
|
- <</link>>
|
|
|
- <</linkreplace>>
|
|
|
+ <div class="button buttonManage">
|
|
|
+ <<link 'Manage'>>
|
|
|
+ <<toggleclass `'#outfitManagement_'+_outfitKey` "visible">>
|
|
|
+ <</link>>
|
|
|
</div>
|
|
|
<</capture>>
|
|
|
|
|
@@ -211,12 +183,55 @@
|
|
|
<</if>>
|
|
|
</div>
|
|
|
|
|
|
- <div class="sportsOutfitRadio">
|
|
|
+ <label class="sportsOutfitRadio buttonRadio">
|
|
|
<<radiobutton "$wardrobe.outfitSports" _outfitKey autocheck>>
|
|
|
- </div>
|
|
|
- <div class="schoolOutfitRadio">
|
|
|
+ <span>Sport</span>
|
|
|
+ </label>
|
|
|
+ <label class="schoolOutfitRadio buttonRadio">
|
|
|
<<radiobutton "$wardrobe.outfitSchool" _outfitKey autocheck>>
|
|
|
+ <span>School</span>
|
|
|
+ </label>
|
|
|
+
|
|
|
+ <div @id='"outfitManagement_"+_outfitKey' class="outfitManagement">
|
|
|
+ <label class="sportsOutfitRadio buttonRadio">
|
|
|
+ <<radiobutton "$wardrobe.outfitSports" _outfitKey autocheck>>
|
|
|
+ <span>Sport</span>
|
|
|
+ </label>
|
|
|
+ <span class="description">Mark this as your default outfit for doing sports.</span>
|
|
|
+ <label class="schoolOutfitRadio buttonRadio">
|
|
|
+ <<radiobutton "$wardrobe.outfitSchool" _outfitKey autocheck>>
|
|
|
+ <span>School</span>
|
|
|
+ </label>
|
|
|
+ <span class="description">Mark this as your default outfit for going to school.</span>
|
|
|
+
|
|
|
+ <div class="overwriteOption button">
|
|
|
+ <<link 'Overwrite'>>
|
|
|
+ <<run $wardrobe.outfitAdd(_outfitKey)>>
|
|
|
+ <<gt 'wardrobe'>>
|
|
|
+ <</link>>
|
|
|
+ </div>
|
|
|
+ <span class="description">Overwrite the outfit with what you are currently wearing.</span>
|
|
|
+ <div class="deleteOption button">
|
|
|
+ <<linkreplace 'Delete'>>
|
|
|
+ <<link "Confirm">>
|
|
|
+ <<run $wardrobe.deleteOutfit(_outfitKey)>>
|
|
|
+ <<gt 'wardrobe'>>
|
|
|
+ <</link>>
|
|
|
+ <</linkreplace>>
|
|
|
+ </div>
|
|
|
+ <span class="description">Deletes this outfit. The clothes remain in your wardrobe.</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<</for>>
|
|
|
+ <div id="addOutfitField">
|
|
|
+ <h4>Add outfit</h4>
|
|
|
+ <span class="description">Add what you are currently wearing as a new outfit. If you type in an existing name, the existing outfit will be replaced instead.<br/>Name: </span>
|
|
|
+ <<textbox "_newOutfitName" "OutfitSetName">>
|
|
|
+ <div class="button">
|
|
|
+ <<link "Save">>
|
|
|
+ <<run $wardrobe.outfitAdd(_newOutfitName)>>
|
|
|
+ <<gt 'wardrobe'>>
|
|
|
+ <</link>>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|