Skip to content

Commit

Permalink
#14 change message in hive metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-wonjune committed Sep 4, 2018
1 parent 00c490e commit 351078d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
Expand Up @@ -90,7 +90,7 @@
</div>
<!-- //HOST -->
<!-- PORT -->
<div class="ddp-wrap-edit2 ddp-col-2">
<div class="ddp-wrap-edit2 ddp-col-2" [class.ddp-error]="isShowPortRequired">
<label class="ddp-label-type">{{'msg.comm.th.port' | translate}}</label>
<input type="text" class="ddp-input-type" placeholder="{{'msg.comm.th.port' | translate}}" maxlength="5" input-mask="number"
[ngModel]="port"
Expand Down
Expand Up @@ -198,6 +198,8 @@ export class HiveSetConnectionComponent extends AbstractPopupComponent implement
this._deleteSchemaStep();
// init connection flag
this._initConnectionFlag();
// init connection result flag
this.initConnectionResultFlag();
// get preset detail data
this._getConnectionPresetDetailData(preset);
}
Expand Down Expand Up @@ -233,6 +235,16 @@ export class HiveSetConnectionComponent extends AbstractPopupComponent implement
this.isEnableUrl = false;
}

/**
* init connection result flag
*/
public initConnectionResultFlag(): void {
// init connection result flag
this.connectionResultFl = null;
// init clicked next flag
this.isClickedNext = false;
}

/**
* init connection input flag
* @private
Expand Down
1 change: 1 addition & 0 deletions discovery-frontend/src/assets/css/polaris.v2.component.css
Expand Up @@ -269,6 +269,7 @@ input.ddp-input-type:disabled {color:rgba(75, 81, 91,0.3)}
메세지
**************************************************************/
.ddp-ui-buttons.ddp-inline .ddp-ui-message {display:inline-block; margin-left:10px;}
.ddp-ui-buttons.ddp-inline .ddp-ui-message .ddp-data-error2 {padding-top:0;}
.ddp-ui-message span.ddp-data-ok,
.ddp-ui-message span.ddp-data-error {position:relative; margin-top:10px; padding-left:17px; color:#666eb2; font-size:12px; font-style:italic;}
.ddp-ui-message span.ddp-data-error2 {display:block; padding:10px 0 0 0; color:#ca4b4b; font-style:italic;}
Expand Down

0 comments on commit 351078d

Please sign in to comment.