NC6自助开发文件存放路径及一些总结以及修改自助登录界面的样式、图片、添加文字提示等文件
NC6自助开发文件存放路径:\nchome\hotwebs\portal\sync
NC6自助开发总结:https://download.csdn.net/download/u010741112/24893964
修改自助登录界面的样式、图片、添加文字提示等文件:
nchome\hotwebs\portal\sync\websm\pserver\html\nodes\login\uimeta.jsp
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="nc.bs.framework.common.NCLocator" %>
<%@ page import="nc.uap.cpb.org.exception.CpbBusinessException" %>
<%@ page import="nc.uap.cpb.org.itf.ICpSysinitQry" %>
<%@ page import="nc.uap.cpb.org.vos.CpSysinitVO" %>
<%@ page import="nc.uap.lfw.util.LanguageUtil" %><%@ taglib uri="http://www.ufida.com/lfw" prefix="lfw" %>
<%@ taglib uri="http://www.ufida.com/ra" prefix="ra" %>
<%@ taglib uri="http://www.ufida.com/multilang" prefix="ml" %><%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %><% response.setHeader("cache-control","no-store");String portalDataSource = nc.uap.portal.util.PortalDsnameFetcher.getPortalDsName();nc.uap.lfw.core.LfwRuntimeEnvironment.setDatasource(portalDataSource);nc.uap.cpb.org.itf.ICpSysinitQry sysInitQry = nc.uap.portal.service.PortalServiceUtil.getCpSysinitQry();//是否显示验证码String showRanImg = "N"; try {showRanImg = sysInitQry.getSysinitValueByCodeAndPkorg("randomimg",null); } catch (Exception e) {nc.uap.portal.log.PortalLogger.error(e.getMessage(), e);}//showRanImg = "Y";//打开方式//String openMode = portalConfig.get("openmaxwin");pageContext.setAttribute("showRanImg", nc.vo.pub.lang.UFBoolean.valueOf(showRanImg).booleanValue());CpSysinitVO systemInit = null;String mail = systemInit == null ? "":systemInit.getDefaultvalue();pageContext.setAttribute("showFindPassWord", systemInit != null);pageContext.setAttribute("mail", mail);boolean isIpadSafari = nc.uap.lfw.core.LfwRuntimeEnvironment.getBrowserInfo().isIpadSafari();pageContext.setAttribute("isIpadSafari",isIpadSafari);String langcode = nc.uap.lfw.core.LfwRuntimeEnvironment.getLangCode();pageContext.setAttribute("langcode", langcode);nc.uap.lfw.core.BrowserSniffer browserInfo = nc.uap.lfw.core.LfwRuntimeEnvironment.getBrowserInfo();pageContext.setAttribute("IEVersion", browserInfo.getIEVersion() + "");pageContext.setAttribute("LoginLogo",nc.uap.portal.comm.icon.IconResources.get("LoginLogo"));pageContext.setAttribute("LoginIcon",nc.uap.portal.comm.icon.IconResources.get("LoginIcon"));
%>
<html><head><meta http-equiv="X-UA-Compatible" content="IE=11" /><title>${ml:transp("portal","login-000000")}</title> <link rel="shortcut icon" href="/portal/ufida.ico"/> <lfw:base/> <lfw:head/> <lfw:pageImport/><link href="/portal/frame/themes/${THEME_ID}/login/login.css" rel="stylesheet" type="text/css"><script><%if(request.getSession().getAttribute("LoginInterruptedException") != null){pageContext.setAttribute("LoginInterruptedException", request.getSession().getAttribute("LoginInterruptedException"));request.getSession().removeAttribute("LoginInterruptedException");%>alert('${LoginInterruptedException}');<%}%></script></head><body> <div class="login_bg"></div><lfw:pageModel> <lfw:widget id="main"><div class="ctn"><div class="hd"><div style="height:40px;"><table width="100%" height="40" cellpadding="0" cellspacing="0" border="0" ><tr><td align="left" width="50%"><div style="margin-top: 12px; margin-left: 35px;"><img src="${LoginIcon}"></div></td><td width="50%" align="right"><div style="width:100%;position:relative;margin-top:25px;color:#ffffff;font-size:12pt;"><div class="rightTopDivStyle" style="margin-right:35px;"><a onclick="javascript:window.open('/portal/activexlist.jsp','','height=600,width=700');" style="display: inline-block; text-align: left;cursor:pointer;">${ml:transp("portal","login-000003")}</a></div><div class="rightTopDivStyle rightTopDivBg" style=""></div><div class="rightTopDivStyle"><c:if test="${isIpadSafari eq 'true'}"><ra:textcomp id="multiLanguageCombo" widgetId='main' width="98"/></c:if><c:if test="${isIpadSafari eq 'false'}"><ra:textcomp id="multiLanguageCombo" widgetId='main' width="80"/></c:if></div></div></td></tr></table></div></div><div class="content"><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td width="100%" height="500" align="middle" valign="center"><table cellpadding="0" cellspacing="0" border="0" height="70"><tr><td colspan="3" align="left" valign="center" height="342"><div style="position: relative; width: 100%; height: 80%;"><img src="${LoginLogo}"></div></td></tr><tr><td colspan="3" align="center" valign="center" height="70" style="color: #f8094b; font-size: 30px; font-family: '微软雅黑'; "><b>请使用PC端登录,账号密码与NC一致</b></td></tr><tr><td align="right" colspan="3" height="90" <c:if test="${showRanImg eq 'false'}">width="649"</c:if><c:if test="${showRanImg eq 'true'}">width="696"</c:if> ><table cellpadding="0" cellspacing="0" border="0" class="inputc inputpanel<c:if test="${showRanImg eq 'true'}">1</c:if>" style="margin-bottom: 20px;"><tr><td width="<c:if test="${showRanImg eq 'false'}">20px</c:if><c:if test="${showRanImg eq 'true'}">15px</c:if>"></td><td height="70"><table cellpadding="0" cellspacing="0" border="0" class="inputc"><tr><td><div class="<c:if test="${showRanImg eq 'false'}">ipt_m1</c:if><c:if test="${showRanImg eq 'true'}">ipt_m1_code</c:if>"><div class="<c:if test="${showRanImg eq 'false'}">ipt_m</c:if><c:if test="${showRanImg eq 'true'}">ipt_m_code</c:if>"><div style="position:relative;padding-left:17px;padding-top:10px;position:relative;"><div id="usernamelab" style="position:absolute;z-index:99999;" class="label" onclick="loginTipWordClick(this);">${ml:transp("portal","login_000001")}</div><c:if test="${showRanImg eq 'false'}"><ra:textcomp id="userid" widgetId='main' width="190"/></c:if><c:if test="${showRanImg eq 'true'}"><ra:textcomp id="userid" widgetId='main' width="160"/></c:if></div></div></div></td></tr></table></td><td height="70"><table cellpadding="0" cellspacing="0" border="0" class="inputc"><tr><td><div class="<c:if test="${showRanImg eq 'false'}">ipt_m1</c:if><c:if test="${showRanImg eq 'true'}">ipt_m1_code</c:if>"><div class="<c:if test="${showRanImg eq 'false'}">ipt_m</c:if><c:if test="${showRanImg eq 'true'}">ipt_m_code</c:if>"><div style="position:relative;padding-left:17px;padding-top:10px;position:relative;"><div id="passwordlab" style="position:absolute;z-index:99999;" class="label" onclick="loginTipWordClick(this);">${ml:transp("portal","login_000002")}</div><c:if test="${showRanImg eq 'false'}"><ra:textcomp id="password" widgetId='main' width="190"/></c:if><c:if test="${showRanImg eq 'true'}"><ra:textcomp id="password" widgetId='main' width="160"/></c:if></div></div></div></td></tr></table></td><c:if test="${showRanImg eq 'true'}"><td height="70"><table cellpadding="0" cellspacing="0" border="0" class="inputc"><tr><td><div class="check_code_border"><div class="check_code"><c:if test="${isIpadSafari eq 'true'}"> <div style="position:relative;padding-left:15px;padding-top:12px;"><div id="randimglab" style="position:absolute;z-index:99999;left:15px;" class="label" onclick="loginTipWordClick(this);">${ml:transp("portal","login_000006")}</div><div style="width:50px;overflow:hidden;"><ra:textcomp id="randimg" widgetId='main' width="85"/></div></div></c:if><c:if test="${isIpadSafari eq 'false'}"><div style="position:relative;padding-left:15px;padding-top:12px;"><div id="randimglab" style="position:absolute;z-index:99999;left:15px;<c:if test="${showRanImg eq 'true'}">left:10px;</c:if><c:if test="${langcode ne 'simpchn' and langcode ne 'tradchn' and showRanImg eq 'true'}">left:6px;font-size:12px;top:6px;text-align:left;</c:if>" class="label" οnclick="loginTipWordClick(this);">${ml:transp("portal","login_000006")}</div><ra:textcomp id="randimg" widgetId='main' width="48"/></div></c:if></div></div></td><td><div class="imgcs"><img id="randimage" style="position:absolute;margin-top:12px;left:8px;" src="./randimg" onclick="this.src='./randimg?d='+ new Date().getTime()" /></div></td></tr></table></td></c:if><td width="120px"><ra:button id="submitBtn" width="111" height="36" widgetId='main' className="login_button_div" ></ra:button></td><td width="<c:if test="${showRanImg eq 'false'}">20px</c:if><c:if test="${showRanImg eq 'true'}">10px</c:if>"></td></tr></table></td></tr><tr><td align="right" width="41px"><div class="login_status_ck" onclick="changeLoginStatusCK()" style="position: relative;display:none;"><div id="loginStatusCK" class=""></div></div></td><td align="left" colspan="2" ><ra:label id="tiplabel" width="500" widgetId='main'></ra:label></td></tr></table></td></tr></table></div><div class="foot" ></div></div></lfw:widget></lfw:pageModel></body>
</html>
package nc.uap.portal.comm.icon;import java.util.ResourceBundle;public class IconResources {private static ResourceBundle rb = null;/*** 获取资源访问器路径.* @param resource 资源ID* @return 资源访问器路径.如/portal/images/icon/loginicon/webclassic_icon.png*/public static String get(String resource) {if (rb == null) {synchronized (IconResources.class) {if (rb == null) {rb = new PortalIconResourceBundle();}}}return rb.getString(resource);}
}
NC6自助开发文件存放路径及一些总结以及修改自助登录界面的样式、图片、添加文字提示等文件相关推荐
- docker 文件存放路径, 修改端口映射
文章目录 如何获取容器的启动命令 1, 容器层:文件存放路径 后天修改容器端口 a, 先提交旧容器为新的镜像,再启动新容器 b, 修改容器配置文件置文件:hostconfig.json 2, 镜像层: ...
- C#WinForm开发:如何将图片添加到项目资源文件(Resources)中
C#WinForm开发:如何将图片添加到项目资源文件(Resources)中 引言 操作步骤 实例应用 功能延展 引言 在C#Winform开发中,有时需要在控件中插入一些图片,常见的有picture ...
- android水印控件,Android图片添加文字水印并保存水印文字图片到指定文件
Android图片添加文字水印并保存水印文字图片到指定文件package zhangphil.test;import android.graphics.Bitmap;import android.gr ...
- Java给图片添加文字,水印,文件或者http图片地址,可消除文字锯齿
记一次Java给图片添加水印方法 Java给图片在指定位置加水印的小工具, 可操作文件, 或者http地址图片,转base64或者直接输出都可 核心代码先贴出来 水印基本信息的一个封装 import ...
- Android IoT开发实战 | 04 - 创建一个新的活动Activity(登录界面)
本系列IoT App开发笔记系b站视频教程学习笔记,视频地址: [7天Java0基础速成安卓开发]Day1 Android工程代码是怎么运行的 [7天Java0基础速成安卓开发]Day2 常用控件和界 ...
- 添加文字 生成pdf_PDF 文件编辑方法和工具大全
PDF 文件编辑方法和工具大全 我在平时的工作生活中经常用到pdf的编辑. 我用过的方法有如下几个. 对于图片文件格式的pdf文件. 一种方式是用photoshop倒入pdf, 然后在photosho ...
- php sql server配置文件路径,云服务器初始化 第六章:更改MySQL数据文件存放路径...
一.停止服务 systemctl stop mysqld.service 二.创建数据目录 mkdir -p /web/data 三.将默认存放文件移动至数据目录 mv /var/lib/mysql ...
- MSSQLSERVER 2019修改数据库文件存放路径的简单实现
一.环境:数据库版本:15.0.2000.5 OS:Windows Server 2016 Standard (10.0) 二.登陆MASTER数据库,查询准备迁移的数据库的信息 select d ...
- Windows通过注册表找出桌面壁纸文件存放路径
首先Win+R调出运行,输入 regedit 在红色的输入框输入下面的内容并回车 计算机\HKEY_CURRENT_USER\Control Panel\Desktop 然后下拉结果 找到WallPa ...
最新文章
- NHibernate配置引发的异常
- oppo如何更新计算机,OPPO R17Pro手机怎么升级和降级系统?
- Redis批量设置值取值
- webservice中jaxws:server 和jaxws:endpoint的区别
- Linux目录配置及应放置的内容
- 读书笔记--Android Gradle权威指南(上)
- 可恶,谁占用了我的80端口?
- echarts数据怎么赋值 vue_vue中 怎么把echarts中data的数据循环
- 剑指offer之对称的二叉树
- 利用apache的ab命令做服务器压力测试
- save cookies and get cookies in system using asp.net
- spring session 考虑问题解答
- usb3.0速度测试软件,Win10系统如何测试usb3.0设备传输速度|Win10测试usb3.0设备传输速度的方法...
- 微信小程序豆瓣电影学习知识总结
- 元神一直显示连接服务器失败,原神连接服务器失败怎么办
- JavaScript:异步简介与Promise实践拓展
- Android 系统各版本新特性总结
- 周志明:《凤凰架构:构建可靠的大型分布式系统》
- 计算机网络实验报告 静态路由的配置
- springboot阿里云视频点播服务实现上传视频和删除功能
热门文章
- add python to environment,Python 安装
- botpress搭建智能问答机器人
- 【第六章】 C语言之牛客力扣刷题笔记 【点进来保证让知识充实你一整天】
- serializeArray()与 serialize()
- uCOS-III 基础
- 解神者x2服务器维护,解神者X2许愿币获取方法一览
- IM开发者的零基础通信技术入门(一):通信交换技术的百年发展史(上)
- 如何使用MySQL的全文本搜索功能
- 什么叫反光识别读数识别_回老家前 微信这个超实用小技巧一定要学会
- 项目管理(PMP)精选题精讲