为了账号安全,请及时绑定邮箱和手机立即绑定

动态生成页面元素前台适配

标签:
Java Html5

我们都知道YANG文件,我们要根据动态生成的元素生成页面。页面支持container、list、leaflist、choice、leaf、input、switch、radio。
<div id="DynamicPage_title">
<div style="margin-top:10px;">
<span style="color:#999999;font-size:12px;">{{configuration}} > {{configurationDeviceGroup}} > {{networkPolicy}} > {{devicegroup}} > {{config}} > {{Netconf_TITLE}}</span>
</div>
</div>
<div class="DynamicPage_titleLineTop"></div>

<div id="layout">

</div>

<div class="dynamic_operation">
<eview:button id="buttonConfirm" type="default" tooltip=" {{i18n.translate('ac.tenant.deviceGroup.DynamicPage.display.confirm')}}" text=" {{i18n.translate('ac.tenant.deviceGroup.DynamicPage.display.confirm')}}" click='confirmClickHanddler'></eview:button>

<eview:button id="buttonCancel" type="default" cls="buttonCancelClass" tooltip=" {{i18n.translate('ac.tenant.deviceGroup.DynamicPage.display.cancel')}}" text=" {{i18n.translate('ac.tenant.deviceGroup.DynamicPage.display.cancel')}}" click='cancleClickHanddler'></eview:button>

<eview:button id="buttonClose" type="default" cls="buttonCloseClass" tooltip=" {{i18n.translate('ac.tenant.deviceGroup.DynamicPage.display.close')}}" text=" {{i18n.translate('ac.tenant.deviceGroup.DynamicPage.display.close')}}" click='closeClickHanddler' display=false></eview:button>

<eview:button id="buttonLoad" type="default" cls="buttonLoadClass" tooltip=" {{i18n.translate('ac.tenant.deviceGroup.DynamicPage.display.load')}}" display=false text=" {{i18n.translate('ac.tenant.deviceGroup.DynamicPage.display.load')}}" click='loadClickHanddler'></eview:button>

</div>

.divHeight1 {
margin-top: 5px;
height: inherit;
}

.floatLeft {
float: left;
}

.radioName {
height: 25px;
line-height: 25px;
width: 200px;
}

.pointerClass {
cursor: pointer;
}

div[childrenBoxIndex] {
margin: 5px 30px;
border: 1px solid lightgray/#222/
;
}

.spaceSpit {
margin-left: 20px;
}

.btnApple_Outer {
background-color: rgb(238, 238, 238);
height: 16px;
width: 50px;
border-radius: 10px;
float: left;
cursor: pointer;
border: 1px solid #ccc;
margin-left: 20px;
}

.btnApple_Inner {
left: -1px;
color: rgb(187, 187, 187);
border: 1px solid #ccc;
height: 16px;
width: 30px;
background: white;
border-radius: 10px;
position: relative;
text-align: center;
cursor: pointer;
top: -1px;
font-family: "黑体"!important;
line-height: 18px;
font-size: 12px;
letter-spacing: 1px;
}

.ele_list,
.ele_leafList {
margin-top: 5px;
line-height: 30px;
}

div[singleid]>.nodeHead {
height: 30px;
}

div[singleid]>.nodeHead>.nodelabel {
float: left;
line-height: 30px;
}

div[singleid]>.nodeHead>.leafListlabel {
float: left;
line-height: 30px;
}

.dyPage_link {
cursor: pointer;
color: #009ae7;
}

.dyPage_link:hover {
color: #0088cc;
text-decoration: underline;
}

.btnApple_Outer.ON {
background-color: rgb(94, 204, 73);
border-color: rgb(94, 204, 73);
}

.btnApple_Inner.ON {
left: 19px;
color: rgb(94, 204, 73);
border-color: rgb(94, 204, 73)
}

.btnApple_Outer.OFF {
background-color: rgb(238, 238, 238);
border-color: rgb(204, 204, 204);
}

.btnApple_Inner.OFF {
left: -1px;
color: rgb(187, 187, 187);
border-color: rgb(204, 204, 204);
}

.dynamic_operation {
margin-top: 20px;
}

.buttonCancelClass,
.buttonLoadClass {
margin-left: 15px
}

.eview_Dlg_iframe {
z-index: 200!important;
}

DynamicPage_title {
margin-top: 10px;
color: #C7C7C7;

}

.DynamicPage_titleLine {
width: 818px;
border-width: 1px;
border-top-style: solid;
border-top-color: #d9d9d9;
margin-top: 9px;
margin-bottom: 15px;
position: relative;
top: 5px;
left: 5px;
}

.DynamicPage_titleLineTop {
width: 1157px;
border-width: 1px;
border-top-style: solid;
border-top-color: #d9d9d9;
margin-top: 9px;
margin-bottom: 8px;
}

点击查看更多内容
2人点赞

若觉得本文不错,就分享一下吧!

评论

作者其他优质文章

正在加载中
感谢您的支持,我会继续努力的~
扫码打赏,你说多少就多少
赞赏金额会直接到老师账户
支付方式
打开微信扫一扫,即可进行扫码打赏哦
今天注册有机会得

100积分直接送

付费专栏免费学

大额优惠券免费领

立即参与 放弃机会
意见反馈 帮助中心 APP下载
官方微信

举报

0/150
提交
取消