File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,20 +94,20 @@ function validateInputs() {
9494 // Validate difficulty
9595 if ( ! validDifficulties . includes ( difficultyInput . value ) ) {
9696 difficultyInput . classList . add ( 'invalid' ) ;
97- updateInfoText ( difficultyInput , `${ validDifficulties . join ( ', ' ) } ` ) ;
97+ updateInfoText ( difficultyInput , `❌ ${ validDifficulties . join ( ', ' ) } ` ) ;
9898 }
9999
100100 if ( worldConfig ) {
101101 // Validate start condition
102102 if ( ! worldConfig . conditions . includes ( startConditionInput . value ) ) {
103103 startConditionInput . classList . add ( 'invalid' ) ;
104- updateInfoText ( startConditionInput , `${ selectedWorld } : ${ worldConfig . conditions . join ( ', ' ) } ` ) ;
104+ updateInfoText ( startConditionInput , `❌ ${ selectedWorld } : ${ worldConfig . conditions . join ( ', ' ) } ` ) ;
105105 }
106106
107107 // Validate start location
108108 if ( ! worldConfig . locations . includes ( startLocationInput . value ) ) {
109109 startLocationInput . classList . add ( 'invalid' ) ;
110- updateInfoText ( startLocationInput , `${ selectedWorld } : ${ worldConfig . locations . join ( ', ' ) } ` ) ;
110+ updateInfoText ( startLocationInput , `❌ ${ selectedWorld } : ${ worldConfig . locations . join ( ', ' ) } ` ) ;
111111 }
112112 }
113113
Original file line number Diff line number Diff line change @@ -270,21 +270,21 @@ <h3 class="section-title">{{.UIText_TerrainSettingsHeader}}</h3>
270270 < label for ="Difficulty "> {{.UIText_Difficulty}}:</ label >
271271 < input type ="text " id ="Difficulty " name ="Difficulty "
272272 value ="{{.Difficulty}} " pattern ="^\S*$ " required >
273- < div class ="input-info "> {{.UIText_DifficultyInfo}}</ div >
273+ < div class ="input-info "> ✅ {{.UIText_DifficultyInfo}}</ div >
274274 </ div >
275275
276276 < div class ="form-group ">
277277 < label for ="StartCondition "> {{.UIText_StartCondition}}:</ label >
278278 < input type ="text " id ="StartCondition " name ="StartCondition "
279279 value ="{{.StartCondition}} " pattern ="^\S*$ " required >
280- < div class ="input-info "> {{.UIText_StartConditionInfo}}</ div >
280+ < div class ="input-info "> ✅ {{.UIText_StartConditionInfo}}</ div >
281281 </ div >
282282
283283 < div class ="form-group ">
284284 < label for ="StartLocation "> {{.UIText_StartLocation}}:</ label >
285285 < input type ="text " id ="StartLocation " name ="StartLocation "
286286 value ="{{.StartLocation}} " pattern ="^\S*$ " required >
287- < div class ="input-info "> {{.UIText_StartLocationInfo}}</ div >
287+ < div class ="input-info "> ✅ {{.UIText_StartLocationInfo}}</ div >
288288 </ div >
289289 </ div >
290290 < div class ="fill-hint-wraper " id ="fill-hint-wraper " style ="display: none; justify-content: center; ">
You can’t perform that action at this time.
0 commit comments