KYLIN 1875 add lookup css issue Signed-off-by: Li Yang <liy...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/d59b8ae7 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/d59b8ae7 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/d59b8ae7 Branch: refs/heads/master-hbase0.98 Commit: d59b8ae7704ddb0cd40ef1458055e19d2eee3819 Parents: cdfde7c Author: chenzhx <346839...@qq.com> Authored: Fri Feb 24 14:48:58 2017 +0800 Committer: Li Yang <liy...@apache.org> Committed: Fri Feb 24 16:16:01 2017 +0800 ---------------------------------------------------------------------- webapp/app/partials/modelDesigner/data_model.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/d59b8ae7/webapp/app/partials/modelDesigner/data_model.html ---------------------------------------------------------------------- diff --git a/webapp/app/partials/modelDesigner/data_model.html b/webapp/app/partials/modelDesigner/data_model.html index 9b7070c..ca93c90 100644 --- a/webapp/app/partials/modelDesigner/data_model.html +++ b/webapp/app/partials/modelDesigner/data_model.html @@ -131,8 +131,8 @@ <div class="form-group"> <div class="row"> <div class="col-xs-12 form-group"> - <select chosen ng-model="newLookup.joinTable" class="chosen-select col-sm-5" - ng-options="table as table for table in aliasName" + <select chosen ng-model="newLookup.joinTable" class="chosen-select " + style="width:45%;" ng-options="table as table for table in aliasName" name="table_name" ng-disabled="lookupState.editing" ng-required="true"> <option value=""> -- From Table -- </option> @@ -142,7 +142,7 @@ <div class="row"> <div class="col-xs-12 form-group"> <!--Join Type--> - <select class="chosen-select col-sm-5" chosen ng-init="newLookup.join.type='inner'" ng-model="newLookup.join.type" + <select class="chosen-select " style="width:45%;" chosen ng-init="newLookup.join.type='inner'" ng-model="newLookup.join.type" ng-options="joinType.value as joinType.name+' Join' for joinType in cubeConfig.joinTypes"> <option value=""></option> </select> @@ -150,18 +150,18 @@ </div> <div class="row"> <div class="col-xs-12 form-group"> - <select chosen ng-model="newLookup.table" class="chosen-select col-sm-5" + <select chosen ng-model="newLookup.table" class="chosen-select" style="width:45%;" ng-options="table.name as VdmUtil.removeNameSpace(table.name) for table in tableModel.selectProjectTables" name="table_name" ng-disabled="lookupState.editing" ng-required="true" ng-change="changeJoinTable()"> <option value=""> -- Select Lookup Table -- </option> </select> - <div class="chosen-select col-sm-6" style="float:right;padding-left:0;"> + <div style="float:right;padding-left:0;width:45%"> <input type="text" class="form-control " name="joinTable_alias" placeholder="Input Table Alias" ng-required="true" ng-model="newLookup.alias" ng-pattern="/^[A-Z_\d]+$/"> <small class="help-block red" ng-show="!lookup_form.joinTable_alias.$error.required&&lookup_form.joinTable_alias.$invalid && (lookup_form.joinTable_alias.$dirty||lookup_form.$submitted)"><i class="fa fa-exclamation-triangle"></i> Table alias is invalid(A Combination of numbers, uppercase letters or underscores).</small> </div> - <span class="col-sm-1 font-color-default" style="float:right;font-size:large;line-height: 30px;"><b>AS</b></span> + <span class=" font-color-default" style="float:right;font-size:large;line-height: 30px;width:10%;text-align:center"><b>AS</b></span> </div> </div> </div>