初始化应用
							
								
								
									
										2
									
								
								com.actionsoft.apps.addons.xpages/db/1.1/db2.sql
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,2 @@ | ||||
| CREATE TABLE APP_ACT_LINK_QUICKLY(ID CHAR(36) NOT NULL ,GROUPKEY CHAR(36) ,VIEWTYPE INT ,LOCKED VARCHAR(36),PRIMARY KEY (ID)); | ||||
| CREATE TABLE APP_ACT_LINK_QUICKLY_FUNCTION(ID CHAR(36) NOT NULL ,PID CHAR(36),LINKNAME VARCHAR(200) ,LINKTYPE INT ,LINKURL VARCHAR(2000) ,LINKTARGET CHAR(36) ,ICONURL VARCHAR(250),ORDERINDEX INT,USERID VARCHAR(36),GROUPNAME VARCHAR(64),EXT1 VARCHAR(250),EXT2 VARCHAR(250),PRIMARY KEY (ID)); | ||||
							
								
								
									
										2
									
								
								com.actionsoft.apps.addons.xpages/db/1.1/mysql.sql
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,2 @@ | ||||
| CREATE TABLE APP_ACT_LINK_QUICKLY(ID CHAR(36) NOT NULL COMMENT '主键',GROUPKEY CHAR(36) ,VIEWTYPE INT COMMENT '视图类型',LOCKED VARCHAR(36),PRIMARY KEY (ID)) COMMENT = '分类表'; | ||||
| CREATE TABLE APP_ACT_LINK_QUICKLY_FUNCTION(ID CHAR(36) NOT NULL COMMENT '主键',PID CHAR(36) COMMENT 'PID',LINKNAME VARCHAR(200) COMMENT '链接名称',LINKTYPE INT COMMENT '0-导航ID;1-URL',LINKURL VARCHAR(2000) COMMENT '链接地址',LINKTARGET CHAR(36) ,ICONURL VARCHAR(250),ORDERINDEX INT,USERID VARCHAR(36),GROUPNAME VARCHAR(64),EXT1 VARCHAR(250),EXT2 VARCHAR(250),PRIMARY KEY (ID)) COMMENT = '功能快捷链接表'; | ||||
							
								
								
									
										4
									
								
								com.actionsoft.apps.addons.xpages/db/1.1/oracle.sql
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,4 @@ | ||||
| CREATE TABLE APP_ACT_LINK_QUICKLY(ID CHAR(36) NOT NULL,GROUPKEY CHAR(36) ,VIEWTYPE NUMBER(10,0),LOCKED VARCHAR2(36),PRIMARY KEY (ID)); | ||||
| CREATE TABLE APP_ACT_LINK_QUICKLY_FUNCTION(ID CHAR(36) NOT NULL,PID CHAR(36),LINKNAME VARCHAR2(200) ,LINKTYPE NUMBER(10,0),LINKURL VARCHAR2(2000),LINKTARGET CHAR(36) ,ICONURL VARCHAR2(250),ORDERINDEX NUMBER(10,0),USERID VARCHAR2(36),GROUPNAME VARCHAR2(64),EXT1 VARCHAR2(250),EXT2 VARCHAR2(250),PRIMARY KEY (ID)); | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										5
									
								
								com.actionsoft.apps.addons.xpages/db/1.1/sqlserver.sql
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,5 @@ | ||||
| CREATE TABLE APP_ACT_LINK_QUICKLY(ID CHAR(36) NOT NULL ,GROUPKEY CHAR(36) ,VIEWTYPE INT ,LOCKED VARCHAR(36),PRIMARY KEY (ID)); | ||||
| CREATE TABLE APP_ACT_LINK_QUICKLY_FUNCTION(ID CHAR(36) NOT NULL ,PID CHAR(36),LINKNAME VARCHAR(200) ,LINKTYPE INT ,LINKURL VARCHAR(2000) ,LINKTARGET CHAR(36) ,ICONURL VARCHAR(250),ORDERINDEX INT,USERID VARCHAR(36),GROUPNAME VARCHAR(64),EXT1 VARCHAR(250),EXT2 VARCHAR(250),PRIMARY KEY (ID)); | ||||
| 
 | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										89
									
								
								com.actionsoft.apps.addons.xpages/i18n/resource-ext.xml
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,89 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| 
 | ||||
| <!-- | ||||
| ############################################################# | ||||
| ## | ||||
| ## 	AWS Xpages 国际化配置 | ||||
| ##  | ||||
| ## Copyright(C)2001-2009 Actionsoft Co.,Ltd | ||||
| ## | ||||
| ############################################################# | ||||
| --> | ||||
| <locale-config>  | ||||
|     <lang> | ||||
|         <item key="模板TabBtn"> | ||||
|             <cn><![CDATA[模 板]]></cn> | ||||
|             <en><![CDATA[Template]]></en> | ||||
|             <big5><![CDATA[模 板]]></big5> | ||||
|         </item> | ||||
|         <item key="素材TabBtn"> | ||||
|             <cn><![CDATA[素 材]]></cn> | ||||
|             <en><![CDATA[Material]]></en> | ||||
|             <big5><![CDATA[素 材]]></big5> | ||||
|         </item> | ||||
|         <item key="门户"> | ||||
|             <cn><![CDATA[门户]]></cn> | ||||
|             <en><![CDATA[Portal]]></en> | ||||
|             <big5><![CDATA[門戶]]></big5> | ||||
|         </item> | ||||
|         <item key="您的浏览器无法复制该链接请手动复制"> | ||||
|             <cn><![CDATA[您的浏览器无法复制该链接请手动复制]]></cn> | ||||
|             <en><![CDATA[Your browser can't copy this link. Please copy it manually.]]></en> | ||||
|             <big5><![CDATA[您的瀏覽器無法複製該連結請手動複製]]></big5> | ||||
|         </item> | ||||
|         <item key="页面内边距和小窗外边距说明"> | ||||
|             <cn><![CDATA[页面内边距和小窗外边距从左到右依次是上,下,左,右]]></cn> | ||||
|             <en><![CDATA[Page margin and small window margin from left to right is up, down, left, right.]]></en> | ||||
|             <big5><![CDATA[頁面內邊距和小窗外邊距從左到右依次是上,下,左,右]]></big5> | ||||
|         </item> | ||||
|         <item key="页面内边距说明"> | ||||
|             <cn><![CDATA[页面内边距从左到右依次是上,下,左,右]]></cn> | ||||
|             <en><![CDATA[Page margin and small window margin from left to right is up, down, left, right.]]></en> | ||||
|             <big5><![CDATA[頁面內邊距從左到右依次是上,下,左,右]]></big5> | ||||
|         </item> | ||||
|         <item key="加载图标说明"> | ||||
|             <cn><![CDATA[例如:./XXX/XXX 图像URL地址]]></cn> | ||||
|             <en><![CDATA[For example:. / XXX / XXX image URL address]]></en> | ||||
|             <big5><![CDATA[例如:./XXX/XXX 圖像URL地址]]></big5> | ||||
|         </item> | ||||
|         <item key="为空或TRUE时在前端显示该区域"> | ||||
|             <cn><![CDATA[为空或TRUE时,在前端显示该区域]]></cn> | ||||
|             <en><![CDATA[When empty or TRUE, the area is displayed at the front end.]]></en> | ||||
|             <big5><![CDATA[為空或TRUE時,在前端顯示該區域]]></big5> | ||||
|         </item> | ||||
|         <item key="按钮类型为刷新时说明"> | ||||
|             <cn><![CDATA[类型为刷新时 如果内容填写数字n,则为定时刷新n秒刷新一次,否则是手动刷新]]></cn> | ||||
|             <en><![CDATA[When the type is refresh, if the content fills in the number n, it refreshes one time in N seconds at a fixed time, otherwise it refreshes manually.]]></en> | ||||
|             <big5><![CDATA[類型為刷新時 如果內容填寫數字n,則為定時刷新n秒刷新壹次,否則是手動刷新]]></big5> | ||||
|         </item> | ||||
|         <item key="按钮类型为间隔时"> | ||||
|             <cn><![CDATA[类型为间隔时 名称填写 " ","|"等 用来分隔前后按钮]]></cn> | ||||
|             <en><![CDATA[Type is interval name filling in "," |"and so on to separate the front and back buttons.]]></en> | ||||
|             <big5><![CDATA[類型為間隔時 名稱填寫 " ","|"等 用來分隔前後按鈕]]></big5> | ||||
|         </item> | ||||
|         <item key="按钮类型为展开收起时"> | ||||
|             <cn><![CDATA[类型为展开收起时 内容填写需为“显示|隐藏” “展开|收起”,此种模式,必须包含分隔符"|",规则为“ 隐藏时显示的文字|显示时显示的文字 ”]]></cn> | ||||
|             <en><![CDATA[Type is "display | hide" and "expand | collect" when the content is filled in. This mode must contain the separator "|" and the rule is "text displayed when hiding | text displayed when displaying".]]></en> | ||||
|             <big5><![CDATA[類型為展開收起時 內容填寫需為“顯示|隱藏” “展開|收起”,此種模式,必須包含分隔符"|",規則為“ 隱藏時顯示的文字|顯示時顯示的文字 ”]]></big5> | ||||
|         </item> | ||||
|         <item key="按钮类型为打开URL地址时"> | ||||
|             <cn><![CDATA[类型为打开URL地址时 内容填写URL地址]]></cn> | ||||
|             <en><![CDATA[When the type is open URL address, fill in the URL address.]]></en> | ||||
|             <big5><![CDATA[類型為打開URL地址時 內容填寫URL地址]]></big5> | ||||
|         </item> | ||||
|         <item key="按钮类型为JS代码时"> | ||||
|             <cn><![CDATA[类型为JS代码时 内容填写JS脚本]]></cn> | ||||
|             <en><![CDATA[When the type is JS code, fill in the JS script.]]></en> | ||||
|             <big5><![CDATA[類型為JS代碼時 內容填寫JS腳本]]></big5> | ||||
|         </item> | ||||
|         <item key="按钮类型为HTML代码时"> | ||||
|             <cn><![CDATA[类型为HTML代码时 内容填写HTML代码段]]></cn> | ||||
|             <en><![CDATA[When HTML code is used, fill in the HTML code segment.]]></en> | ||||
|             <big5><![CDATA[類型為HTML代碼時 內容填寫HTML代碼段]]></big5> | ||||
|         </item> | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|     </lang>  | ||||
| </locale-config> | ||||
							
								
								
									
										105
									
								
								com.actionsoft.apps.addons.xpages/i18n/resource-xpages.xml
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,105 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| 
 | ||||
| <!-- | ||||
| ############################################################# | ||||
| ## | ||||
| ## 	AWS Xpages 国际化配置 | ||||
| ##  | ||||
| ## Copyright(C)2001-2009 Actionsoft Co.,Ltd | ||||
| ## | ||||
| ############################################################# | ||||
| --> | ||||
| <locale-config>  | ||||
|     <lang> | ||||
|         <item key="新窗体"> | ||||
|             <cn><![CDATA[新窗体]]></cn> | ||||
|             <en><![CDATA[New Window]]></en> | ||||
|             <big5><![CDATA[新窗體]]></big5> | ||||
|         </item> | ||||
|         <item key="多级集团门户出厂首页"> | ||||
|             <cn><![CDATA[多级集团门户出厂首页]]></cn> | ||||
|             <en><![CDATA[Multilevel Group Portal Factory front page.]]></en> | ||||
|             <big5><![CDATA[多級集團門戶出廠首頁]]></big5> | ||||
|         </item> | ||||
|         <item key="通知公告"> | ||||
|             <cn><![CDATA[通知公告]]></cn> | ||||
|             <en><![CDATA[Notice]]></en> | ||||
|             <big5><![CDATA[通知公告]]></big5> | ||||
|         </item> | ||||
|         <item key="知识管理"> | ||||
|             <cn><![CDATA[知识管理]]></cn> | ||||
|             <en><![CDATA[Knowledge Management]]></en> | ||||
|             <big5><![CDATA[知識管理]]></big5> | ||||
|         </item> | ||||
|         <item key="单位通讯录"> | ||||
|             <cn><![CDATA[单位通讯录]]></cn> | ||||
|             <en><![CDATA[Company Contacts]]></en> | ||||
|             <big5><![CDATA[單位通訊錄]]></big5> | ||||
|         </item> | ||||
|         <item key="日程"> | ||||
|             <cn><![CDATA[日程]]></cn> | ||||
|             <en><![CDATA[Calendar]]></en> | ||||
|             <big5><![CDATA[日程]]></big5> | ||||
|         </item> | ||||
|         <item key="学习天地"> | ||||
|             <cn><![CDATA[学习天地]]></cn> | ||||
|             <en><![CDATA[Learning world]]></en> | ||||
|             <big5><![CDATA[學習天地]]></big5> | ||||
|         </item> | ||||
|         <item key="市场动态"> | ||||
|             <cn><![CDATA[市场动态]]></cn> | ||||
|             <en><![CDATA[Market dynamics]]></en> | ||||
|             <big5><![CDATA[市場動態]]></big5> | ||||
|         </item> | ||||
|         <item key="图片新闻"> | ||||
|             <cn><![CDATA[图片新闻]]></cn> | ||||
|             <en><![CDATA[Picture news]]></en> | ||||
|             <big5><![CDATA[圖片新聞]]></big5> | ||||
|         </item> | ||||
|         <item key="常用应用"> | ||||
|             <cn><![CDATA[常用应用]]></cn> | ||||
|             <en><![CDATA[Common application]]></en> | ||||
|             <big5><![CDATA[常用應用]]></big5> | ||||
|         </item> | ||||
|         <item key="暂无数据"> | ||||
|             <cn><![CDATA[暂无数据]]></cn> | ||||
|             <en><![CDATA[No Data]]></en> | ||||
|             <big5><![CDATA[暫無數據]]></big5> | ||||
|         </item> | ||||
|         <item key="资讯中心"> | ||||
|             <cn><![CDATA[资讯中心]]></cn> | ||||
|             <en><![CDATA[Information Center]]></en> | ||||
|             <big5><![CDATA[資訊中心]]></big5> | ||||
|         </item> | ||||
|         <item key="信息资讯"> | ||||
|             <cn><![CDATA[信息资讯]]></cn> | ||||
|             <en><![CDATA[Information]]></en> | ||||
|             <big5><![CDATA[資訊]]></big5> | ||||
|         </item> | ||||
|         <item key="系统"> | ||||
|             <cn><![CDATA[系统]]></cn> | ||||
|             <en><![CDATA[System]]></en> | ||||
|             <big5><![CDATA[系統]]></big5> | ||||
|         </item> | ||||
|         <item key="会议室预定"> | ||||
|             <cn><![CDATA[会议室预定]]></cn> | ||||
|             <en><![CDATA[Meeting Room Booking]]></en> | ||||
|             <big5><![CDATA[会议室预定]]></big5> | ||||
|         </item> | ||||
|         <item key="待办"> | ||||
|             <cn><![CDATA[待办]]></cn> | ||||
|             <en><![CDATA[Todo]]></en> | ||||
|             <big5><![CDATA[待辦]]></big5> | ||||
|         </item> | ||||
|         <item key="已办"> | ||||
|             <cn><![CDATA[已办]]></cn> | ||||
|             <en><![CDATA[History]]></en> | ||||
|             <big5><![CDATA[已辦]]></big5> | ||||
|         </item> | ||||
|         <item key="待阅"> | ||||
|             <cn><![CDATA[待阅]]></cn> | ||||
|             <en><![CDATA[To be read]]></en> | ||||
|             <big5><![CDATA[待閱]]></big5> | ||||
|         </item> | ||||
|     </lang>  | ||||
| </locale-config> | ||||
							
								
								
									
										785
									
								
								com.actionsoft.apps.addons.xpages/i18n/resource.xml
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,785 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| 
 | ||||
| <!-- | ||||
| ############################################################# | ||||
| ## | ||||
| ## 	AWS Xpages 国际化配置 | ||||
| ##  | ||||
| ## Copyright(C)2001-2009 Actionsoft Co.,Ltd | ||||
| ## | ||||
| ############################################################# | ||||
| --> | ||||
| <locale-config>  | ||||
|     <lang>  | ||||
|         <item key="确定">  | ||||
|             <cn><![CDATA[确定]]></cn> | ||||
|             <en><![CDATA[OK]]></en> | ||||
|             <big5><![CDATA[確定]]></big5> | ||||
|         </item>   | ||||
|         <item key="取消">  | ||||
|             <cn><![CDATA[取消]]></cn> | ||||
|             <en><![CDATA[Cancel]]></en> | ||||
|             <big5><![CDATA[取消]]></big5> | ||||
|         </item>   | ||||
|         <item key="首页">  | ||||
|             <cn><![CDATA[首页]]></cn> | ||||
|             <en><![CDATA[Home]]></en> | ||||
|             <big5><![CDATA[首頁]]></big5> | ||||
|         </item>   | ||||
|         <item key="布局">  | ||||
|             <cn><![CDATA[布局]]></cn> | ||||
|             <en><![CDATA[Layout]]></en> | ||||
|             <big5><![CDATA[布局]]></big5> | ||||
|         </item>   | ||||
|         <item key="管理">  | ||||
|             <cn><![CDATA[管理]]></cn> | ||||
|             <en><![CDATA[Manage]]></en> | ||||
|             <big5><![CDATA[管理]]></big5> | ||||
|         </item>   | ||||
|         <item key="预览">  | ||||
|             <cn><![CDATA[预览]]></cn> | ||||
|             <en><![CDATA[Preview]]></en> | ||||
|             <big5><![CDATA[预览]]></big5> | ||||
|         </item>   | ||||
|         <item key="设置">  | ||||
|             <cn><![CDATA[设置]]></cn> | ||||
|             <en><![CDATA[Setting]]></en> | ||||
|             <big5><![CDATA[設定]]></big5> | ||||
|         </item>   | ||||
|         <item key="配置有误">  | ||||
|             <cn><![CDATA[配置有误]]></cn> | ||||
|             <en><![CDATA[Wrong configuration.]]></en> | ||||
|             <big5><![CDATA[配置有誤]]></big5> | ||||
|         </item>   | ||||
|         <item key="暂无信息">  | ||||
|             <cn><![CDATA[暂无信息]]></cn> | ||||
|             <en><![CDATA[No Data]]></en> | ||||
|             <big5><![CDATA[暫無信息]]></big5> | ||||
|         </item>   | ||||
|         <item key="刷新">  | ||||
|             <cn><![CDATA[刷新]]></cn> | ||||
|             <en><![CDATA[Refresh]]></en> | ||||
|             <big5><![CDATA[刷新]]></big5> | ||||
|         </item>   | ||||
|         <item key="暂未配置内容">  | ||||
|             <cn><![CDATA[暂未配置内容]]></cn> | ||||
|             <en><![CDATA[Not yet configured]]></en> | ||||
|             <big5><![CDATA[暫未配置內容]]></big5> | ||||
|         </item>   | ||||
|         <item key="隐藏">  | ||||
|             <cn><![CDATA[隐藏]]></cn> | ||||
|             <en><![CDATA[Hidden]]></en> | ||||
|             <big5><![CDATA[隱藏]]></big5> | ||||
|         </item>   | ||||
|         <item key="显示">  | ||||
|             <cn><![CDATA[显示]]></cn> | ||||
|             <en><![CDATA[Show]]></en> | ||||
|             <big5><![CDATA[顯示]]></big5> | ||||
|         </item>   | ||||
|         <item key="展开">  | ||||
|             <cn><![CDATA[展开]]></cn> | ||||
|             <en><![CDATA[Expansion]]></en> | ||||
|             <big5><![CDATA[展開]]></big5> | ||||
|         </item>   | ||||
|         <item key="编辑">  | ||||
|             <cn><![CDATA[编辑]]></cn> | ||||
|             <en><![CDATA[Edit]]></en> | ||||
|             <big5><![CDATA[編輯]]></big5> | ||||
|         </item>   | ||||
|         <item key="添加">  | ||||
|             <cn><![CDATA[添加]]></cn> | ||||
|             <en><![CDATA[Add]]></en> | ||||
|             <big5><![CDATA[添加]]></big5> | ||||
|         </item>   | ||||
|         <item key="关闭编辑">  | ||||
|             <cn><![CDATA[关闭编辑]]></cn> | ||||
|             <en><![CDATA[Close Edit]]></en> | ||||
|             <big5><![CDATA[關閉編輯]]></big5> | ||||
|         </item>   | ||||
|         <item key="名称">  | ||||
|             <cn><![CDATA[名称]]></cn> | ||||
|             <en><![CDATA[Name]]></en> | ||||
|             <big5><![CDATA[名稱]]></big5> | ||||
|         </item>   | ||||
|         <item key="创建日期">  | ||||
|             <cn><![CDATA[创建日期]]></cn> | ||||
|             <en><![CDATA[Date Of Creation]]></en> | ||||
|             <big5><![CDATA[創建日期]]></big5> | ||||
|         </item>   | ||||
|         <item key="修改日期">  | ||||
|             <cn><![CDATA[修改日期]]></cn> | ||||
|             <en><![CDATA[Modification Date]]></en> | ||||
|             <big5><![CDATA[修改日期]]></big5> | ||||
|         </item>   | ||||
|         <item key="备注">  | ||||
|             <cn><![CDATA[备注]]></cn> | ||||
|             <en><![CDATA[Remarks]]></en> | ||||
|             <big5><![CDATA[備註]]></big5> | ||||
|         </item>   | ||||
|         <item key="操作">  | ||||
|             <cn><![CDATA[操作]]></cn> | ||||
|             <en><![CDATA[Operation]]></en> | ||||
|             <big5><![CDATA[操作]]></big5> | ||||
|         </item>   | ||||
|         <item key="设计">  | ||||
|             <cn><![CDATA[设计]]></cn> | ||||
|             <en><![CDATA[Design]]></en> | ||||
|             <big5><![CDATA[設計]]></big5> | ||||
|         </item>   | ||||
|         <item key="删除">  | ||||
|             <cn><![CDATA[删除]]></cn> | ||||
|             <en><![CDATA[Delete]]></en> | ||||
|             <big5><![CDATA[删除]]></big5> | ||||
|         </item> | ||||
|         <item key="模板"> | ||||
|             <cn><![CDATA[模板]]></cn> | ||||
|             <en><![CDATA[Template]]></en> | ||||
|             <big5><![CDATA[範本]]></big5> | ||||
|         </item> | ||||
|         <item key="模板分类">  | ||||
|             <cn><![CDATA[模板分类]]></cn> | ||||
|             <en><![CDATA[Template Classification]]></en> | ||||
|             <big5><![CDATA[範本分類]]></big5> | ||||
|         </item>   | ||||
|         <item key="分类名">  | ||||
|             <cn><![CDATA[分类名]]></cn> | ||||
|             <en><![CDATA[Name]]></en> | ||||
|             <big5><![CDATA[分類名]]></big5> | ||||
|         </item>   | ||||
|         <item key="保存">  | ||||
|             <cn><![CDATA[保存]]></cn> | ||||
|             <en><![CDATA[Save]]></en> | ||||
|             <big5><![CDATA[保存]]></big5> | ||||
|         </item>   | ||||
|         <item key="关闭">  | ||||
|             <cn><![CDATA[关闭]]></cn> | ||||
|             <en><![CDATA[Close]]></en> | ||||
|             <big5><![CDATA[關閉]]></big5> | ||||
|         </item>   | ||||
|         <item key="不允许为空">  | ||||
|             <cn><![CDATA[不允许为空]]></cn> | ||||
|             <en><![CDATA[is not allowed to be empty]]></en> | ||||
|             <big5><![CDATA[不允許為空]]></big5> | ||||
|         </item>   | ||||
|         <item key="您确定要删除该模板吗">  | ||||
|             <cn><![CDATA[您确定要删除该模板吗]]></cn> | ||||
|             <en><![CDATA[Are you sure you want to delete the template?]]></en> | ||||
|             <big5><![CDATA[您確定要删除該範本嗎]]></big5> | ||||
|         </item>   | ||||
|         <item key="该操作无法撤销">  | ||||
|             <cn><![CDATA[该操作无法撤销]]></cn> | ||||
|             <en><![CDATA[This operation cannot be undone]]></en> | ||||
|             <big5><![CDATA[該操作無法撤銷]]></big5> | ||||
|         </item>   | ||||
|         <item key="添加内容">  | ||||
|             <cn><![CDATA[添加内容]]></cn> | ||||
|             <en><![CDATA[Add Content]]></en> | ||||
|             <big5><![CDATA[添加內容]]></big5> | ||||
|         </item>   | ||||
|         <item key="修改内容">  | ||||
|             <cn><![CDATA[修改内容]]></cn> | ||||
|             <en><![CDATA[Modify Content]]></en> | ||||
|             <big5><![CDATA[修改內容]]></big5> | ||||
|         </item>   | ||||
|         <item key="标题名称">  | ||||
|             <cn><![CDATA[标题名称]]></cn> | ||||
|             <en><![CDATA[Title Title]]></en> | ||||
|             <big5><![CDATA[標題名稱]]></big5> | ||||
|         </item>   | ||||
|         <item key="页面内容">  | ||||
|             <cn><![CDATA[页面内容]]></cn> | ||||
|             <en><![CDATA[Page Content]]></en> | ||||
|             <big5><![CDATA[頁面內容]]></big5> | ||||
|         </item>   | ||||
|         <item key="小窗风格">  | ||||
|             <cn><![CDATA[小窗风格]]></cn> | ||||
|             <en><![CDATA[Window Style]]></en> | ||||
|             <big5><![CDATA[小窗風格]]></big5> | ||||
|         </item>   | ||||
|         <item key="滚动条">  | ||||
|             <cn><![CDATA[滚动条]]></cn> | ||||
|             <en><![CDATA[Scroll Bar]]></en> | ||||
|             <big5><![CDATA[滾動條]]></big5> | ||||
|         </item>   | ||||
|         <item key="页面内边距">  | ||||
|             <cn><![CDATA[页面内边距]]></cn> | ||||
|             <en><![CDATA[Page Margin]]></en> | ||||
|             <big5><![CDATA[頁面內邊距]]></big5> | ||||
|         </item>   | ||||
|         <item key="标题字体样式">  | ||||
|             <cn><![CDATA[标题字体样式]]></cn> | ||||
|             <en><![CDATA[Title FontStyle]]></en> | ||||
|             <big5><![CDATA[標題字體樣式]]></big5> | ||||
|         </item>   | ||||
|         <item key="是否有效">  | ||||
|             <cn><![CDATA[是否有效]]></cn> | ||||
|             <en><![CDATA[Is It Effective]]></en> | ||||
|             <big5><![CDATA[是否有效]]></big5> | ||||
|         </item>   | ||||
|         <item key="清空">  | ||||
|             <cn><![CDATA[清空]]></cn> | ||||
|             <en><![CDATA[Empty]]></en> | ||||
|             <big5><![CDATA[清空]]></big5> | ||||
|         </item>   | ||||
|         <item key="URL链接">  | ||||
|             <cn><![CDATA[URL链接]]></cn> | ||||
|             <en><![CDATA[URL Links]]></en> | ||||
|             <big5><![CDATA[URL連結]]></big5> | ||||
|         </item>   | ||||
|         <item key="加粗">  | ||||
|             <cn><![CDATA[加粗]]></cn> | ||||
|             <en><![CDATA[Thickening]]></en> | ||||
|             <big5><![CDATA[加粗]]></big5> | ||||
|         </item>   | ||||
|         <item key="不加粗">  | ||||
|             <cn><![CDATA[不加粗]]></cn> | ||||
|             <en><![CDATA[No Thickening]]></en> | ||||
|             <big5><![CDATA[不加粗]]></big5> | ||||
|         </item>   | ||||
|         <item key="不倾斜">  | ||||
|             <cn><![CDATA[不倾斜]]></cn> | ||||
|             <en><![CDATA[No Tilt]]></en> | ||||
|             <big5><![CDATA[不傾斜]]></big5> | ||||
|         </item>   | ||||
|         <item key="斜体">  | ||||
|             <cn><![CDATA[斜体]]></cn> | ||||
|             <en><![CDATA[Italics]]></en> | ||||
|             <big5><![CDATA[斜體]]></big5> | ||||
|         </item>   | ||||
|         <item key="微软雅黑">  | ||||
|             <cn><![CDATA[微软雅黑]]></cn> | ||||
|             <en><![CDATA[Microsoft YaHei]]></en> | ||||
|             <big5><![CDATA[微軟雅黑]]></big5> | ||||
|         </item>   | ||||
|         <item key="宋体">  | ||||
|             <cn><![CDATA[宋体]]></cn> | ||||
|             <en><![CDATA[Song Style]]></en> | ||||
|             <big5><![CDATA[宋體]]></big5> | ||||
|         </item>   | ||||
|         <item key="类型">  | ||||
|             <cn><![CDATA[类型]]></cn> | ||||
|             <en><![CDATA[Type]]></en> | ||||
|             <big5><![CDATA[類型]]></big5> | ||||
|         </item>   | ||||
|         <item key="新建操作按钮">  | ||||
|             <cn><![CDATA[新建操作按钮]]></cn> | ||||
|             <en><![CDATA[New Operation Button]]></en> | ||||
|             <big5><![CDATA[新建操作按鈕]]></big5> | ||||
|         </item>   | ||||
|         <item key="说明">  | ||||
|             <cn><![CDATA[说明]]></cn> | ||||
|             <en><![CDATA[Explain]]></en> | ||||
|             <big5><![CDATA[說明]]></big5> | ||||
|         </item>   | ||||
|         <item key="操作按钮可拖动排序">  | ||||
|             <cn><![CDATA[操作按钮可拖动排序]]></cn> | ||||
|             <en><![CDATA[Operation buttons can be dragged to sort]]></en> | ||||
|             <big5><![CDATA[操作按鈕可拖動排序]]></big5> | ||||
|         </item>   | ||||
|         <item key="添加操作按钮">  | ||||
|             <cn><![CDATA[添加操作按钮]]></cn> | ||||
|             <en><![CDATA[Add Action Button]]></en> | ||||
|             <big5><![CDATA[添加操作按鈕]]></big5> | ||||
|         </item>   | ||||
|         <item key="修改操作按钮">  | ||||
|             <cn><![CDATA[修改操作按钮]]></cn> | ||||
|             <en><![CDATA[Modify Operation Button]]></en> | ||||
|             <big5><![CDATA[修改操作按鈕]]></big5> | ||||
|         </item>   | ||||
|         <item key="打开方式">  | ||||
|             <cn><![CDATA[打开方式]]></cn> | ||||
|             <en><![CDATA[Open Mode]]></en> | ||||
|             <big5><![CDATA[打開管道]]></big5> | ||||
|         </item>   | ||||
|         <item key="当前页面">  | ||||
|             <cn><![CDATA[当前页面]]></cn> | ||||
|             <en><![CDATA[Current Page]]></en> | ||||
|             <big5><![CDATA[當前頁面]]></big5> | ||||
|         </item>   | ||||
|         <item key="新窗口">  | ||||
|             <cn><![CDATA[新窗口]]></cn> | ||||
|             <en><![CDATA[New Window]]></en> | ||||
|             <big5><![CDATA[新窗口]]></big5> | ||||
|         </item>   | ||||
|         <item key="侧边栏">  | ||||
|             <cn><![CDATA[侧边栏]]></cn> | ||||
|             <en><![CDATA[Sidebar]]></en> | ||||
|             <big5><![CDATA[側邊欄]]></big5> | ||||
|         </item>   | ||||
|         <item key="间隔">  | ||||
|             <cn><![CDATA[间隔]]></cn> | ||||
|             <en><![CDATA[Interval]]></en> | ||||
|             <big5><![CDATA[間隔]]></big5> | ||||
|         </item>   | ||||
|         <item key="展开收起">  | ||||
|             <cn><![CDATA[展开收起]]></cn> | ||||
|             <en><![CDATA[Unfold]]></en> | ||||
|             <big5><![CDATA[展開收起]]></big5> | ||||
|         </item>   | ||||
|         <item key="打开URL地址">  | ||||
|             <cn><![CDATA[打开URL地址]]></cn> | ||||
|             <en><![CDATA[Open the URL address]]></en> | ||||
|             <big5><![CDATA[打開URL地址]]></big5> | ||||
|         </item>   | ||||
|         <item key="JS代码">  | ||||
|             <cn><![CDATA[JS代码]]></cn> | ||||
|             <en><![CDATA[JS Code]]></en> | ||||
|             <big5><![CDATA[JS程式碼]]></big5> | ||||
|         </item>   | ||||
|         <item key="HTML代码">  | ||||
|             <cn><![CDATA[HTML代码]]></cn> | ||||
|             <en><![CDATA[HTML Code]]></en> | ||||
|             <big5><![CDATA[HTML程式碼]]></big5> | ||||
|         </item>   | ||||
|         <item key="选择一个内容源">  | ||||
|             <cn><![CDATA[选择一个内容源]]></cn> | ||||
|             <en><![CDATA[Select a content source]]></en> | ||||
|             <big5><![CDATA[選擇一個內容源]]></big5> | ||||
|         </item>   | ||||
|         <item key="或">  | ||||
|             <cn><![CDATA[或]]></cn> | ||||
|             <en><![CDATA[Or]]></en> | ||||
|             <big5><![CDATA[或]]></big5> | ||||
|         </item>   | ||||
|         <item key="输入一个URL地址">  | ||||
|             <cn><![CDATA[输入一个URL地址]]></cn> | ||||
|             <en><![CDATA[Enter a URL address]]></en> | ||||
|             <big5><![CDATA[輸入一個URL地址]]></big5> | ||||
|         </item>   | ||||
|         <item key="从不显示滚动条">  | ||||
|             <cn><![CDATA[从不显示滚动条]]></cn> | ||||
|             <en><![CDATA[Never Display Scrollbars]]></en> | ||||
|             <big5><![CDATA[從不顯示滾動條]]></big5> | ||||
|         </item>   | ||||
|         <item key="自适应">  | ||||
|             <cn><![CDATA[自适应]]></cn> | ||||
|             <en><![CDATA[Self-Adaption]]></en> | ||||
|             <big5><![CDATA[自我調整]]></big5> | ||||
|         </item>   | ||||
|         <item key="始终显示滚动条">  | ||||
|             <cn><![CDATA[始终显示滚动条]]></cn> | ||||
|             <en><![CDATA[Always Display Scrollbars]]></en> | ||||
|             <big5><![CDATA[始終顯示滾動條]]></big5> | ||||
|         </item>   | ||||
|         <item key="导出">  | ||||
|             <cn><![CDATA[导出]]></cn> | ||||
|             <en><![CDATA[Export]]></en> | ||||
|             <big5><![CDATA[匯出]]></big5> | ||||
|         </item>   | ||||
|         <item key="模板链接">  | ||||
|             <cn><![CDATA[模板链接]]></cn> | ||||
|             <en><![CDATA[Template Link]]></en> | ||||
|             <big5><![CDATA[範本連結]]></big5> | ||||
|         </item>   | ||||
|         <item key="复制URL">  | ||||
|             <cn><![CDATA[复制URL]]></cn> | ||||
|             <en><![CDATA[Copy URL]]></en> | ||||
|             <big5><![CDATA[複製URL]]></big5> | ||||
|         </item>   | ||||
|         <item key="全局设置">  | ||||
|             <cn><![CDATA[全局设置]]></cn> | ||||
|             <en><![CDATA[Global Settings]]></en> | ||||
|             <big5><![CDATA[全域設定]]></big5> | ||||
|         </item>   | ||||
|         <item key="页面名称">  | ||||
|             <cn><![CDATA[页面名称]]></cn> | ||||
|             <en><![CDATA[Page Name]]></en> | ||||
|             <big5><![CDATA[頁面名稱]]></big5> | ||||
|         </item>   | ||||
|         <item key="页面分类">  | ||||
|             <cn><![CDATA[页面分类]]></cn> | ||||
|             <en><![CDATA[Page Classification]]></en> | ||||
|             <big5><![CDATA[頁面分類]]></big5> | ||||
|         </item>   | ||||
|         <item key="备注说明">  | ||||
|             <cn><![CDATA[备注说明]]></cn> | ||||
|             <en><![CDATA[Remarks]]></en> | ||||
|             <big5><![CDATA[備註說明]]></big5> | ||||
|         </item>   | ||||
|         <item key="页面背景">  | ||||
|             <cn><![CDATA[页面背景]]></cn> | ||||
|             <en><![CDATA[Page Background]]></en> | ||||
|             <big5><![CDATA[頁面背景]]></big5> | ||||
|         </item>   | ||||
|         <item key="使用背景色">  | ||||
|             <cn><![CDATA[使用背景色]]></cn> | ||||
|             <en><![CDATA[Use Background Color]]></en> | ||||
|             <big5><![CDATA[使用背景色]]></big5> | ||||
|         </item>   | ||||
|         <item key="使用背景图">  | ||||
|             <cn><![CDATA[使用背景图]]></cn> | ||||
|             <en><![CDATA[Use Background Maps]]></en> | ||||
|             <big5><![CDATA[使用背景圖]]></big5> | ||||
|         </item>   | ||||
|         <item key="无">  | ||||
|             <cn><![CDATA[无]]></cn> | ||||
|             <en><![CDATA[Nothing]]></en> | ||||
|             <big5><![CDATA[無]]></big5> | ||||
|         </item>   | ||||
|         <item key="小窗外边距">  | ||||
|             <cn><![CDATA[小窗外边距]]></cn> | ||||
|             <en><![CDATA[Conetnt window' margin]]></en> | ||||
|             <big5><![CDATA[小窗外邊距]]></big5> | ||||
|         </item>   | ||||
|         <item key="加载等待图标">  | ||||
|             <cn><![CDATA[加载等待<br/>图标]]></cn> | ||||
|             <en><![CDATA[Load Wait Icon]]></en> | ||||
|             <big5><![CDATA[加載等待<br/>圖標]]></big5> | ||||
|         </item>   | ||||
|         <item key="页面加载js扩展">  | ||||
|             <cn><![CDATA[页面加载js<br/>扩展]]></cn> | ||||
|             <en><![CDATA[Page loading JS extension]]></en> | ||||
|             <big5><![CDATA[頁面加載js<br/>擴展]]></big5> | ||||
|         </item>   | ||||
|         <item key="阴影">  | ||||
|             <cn><![CDATA[阴影]]></cn> | ||||
|             <en><![CDATA[Shadow]]></en> | ||||
|             <big5><![CDATA[陰影]]></big5> | ||||
|         </item>   | ||||
|         <item key="方角">  | ||||
|             <cn><![CDATA[方角]]></cn> | ||||
|             <en><![CDATA[Square Corner]]></en> | ||||
|             <big5><![CDATA[方角]]></big5> | ||||
|         </item>   | ||||
|         <item key="圆角">  | ||||
|             <cn><![CDATA[圆角]]></cn> | ||||
|             <en><![CDATA[Fillet]]></en> | ||||
|             <big5><![CDATA[圓角]]></big5> | ||||
|         </item>   | ||||
|         <item key="透明度">  | ||||
|             <cn><![CDATA[透明度]]></cn> | ||||
|             <en><![CDATA[Transparency]]></en> | ||||
|             <big5><![CDATA[透明度]]></big5> | ||||
|         </item>   | ||||
|         <item key="不透明">  | ||||
|             <cn><![CDATA[不透明]]></cn> | ||||
|             <en><![CDATA[Opaque]]></en> | ||||
|             <big5><![CDATA[不透明]]></big5> | ||||
|         </item>   | ||||
|         <item key="主色系">  | ||||
|             <cn><![CDATA[主色系]]></cn> | ||||
|             <en><![CDATA[Dominant Color System]]></en> | ||||
|             <big5><![CDATA[主色系]]></big5> | ||||
|         </item>   | ||||
|         <item key="随应用分发">  | ||||
|             <cn><![CDATA[随应用分发]]></cn> | ||||
|             <en><![CDATA[Dist With Applications]]></en> | ||||
|             <big5><![CDATA[隨應用分發]]></big5> | ||||
|         </item>   | ||||
|         <item key="是">  | ||||
|             <cn><![CDATA[是]]></cn> | ||||
|             <en><![CDATA[Yes]]></en> | ||||
|             <big5><![CDATA[是]]></big5> | ||||
|         </item>   | ||||
|         <item key="否">  | ||||
|             <cn><![CDATA[否]]></cn> | ||||
|             <en><![CDATA[No]]></en> | ||||
|             <big5><![CDATA[否]]></big5> | ||||
|         </item>   | ||||
|         <item key="关联应用">  | ||||
|             <cn><![CDATA[关联应用]]></cn> | ||||
|             <en><![CDATA[Correlation Application]]></en> | ||||
|             <big5><![CDATA[關聯應用]]></big5> | ||||
|         </item>   | ||||
|         <item key="设置管理员">  | ||||
|             <cn><![CDATA[设置管理员]]></cn> | ||||
|             <en><![CDATA[Setting Up Administrator]]></en> | ||||
|             <big5><![CDATA[設定管理員]]></big5> | ||||
|         </item>   | ||||
|         <item key="另存为">  | ||||
|             <cn><![CDATA[另存为]]></cn> | ||||
|             <en><![CDATA[Save As]]></en> | ||||
|             <big5><![CDATA[另存為]]></big5> | ||||
|         </item>   | ||||
|         <item key="模板另存为">  | ||||
|             <cn><![CDATA[模板另存为]]></cn> | ||||
|             <en><![CDATA[Save the template as]]></en> | ||||
|             <big5><![CDATA[範本另存為]]></big5> | ||||
|         </item>   | ||||
|         <item key="变大">  | ||||
|             <cn><![CDATA[变大]]></cn> | ||||
|             <en><![CDATA[Bigger]]></en> | ||||
|             <big5><![CDATA[變大]]></big5> | ||||
|         </item>   | ||||
|         <item key="变小">  | ||||
|             <cn><![CDATA[变小]]></cn> | ||||
|             <en><![CDATA[Smaller]]></en> | ||||
|             <big5><![CDATA[變小]]></big5> | ||||
|         </item>   | ||||
|         <item key="变高">  | ||||
|             <cn><![CDATA[变高]]></cn> | ||||
|             <en><![CDATA[Increase]]></en> | ||||
|             <big5><![CDATA[變高]]></big5> | ||||
|         </item>   | ||||
|         <item key="变低">  | ||||
|             <cn><![CDATA[变低]]></cn> | ||||
|             <en><![CDATA[Lower]]></en> | ||||
|             <big5><![CDATA[變低]]></big5> | ||||
|         </item>   | ||||
|         <item key="提示">  | ||||
|             <cn><![CDATA[提示]]></cn> | ||||
|             <en><![CDATA[Tips]]></en> | ||||
|             <big5><![CDATA[提示]]></big5> | ||||
|         </item>   | ||||
|         <item key="确定要删除该TAB吗">  | ||||
|             <cn><![CDATA[确定要删除该TAB吗]]></cn> | ||||
|             <en><![CDATA[Are you sure you want to delete the TAB?]]></en> | ||||
|             <big5><![CDATA[確定要删除該TAB嗎]]></big5> | ||||
|         </item>   | ||||
|         <item key="按照ID或名称搜索">  | ||||
|             <cn><![CDATA[按照ID或名称搜索]]></cn> | ||||
|             <en><![CDATA[Search by ID or name]]></en> | ||||
|             <big5><![CDATA[按照ID或名稱蒐索]]></big5> | ||||
|         </item>   | ||||
|         <item key="返回列表">  | ||||
|             <cn><![CDATA[返回列表]]></cn> | ||||
|             <en><![CDATA[Return List]]></en> | ||||
|             <big5><![CDATA[返回列表]]></big5> | ||||
|         </item>   | ||||
|         <item key="暂无模板">  | ||||
|             <cn><![CDATA[暂无模板]]></cn> | ||||
|             <en><![CDATA[No Template]]></en> | ||||
|             <big5><![CDATA[暫無範本]]></big5> | ||||
|         </item>   | ||||
|         <item key="请输入搜索条件">  | ||||
|             <cn><![CDATA[请输入搜索条件]]></cn> | ||||
|             <en><![CDATA[Please enter the search criteria]]></en> | ||||
|             <big5><![CDATA[請輸入搜索條件]]></big5> | ||||
|         </item>   | ||||
|         <item key="新建">  | ||||
|             <cn><![CDATA[新建]]></cn> | ||||
|             <en><![CDATA[New]]></en> | ||||
|             <big5><![CDATA[新建]]></big5> | ||||
|         </item>   | ||||
|         <item key="默认展开">  | ||||
|             <cn><![CDATA[默认展开]]></cn> | ||||
|             <en><![CDATA[Default Expansion]]></en> | ||||
|             <big5><![CDATA[默認展開]]></big5> | ||||
|         </item>   | ||||
|         <item key="默认收起">  | ||||
|             <cn><![CDATA[默认收起]]></cn> | ||||
|             <en><![CDATA[Defaults By Default]]></en> | ||||
|             <big5><![CDATA[默認收起]]></big5> | ||||
|         </item>   | ||||
|         <item key="内容">  | ||||
|             <cn><![CDATA[内容]]></cn> | ||||
|             <en><![CDATA[Content]]></en> | ||||
|             <big5><![CDATA[內容]]></big5> | ||||
|         </item>   | ||||
|         <item key="导入">  | ||||
|             <cn><![CDATA[导入]]></cn> | ||||
|             <en><![CDATA[Import]]></en> | ||||
|             <big5><![CDATA[導入]]></big5> | ||||
|         </item>   | ||||
|         <item key="新建模板">  | ||||
|             <cn><![CDATA[新建模板]]></cn> | ||||
|             <en><![CDATA[New Template]]></en> | ||||
|             <big5><![CDATA[新建範本]]></big5> | ||||
|         </item>   | ||||
|         <item key="关联应用不允许为空">  | ||||
|             <cn><![CDATA[关联应用不允许为空]]></cn> | ||||
|             <en><![CDATA[Associated applications are not allowed to be null]]></en> | ||||
|             <big5><![CDATA[關聯應用不允許為空]]></big5> | ||||
|         </item>   | ||||
|         <item key="保存成功">  | ||||
|             <cn><![CDATA[保存成功]]></cn> | ||||
|             <en><![CDATA[Save Successfully]]></en> | ||||
|             <big5><![CDATA[保存成功]]></big5> | ||||
|         </item>   | ||||
|         <item key="请返回模板列表页查看">  | ||||
|             <cn><![CDATA[请返回模板列表页查看]]></cn> | ||||
|             <en><![CDATA[Please go back to the template list page to see]]></en> | ||||
|             <big5><![CDATA[請返回範本清單頁查看]]></big5> | ||||
|         </item>   | ||||
|         <item key="请输入背景图URL">  | ||||
|             <cn><![CDATA[请输入背景图URL]]></cn> | ||||
|             <en><![CDATA[Please enter the background map URL]]></en> | ||||
|             <big5><![CDATA[請輸入背景圖URL]]></big5> | ||||
|         </item>   | ||||
|         <item key="请选择背景色">  | ||||
|             <cn><![CDATA[请选择背景色]]></cn> | ||||
|             <en><![CDATA[Please select a background color]]></en> | ||||
|             <big5><![CDATA[請選擇背景色]]></big5> | ||||
|         </item>   | ||||
|         <item key="不允许超过2000个字符">  | ||||
|             <cn><![CDATA[不允许超过2000个字符]]></cn> | ||||
|             <en><![CDATA[No more than 2000 characters are allowed.]]></en> | ||||
|             <big5><![CDATA[不允許超過2000個字符]]></big5> | ||||
|         </item>   | ||||
|         <item key="透明">  | ||||
|             <cn><![CDATA[透明]]></cn> | ||||
|             <en><![CDATA[Transparent]]></en> | ||||
|             <big5><![CDATA[透明]]></big5> | ||||
|         </item>   | ||||
|         <item key="确定要删除该内容窗体吗">  | ||||
|             <cn><![CDATA[确定要删除该内容窗体吗]]></cn> | ||||
|             <en><![CDATA[Are you sure you want to delete the content form?]]></en> | ||||
|             <big5><![CDATA[確定要删除該內容表單嗎]]></big5> | ||||
|         </item>   | ||||
|         <item key="无标题风格">  | ||||
|             <cn><![CDATA[无标题风格]]></cn> | ||||
|             <en><![CDATA[Untitled Style]]></en> | ||||
|             <big5><![CDATA[無標題風格]]></big5> | ||||
|         </item>   | ||||
|         <item key="简约风格">  | ||||
|             <cn><![CDATA[简约风格]]></cn> | ||||
|             <en><![CDATA[Simple Style]]></en> | ||||
|             <big5><![CDATA[簡約風格]]></big5> | ||||
|         </item>   | ||||
|         <item key="传统风格">  | ||||
|             <cn><![CDATA[传统风格]]></cn> | ||||
|             <en><![CDATA[Traditional Style]]></en> | ||||
|             <big5><![CDATA[傳統風格]]></big5> | ||||
|         </item>   | ||||
|         <item key="标题">  | ||||
|             <cn><![CDATA[标题]]></cn> | ||||
|             <en><![CDATA[Title]]></en> | ||||
|             <big5><![CDATA[標題]]></big5> | ||||
|         </item>   | ||||
|         <item key="竖线标题">  | ||||
|             <cn><![CDATA[竖线标题]]></cn> | ||||
|             <en><![CDATA[Vertical Line Heading]]></en> | ||||
|             <big5><![CDATA[分隔號標題]]></big5> | ||||
|         </item>   | ||||
|         <item key="横线标题">  | ||||
|             <cn><![CDATA[横线标题]]></cn> | ||||
|             <en><![CDATA[Horizontal Title]]></en> | ||||
|             <big5><![CDATA[橫線標題]]></big5> | ||||
|         </item>   | ||||
|         <item key="梯形背景标题">  | ||||
|             <cn><![CDATA[梯形背景标题]]></cn> | ||||
|             <en><![CDATA[Ladder Background Title]]></en> | ||||
|             <big5><![CDATA[梯形背景標題]]></big5> | ||||
|         </item>   | ||||
|         <item key="方形背景标题">  | ||||
|             <cn><![CDATA[方形背景标题]]></cn> | ||||
|             <en><![CDATA[Square Background Title]]></en> | ||||
|             <big5><![CDATA[方形背景標題]]></big5> | ||||
|         </item>   | ||||
|         <item key="方块背景标题">  | ||||
|             <cn><![CDATA[方块背景标题]]></cn> | ||||
|             <en><![CDATA[Box Background Title]]></en> | ||||
|             <big5><![CDATA[方塊背景標題]]></big5> | ||||
|         </item>   | ||||
|         <item key="内容来源">  | ||||
|             <cn><![CDATA[内容来源]]></cn> | ||||
|             <en><![CDATA[Content Source]]></en> | ||||
|             <big5><![CDATA[內容來源]]></big5> | ||||
|         </item>   | ||||
|         <item key="请选择内容源">  | ||||
|             <cn><![CDATA[请选择内容源]]></cn> | ||||
|             <en><![CDATA[Please select the content source]]></en> | ||||
|             <big5><![CDATA[請選擇內容源]]></big5> | ||||
|         </item>   | ||||
|         <item key="开发说明">  | ||||
|             <cn><![CDATA[开发说明]]></cn> | ||||
|             <en><![CDATA[Development Instructions]]></en> | ||||
|             <big5><![CDATA[開發說明]]></big5> | ||||
|         </item>   | ||||
|         <item key="添加链接">  | ||||
|             <cn><![CDATA[添加链接]]></cn> | ||||
|             <en><![CDATA[Add Links]]></en> | ||||
|             <big5><![CDATA[添加連結]]></big5> | ||||
|         </item>   | ||||
|         <item key="链接名称">  | ||||
|             <cn><![CDATA[链接名称]]></cn> | ||||
|             <en><![CDATA[Link Name]]></en> | ||||
|             <big5><![CDATA[連結名稱]]></big5> | ||||
|         </item>   | ||||
|         <item key="链接地址">  | ||||
|             <cn><![CDATA[链接地址]]></cn> | ||||
|             <en><![CDATA[Link Address]]></en> | ||||
|             <big5><![CDATA[連結位址]]></big5> | ||||
|         </item>   | ||||
|         <item key="授权">  | ||||
|             <cn><![CDATA[授权]]></cn> | ||||
|             <en><![CDATA[To Grant Authorization]]></en> | ||||
|             <big5><![CDATA[授權]]></big5> | ||||
|         </item>   | ||||
|         <item key="链接图标">  | ||||
|             <cn><![CDATA[链接图标]]></cn> | ||||
|             <en><![CDATA[Link Icon]]></en> | ||||
|             <big5><![CDATA[連結圖示]]></big5> | ||||
|         </item>   | ||||
|         <item key="主窗口">  | ||||
|             <cn><![CDATA[主窗口]]></cn> | ||||
|             <en><![CDATA[Main Window]]></en> | ||||
|             <big5><![CDATA[主視窗]]></big5> | ||||
|         </item>   | ||||
|         <item key="选择用户">  | ||||
|             <cn><![CDATA[选择用户]]></cn> | ||||
|             <en><![CDATA[Selecting Users]]></en> | ||||
|             <big5><![CDATA[]]></big5> | ||||
|         </item>   | ||||
|         <item key="名称不能超过200个字符">  | ||||
|             <cn><![CDATA[名称不能超过200个字符]]></cn> | ||||
|             <en><![CDATA[Name cannot exceed 200 characters]]></en> | ||||
|             <big5><![CDATA[名稱不能超過200個字元]]></big5> | ||||
|         </item>   | ||||
|         <item key="您访问的模板不存在">  | ||||
|             <cn><![CDATA[您访问的模板不存在]]></cn> | ||||
|             <en><![CDATA[The template you visited does not exist]]></en> | ||||
|             <big5><![CDATA[您訪問的範本不存在]]></big5> | ||||
|         </item>   | ||||
|         <item key="数据查询失败">  | ||||
|             <cn><![CDATA[数据查询失败]]></cn> | ||||
|             <en><![CDATA[Data Query Failure]]></en> | ||||
|             <big5><![CDATA[資料查詢失敗]]></big5> | ||||
|         </item>   | ||||
|         <item key="数据保存失败">  | ||||
|             <cn><![CDATA[数据保存失败]]></cn> | ||||
|             <en><![CDATA[Failure to save data]]></en> | ||||
|             <big5><![CDATA[數據保存失敗]]></big5> | ||||
|         </item>   | ||||
|         <item key="已存在">  | ||||
|             <cn><![CDATA[已存在]]></cn> | ||||
|             <en><![CDATA[Existing]]></en> | ||||
|             <big5><![CDATA[已存在]]></big5> | ||||
|         </item>   | ||||
|         <item key="数据添加失败">  | ||||
|             <cn><![CDATA[数据添加失败]]></cn> | ||||
|             <en><![CDATA[Failure to add data]]></en> | ||||
|             <big5><![CDATA[數據添加失敗]]></big5> | ||||
|         </item>   | ||||
|         <item key="删除成功">  | ||||
|             <cn><![CDATA[删除成功]]></cn> | ||||
|             <en><![CDATA[Successful Deletion]]></en> | ||||
|             <big5><![CDATA[删除成功]]></big5> | ||||
|         </item>   | ||||
|         <item key="删除失败">  | ||||
|             <cn><![CDATA[删除失败]]></cn> | ||||
|             <en><![CDATA[Delete Failed]]></en> | ||||
|             <big5><![CDATA[删除失敗]]></big5> | ||||
|         </item>   | ||||
|         <item key="该链接已存在">  | ||||
|             <cn><![CDATA[该链接已存在]]></cn> | ||||
|             <en><![CDATA[The link already exists]]></en> | ||||
|             <big5><![CDATA[該連結已存在]]></big5> | ||||
|         </item>   | ||||
|         <item key="参数不能为空">  | ||||
|             <cn><![CDATA[参数不能为空]]></cn> | ||||
|             <en><![CDATA[Parameters cannot be null]]></en> | ||||
|             <big5><![CDATA[參數不能為空]]></big5> | ||||
|         </item>   | ||||
|         <item key="您访问资源不存在">  | ||||
|             <cn><![CDATA[您访问资源不存在]]></cn> | ||||
|             <en><![CDATA[The resources you access do not exist]]></en> | ||||
|             <big5><![CDATA[您訪問資源不存在]]></big5> | ||||
|         </item>   | ||||
|         <item key="数据更新失败">  | ||||
|             <cn><![CDATA[数据更新失败]]></cn> | ||||
|             <en><![CDATA[Failure of data update]]></en> | ||||
|             <big5><![CDATA[數據更新失敗]]></big5> | ||||
|         </item>   | ||||
|         <item key="展开方式"> | ||||
|             <cn><![CDATA[展开方式]]></cn> | ||||
|             <en><![CDATA[Expansion Mode]]></en> | ||||
|             <big5><![CDATA[展開管道]]></big5> | ||||
|         </item> | ||||
|         <item key="确定要删除该操作按钮吗"> | ||||
|             <cn><![CDATA[确定要删除该操作按钮吗]]></cn> | ||||
|             <en><![CDATA[Are you sure you want to delete the operation button?]]></en> | ||||
|             <big5><![CDATA[確定要刪除該操作按鈕嗎]]></big5> | ||||
|         </item> | ||||
|     </lang>  | ||||
| </locale-config> | ||||
							
								
								
									
										
											BIN
										
									
								
								com.actionsoft.apps.addons.xpages/icon16.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| After Width: | Height: | Size: 1.4 KiB | 
							
								
								
									
										
											BIN
										
									
								
								com.actionsoft.apps.addons.xpages/icon64.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| After Width: | Height: | Size: 3.0 KiB | 
							
								
								
									
										
											BIN
										
									
								
								com.actionsoft.apps.addons.xpages/icon96.png
									
									
									
									
									
										Executable file
									
								
							
							
						
						| After Width: | Height: | Size: 3.1 KiB | 
							
								
								
									
										
											BIN
										
									
								
								com.actionsoft.apps.addons.xpages/lib/com.actionsoft.apps.addons.xpages.jar
									
									
									
									
									
										Executable file
									
								
							
							
						
						
							
								
								
									
										52
									
								
								com.actionsoft.apps.addons.xpages/manifest.xml
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,52 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| 
 | ||||
| <app xmlns="http://www.actionsoft.com.cn/app">   | ||||
|   <name>XPages</name>   | ||||
|   <version>1.1</version>   | ||||
|   <buildNo>21</buildNo>   | ||||
|   <developer id="776cca9a287c8b4d63b9cad216aa3859" tablePrefix="ACT" url="http://www.actionsoft.com.cn">北京炎黄盈动科技发展有限责任公司</developer>   | ||||
|   <categoryVisible>false</categoryVisible>   | ||||
|   <description><![CDATA[XPages是AWS PaaS构建统一门户服务的一个重要底层应用,为门户设计和后期运维提供强大模板管理服务。]]></description>   | ||||
|   <details><![CDATA[为门户设计人员提供强大模板服务 | ||||
| 
 | ||||
| XPages是AWS PaaS构建统一门户服务的一个重要底层应用,为门户设计和后期运维提供强大模板管理服务。 | ||||
| 
 | ||||
| XPages超越了传统意义上的门户概念,不仅能够为客户实施个性门户提供强大模板管理,也可以为各种PaaS应用快速构建独立的业务门户、Dashboard首页(如HR门户、销售门户)。 | ||||
| 
 | ||||
| 模板 | ||||
| 
 | ||||
| 为上层门户、应用Dashboard提供页面布局服务 | ||||
| 基于多个管理权限,创建和管理页面模板 | ||||
| 所见即所得的内容窗口布局,可拖拽设计 | ||||
| 智能布局算法,快速设计出上下对齐的布局 | ||||
| 丰富、统一的预设样式和色系风格 | ||||
| 内容窗口支持任意URL(用于开发者定制) | ||||
| 内容窗口支持在线编辑的页面资源 | ||||
| 内容窗口支持其他应用预制的小页面(如日程、任务、待办、KMS等) | ||||
| 内容窗口支持右上角常用操作(如刷新、定时刷新) | ||||
| 内容窗口支持右上角自定义URL操作 | ||||
| 内容窗口支持右上角自定义JavaScript操作(如去年、今年,刷新显示年份统计图) | ||||
| 内容窗口支持右上角自定义HTML代码块(如显示文字提示,通过下拉框条件影响内容输出) | ||||
| 为DEV、QAS、PRD不同环境部署,提供导入导出 | ||||
| ]]></details>   | ||||
|   <installListener/>   | ||||
|   <pluginListener>com.actionsoft.apps.addons.xpages.listener.Plugins</pluginListener>   | ||||
|   <startListener/>   | ||||
|   <stopListener/>   | ||||
|   <upgradeListener/>   | ||||
|   <uninstallListener/>   | ||||
|   <reloadable>true</reloadable>   | ||||
|   <requires>  | ||||
|     <require appId="com.actionsoft.apps.skins.mportal3" notActiveHandler="none" res="false"/>  | ||||
|   </requires>   | ||||
|   <properties>  | ||||
|     <property action="edit" group="模板高度" name="stepHeight" title="模板步进高度" type="input" isSystem="false" desc="默认50,指的是每次拉高或者拉低窗体的时候,一次增减的尺寸。">10</property>   | ||||
|     <property action="edit" group="日期格式" name="datePattern" title="日期格式" type="combox" isSystem="false" desc="1,不显示发布日期 2,显示发布日期(yyyy-MM-dd HH:mm)3,显示发布日期(yyyy-MM-dd)4,显示发布日期(yyyy-MM)5,显示发布日期(yyyy)6,显示发布日期(MM-dd)7,显示发布日期(友好阅读,如2小时前)" ref="2|3|4|5|6|7">6</property>  | ||||
|   </properties>   | ||||
|   <allowStartup>true</allowStartup>   | ||||
|   <allowUpgradeByStore>true</allowUpgradeByStore>   | ||||
|   <depend versions="6.3" env="6.3.GA">_bpm.portal</depend>   | ||||
|   <modelAdministrator/>   | ||||
|   <installDate>2018-05-03 14:21:22</installDate>   | ||||
|   <productId/>  | ||||
| </app> | ||||
| @ -0,0 +1,483 @@ | ||||
| <div class="xpageDW-wrap" id = "xpageDW-wrap"> | ||||
| <style> | ||||
| 	.showURLInfo { | ||||
| 		color: #1976D2; | ||||
| 		cursor: pointer; | ||||
| 		font-size: 13px; | ||||
| 		margin-left: 2px; | ||||
| 		margin-right: 2px; | ||||
| 		font-weight: 800; | ||||
| 	} | ||||
| 
 | ||||
| 	.app-box-select { | ||||
| 		margin-top: 2px; | ||||
| 		width: 234px; | ||||
| 		height: 40px; | ||||
| 	} | ||||
| 
 | ||||
| 	.app-img-select { | ||||
| 		float: left; | ||||
| 	} | ||||
| 
 | ||||
| 	.app-img-select img { | ||||
| 		width: 35px; | ||||
| 	} | ||||
| 
 | ||||
| 	.app-info-select { | ||||
| 		width: 190px; | ||||
| 		height: 38px; | ||||
| 		float: right; | ||||
| 	} | ||||
| 
 | ||||
| 	.app-name-select { | ||||
| 		font-size: 13px; | ||||
| 		font-weight: bold; | ||||
| 		word-break: normal; | ||||
| 		overflow: hidden; | ||||
| 		text-overflow: ellipsis; | ||||
| 	} | ||||
| 
 | ||||
| 	.app-id-select { | ||||
| 		word-break: normal; | ||||
| 		overflow: hidden; | ||||
| 		text-overflow: ellipsis; | ||||
| 	} | ||||
| 
 | ||||
| </style> | ||||
| <script name="xpagejsContext"> | ||||
| 	function formatState(data) { | ||||
| 		if (!data.id) { | ||||
| 			return ""; | ||||
| 		} | ||||
| 		var option = "<div class=\"app-box-select\">"; | ||||
| 		option += "<div class=\"app-img-select\">"; | ||||
| 		option += "<img src=\"" + data.img + "\">"; | ||||
| 		option += "</div>"; | ||||
| 		option += "<div class=\"app-info-select\">"; | ||||
| 		option += "<div class=\"app-name-select\" title=\"" + data.text + "\">" + data.text + "</div>"; | ||||
| 		option += "<div class=\"app-id-select\" title='" + data.id + "'>" + data.id + "</div>"; | ||||
| 		option += "</div></div>"; | ||||
| 		return $(option); | ||||
| 	} | ||||
| 
 | ||||
| 	var urltool = { | ||||
| 		xpageInit: function () { | ||||
| 			$("#xpageDWtable .awsui-checkbox").check(); | ||||
| 			this.initSelect3(); | ||||
| 		}, | ||||
| 		initSelect3: function () { | ||||
| 			var that = this; | ||||
| 			$("#appSel").change(function () { | ||||
| 				var val = $(this).val(); | ||||
| 				for (var i = 0, size_i = that.selectList.length; i < size_i; i++) { | ||||
| 					var data = that.selectList[i]; | ||||
| 					if (data.id == val) { | ||||
| 						var sel = $("#category"); | ||||
| 						try { | ||||
| 							if(sel.hasClass("select2-hidden-accessible")){ | ||||
| 								sel.select2('destroy'); | ||||
| 								sel.find("option").remove(); | ||||
| 							} | ||||
| 						} catch (e) { | ||||
| 						} | ||||
| 						sel.select2({ | ||||
| 							data: data.categoryList, | ||||
| 							allowClear: false | ||||
| 						}); | ||||
| 						if (that.defaultValue != null) { | ||||
| 							sel.val(that.defaultValue.category); | ||||
| 						} | ||||
| 						sel.trigger("change"); | ||||
| 						break; | ||||
| 					} | ||||
| 				} | ||||
| 			}); | ||||
| 			$("#category").change(function () { | ||||
| 				var val = $(this).val(); | ||||
| 				for (var i = 0, size_i = that.selectList.length; i < size_i; i++) { | ||||
| 					var data = that.selectList[i]; | ||||
| 					if (data.id == $("#appSel").val()) { | ||||
| 						for (var j = 0, size_j = data.categoryList.length; j < size_j; j++) { | ||||
| 							var datum = data.categoryList[j]; | ||||
| 							if (datum.id == val) { | ||||
| 								var sel = $("#dataView"); | ||||
| 								try { | ||||
| 									if(sel.hasClass("select2-hidden-accessible")){ | ||||
| 										sel.select2('destroy'); | ||||
| 										sel.find("optgroup").remove(); | ||||
| 										sel.find("option").remove(); | ||||
| 									} | ||||
| 								} catch (e) { | ||||
| 								} | ||||
| 								sel.select2({ | ||||
| 									data: datum.viewList, | ||||
| 									allowClear: false | ||||
| 								}); | ||||
| 								if (that.defaultValue != null) { | ||||
| 									sel.val(that.defaultValue.dwViewId); | ||||
| 								} | ||||
| 								sel.trigger("change"); | ||||
| 								break; | ||||
| 							} | ||||
| 						} | ||||
| 						break; | ||||
| 					} | ||||
| 				} | ||||
| 			}); | ||||
| 			$("#dataView").change(function () { | ||||
| 				that.refreshUrl(); | ||||
| 			}); | ||||
| 			that.getDataViewSel({ | ||||
| 				callback: function (list) { | ||||
| 					that.selectList = list; | ||||
| 					$("#appSel").select2({ | ||||
| 						data: list, | ||||
| 						templateResult: formatState, | ||||
| 						matcher: function (params, data) { | ||||
| 							if (params.term) { | ||||
| 								var val = params.term.toUpperCase() | ||||
| 								if (data.id.toUpperCase().indexOf(val) > -1 || data.text.toUpperCase().indexOf(val) > -1) { | ||||
| 									return data; | ||||
| 								} | ||||
| 								return null; | ||||
| 							} | ||||
| 							return data; | ||||
| 						}, | ||||
| 						allowClear: false | ||||
| 					}); | ||||
| 					var baseUrl = $("#cwUrl").val(); | ||||
| 					var baseUrlobj = urltool.getParams($("#cwUrl").val()); | ||||
| 					var isInitValue = false; | ||||
| 					//是否需要初始化默认值 | ||||
| 					if (baseUrlobj != null && baseUrlobj.cmd != null && baseUrlobj.cmd == "CLIENT_DW_PORTAL") { | ||||
| 						//不刷新 | ||||
| 						that.defaultValue = { | ||||
| 							appId: baseUrlobj.appId, | ||||
| 							dwViewId: baseUrlobj.dwViewId | ||||
| 						} | ||||
| 						$("#appSel").val(baseUrlobj.appId); | ||||
| 						var category = null; | ||||
| 						for (var i = 0, size_i = urltool.selectList.length; i < size_i; i++) { | ||||
| 							var data = that.selectList[i]; | ||||
| 							if (data.id == baseUrlobj.appId) { | ||||
| 								for (var j = 0, size_j = data.categoryList.length; j < size_j; j++) { | ||||
| 									var datum = data.categoryList[j]; | ||||
| 									for (var k = 0, size_k = datum.viewList.length; k < size_k; k++) { | ||||
| 										var viewListElement = datum.viewList[k]; | ||||
| 										for (var l = 0, size_l = viewListElement.children.length; l < size_l; l++) { | ||||
| 											var views = viewListElement.children[l]; | ||||
| 											if (views.id == baseUrlobj.dwViewId) { | ||||
| 												category = datum.id; | ||||
| 												break; | ||||
| 											} | ||||
| 										} | ||||
| 										if (category != null) { | ||||
| 											break; | ||||
| 										} | ||||
| 									} | ||||
| 									if (category != null) { | ||||
| 										break; | ||||
| 									} | ||||
| 								} | ||||
| 								break; | ||||
| 							} | ||||
| 						} | ||||
| 						that.defaultValue.category = category; | ||||
| 						$("#appSel").val(that.defaultValue.appId); | ||||
| 						isInitValue = true; | ||||
| 					} | ||||
| 					$("#appSel").trigger("change"); | ||||
| 					if (isInitValue) { | ||||
| 						that.defaultValue = null; | ||||
| 						if(!baseUrlobj.st){ | ||||
| 							baseUrl+="&st={t:'xpages'}" | ||||
| 							$("#xpageDW-wrap").find(".xpagesContent").val(baseUrl); | ||||
| 						} | ||||
| 						$("#urlText").val(baseUrl); | ||||
| 						//check | ||||
| 						if (baseUrlobj.hideSearcher != "true") { | ||||
| 							$("#includeSearcher").check("option", "checked", false); | ||||
| 						} | ||||
| 						if (baseUrlobj.hideTitle != "true") { | ||||
| 							$("#hideTitle").check("option", "checked", false); | ||||
| 						} | ||||
| 						if (baseUrlobj.hideToolbar != "true") { | ||||
| 							$("#includeToolbar").check("option", "checked", false); | ||||
| 						} | ||||
| 						if (baseUrlobj.hideTab != "true") { | ||||
| 							$("#hideTab").check("option", "checked", false); | ||||
| 						} | ||||
| 					} | ||||
| 				} | ||||
| 			}); | ||||
| 		}, | ||||
| 		refreshUrl: function () { | ||||
| 			if (this.defaultValue == null) { | ||||
| 				var data = $("#dataView").select2("data")[0]; | ||||
| 				this.url = "&cmd=CLIENT_DW_PORTAL&processGroupId=" + data.processGroupId + "&appId=" + $("#appSel").val() + "&dwViewId=" + data.id + "&st={t:'xpages'}"; | ||||
| 				this.setText(true); | ||||
| 			} | ||||
| 		}, | ||||
| 		init: function (opt) { | ||||
| 			this.xpageInit(); | ||||
| 			this.relativeHead = "./w"; | ||||
| 			var that = this; | ||||
| 			$("#overallUrl").on("ifChanged", function () { | ||||
| 				that.setText(); | ||||
| 			}); | ||||
| 			$("#includeSearcher").on("ifChanged", function () { | ||||
| 				that.setText(); | ||||
| 			}); | ||||
| 			$("#includeToolbar").on("ifChanged", function () { | ||||
| 				that.setText(); | ||||
| 			}); | ||||
| 			$("#hideTitle").on("ifChanged", function () { | ||||
| 				that.setText(); | ||||
| 			}); | ||||
| 			$("#hideTab").on("ifChanged", function () { | ||||
| 				that.setText(); | ||||
| 			}); | ||||
| 			$("#urlText").click(function () { | ||||
| 			}); | ||||
| 			$(".showURLInfo").click(function () { | ||||
| 				that.showInfo(); | ||||
| 			}); | ||||
| 			$("#currentSID").on("ifChanged", function () { | ||||
| 				that.setText(); | ||||
| 				$("#urlText").focus(); | ||||
| 				$("#urlText").select(); | ||||
| 			}); | ||||
| 		}, | ||||
| 		showInfo: function () { | ||||
| 			$("#showURLconditionDiv").css({ | ||||
| 				top: $(window).height() / 2 - 500 / 2 - 30, | ||||
| 				left: $(window).width() / 2 - 640 / 2, | ||||
| 				width: 600 | ||||
| 			}); | ||||
| 			$("#showURLconditionDiv").show().find("div").show(); | ||||
| 			$("#showURLconditionDiv .msg").css("max-width", "1200px"); | ||||
| 		}, | ||||
| 		setText: function (reset) { | ||||
| 			var str = $("#overallUrl").prop("checked") ? this.overallHead : this.relativeHead; | ||||
| 			if (reset || $.trim($("#urlText").val()) == "") { | ||||
| 				str = str + ($("#currentSID").prop("checked") ? ("?sid=" + sid) : "?sid=@sid"); | ||||
| 				str += this.url; | ||||
| 				str += $("#includeSearcher").prop("checked") ? "&hideSearcher=true" : ""; | ||||
| 				str += $("#includeToolbar").prop("checked") ? "&hideToolbar=true" : ""; | ||||
| 				str += $("#hideTitle").prop("checked") ? "&hideTitle=true" : ""; | ||||
| 				str += $("#hideTab").prop("checked") ? "&hideTab=true" : ""; | ||||
| 			} else { | ||||
| 				var params = this.getParams($("#urlText").val()); | ||||
| 				params.sid = $("#currentSID").prop("checked") ? sid : "@sid"; | ||||
| 				if ($("#includeSearcher").prop("checked")) { | ||||
| 					params.hideSearcher = true; | ||||
| 				} else if (params.hideSearcher) { | ||||
| 					delete params.hideSearcher; | ||||
| 				} | ||||
| 				if ($("#includeToolbar").prop("checked")) { | ||||
| 					params.hideToolbar = true; | ||||
| 				} else if (params.hideToolbar) { | ||||
| 					delete params.hideToolbar; | ||||
| 				} | ||||
| 				if ($("#hideTitle").prop("checked")) { | ||||
| 					params.hideTitle = true; | ||||
| 				} else if (params.hideTitle) { | ||||
| 					delete params.hideTitle; | ||||
| 				} | ||||
| 				if ($("#hideTab").prop("checked")) { | ||||
| 					params.hideTab = true; | ||||
| 				} else if (params.hideTab) { | ||||
| 					delete params.hideTab; | ||||
| 				} | ||||
| 				params.sid = $("#currentSID").prop("checked") ? sid : "@sid"; | ||||
| 				if(!params.st){ | ||||
| 					params.st = "{t:'xpages'}" | ||||
| 				} | ||||
| 				str += "?"; | ||||
| 				var i = 0; | ||||
| 				for (var k in params) { | ||||
| 					if (i != 0) { | ||||
| 						str += "&"; | ||||
| 					} | ||||
| 					str += k + "=" + params[k]; | ||||
| 					i++; | ||||
| 				} | ||||
| 			} | ||||
| 			$("#urlText").val(str); | ||||
|             $("#xpageDW-wrap").find(".xpagesContent").val(str); | ||||
| 		}, | ||||
| 		getParams: function (url) { | ||||
| 			var params = {}; | ||||
| 			try { | ||||
| 				var ps = url.split("?")[1].split("&"); | ||||
| 				for (var i = 0, size_i = ps.length; i < size_i; i++) { | ||||
| 					var paramStr = ps[i]; | ||||
| 					var map = paramStr.split("="); | ||||
| 					if (map.length == 2) { | ||||
| 						params[map[0]] = map[1]; | ||||
| 					} | ||||
| 				} | ||||
| 			} catch (e) { | ||||
| 			} | ||||
| 			return params; | ||||
| 		}, | ||||
| 		getDataViewSel: function (opt) { | ||||
| 			var value = opt.value; | ||||
| 			if (value == "") | ||||
| 				return; | ||||
| 			var send = {} | ||||
| 			var param = { | ||||
| 				url: './jd', | ||||
| 				type: 'POST', | ||||
| 				dataType: "json", | ||||
| 				data: { | ||||
| 					cmd: "com.actionsoft.apps.addons.xpages_dw", | ||||
| 					sid: sid, | ||||
| 					option: JSON.stringify(send), | ||||
| 				}, | ||||
| 				alert: false, | ||||
| 				success: function (ro) { | ||||
| 					if (ro.result == "ok") { | ||||
| 						urltool.overallHead = ro.data.urlHead + "/r/w"; | ||||
| 						if (opt.callback) { | ||||
| 							opt.callback(ro.data.list); | ||||
| 						} | ||||
| 					} | ||||
| 				} | ||||
| 			} | ||||
| 			awsui.ajax.request(param); | ||||
| 		} | ||||
| 	}; | ||||
| </script> | ||||
| <textarea style="display: none;" class="xpagesContent"></textarea> | ||||
| <table id="xpageDWtable" style="font-size:13px;width:100%;"> | ||||
| 	<colgroup> | ||||
| 		<col width="24%"/> | ||||
| 		<col width="76%"/> | ||||
| 	</colgroup> | ||||
| 	<tr> | ||||
| 		<td>应用ID</td> | ||||
| 		<td> | ||||
| 			<select id="appSel" style="width: 360px;"></select> | ||||
| 		</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 		<td>模型分类</td> | ||||
| 		<td> | ||||
| 			<select id="category" style="width:360px;"></select> | ||||
| 		</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 		<td>视图名称</td> | ||||
| 		<td> | ||||
| 			<select id="dataView" style="width:360px;"></select> | ||||
| 		</td> | ||||
| 	</tr> | ||||
| 	<tr class="urladdress-tr-cls"> | ||||
| 		<td>URL地址</td> | ||||
| 		<td><textarea id="urlText" type="text" class="txt awsui-textbox" style="height:131px;resize: none;width:360px;" spellcheck="false"></textarea></td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 		<td style="padding-top:3px;">选项</td> | ||||
| 		<td style="padding-top:3px;"> | ||||
| 			<!--<input type="checkbox" class="awsui-checkbox" id="overallUrl">--> | ||||
| 			<!--<label for="overallUrl" style="    margin-right: 65px;">全局</label> --> | ||||
| 			<!--<input type="checkbox" class="awsui-checkbox" id="currentSID">--> | ||||
| 			<!--<label for="currentSID">当前SID</label>--> | ||||
| 			<!--<br>--> | ||||
| 			<table style="width:100%;"> | ||||
| 				<tr> | ||||
| 					<td> | ||||
| 						<input type="checkbox" class="awsui-checkbox" id="includeSearcher" checked> | ||||
| 						<label for="includeSearcher">隐藏查询条件区</label> | ||||
| 					</td> | ||||
| 					<td> | ||||
| 						<input type="checkbox" class="awsui-checkbox" id="includeToolbar" checked> | ||||
| 						<label for="includeToolbar" >隐藏工具条</label> | ||||
| 					</td> | ||||
| 				</tr> | ||||
| 				<tr> | ||||
| 					<td> | ||||
| 						<input type="checkbox" class="awsui-checkbox" id="hideTitle" checked> | ||||
| 						<label for="hideTitle">隐藏标题栏</label> | ||||
| 					</td> | ||||
| 					<td> | ||||
| 						<input type="checkbox" class="awsui-checkbox" id="hideTab" checked> | ||||
| 						<label for="hideTab">隐藏视图导航</label> | ||||
| 					</td> | ||||
| 				</tr> | ||||
| 			</table> | ||||
| 		</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 		<td colspan="2" style="line-height: 18px;  padding-top:8px;"> | ||||
| 			URL支持查询条件传参,请点击<span class="showURLInfo">此处</span>查看参数规则。 | ||||
| 			<br> | ||||
| 			建议无标题风格且页面内边距设置为0px 0px 5px 5px。 | ||||
| 		</td> | ||||
| 	</tr> | ||||
| </table> | ||||
| <div id="showURLconditionDiv" class="confirm-window awsui-dialog ui-draggable" style="position: fixed; top: 92.5px; left: 539px; display:none;"> | ||||
| 	<h2 class="dlg-title"></h2> | ||||
| 	<div class="msg"> | ||||
| 		<table id="showURLcondition" class="table table-bordered " width="100%"> | ||||
| 			<colgroup> | ||||
| 				<col width="11%"/> | ||||
| 				<col width="27%"/> | ||||
| 				<col width="63%"/> | ||||
| 			</colgroup> | ||||
| 			<tr> | ||||
| 				<td colspan="3"> | ||||
| 					在URL追加参数condition,可以指定字段的条件,多个字段条件可以查询范围(多个条件可以是同个字段名,条件之间为并且关系)。<br> | ||||
| 					例如:<br> | ||||
| 					单个条件时:<br> | ||||
| 					condition=[{ cp: 'like', fd: 'NAMEOBJ_FAF1569E1992444BA4B351C702E747CC', cv: '1'}];<br> | ||||
| 					多个条件时:<br> | ||||
| 					condition=[<br> | ||||
| 					  { tp: 'num', cp: '<', fd: 'NUMOBJ_FAF1569E1992444BA4B351C702E737CC', cv: '100'},<br> | ||||
| 					  { tp: 'num', cp: '>=', fd: 'NUMOBJ_FAF1569E1992444BA4B351C702E737CC', cv: '50'},<br> | ||||
| 					]; | ||||
| 				</td> | ||||
| 			</tr> | ||||
| 			<tr> | ||||
| 				<th>参数</th> | ||||
| 				<th>描述</th> | ||||
| 				<th>说明</th> | ||||
| 			</tr> | ||||
| 			<tr> | ||||
| 				<td align="center">tp</td> | ||||
| 				<td>数据类型,选填</td> | ||||
| 				<td>可填写 str、num、date,默认str</td> | ||||
| 			</tr> | ||||
| 			<tr> | ||||
| 				<td align="center">cp</td> | ||||
| 				<td>比较运算符,必填</td> | ||||
| 				<td>可填写 =、!=、<、>、<=、>=、like、not like</td> | ||||
| 			</tr> | ||||
| 			<tr> | ||||
| 				<td align="center">fd</td> | ||||
| 				<td>字段名称,必填</td> | ||||
| 				<td>要求大写,支持2种格式:<br> | ||||
| 					1.大写字段名。<br> | ||||
| 					2.大写字段名+查询器条件查询组件标识ID。<br> | ||||
| 					第2种格式时,如果页面上有此条件查询器项,将会回填此值到元素上。 | ||||
| 				</td> | ||||
| 			</tr> | ||||
| 			<tr> | ||||
| 				<td align="center">cv</td> | ||||
| 				<td>值,必填</td> | ||||
| 				<td>字段的值</td> | ||||
| 			</tr> | ||||
| 		</table> | ||||
| 	</div> | ||||
| 	<div class="dlg-close" style="display: block;" onclick="$('#showURLconditionDiv').hide();"></div> | ||||
| 	<div class="dialog-button-wrap" style="text-align:center"> | ||||
| 		<div class="dlg-button"> | ||||
| 			<button type="button" class="button" onclick="$('#showURLconditionDiv').hide();">关闭</button> | ||||
| 		</div> | ||||
| 	</div> | ||||
| </div> | ||||
| <script> | ||||
| 	urltool.init(); | ||||
| </script> | ||||
| </div> | ||||
							
								
								
									
										446
									
								
								com.actionsoft.apps.addons.xpages/template/page/xpages.home.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,446 @@ | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
| <head> | ||||
| 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||||
| 	<title>xpages</title> | ||||
|     <script> | ||||
|     | ||||
|     </script> | ||||
| 	<!-- JQuery --> | ||||
|     <script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script> | ||||
| 	 | ||||
|     <!-- AWS UI --> | ||||
|     <script type="text/javascript" src="../commons/js/public.js"></script> | ||||
|     <link rel="stylesheet" type="text/css" href="../commons/css/awsui.css"> | ||||
|     <script type="text/javascript" src="../commons/js/awsui.js"></script> | ||||
| 	 | ||||
|  	<link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.addons.xpages/css/xpages.home.css"> | ||||
|     <link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.addons.xpages/css/xpages.skins.css"> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.home.js"></script> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.resource.js"></script> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/lib/math.uuid.js"></script> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.util.js"></script> | ||||
| 	<script type="text/javascript" src="../commons/js/jquery/scripts/ui/jscolor/jscolor.js"></script> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.size.js"></script> | ||||
| 
 | ||||
| 
 | ||||
| 	 | ||||
|    	<script type="text/javascript"> | ||||
| 		//公共参数 | ||||
| 		var sid = "<#sid>"; | ||||
| 		var appId= "<#appId>"; | ||||
| 		var userid = "<#userId>"; | ||||
| 		var userPhoto = "<#userPhoto>"; | ||||
| 		var userName = "<#userName>"; | ||||
| 		var language = "<#language>"; | ||||
| 
 | ||||
| 		var apps = <#apps>; | ||||
| 		 $(document).ready(function(){ | ||||
| 	         initRegister(); | ||||
| 		 }); | ||||
| 	</script> | ||||
| 	<script> | ||||
| 		// 国际化 | ||||
| 		var 确定 = '<I18N#确定>'; | ||||
| 		var 是 = '<I18N#是>'; | ||||
| 		var 否 = '<I18N#否>'; | ||||
| 		var 选择用户= '<I18N#选择用户>'; | ||||
| 		var 添加= '<I18N#添加>'; | ||||
| 		var 关闭= '<I18N#关闭>'; | ||||
| 		var 序号= '<I18N#序号>'; | ||||
| 		var 类型= '<I18N#类型>'; | ||||
| 		var 名称= '<I18N#名称>'; | ||||
| 		var 创建日期= '<I18N#创建日期>'; | ||||
| 		var 修改日期= '<I18N#修改日期>'; | ||||
| 		var 备注= '<I18N#备注>'; | ||||
| 		var 操作= '<I18N#操作>'; | ||||
| 		var 编辑= '<I18N#编辑>'; | ||||
| 		var 设计= '<I18N#设计>'; | ||||
| 		var 查看= '<I18N#查看>'; | ||||
| 		var 删除= '<I18N#删除>'; | ||||
| 		var 暂无模板= '<I18N#暂无模板>'; | ||||
| 		var 请输入搜索条件="<I18N#请输入搜索条件>"; | ||||
| 		var 提示="<I18N#提示>"; | ||||
| 		var 您确定要删除该模板吗="<I18N#您确定要删除该模板吗>"; | ||||
| 		var 该操作无法撤销="<I18N#该操作无法撤销>"; | ||||
| 
 | ||||
| 		var 新建模板="<I18N#新建模板>"; | ||||
| 		var 导入="<I18N#导入>"; | ||||
| 		var 保存="<I18N#保存>"; | ||||
| 		var 取消="<I18N#取消>"; | ||||
| 		var 关闭="<I18N#关闭>"; | ||||
| 
 | ||||
| 		var 页面名称="<I18N#页面名称>"; | ||||
| 		var 页面分类="<I18N#页面分类>"; | ||||
| 		var 不允许为空="<I18N#不允许为空>"; | ||||
| 		var 关联应用不允许为空="<I18N#关联应用不允许为空>"; | ||||
| 		var 保存成功="<I18N#保存成功>"; | ||||
| 		var 请返回模板列表页查看="<I18N#请返回模板列表页查看>"; | ||||
| 
 | ||||
| 		var 模板另存为="<I18N#模板另存为>"; | ||||
| 		var 模板设计="<I18N#模板设计>"; | ||||
| 		var 模板分类="<I18N#模板分类>"; | ||||
| 		var 分类名="<I18N#分类名>"; | ||||
| 		var 选择用户="<I18N#选择用户>"; | ||||
| 		var 添加="<I18N#添加>"; | ||||
| 		var 保存成功="<I18N#保存成功>"; | ||||
| 		var 删除成功="<I18N#删除成功>"; | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 	</script> | ||||
| <style> | ||||
| </style> | ||||
|   | ||||
| </head> | ||||
| <body style="background-color: #FFF;overflow:hidden;"> | ||||
| 	 	<div id="xpages_layout" class="xpages_layout"> | ||||
| 		<div id="xpages_layout_left" class="xpages_layout_left"> | ||||
| 			<div class="template-nav-panel"> | ||||
| 				<div class="head_btn_cls"> | ||||
| 					<span class="create-template-btn"><I18N#新建></span> | ||||
| 				</div> | ||||
| 				<!-- 左侧导航 --> | ||||
| 				<div class="xpages-navigate-group" id="categoryCenter"> | ||||
| 					<#templateCategoryHtml> | ||||
| 				</div> | ||||
| 				 | ||||
| 			</div> | ||||
| 			<div class="resource-nav-panel" style="display:none;"> | ||||
| 				 | ||||
| 				<div class="head_btn_cls"> | ||||
| 					<span class="create-template-btn"><I18N#新建></span> | ||||
| 				</div> | ||||
| 				<!-- 左侧导航 --> | ||||
| 				<div class="xpages-navigate-group"> | ||||
| 					<div class="xpages-navigate-group-header tabitem active"  name="<I18N#全部>" rowid=""> | ||||
| 						<span class="navcolor-cls label"><I18N#全部></span> | ||||
| 					</div> | ||||
| 					<div class="xpages-navigate-group-header tabitem"  name="<I18N#图片>"  rowid=""> | ||||
| 						<span class="navcolor-cls label"><I18N#图片></span> | ||||
| 					</div> | ||||
| 					<div class="xpages-navigate-group-header tabitem"  name="<I18N#文件>"  rowid=""> | ||||
| 						<span class="navcolor-cls label"><I18N#文件></span> | ||||
| 					</div> | ||||
| 					<div class="xpages-navigate-group-header tabitem"  name="<I18N#小页面>"  rowid=""> | ||||
| 						<span class="navcolor-cls label"><I18N#小页面></span> | ||||
| 					</div> | ||||
| 				</div> | ||||
| 				<!--容量 --> | ||||
| 				<div class="left-set-panel" id="left-set-panel"> | ||||
| 			    </div> | ||||
| 			 | ||||
| 			</div> | ||||
| 			 | ||||
| 			 | ||||
| 		</div> | ||||
| 		<div id="xpages_layout_separater" class="xpages_layout_separater"></div> | ||||
| 		<div id="xpages_layout_right" class="xpages_layout_right"> | ||||
| 			 	<div class="xpages-right-top"> | ||||
| 			 		   <div class="switch-xpages-tr-panel" style="display: block;"> | ||||
| 							<span class="switch-xpages-tr-panel-item current" id="template-tab-title" vtype="0"><I18N#模板TabBtn></span> | ||||
| 
 | ||||
| 							<span class="switch-xpages-tr-panel-item" id="resource-tab-title" vtype="1" style="margin-left:1px;display:none;"><I18N#素材TabBtn></span> | ||||
| 
 | ||||
| 						   <!-- | ||||
| 							<span class="switch-xpages-tr-panel-item" id="resource-tab-title" vtype="1" style="margin-left:1px;">素  材</span> | ||||
| 							--> | ||||
| 					        <div class='tempate-search-panel' id='tempate-search-panel' style="padding-top:25px;"> | ||||
| 					                <span class="button return-list"><I18N#返回列表></span> | ||||
| 					 	   			<input type="text" id="templateSearchValue" placeholder="<I18N#按照ID或名称搜索>"/> | ||||
| 					 	    </div> | ||||
| 					 	    <div class='resource-search-panel' id='resource-search-panel' style="display:none;padding-top:25px;" > | ||||
| 				 	   			<input type="text" id="resourceSearchValue" placeholder="<I18N#按照ID或名称搜索>"/> | ||||
| 				 	   		</div> | ||||
| 				       </div> | ||||
| 			 	</div> | ||||
| 				<div class="xpages-right-main"> | ||||
| 				 	   <div class="switch-xpages-tr-panel-content current" id="template-tab-content" > | ||||
| 				 	   		<div class="tempate-manage-panel" id="tempate-manage-panel"></div> | ||||
| 				 	   </div> | ||||
| 					   <div class="switch-xpages-tr-panel-content" id="resource-tab-content" style="display:none;"> | ||||
| 				 	   		<div class="resource-bottom-wrap"> | ||||
| 				 	   			<div class="resource-manage-panel" id="resource-manage-panel"> | ||||
| 									<div class="resmsg-list"> | ||||
| 										<div class="each-resource-item" style="display: block;"> | ||||
| 											<div class=" each-resource-item-top" title=""> | ||||
| 												<img class="vtgqbQa" style="visibility: hidden;"> | ||||
| 											</div> | ||||
| 											<div class="file-name"> | ||||
| 												<a class="lpq5dAp" href="javascript:void(0);">我的卡包</a> | ||||
| 											</div> | ||||
| 										</div> | ||||
| 										  | ||||
| 									</div> | ||||
| 								</div> | ||||
| 					 	   		<div class="resource-itemdetail-panel" id="resource-itemdetail-panel"> | ||||
| 					 	   		</div> | ||||
| 				 	   		 | ||||
| 				 	   		 | ||||
| 				 	   		</div> | ||||
| 					   </div> | ||||
| 				</div> | ||||
| 			    | ||||
| 		 | ||||
| 		</div> | ||||
| 	</div> | ||||
| 		<div title="<I18N#分类名>"   id="mail-categoryName-dlg" style="display:none;"> | ||||
| 				<div id="mail-categoryName-dlg-content" style="padding-top: 10px; height: 150px; overflow:hidden;"> | ||||
| 				<form id="categoryNameForm"  method="post"> | ||||
| 					<table style="width: 100%; height: 100px;" class="awsui-ux" cellspacing="0" cellpadding="0"> | ||||
| 						<tbody> | ||||
| 							<tr height="45"> | ||||
| 								<td width="90"><I18N#分类名></td><td class="required"><input type="text" id="newCategoryName" class="form-label-txt" maxlength="100" /></td> | ||||
| 							</tr> | ||||
| 							  | ||||
| 						</tbody> | ||||
| 					</table> | ||||
| 				</form> | ||||
| 				</div> | ||||
| 		</div> | ||||
| 		 | ||||
| 	<div title="模板查看"   id="template-view-dlg" style="display:none;"> | ||||
| 		<div id="template-view-dlg-content" style="padding-top: 10px; height: 300px; overflow-y: auto;"> | ||||
| 		<!--  | ||||
| 			<input type="hidden" id="templateId"/> | ||||
| 			<input type="hidden" id="importFlag" value="0"/> | ||||
| 			<input type="hidden" id="contentWindowForImport" value=""/> | ||||
| 			 --> | ||||
| 			<table style="width: 100%; height: 100px;" class="awsui-ux" cellspacing="0" cellpadding="0"> | ||||
| 				<tbody> | ||||
| 					<tr height="45"> | ||||
| 						<td width="100"><I18N#页面名称></td> | ||||
| 						<td class="templateNameShowCls"> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#页面分类> </td> | ||||
| 						<td class="categoryNameShowCls"> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#备注说明></td> | ||||
| 						<td class="templateDescShowCls"></td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#页面背景></td> | ||||
| 						<td class="templateBgValueShowCls"> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#页面内边距></td> | ||||
| 						<td class="paddingShowCls"> | ||||
|                         </td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#小窗外边距></td> | ||||
| 						<td class="marginShowCls"> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#加载等待图标></td> | ||||
| 						<td class="loadingIconShowCls"></td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#页面加载js扩展></td> | ||||
| 						<td class="templateJsShowCls"></td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#主色系></td> | ||||
| 						<td class="colorStyleShowCls"> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td colspan="2"> | ||||
| 							<div id="ac-panel-show" class="ac-panel-show"></div> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 				</tbody> | ||||
| 			</table> | ||||
| 		</div> | ||||
| 	</div> | ||||
| 	 | ||||
| 	 | ||||
| 	<!-- 给设计界面使用----------------------------------------------------  --> | ||||
| 	<div title="模板编辑"   id="template-manage-dlg" style="display:none;"> | ||||
| 		<div id="template-manage-dlg-content" style="padding-top: 10px; height: 300px; overflow-y: auto;"> | ||||
| 		<form id="templateForm"  method="post"> | ||||
| 			<input type="hidden" id="templateId"/> | ||||
| 			<input type="hidden" id="importFlag" value="0"/> | ||||
| 			<input type="hidden" id="contentWindowForImport" value=""/> | ||||
| 			<table style="width: 100%; height: 100px;" class="awsui-ux template-design-table" cellspacing="0" cellpadding="0"> | ||||
| 				<tbody> | ||||
| 					<tr height="45"> | ||||
| 						<td class="template-first-td"><I18N#页面名称></td><td  class="required"><input type="text" id="templateName" maxlength="20" class="form-label-txt"  style="width:330px;" /></td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#页面分类> </td><td> | ||||
| 							<select  id="categoryName" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#备注说明></td><td><input type="text" id="templateDesc" maxlength="20" class="form-label-txt"   style="width:330px;" /></td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#页面背景></td> | ||||
| 						<td> | ||||
| 							<select class="awsui-textbox" id="templateBgFlag" style="height:30px;width:100px;min-width:100px;"> | ||||
| 							<!--  | ||||
| 		                  	    <option value="0"  selected>--无--</option> | ||||
| 							 --> | ||||
| 		                  	    <option value="1"  selected><I18N#使用背景色></option> | ||||
| 		                  	    <option value="2"><I18N#使用背景图></option> | ||||
| 		                  	</select> | ||||
| 							<input type="text" id="templateBgValue1" maxlength="20"  value="F5F5F5" class="form-label-txt backgroundcolor color" placeholder="<I18N#请选择背景色>" style="width:225px;" /> | ||||
| 							<input type="text" id="templateBgValue2" maxlength="500" class="form-label-txt backgroundimage" placeholder="<I18N#请输入背景图URL>" style="width:225px;display:none;" /> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#页面内边距></td> | ||||
| 						<td> | ||||
| 							<select  id="paddingTop" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
| 		                  	<select  id="paddingBottom" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
| 		                  	<select  id="paddingLeft" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
| 		                  	<select  id="paddingRight" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
|                         </td> | ||||
| 					</tr> | ||||
| 					<tr height="25"> | ||||
| 					    <td></td> | ||||
| 						<td><div style="word-wrap: break-word;word-break: break-all;width:360px;white-space:normal;"><I18N#页面内边距和小窗外边距说明></div></td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#小窗外边距></td> | ||||
| 						<td> | ||||
| 							<select id="marginTop" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
| 		                  	<select  id="marginBottom" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
| 		                  	<select  id="marginLeft" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
| 		                  	<select  id="marginRight" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#加载等待图标></td><td><input type="text" id="loadingIcon" maxlength="500" class="form-label-txt"  style="width:330px;"  placeholder="<I18N#加载图标说明>"/></td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#页面加载js扩展></td> | ||||
| 						<td> | ||||
| 							<!-- | ||||
| 							<input type="text" id="templateJs" maxlength="20" class="form-label-txt"  style="width:330px;" /> | ||||
| 							--> | ||||
| 							<textarea id="templateJs" class="form-label-txt"  style="width:330px;height: 50px;resize: none;"  placeholder="<I18N#不允许超过2000个字符>"></textarea> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td width="70"><I18N#阴影></td> | ||||
| 						<td> | ||||
| 							<input type="text" id="boxShadow" maxlength="50" class="form-label-txt"  style="width:330px;"  placeholder="3px 3px 3px #f5f5f5" /> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td width="70"><I18N#方角>/<I18N#圆角></td> | ||||
| 						<td> | ||||
| 							<select class="awsui-textbox" id="borderRadius" style="height:30px;width:100px;min-width:100px;"> | ||||
| 		                  	    <option value="0px"><I18N#方角></option> | ||||
| 		                  	    <option value="3px"><I18N#圆角> 3px</option> | ||||
| 		                  	    <option value="5px"><I18N#圆角> 5px</option> | ||||
| 		                  	    <option value="7px"><I18N#圆角> 7px</option> | ||||
| 		                  	</select> | ||||
| 		                 </td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td width="70"><I18N#透明度></td> | ||||
| 						<td> | ||||
| 							<select class="awsui-textbox" id="transparent" style="height:30px;width:100px;min-width:100px;"> | ||||
| 		                  	    <option value="1.0"><I18N#不透明></option> | ||||
| 		                  	    <option value="0.9">90%<I18N#透明></option> | ||||
| 		                  	    <option value="0.8">80%<I18N#透明></option> | ||||
| 		                  	    <option value="0.7">70%<I18N#透明></option> | ||||
| 		                  	</select> | ||||
| 		                 </td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#主色系></td> | ||||
| 						<td> | ||||
| 							<div class="skins-show"> | ||||
| 							  <span class="bg" cid="blackc" id="moren-color"></span> | ||||
| 							  <span class="bg" cid="greenc" id="green-color"></span> | ||||
| 							  <span class="bg" cid="orangerc" id="orange-color"></span> | ||||
| 							  <span class="bg" cid="zic" id="zi-color"></span> | ||||
| 							  <span class="bg" cid="hulan" id="hulan-color"></span>	 | ||||
| 							  <span class="bg" cid="yellow" id="yellow-color"></span>	 | ||||
| 							</div> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td ><I18N#随应用分发></td> | ||||
| 						<td > | ||||
| 							<input id="isDistWithApp"  name="isDistWithApp" type="checkbox"> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td ><I18N#关联应用></td> | ||||
| 						<td > | ||||
| 							<sapn class='required' id = 'relationAppRequired' style='display:none'></sapn><select id="relationApp" style="width:100%"></select> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td colspan="2"> | ||||
| 							<span class="button blue templateSetAdminBtn"><I18N#设置管理员></span> | ||||
| 							<div id="ac-panel" class="ac-panel"></div> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 				</tbody> | ||||
| 			</table> | ||||
| 		</form> | ||||
| 		</div> | ||||
| 	</div> | ||||
| 	<!-- 给设计界面使用----------------------------------------------------  --> | ||||
| 			 | ||||
| 	 | ||||
| 	 | ||||
| 	 | ||||
| 	 | ||||
| 	<!-- 给资源管理界面----------------------------------------------------  --> | ||||
| 	<div title="资源管理"   id="res-manage-dlg" style="display:none;"> | ||||
| 		<div id="res-manage-dlg-content" style="padding-top: 10px; height: 300px; overflow-y: auto;"> | ||||
| 		<form id="resForm"  method="post"> | ||||
| 			<input type="hidden" id="resId"/> | ||||
| 			<input type="hidden" id="importFlag" value="0"/> | ||||
| 			<table style="width: 100%; height: 100px;" class="awsui-ux" cellspacing="0" cellpadding="0"> | ||||
| 				<tbody> | ||||
| 					<tr height="45"> | ||||
| 						<td width="70"><I18N#页面名称></td><td  class="required"><input type="text" id="resName" maxlength="20" class="form-label-txt"  style="width:330px;" /></td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#页面分类> </td><td> | ||||
| 							<select  id="resCategoryName" style="height:30px;width:347px;min-width:84px;"> | ||||
| 							<option value="1"><I18N#图片></option> | ||||
| 							<option value="2"><I18N#文件></option> | ||||
| 							<option value="3"><I18N#页面></option> | ||||
| 		                  	</select> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#备注说明></td><td><input type="text" id="resDesc" maxlength="20" class="form-label-txt"   style="width:330px;" /></td> | ||||
| 					</tr> | ||||
| 				</tbody> | ||||
| 			</table> | ||||
| 		</form> | ||||
| 		</div> | ||||
| 	</div> | ||||
| 	<!-- 资源添加----------------------------------------------------  -->		 | ||||
| </body> | ||||
| <script> | ||||
|   | ||||
| </script> | ||||
| </html> | ||||
							
								
								
									
										79
									
								
								com.actionsoft.apps.addons.xpages/template/page/xpages.linkquickly.add.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,79 @@ | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
| <head> | ||||
|     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||||
|     <title>xpages</title> | ||||
|     <script> | ||||
| 
 | ||||
|     </script> | ||||
|     <!-- JQuery --> | ||||
|     <script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script> | ||||
| 
 | ||||
|     <!-- AWS UI --> | ||||
|     <script type="text/javascript" src="../commons/js/public.js"></script> | ||||
|     <script type="text/javascript" src="../commons/js/awsui.js"></script> | ||||
|     <link rel="stylesheet" type="text/css" href="../commons/css/awsui.css"> | ||||
| 
 | ||||
|     <link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.addons.xpages/css/xpages.linkquickly.css"> | ||||
|     <script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/lib/ellipsis/jquery.ellipsis.js"></script> | ||||
|     <script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.linkquickly.add.js"></script> | ||||
| 
 | ||||
| 
 | ||||
|     <script type="text/javascript"> | ||||
|         var sid = "<#sid>"; | ||||
|         var groupKey = "<#groupKey>"; | ||||
|         var isAdmin = "<#isAdmin>"; | ||||
|         var navData = <#navData>; | ||||
|         var linkInfo = <#linkInfo>; | ||||
|     </script> | ||||
|     <style> | ||||
|         #userConfigPanel tr{ | ||||
|             height: 36px; | ||||
|         } | ||||
|     </style> | ||||
| 	<script> | ||||
| 
 | ||||
| 		var 新窗口="<I18N#新窗口>"; | ||||
| 		var 主窗口="<I18N#主窗口>"; | ||||
| 
 | ||||
| 
 | ||||
| 	</script> | ||||
| </head> | ||||
| <body> | ||||
| <div id="userConfigPanel"> | ||||
|     <div class="uploadDlgContent"> | ||||
|         <table class="awsui-ux" style=" border-collapse:   separate;   border-spacing:   5px; "> | ||||
|             <tr> | ||||
|                 <td class='awsui-ux-title'><I18N#链接名称></td> | ||||
|                 <td class="required"><select id="linkName"></select></td> | ||||
|             </tr> | ||||
|             <tr id="linkUrlTr"> | ||||
|                 <td class='awsui-ux-title'><I18N#链接地址></td> | ||||
|                 <td class="required"><input id="linkUrl" class="awsui-textbox" value=''/></td> | ||||
|             </tr> | ||||
|             <tr> | ||||
|                 <td class='awsui-ux-title'><I18N#打开方式></td> | ||||
|                 <td><select id="linkTarget"></select></td> | ||||
|             </tr> | ||||
|             <tr id="linkQuicklyACtr" style="display: none;"> | ||||
|                 <td class='awsui-ux-title'><I18N#授权></td> | ||||
|                 <td><div id="mylinkAC" class="awsui-iconfont" style="font-size:14px;color:#E8574E;cursor:pointer;"></div></td> | ||||
|             </tr> | ||||
|             <tr> | ||||
|                 <td class='awsui-ux-title'><I18N#链接图标></td> | ||||
|                 <td><input id="linkIconUrl" class="awsui-textbox" value=''/></td> | ||||
|             </tr> | ||||
|         </table> | ||||
|         <input type="hidden" id="linkType" value=""/> | ||||
|         <input type="hidden" id="link_id" value=""/> | ||||
|         <input type="hidden" id="navId" value=""/> | ||||
|         <input type="hidden" id="link_isCustom" value=""/> | ||||
|     </div> | ||||
|     <!--<div id="homeSettingBtn" style="display: inline-block; position: absolute;width: 220px; right: 7px; bottom: 5px; text-align: center; "> | ||||
|         <span id="homeSetting_ok" class="button blue"><I18N#确定></span> | ||||
|         <span id="homeSetting_cancle" class="button"><I18N#取消></span> | ||||
|     </div>--> | ||||
| </div> | ||||
| 
 | ||||
| </body> | ||||
| </html> | ||||
| @ -0,0 +1,66 @@ | ||||
| <div class="xpageLinkQuickly-wrap" id = "xpageLinkQuickly-wrap"> | ||||
| <link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.addons.xpages/css/xpages.linkquickly.register.css"> | ||||
| <script type="text/javascript"  name="xpageLinkjsContext" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.linkquickly.register.js"></script> | ||||
| <textarea style="display: none;" class="xpagesContent"></textarea> | ||||
| <table id="xpageLinkQuicklytable" cellspacing="0" cellpadding="2" style="font-size:13px;width:100%;"> | ||||
|     <colgroup> | ||||
|         <col width="24%"/> | ||||
|         <col width="76%"/> | ||||
|     </colgroup> | ||||
|     <tr> | ||||
|         <td>分类</td> | ||||
|         <td class="required"> | ||||
|             <select id="groupKey" style="width: 360px;"></select> | ||||
|         </td> | ||||
|     </tr> | ||||
|     <tr> | ||||
|         <td>显示方式</td> | ||||
|         <td> | ||||
|             <select id="viewType" style="width:360px;"></select> | ||||
|         </td> | ||||
|     </tr> | ||||
|     <tr> | ||||
|         <td>个人添加</td> | ||||
|         <td> | ||||
|             <select id="isAllowAdd"></select> | ||||
|         </td> | ||||
|     </tr> | ||||
|     <tr> | ||||
|         <td>设管理员</td> | ||||
|         <td style="position:relative;"> | ||||
|             <div id="linkquicklyAC" class="awsui-iconfont" style="position:absolute;left:0px;bottom:3px;font-size:14px;color:#E8574E;cursor:pointer;"></div> | ||||
|             <div id="linkgroup_ac_content" class="txt" style="width: 95%;display: none;"></div> | ||||
|         </td> | ||||
|     </tr> | ||||
|     <tr class="urladdress-tr-cls"> | ||||
|         <td>URL地址</td> | ||||
|         <td><textarea id="linkquicklyUrlText" type="text" class="txt awsui-textbox" style="height:68px;resize: none;width:244px;" spellcheck="false"></textarea></td> | ||||
|     </tr> | ||||
|     <!--<tr> | ||||
|         <td colspan="2"><span id="saveGroupBtn" class="button blue">保存分类</span></td> | ||||
|     </tr>--> | ||||
| </table> | ||||
| 
 | ||||
| <script> | ||||
|     linkQuicklyUrltool.init(); | ||||
| 
 | ||||
|     function linkquickly_getUrl(){ | ||||
|         var groupKey = $("#select2-groupKey-container").text(); | ||||
|         if (typeof (groupKey)=="undefined"||groupKey=="") { | ||||
|           $.simpleAlert("请填写分类"); | ||||
|           return false; | ||||
|        } | ||||
|         var params = { | ||||
|             groupKey: groupKey, | ||||
|             viewType:viewTypeVal, | ||||
|             isAllowAdd:isAllowAdd | ||||
|         }; | ||||
|         var url = './jd?sid=' + sid + '&cmd=com.actionsoft.apps.addons.xpages_linkquickly_saveconfig'; | ||||
|         awsui.ajax.post(url, params, function (responseObject) { | ||||
|             linkQuicklyUrltool.setText(); | ||||
|             $.simpleAlert(responseObject['msg'], responseObject['result']); | ||||
|         }, 'json'); | ||||
| 
 | ||||
|     } | ||||
| </script> | ||||
| </div> | ||||
							
								
								
									
										115
									
								
								com.actionsoft.apps.addons.xpages/template/page/xpages.linkquickly.view.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,115 @@ | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
| <head> | ||||
|     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||||
|     <title>xpages</title> | ||||
|     <script> | ||||
| 
 | ||||
|     </script> | ||||
|     <!-- JQuery --> | ||||
|     <script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script> | ||||
| 
 | ||||
|     <!-- AWS UI --> | ||||
|     <script type="text/javascript" src="../commons/js/public.js"></script> | ||||
|     <script type="text/javascript" src="../commons/js/awsui.js"></script> | ||||
|     <link rel="stylesheet" type="text/css" href="../commons/css/awsui.css"> | ||||
|     <script type="text/javascript" src="../commons/js/jquery/scripts/jquery.ui.sortable.js"></script> | ||||
| 
 | ||||
|     <link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.addons.xpages/css/xpages.linkquickly.css"> | ||||
|     <script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/lib/ellipsis/jquery.ellipsis.js"></script> | ||||
|     <script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.linkquickly.view.js"></script> | ||||
| 
 | ||||
| 
 | ||||
|     <script type="text/javascript"> | ||||
|         var sid = "<#sid>"; | ||||
|         var groupKey = "<#groupKey>"; | ||||
|         var viewtype = "<#viewType>"; | ||||
|         var isAllowAdd = "<#isAllowAdd>"; | ||||
|         var isAdmin = "<#isAdmin>"; | ||||
|         var navData = <#navData>; | ||||
|         var linkquicklys = <#datas>; | ||||
|     </script> | ||||
| 	<script> | ||||
| 		var 添加链接="<I18N#添加链接>"; | ||||
| 		var 链接名称="<I18N#链接名称>"; | ||||
| 		var 链接地址="<I18N#链接地址>"; | ||||
| 		var 不允许为空="<I18N#不允许为空>"; | ||||
| 		var 名称不能超过200个字符="<I18N#名称不能超过200个字符>"; | ||||
| 
 | ||||
| 	</script> | ||||
| </head> | ||||
| <body> | ||||
| <div id = "fullsearch-result" style='width:100%;margin: 0 auto;'> | ||||
|     <div class="apps_group"> | ||||
|         <div class="app_item"> | ||||
|             <div class="awsui-iconfont" style="position: absolute;top:10px;font-size:16px;color:#E8574E"></div> | ||||
|             <div class="app_icon"> | ||||
|                 <img src="../apps/com.actionsoft.apps.taskmgt/img/icon64.png"/> | ||||
|             </div> | ||||
|             <div class="app_name">任务任务1</div> | ||||
|         </div> | ||||
|         <div class="setting"> | ||||
|             <div id="settingbtn" class="settingicon awsui-iconfont" style="position: absolute;top:10px;font-size:15px;color:#E8574E"></div> | ||||
|         </div> | ||||
|     </div> | ||||
|     <div class="link-list"> | ||||
|         <dl class="link-dl"> | ||||
|             <dd class="link-item"> | ||||
|                 <span class="link-span"> | ||||
|                     <a>11111111</a> | ||||
|                 </span> | ||||
|             </dd> | ||||
|         </dl> | ||||
| 
 | ||||
|     </div> | ||||
|     <div class="link-add-span" style="display: none;"> | ||||
|         <div id = "orderLinkCard" class="awsui-iconfont" onclick="openOrderLinkCard()"  awsui-qtip="<I18N#编辑>" style="cursor:pointer;position: fixed;bottom:-4px;right:45px;z-index:10; font-size:21px;color:#cccccc"></div> | ||||
|         <div id="settingbtn2" class="settingicon awsui-iconfont"  awsui-qtip="<I18N#添加>" style="line-height: 38px;font-size:19px;color:#cccccc"></div> | ||||
|         <div id = "closeOrderLinkCard" class="awsui-iconfont" onclick="closeOrderLinkCard()"  awsui-qtip="<I18N#关闭编辑>" style="display:none;background-color:#ffffff;cursor:pointer;position: fixed;bottom:-5px;right:10px;z-index:10; font-size:19px;color:#cccccc"></div> | ||||
|     </div> | ||||
|   <!--  <div class="no-taskinstance" style="position: absolute;top: 50%;left: 50%; transform: translate(-50%,-50%);text-align: center;"><br> | ||||
|         <img class="apps-no-record-img" src="../apps/com.actionsoft.apps.addons.xpages/img/xpages-no-config.png" width="100" height="100"> | ||||
|         <div class="apps-no-record-txt"> 暂未配置内容</div> | ||||
|     </div>--> | ||||
|     <div class="no-taskinstance awsui-message-page"> | ||||
|         <div class="content"> | ||||
|             <span class="icon" message-type="no_content"></span> | ||||
|             <span class="title"><I18N#暂无数据></span> | ||||
|         </div> | ||||
|     </div> | ||||
| </div> | ||||
| <div id="userConfigPanel" style="display: none;"> | ||||
|     <div class="uploadDlgContent"> | ||||
|         <table class="awsui-ux" style=" border-collapse:   separate;   border-spacing:   10px; "> | ||||
|             <tr> | ||||
|                 <td class='awsui-ux-title'>链接名称</td> | ||||
|                 <td class="required"><select id="linkName"></select></td> | ||||
|             </tr> | ||||
|             <tr> | ||||
|                 <td class='awsui-ux-title'>链接地址</td> | ||||
|                 <td class="required"><input id="linkUrl" class="awsui-textbox" value='' style="width: 250px;"/></td> | ||||
|             </tr> | ||||
|             <tr> | ||||
|                 <td class='awsui-ux-title'>打开方式</td> | ||||
|                 <td><select id="linkTarget"></select></td> | ||||
|             </tr> | ||||
|             <tr id="linkQuicklyACtr" style="display: none;"> | ||||
|                 <td class='awsui-ux-title'>授权</td> | ||||
|                 <td><div id="mylinkAC" class="awsui-iconfont" style="font-size:14px;color:#E8574E;cursor:pointer;"></div></td> | ||||
|             </tr> | ||||
|             <tr> | ||||
|                 <td class='awsui-ux-title'>链接图标</td> | ||||
|                 <td><input id="linkIconUrl" class="awsui-textbox" value='' style="width: 250px;"/></td> | ||||
|             </tr> | ||||
|         </table> | ||||
|         <input type="hidden" id="linkType" value=""/> | ||||
|         <input type="hidden" id="link_id" value=""/> | ||||
|     </div> | ||||
|     <div id="homeSettingBtn" style="display: inline-block; position: absolute;width: 220px; right: 7px; bottom: 5px; text-align: center; "> | ||||
|         <span id="homeSetting_ok" class="button blue"><I18N#确定></span> | ||||
|         <span id="homeSetting_cancle" class="button"><I18N#取消></span> | ||||
|     </div> | ||||
| </div> | ||||
| 
 | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										32
									
								
								com.actionsoft.apps.addons.xpages/template/page/xpages.loading.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,32 @@ | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
| <head> | ||||
| 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||||
| 	<title>xpages</title> | ||||
| 	<script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script> | ||||
| 	<link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.cms/css/cms.site.css"> | ||||
|    	<script type="text/javascript"> | ||||
| 		var sid = "<#sid>"; | ||||
| 		var templateId="<#templateId>"; | ||||
| 		var loadingIcon="<#loadingIcon>"; | ||||
| 		$(document).ready(function(){ | ||||
| 			  | ||||
| 		}); | ||||
| 	</script> | ||||
| <style> | ||||
| .imgcls{ | ||||
| 	margin:auto; | ||||
| 	position: absolute;   | ||||
| 	top: 0; | ||||
| 	left: 0; | ||||
| 	bottom: 0; | ||||
| 	right: 0;   | ||||
| 	vertical-align: middle; | ||||
| } | ||||
| </style> | ||||
|   | ||||
| </head> | ||||
| <body style="background-color: #FFF;"> | ||||
| 		 <img src="<#loadingIcon>" class="imgcls" width="100" width="100" > | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										285
									
								
								com.actionsoft.apps.addons.xpages/template/page/xpages.template.design.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,285 @@ | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
| <head> | ||||
| 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||||
| 	<title><#templateNameI18N> - <I18N#设计></title> | ||||
|     <script> | ||||
|     | ||||
|     </script> | ||||
| 	<!-- JQuery --> | ||||
|     <script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script> | ||||
| 	<script src="../commons/js/jquery/scripts/ui/reference/jquery-ui.js"></script> | ||||
| 	 | ||||
|     <!-- AWS UI --> | ||||
|     <script type="text/javascript" src="../commons/js/public.js"></script> | ||||
|     <link rel="stylesheet" type="text/css" href="../commons/css/awsui.css"> | ||||
|     <script type="text/javascript" src="../commons/js/awsui.js"></script> | ||||
|     <script type="text/javascript" src="../commons/js/jquery/scripts/ui/at.js"></script> | ||||
| 	<link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.addons.xpages/css/jquery-ui.css"> | ||||
| 	 | ||||
|     <link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.addons.xpages/lib/xpagesfont/iconfont.css"> | ||||
| 	<link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.addons.xpages/css/xpages.home.css"> | ||||
| 	<link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.addons.xpages/css/xpages.skins.css"> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.home.js"></script> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.design.js"></script> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/lib/math.uuid.js"></script> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.util.js"></script> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.size.js"></script> | ||||
| 	<script type="text/javascript" src="../commons/js/jquery/scripts/ui/jscolor/jscolor.js"></script> | ||||
|     <!--[if !IE 8]><!--> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/lib/zeroclipboard/ZeroClipboard.js"></script> | ||||
| 	<!--<![endif]--> | ||||
| 	 | ||||
|    	<script type="text/javascript"> | ||||
| 		//公共参数 | ||||
| 		var sid = "<#sid>"; | ||||
| 		var appId= "<#appId>"; | ||||
| 		var userid = "<#userId>"; | ||||
| 		var userPhoto = "<#userPhoto>"; | ||||
| 		var userName = "<#userName>"; | ||||
| 		var templateId="<#id>"; | ||||
| 		var stepHeight="<#stepHeight>"; | ||||
| 		var language = "<#language>"; | ||||
| 		var apps = <#apps>; | ||||
| 		var templateInfo=[<#templateInfo>]; | ||||
| 		  | ||||
| 	</script> | ||||
| 	<script> | ||||
| 	 $(document).ready(function(){ | ||||
| 		 var h=$(window).height() - $(".template-toolbar-nav").height(); | ||||
| 		 $("#designframe").css("height",h+"px"); | ||||
| 	 }); | ||||
| 	</script> | ||||
| 	<script> | ||||
| 		var 全局设置="<I18N#全局设置>"; | ||||
| 		var 模板链接="<I18N#模板链接>"; | ||||
| 		var 复制URL="<I18N#复制URL>"; | ||||
| 		var 您的浏览器无法复制该链接请手动复制="<I18N#您的浏览器无法复制该链接请手动复制>"; | ||||
| 		var 是 = '<I18N#是>'; | ||||
| 		var 否 = '<I18N#否>'; | ||||
| 		var 序号="<I18N#序号>"; | ||||
| 		var 类型="<I18N#类型>"; | ||||
| 		var 名称= '<I18N#名称>'; | ||||
| 		var 创建日期= '<I18N#创建日期>'; | ||||
| 		var 修改日期= '<I18N#修改日期>'; | ||||
| 		var 备注= '<I18N#备注>'; | ||||
| 		var 操作= '<I18N#操作>'; | ||||
| 		var 编辑= '<I18N#编辑>'; | ||||
| 		var 设计= '<I18N#设计>'; | ||||
| 		var 查看= '<I18N#查看>'; | ||||
| 		var 删除= '<I18N#删除>'; | ||||
| 		var 保存成功="<I18N#保存成功>"; | ||||
| 		var 复制成功="<I18N#复制成功>"; | ||||
| 		var 确定要删除该TAB吗="<I18N#确定要删除该TAB吗>"; | ||||
| 		var 选择用户="<I18N#选择用户>"; | ||||
| 		var 添加="<I18N#添加>"; | ||||
| 		var 模板另存为="<I18N#模板另存为>"; | ||||
| 
 | ||||
| 
 | ||||
| 	</script> | ||||
| 	<style> | ||||
| 		body{ | ||||
| 			height:auto; | ||||
| 		} | ||||
| 	</style> | ||||
|   | ||||
| </head> | ||||
| <body style="background-color: #FFF;overflow:hidden;"> | ||||
| <div id="window-mask-fortool" class="window-mask-fortool" style="width: 100%; height: 60px;"></div> | ||||
| 	 	<div id="template-design-dlg-content" style="padding-top: 10px; height: 100%; overflow-y: auto;box-shadow: 0px 3px 10px #c8c8c8;"> | ||||
| 			<div class="template-toolbar-nav"> | ||||
| 				<table style="width: 100%; height: 40px;" class="awsui-ux" cellspacing="0" cellpadding="0"> | ||||
| 				<tr> | ||||
| 					<td> | ||||
| 						<span class="awsui-iconfont design-template-add-cw-icon" style=""></span> | ||||
| 						<span class="design-template-title-text"><#templateNameI18N></span> | ||||
| 						<span class="awsui-iconfont design-template-link-icon showdesigntemplatelinkbtn" style=""></span> | ||||
| 					</td> | ||||
| 					<td class="middlealign"> | ||||
| 						<span class="button white design-preview-btn"><I18N#预览></span> | ||||
| 						<span class="button white design-save-btn" style="display:none;"><I18N#保存></span> | ||||
| 						<span class="button white design-othersave-btn"><I18N#另存为></span> | ||||
| 					</td> | ||||
| 					<td class="rightalign"> | ||||
| 						<span class="button white design-export-btn"><I18N#导出></span> | ||||
| 						<span class="button white edittemplatebtn"><I18N#设置></span> | ||||
| 					</td> | ||||
| 				</tr>	 | ||||
| 				</table> | ||||
| 				 | ||||
| 			</div> | ||||
| 			<!--  | ||||
| 			<div class="template-design-panel"> </div> | ||||
| 			 --> | ||||
| 			 <iframe src="./w?sid=<#sid>&cmd=com.actionsoft.apps.addons.xpages_template_design_content_page&id=<#id>" id="designframe" name="designframe" frameborder="0" marginwidth="0" marginheight="0"  width="100%"></iframe> | ||||
| 		</div> | ||||
| 		 | ||||
| 		 | ||||
| 		 | ||||
| 	<div title="模板链接"   id="template-link-view-dlg" style="display:none;"> | ||||
| 		<div id="template-link-view-dlg-content" style="padding-top: 10px; height: 80px; overflow-y: hidden;"> | ||||
| 			<input type="text" class="template-link-txt" id="templateLinkValue" value="" readonly/> | ||||
| 		</div>  | ||||
| 	</div> | ||||
| 	 | ||||
| 	 | ||||
| 		<!-- 给设计界面使用----------------------------------------------------  --> | ||||
| 	<div title="模板编辑"   id="template-manage-dlg" style="display:none;"> | ||||
| 		<div id="template-manage-dlg-content" style="padding-top: 10px; height: 300px; overflow-y: auto;"> | ||||
| 		<form id="templateForm"  method="post"> | ||||
| 			<input type="hidden" id="templateId"/> | ||||
| 			<input type="hidden" id="importFlag" value="0"/> | ||||
| 			<input type="hidden" id="contentWindowForImport" value=""/> | ||||
| 			<table style="width: 100%; height: 100px;" class="awsui-ux" cellspacing="0" cellpadding="0"> | ||||
| 				<tbody> | ||||
| 					<tr height="45"> | ||||
| 						<td class="template-first-td"><I18N#页面名称></td><td  class="required"><input type="text" id="templateName" maxlength="20" class="form-label-txt"  style="width:330px;" /></td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#页面分类> </td><td> | ||||
| 							<select  id="categoryName" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#备注说明></td><td><input type="text" id="templateDesc" maxlength="20" class="form-label-txt"   style="width:330px;" /></td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#页面背景></td> | ||||
| 						<td> | ||||
| 							<select class="awsui-textbox" id="templateBgFlag" style="height:30px;width:100px;min-width:100px;"> | ||||
| 		                  	    <option value="0"  selected>--<I18N#无>--</option> | ||||
| 		                  	    <option value="1"><I18N#使用背景色></option> | ||||
| 		                  	    <option value="2"><I18N#使用背景图></option> | ||||
| 		                  	</select> | ||||
| 							<input type="text" id="templateBgValue1" maxlength="20" class="form-label-txt backgroundcolor color" placeholder="<I18N#请选择背景色>" style="width:225px;display:none;" /> | ||||
| 							<input type="text" id="templateBgValue2" maxlength="500" class="form-label-txt backgroundimage" placeholder="<I18N#请输入背景图URL>" style="width:225px;display:none;" /> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#页面内边距></td> | ||||
| 						<td> | ||||
| 							<select  id="paddingTop" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
| 		                  	<select  id="paddingBottom" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
| 		                  	<select  id="paddingLeft" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
| 		                  	<select  id="paddingRight" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
|                         </td> | ||||
| 					</tr> | ||||
| 					 | ||||
| 					<tr height="25"> | ||||
| 					    <td></td> | ||||
| 						<td><div style="word-wrap: break-word;word-break: break-all;width:360px;white-space:normal;"><I18N#页面内边距和小窗外边距说明></div></td> | ||||
| 					</tr> | ||||
| 					 | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#小窗外边距></td> | ||||
| 						<td> | ||||
| 							<select id="marginTop" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
| 		                  	<select  id="marginBottom" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
| 		                  	<select  id="marginLeft" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
| 		                  	<select  id="marginRight" style="height:30px;width:84px;min-width:84px;"> | ||||
| 		                  	</select> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#加载等待图标></td><td><input type="text" id="loadingIcon" maxlength="500" class="form-label-txt"  style="width:330px;"  placeholder="<I18N#加载图标说明>"/></td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#页面加载js扩展></td> | ||||
| 						<td> | ||||
| 							<!-- | ||||
| 							<input type="text" id="templateJs" maxlength="20" class="form-label-txt"  style="width:330px;" /> | ||||
| 							--> | ||||
| 							<textarea id="templateJs" class="form-label-txt"  style="width:330px;height: 50px;resize: none;"   placeholder="<I18N#不允许超过2000个字符>"></textarea> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td width="70"><I18N#阴影></td> | ||||
| 						<td> | ||||
| 							<input type="text" id="boxShadow" maxlength="50" class="form-label-txt"  style="width:330px;" placeholder="3px 3px 3px #f5f5f5" /> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td width="70"><I18N#方角>/<I18N#圆角></td> | ||||
| 						<td> | ||||
| 							<select class="awsui-textbox" id="borderRadius" style="height:30px;width:100px;min-width:100px;"> | ||||
| 		                  	    <option value="0px"><I18N#方角></option> | ||||
| 		                  	    <option value="3px"><I18N#圆角> 3px</option> | ||||
| 		                  	    <option value="5px"><I18N#圆角> 5px</option> | ||||
| 		                  	    <option value="7px"><I18N#圆角> 7px</option> | ||||
| 		                  	</select> | ||||
| 		                 </td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td width="70"><I18N#透明度></td> | ||||
| 						<td> | ||||
| 							<select class="awsui-textbox" id="transparent" style="height:30px;width:100px;min-width:100px;"> | ||||
| 		                  	    <option value="1.0"><I18N#不透明></option> | ||||
| 		                  	    <option value="0.9">90%<I18N#透明></option> | ||||
| 		                  	    <option value="0.8">80%<I18N#透明></option> | ||||
| 		                  	    <option value="0.7">70%<I18N#透明></option> | ||||
| 		                  	    <option value="0.6">60%<I18N#透明></option> | ||||
| 		                  	</select> | ||||
| 		                 </td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td><I18N#主色系></td> | ||||
| 						<td> | ||||
| 							<div class="skins-show"> | ||||
| 							  <span class="bg" cid="blackc" id="moren-color"></span> | ||||
| 							  <span class="bg" cid="greenc" id="green-color"></span> | ||||
| 							  <span class="bg" cid="orangerc" id="orange-color"></span> | ||||
| 							  <span class="bg" cid="zic" id="zi-color"></span> | ||||
| 							  <span class="bg" cid="hulan" id="hulan-color"></span>		 | ||||
| 							  <span class="bg" cid="yellow" id="yellow-color"></span>	 | ||||
| 							</div> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td ><I18N#随应用分发></td> | ||||
| 						<td > | ||||
| 							<input id="isDistWithApp"  name="isDistWithApp" type="checkbox"> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td ><I18N#关联应用></td> | ||||
| 						<td > | ||||
| 							<sapn class='required' id = 'relationAppRequired' style='display:none'></sapn><select id="relationApp" style="width:100%"></select> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					<tr height="45"> | ||||
| 						<td colspan="2"> | ||||
| 							<span class="button blue templateSetAdminBtn"><I18N#设置管理员></span> | ||||
| 							<div id="ac-panel" class="ac-panel"></div> | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 				</tbody> | ||||
| 			</table> | ||||
| 		</form> | ||||
| 		</div> | ||||
| 	</div> | ||||
| 	<!-- 给设计界面使用----------------------------------------------------  --> | ||||
| 
 | ||||
| 
 | ||||
| 	 | ||||
| 	<!-- 内容url选择---------------------------------------------------  --> | ||||
| 	<div title="内容来源"   id="cwurl-manage-dlg" style="display:none;"> | ||||
| 		<div id="cwurl-manage-dlg-content" style="padding-top: 10px; height: 400px; overflow-y: auto;"> | ||||
| 		</div> | ||||
| 	</div> | ||||
| 	<!-- 内容url选择---------------------------------------------------  --> | ||||
| 	 | ||||
| 			 | ||||
| 	<form> | ||||
| 		<input type="hidden" id="nowTemplateId" value="<#id>"/> | ||||
| 	</form> | ||||
| </body> | ||||
| <script type="text/javascript" src="../commons/js/jquery/scripts/jquery.ui.sortable.js"></script> | ||||
| </html> | ||||
| @ -0,0 +1,350 @@ | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
| <head> | ||||
| 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||||
| 	<title><#templateNameI18N> - 设计</title> | ||||
|     <script> | ||||
|     | ||||
|     </script> | ||||
| 	<!-- JQuery --> | ||||
|     <script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script> | ||||
|     <script src="../commons/js/jquery/scripts/ui/reference/jquery-ui.js"></script> | ||||
| 	 | ||||
|     <!-- AWS UI --> | ||||
|     <script type="text/javascript" src="../commons/js/public.js"></script> | ||||
|     <link rel="stylesheet" type="text/css" href="../commons/css/awsui.css"> | ||||
|     <script type="text/javascript" src="../commons/js/awsui.js"></script> | ||||
|     <script type="text/javascript" src="../commons/js/jquery/scripts/ui/at.js"></script> | ||||
| 	<link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.addons.xpages/css/jquery-ui.css"> | ||||
| 
 | ||||
| 	<script> | ||||
| 		var formulaLabelMap = {}; | ||||
| 		var boExpressKeywords = []; | ||||
| 	</script> | ||||
| 
 | ||||
| 	<script type="text/javascript" src="../commons/plug-in/CodeMirror/codemirror.core.js"></script> | ||||
| 	<script type="text/javascript" src="../commons/plug-in/CodeMirror/plugs/aws-formula/awsui.formula.js"></script> | ||||
| 
 | ||||
| 
 | ||||
| 	<link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.addons.xpages/css/xpages.home.css"> | ||||
| 	<link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.addons.xpages/css/xpages.skins.css"> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.home.js"></script> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.designcontent.js"></script> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/lib/math.uuid.js"></script> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.util.js"></script> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.size.js"></script> | ||||
| 	<script type="text/javascript" src="../commons/js/jquery/scripts/ui/jscolor/jscolor.js"></script> | ||||
| 	 | ||||
|    	<script type="text/javascript"> | ||||
| 		//公共参数 | ||||
| 		var sid = "<#sid>"; | ||||
| 		var appId= "<#appId>"; | ||||
| 		var userid = "<#userId>"; | ||||
| 		var userPhoto = "<#userPhoto>"; | ||||
| 		var userName = "<#userName>"; | ||||
| 		var templateId="<#id>"; | ||||
| 		var stepHeight="<#stepHeight>"; | ||||
| 		var language = "<#language>"; | ||||
| 		var templateInfo=[<#templateInfo>]; | ||||
| 		  | ||||
| 	</script> | ||||
| 	<script> | ||||
| 		var 全局设置="<I18N#全局设置>"; | ||||
| 		var 确定要删除该内容窗体吗="<I18N#确定要删除该内容窗体吗>"; | ||||
| 		var 暂未配置内容="<I18N#暂未配置内容>"; | ||||
| 		var 新建操作按钮="<I18N#新建操作按钮>"; | ||||
| 		var 序号="<I18N#序号>"; | ||||
| 		var 名称="<I18N#名称>"; | ||||
| 		var 类型="<I18N#类型>"; | ||||
| 		var 说明="<I18N#操作>"; | ||||
| 		var 操作按钮可拖动排序="<I18N#操作按钮可拖动排序>"; | ||||
| 		var 确定要删除该操作按钮吗="<I18N#确定要删除该操作按钮吗>"; | ||||
| 
 | ||||
| 		var 刷新="<I18N#刷新>"; | ||||
| 		var 间隔="<I18N#间隔>"; | ||||
| 		var 展开收起="<I18N#展开收起>"; | ||||
| 		var 打开URL地址="<I18N#打开URL地址>"; | ||||
| 		var JS代码="<I18N#JS代码>"; | ||||
| 		var HTML代码="<I18N#HTML代码>"; | ||||
| 		var 编辑= '<I18N#编辑>'; | ||||
| 		var 删除= '<I18N#删除>'; | ||||
| 		var 添加操作按钮= '<I18N#添加操作按钮>'; | ||||
| 		var 修改内容= '<I18N#修改内容>'; | ||||
| 		var 内容来源= '<I18N#内容来源>'; | ||||
| 		var 开发说明= '<I18N#开发说明>'; | ||||
| 		var 请选择内容源= '<I18N#请选择内容源>'; | ||||
| 		var 配置有误= '<I18N#配置有误>'; | ||||
| 		var 变大= '<I18N#变大>'; | ||||
| 		var 变小= '<I18N#变小>'; | ||||
| 		var 变高= '<I18N#变高>'; | ||||
| 		var 变低= '<I18N#变低>'; | ||||
| 		var 确定要删除该TAB吗="<I18N#确定要删除该TAB吗>"; | ||||
| 
 | ||||
| 		var 模板另存为="<I18N#模板另存为>"; | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 	</script> | ||||
| 	<style> | ||||
| 		body{ | ||||
| 			height:auto; | ||||
| 		} | ||||
| 	</style> | ||||
|   | ||||
| </head> | ||||
| <body style="background-color: #f8f8f8;"> | ||||
| <div id="window-mask-fordesign" class="window-mask-fordesign" style="width: 100%; height: 100%;"></div> | ||||
|  	<div class="template-design-panel"></div> | ||||
| 		 | ||||
| 			 | ||||
| 	<!-- 内容窗体----------------------------------------------------  --> | ||||
| 	<div title="<I18N#内容窗体编辑>"   id="cw-manage-dlg" style="display:none;"> | ||||
| 		<div id="cw-manage-dlg-content" style="padding-top: 10px; height: 400px; overflow-y: auto;"> | ||||
| 			<div id="easy-outer-nav-link" class="easy-outer-nav-link"> | ||||
| 			         <ul id="easy-tab-nav-link"  class="easy-tab-nav-link"> | ||||
| 			            <li class="current">XXX</li> | ||||
| 			         </ul> | ||||
| 			         <div class="add-cw-tab-btn"  sytle="display:block;width:20px;height:20px;"> | ||||
| 			         	<img class="" src="../apps/com.actionsoft.apps.addons.xpages/img/icon_add.png" width="16" height="16"> | ||||
| 			         </div> | ||||
| 			         <div id="easy-content-nav-link" class="easy-content-nav-link"> | ||||
| 				         <div style="display:block;" class="nav-config-panel"></div>  | ||||
| 			       </div> | ||||
| 			 </div> | ||||
| 			 <div class="cw-default-element" style="display:none;"> | ||||
| 				<form   method="post"> | ||||
| 					<input type="hidden" id ="defaultSelectCwUrlContent" name ="defaultSelectCwUrlContent" /> | ||||
| 					<table style="width: 100%; height: 100px;padding:10px 10px;" class="awsui-ux" cellspacing="0" cellpadding="0"> | ||||
| 						<tbody> | ||||
| 							<tr height="45"> | ||||
| 								<td width="90"><I18N#标题名称></td><td  class="required"><input type="text" id="cwName" maxlength="20" class="form-label-txt"  style="width:570px;" /></td> | ||||
| 							</tr> | ||||
| 							<tr height="45"> | ||||
| 								<td><I18N#页面内容> </td><td> | ||||
| 								    <div class="cwurl-nocontent cwurl-select-cls"> | ||||
| 										<div class="cwurl-nocontent-type1"> | ||||
| 											<I18N#选择一个内容源> | ||||
| 										</div> | ||||
| 										<div class="cwurl-nocontent-sep"> | ||||
| 											<I18N#或> | ||||
| 										</div> | ||||
| 										<div class="cwurl-nocontent-type2"> | ||||
| 											<I18N#输入一个URL地址> | ||||
| 										</div> | ||||
| 									</div> | ||||
| 
 | ||||
| 								<div class="cwurl-nocontent  type2cls" style="display:none;position:relative;"> | ||||
| 									<div class="return-novalue-icon awsui-iconfont" title="<I18N#清空>"  type="2"></div> | ||||
| 									<div class="show-cwurlapp-btn awsui-iconfont" title="<I18N#内容源>" ></div> | ||||
| 
 | ||||
| 									<textarea class="cwUrl"  id="cwUrl" placeholder="<I18N#请选择或者填写URL地址>" style="margin:16px 10px 0px 10px;"></textarea> | ||||
| 								</div> | ||||
| 								<div class="cwurl-nocontent  type1cls" style="display:none;position:relative;"> | ||||
| 									<div class="return-novalue-icon awsui-iconfont" title="<I18N#清空>" type="1"></div> | ||||
| 									<div class="show-cwurl-btn awsui-iconfont" title="<I18N#URL链接>" ></div> | ||||
| 									<div class="reselect-cwurl-btn" style="display:none;" ><I18N#重新选择></div> | ||||
| 									<div class="select-show-cls"> | ||||
| 										<img class="select-icon select-iconimg"/> | ||||
| 										<i class="awsui-iconfont select-iconfont" style="display: none;"></i> | ||||
| 										<div class="select-text" > | ||||
| 									</div> | ||||
| 
 | ||||
| 									</div> | ||||
| 								</div> | ||||
| 
 | ||||
| 								    <br/> | ||||
| 								<input type="hidden" id ="cwUrlAppId" name ="cwUrlAppId" /> | ||||
| 								<input type="hidden" id ="cwUrlId" name ="cwUrlId" /> | ||||
| 
 | ||||
| 								</td> | ||||
| 							</tr> | ||||
| 							<tr height="45"> | ||||
| 								<td><I18N#小窗风格> </td><td> | ||||
| 								<select  id="cwStyle" class="cwStyle" style="height:30px;width:585px;min-width:84px;"> | ||||
| 									<option value="0"><I18N#无标题风格></option> | ||||
| 									<option value="1"><I18N#简约风格>1(<I18N#标题>)</option> | ||||
| 									<option value="2"><I18N#简约风格>2(<I18N#竖线标题>)</option> | ||||
| 									<option value="3"><I18N#简约风格>3(<I18N#横线标题>)</option> | ||||
| 									<option value="4"><I18N#传统风格>1(<I18N#方块背景标题>)</option> | ||||
| 									<option value="5"><I18N#传统风格>2(<I18N#梯形背景标题>)</option> | ||||
| 								</select> | ||||
| 							</td> | ||||
| 							</tr> | ||||
| 							<tr height="45"> | ||||
| 								<td><I18N#滚动条> </td><td> | ||||
| 									<select  id="cwScroll" style="height:30px;width:585px;min-width:84px;"> | ||||
| 										<option value="no"><I18N#从不显示滚动条></option> | ||||
| 										<option value="auto"><I18N#自适应></option> | ||||
| 										<option value="yes"><I18N#始终显示滚动条></option> | ||||
| 				                  	</select> | ||||
| 								</td> | ||||
| 							</tr> | ||||
| 							<tr height="45"> | ||||
| 								<td><I18N#页面内边距></td> | ||||
| 								<td> | ||||
| 									<select  class="paddingTop" style="height:30px;width:144px;min-width:144px;"> | ||||
| 				                  	</select> | ||||
| 				                  	<select  class="paddingBottom" style="height:30px;width:144px;min-width:144px;"> | ||||
| 				                  	</select> | ||||
| 				                  	<select  class="paddingLeft" style="height:30px;width:144px;min-width:144px;"> | ||||
| 				                  	</select> | ||||
| 				                  	<select  class="paddingRight" style="height:30px;width:144px;min-width:144px;"> | ||||
| 				                  	</select> | ||||
| 		                        </td> | ||||
| 							</tr> | ||||
| 							<tr height="25"> | ||||
| 							    <td></td> | ||||
| 								<td> | ||||
| 									<I18N#页面内边距说明> | ||||
| 		                        </td> | ||||
| 							</tr> | ||||
| 							<tr height="45" class="notitlebarcls"> | ||||
| 								<td><I18N#标题字体样式></td> | ||||
| 								<td> | ||||
| 									<select id="fontFamily" style="height:30px;width:143px;min-width:143px;outline:none;"> | ||||
| 										<option value="<I18N#微软雅黑>"><I18N#微软雅黑></option> | ||||
| 										<option value="<I18N#宋体>"><I18N#宋体></option> | ||||
| 				                  	</select> | ||||
| 				                  	<select  id="fontSize" style="height:30px;width:143px;min-width:143px;outline:none;"> | ||||
| 				                  		<option value="13px">13px</option> | ||||
| 				                  		<option value="14px">14px</option> | ||||
| 				                  		<option value="15px">15px</option> | ||||
| 				                  		<option value="16px">16px</option> | ||||
| 				                  		<option value="17px">17px</option> | ||||
| 				                  		<option value="18px">18px</option> | ||||
| 				                  		<option value="19px">19px</option> | ||||
| 				                  		<option value="20px">20px</option> | ||||
| 				                  	</select> | ||||
| 				                  	<select  id="isBold" style="height:30px;width:143px;min-width:143px;outline:none;"> | ||||
| 				                  		<option value="1"><I18N#不加粗></option> | ||||
| 				                  		<option value="2"><I18N#加粗></option> | ||||
| 				                  	</select> | ||||
| 				                  	<select  id="isItalic" style="height:30px;width:143px;min-width:143px;outline:none;"> | ||||
| 				                  		<option value="1"><I18N#不倾斜></option> | ||||
| 				                  		<option value="2"><I18N#斜体></option> | ||||
| 				                  	</select> | ||||
| 								</td> | ||||
| 							</tr> | ||||
| 							<tr height="45"> | ||||
| 								<td><I18N#是否有效></td> | ||||
| 								<td> | ||||
| 									<input type="text"  maxlength="50" class="form-label-txt awsui-at isActive"  placeholder="<I18N#为空或TRUE时在前端显示该区域>" style="width:570px;" /> | ||||
| 								</td> | ||||
| 							</tr> | ||||
| 							<tr height="45" class="notitlebarcls"> | ||||
| 								<td colspan="2"> | ||||
| 									<div id="operationArea-panel" class="operationArea-panel"></div> | ||||
| 								</td> | ||||
| 							</tr> | ||||
| 						</tbody> | ||||
| 					</table> | ||||
| 				</form> | ||||
| 				 | ||||
| 				 | ||||
| 		</div> | ||||
| 			 | ||||
| 		 | ||||
| 		</div> | ||||
| 	</div> | ||||
| 	<!-- 内容窗体----------------------------------------------------  --> | ||||
| 	 | ||||
| 	 | ||||
| 	 | ||||
| 	<!-- 内容窗体操作按钮----------------------------------------------------  --> | ||||
| 	<div title="<I18N#操作按钮>"   id="cwop-manage-dlg" style="display:none;"> | ||||
| 		<div id="cwop-manage-dlg-content" style="padding-top: 10px; height: 350px; overflow-y: auto;overflow-x:hidden;"> | ||||
| 			 <input type="hidden" id="opId"/> | ||||
| 			 <input type="hidden" id="opSort"/> | ||||
| 			 <input type="hidden" id="ext1"/> | ||||
| 			 <input type="hidden" id="ext2"/> | ||||
| 			 <input type="hidden" id="ext3"/> | ||||
| 			 <table style="width: 100%; height: 100px;" class="awsui-ux" cellspacing="0" cellpadding="0"> | ||||
| 						<tbody> | ||||
| 						    <tr height="45"> | ||||
| 								<td  width="70"><I18N#类型> </td> | ||||
| 								<td> | ||||
| 									<select  id="opType" style="height:30px;width:390px;min-width:84px;"> | ||||
| 										<option value="refresh"><I18N#刷新></option> | ||||
| 										<option value="space"><I18N#间隔></option> | ||||
| 										<option value="turn"><I18N#展开收起></option> | ||||
| 										<option value="url"><I18N#打开URL地址></option> | ||||
| 										<option value="js"><I18N#JS代码></option> | ||||
| 										<option value="html"><I18N#HTML代码></option> | ||||
| 				                  </select> | ||||
| 								</td> | ||||
| 							</tr> | ||||
| 							<tr height="45"> | ||||
| 								<td width="70"><I18N#名称></td> | ||||
| 								<td class="required"> | ||||
| 									<input type="text" id="opName" maxlength="20" class="form-label-txt"  style="width:370px;" /> | ||||
| 								</td> | ||||
| 							</tr> | ||||
| 							<tr height="45"> | ||||
| 								<td width="70"><I18N#内容></td> | ||||
| 								<td> | ||||
| 									<textarea id="opContent" class="form-label-txt"  style="width:370px;height: 50px;resize: none;" ></textarea> | ||||
| 								</td> | ||||
| 							</tr> | ||||
| 							<tr height="45" style="display:none;"> | ||||
| 								<td width="70"><I18N#扩展></td> | ||||
| 								<td> | ||||
| 									<input type="text" id="opExt1" maxlength="20" class="form-label-txt"  style="width:270px;" /> | ||||
| 								</td> | ||||
| 							</tr> | ||||
| 							<tr height="45" style="display:none;" class="turncls"> | ||||
| 								<td width="70"><I18N#展开方式></td> | ||||
| 								<td> | ||||
| 									<select  id="turnflag" style="height:30px;width:270px;min-width:84px;"> | ||||
| 										<option value="1"><I18N#默认展开></option> | ||||
| 										<option value="2"><I18N#默认收起></option> | ||||
| 				                  </select> | ||||
| 								</td> | ||||
| 							</tr> | ||||
| 							<tr height="45" style="display:none;" class="targetcls"> | ||||
| 								<td width="70"><I18N#打开方式></td> | ||||
| 								<td> | ||||
| 									<select  id="urltarget" style="height:30px;width:390px;min-width:84px;"> | ||||
| 										<option value="1"><I18N#当前页面></option> | ||||
| 										<option value="2"><I18N#新窗口></option> | ||||
| 										<option value="3"><I18N#侧边栏></option> | ||||
| 				                  </select> | ||||
| 								</td> | ||||
| 							</tr> | ||||
| 						</tbody> | ||||
| 					</table> | ||||
| 					<div style="display:inline-block;padding:10px 20px;"> | ||||
| 						<I18N#说明>:<br/> | ||||
| 						<I18N#按钮类型为刷新时说明><br/> | ||||
| 						<I18N#按钮类型为间隔时><br/> | ||||
| 						<I18N#按钮类型为展开收起时><br/> | ||||
| 						<I18N#按钮类型为打开URL地址时><br/> | ||||
| 						<I18N#按钮类型为JS代码时><br/> | ||||
| 						<I18N#按钮类型为HTML代码时><br/> | ||||
| 
 | ||||
| 									 | ||||
| 					</div> | ||||
| 		 | ||||
| 		</div> | ||||
| 	</div> | ||||
| 	<!-- 内容窗体操作按钮----------------------------------------------------  --> | ||||
| 	 | ||||
| 	 | ||||
| 	<!-- 内容url选择---------------------------------------------------  --> | ||||
| 	<div title="内容来源"   id="cwurl-manage-dlg" style="display:none;"> | ||||
| 		<div id="cwurl-manage-dlg-content" style="padding-top: 10px; height: 400px; overflow-y: auto;"> | ||||
| 			<div class='cwapp-left'></div> | ||||
| 			<div class='cwapp-right-wrap'> | ||||
| 				<div name='oldtype1or2' class='cwapp-right' style='display:none;'></div> | ||||
| 			</div> | ||||
| 		</div> | ||||
| 	</div> | ||||
| 	<!-- 内容url选择---------------------------------------------------  --> | ||||
| 	 | ||||
| 			 | ||||
| 	<form> | ||||
| 
 | ||||
| 		<input type="hidden" id="sid" value="<#sid>"/> | ||||
| 		<input type="hidden" id="nowTemplateId" value="<#id>"/> | ||||
| 	</form> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										58
									
								
								com.actionsoft.apps.addons.xpages/template/page/xpages.template.preview.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,58 @@ | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
| <head> | ||||
| 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||||
| 	<title><#templateName></title> | ||||
|     <script> | ||||
|     | ||||
|     </script> | ||||
| 	<!-- JQuery --> | ||||
|     <script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script> | ||||
| 	 | ||||
|     <!-- AWS UI --> | ||||
|     <script type="text/javascript" src="../commons/js/public.js"></script> | ||||
|     <link rel="stylesheet" type="text/css" href="../commons/css/awsui.css"> | ||||
|     <script type="text/javascript" src="../commons/js/awsui.js"></script> | ||||
| 	 | ||||
| 	<link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.addons.xpages/css/xpages.preview.css"> | ||||
| 	<link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.addons.xpages/css/xpages.skins.css"> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.preview.js"></script> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/lib/math.uuid.js"></script> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.util.js"></script> | ||||
| 	<script type="text/javascript" src="../apps/com.actionsoft.apps.addons.xpages/js/xpages.size.js"></script> | ||||
| 
 | ||||
| 
 | ||||
| 	 | ||||
|    	<script type="text/javascript"> | ||||
| 		//公共参数 | ||||
| 		var sid = "<#sid>"; | ||||
| 		var appId= "<#appId>"; | ||||
| 		var userid = "<#userId>"; | ||||
| 		var userPhoto = "<#userPhoto>"; | ||||
| 		var userName = "<#userName>"; | ||||
| 		var templateId="<#id>"; | ||||
| 		var isPreview="<#isPreview>"; | ||||
| 		var canManageTemplate="<#canManageTemplate>"; | ||||
| 		var templateInfo=[<#templateInfo>]; | ||||
| 		var templateJs=templateInfo[0].templateJs; | ||||
| 	</script> | ||||
| 	<script> | ||||
| 
 | ||||
| 		var 暂未配置内容="<I18N#暂未配置内容>"; | ||||
| 		var 配置有误="<I18N#配置有误>"; | ||||
| 		var 暂无数据="<I18N#暂无数据>"; | ||||
| 
 | ||||
| 	</script> | ||||
| <style> | ||||
| 	body{ | ||||
| 		height:auto; | ||||
| 	} | ||||
| </style> | ||||
|   | ||||
| </head> | ||||
| <body> | ||||
| 		 | ||||
| </body> | ||||
| <script> | ||||
| </script> | ||||
| </html> | ||||
							
								
								
									
										154
									
								
								com.actionsoft.apps.addons.xpages/template/page/xpages.test.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,154 @@ | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
| <head> | ||||
| 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||||
| 	<title>xpages</title> | ||||
| 	<script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script> | ||||
| 	<link rel="stylesheet" type="text/css" href="../apps/com.actionsoft.apps.cms/css/cms.site.css"> | ||||
|    	<script type="text/javascript"> | ||||
| 		var sid = "<#sid>"; | ||||
| 		var param1="<#param1>"; | ||||
| 		var param2="<#param2>"; | ||||
| 		var param3="<#param3>"; | ||||
| 		$(document).ready(function(){ | ||||
| 			if(param1=="1"){ | ||||
| 				$(".showparam1").show(); | ||||
| 				$(".showparam1ext").hide(); | ||||
| 				$(".showparam1ext1").hide(); | ||||
| 			}else if(param1=="2"){ | ||||
| 				$(".showparam1").hide(); | ||||
| 				$(".showparam1ext").show(); | ||||
| 				$(".showparam1ext2").hide(); | ||||
| 			}else if(param1=="3"){ | ||||
| 				$(".showparam1").hide(); | ||||
| 				$(".showparam1ext").hide(); | ||||
| 				$(".showparam1ext2").show(); | ||||
| 			}else{ | ||||
| 				$(".showparam1").show(); | ||||
| 				$(".showparam1ext").hide(); | ||||
| 				$(".showparam1ext1").hide(); | ||||
| 			} | ||||
| 		}); | ||||
| 	</script> | ||||
| <style> | ||||
| </style> | ||||
|   | ||||
| </head> | ||||
| <body style="background-color: #FFF;"> | ||||
| 			 | ||||
|          <div class="nr2be0fc1b4-1126-465d-b839-8ee7f736deb9 showparam1" style="padding: 0px; font-size: 13px; background: rgb(255, 255, 255); height: 300px;" > | ||||
|  			<dl class="site-msg-listbe0fc1b4-1126-465d-b839-8ee7f736deb9"> | ||||
| 				<dd style="padding-left: 12px; height: 32px; line-height: 32px;"> | ||||
| 					<span class="msg-title-text msg-title-textbe0fc1b4-1126-465d-b839-8ee7f736deb9" style="max-width:515.6666666666666px;"><a href="javascript:void(0);" style="color:#000000;opacity:0.75;" onclick="showMessageDetial('be0fc1b4-1126-465d-b839-8ee7f736deb9','954d7276-b8fb-49f2-a5fe-6af88560ea27',2);">发文国家发文国家发文国家发文国家发文国家</a></span><span class="msg-time" style="display: block;">[04-13]</span><span class="msg-replynum" awsui-qtip="回复量" style="display: none;">0</span><span class="msg-scannum" awsui-qtip="浏览量" style="display: none;">0</span> | ||||
| 				</dd> | ||||
| 				<dd style="padding-left: 12px; height: 32px; line-height: 32px;"> | ||||
| 					<span class="msg-title-text msg-title-textbe0fc1b4-1126-465d-b839-8ee7f736deb9" style="max-width:515.6666666666666px;"><a href="javascript:void(0);" style="color:#000000;opacity:0.75;" onclick="openOutUrl('http://192.168.0.105:8011/portal/r/w?sid=68b34a2b-17ec-4f67-88b2-7b2e2fb3c5d5&cmd=com.actionsoft.apps.gw_cms_page&processInstId=081b8a2e-4002-4780-8e2c-238e7c8f4b8c&taskInstId=2576cbeb-efed-409f-8905-e57bd7cf43a9','b81c378d-0747-40bb-8297-c0396ba98617');"><b>1中国主题为“同呼吸 共奋斗”,旨在释放和传递建设</b></a></span><span class="msg-time" style="display: block;">[11-21]</span><span class="msg-replynum" awsui-qtip="回复量" style="display: none;">0</span><span class="msg-scannum" awsui-qtip="浏览量" style="display: none;">10</span> | ||||
| 				</dd> | ||||
| 				<dd style="padding-left: 12px; height: 32px; line-height: 32px;"> | ||||
| 					<span class="msg-title-text msg-title-textbe0fc1b4-1126-465d-b839-8ee7f736deb9" style="max-width:515.6666666666666px;"><a href="javascript:void(0);" style="color:#000000;opacity:0.75;" onclick="openOutUrl('http://192.168.0.105:8011/portal/r/w?sid=68b34a2b-17ec-4f67-88b2-7b2e2fb3c5d5&cmd=com.actionsoft.apps.gw_cms_page&processInstId=d8fe0e10-da53-43f6-9411-1a2bba5a5341&taskInstId=0a0f7373-f92f-4c65-973e-28bf40b13720','6cfdef7f-a392-4916-9a95-553a09eec5be');"><b>关于xxx技术白皮书修改的通知</b></a></span><span class="msg-time" style="display: block;">[11-18]</span><span class="msg-replynum" awsui-qtip="回复量" style="display: none;">0</span><span class="msg-scannum" awsui-qtip="浏览量" style="display: none;">1</span> | ||||
| 				</dd> | ||||
| 				<dd style="padding-left: 12px; height: 32px; line-height: 32px;"> | ||||
| 					<span class="msg-title-text msg-title-textbe0fc1b4-1126-465d-b839-8ee7f736deb9" style="max-width:515.6666666666666px;"><a href="javascript:void(0);" style="color:#000000;opacity:0.75;" onclick="openOutUrl('http://192.168.0.105:8011/portal/r/w?sid=68b34a2b-17ec-4f67-88b2-7b2e2fb3c5d5&cmd=com.actionsoft.apps.gw_cms_page&processInstId=d8fe0e10-da53-43f6-9411-1a2bba5a5341&taskInstId=0a0f7373-f92f-4c65-973e-28bf40b13720','c6e49106-8e1f-4998-9680-33c6217be588');"><b>关于xxx技术白皮书修改的通知</b></a></span><span class="msg-time" style="display: block;">[11-18]</span><span class="msg-replynum" awsui-qtip="回复量" style="display: none;">0</span><span class="msg-scannum" awsui-qtip="浏览量" style="display: none;">1</span> | ||||
| 				</dd> | ||||
| 				<dd style="padding-left: 12px; height: 32px; line-height: 32px;"> | ||||
| 					<span class="msg-title-text msg-title-textbe0fc1b4-1126-465d-b839-8ee7f736deb9" style="max-width:515.6666666666666px;"><a href="javascript:void(0);" style="color:#000000;opacity:0.75;" onclick="openOutUrl('http://192.168.0.105:8011/portal/r/w?sid=68b34a2b-17ec-4f67-88b2-7b2e2fb3c5d5&cmd=com.actionsoft.apps.gw_cms_page&processInstId=d8fe0e10-da53-43f6-9411-1a2bba5a5341&taskInstId=0a0f7373-f92f-4c65-973e-28bf40b13720','625f2bc4-f2f1-4d5d-bbca-ede6d87462be');"><b>关于xxx技术白皮书修改的通知</b></a></span><span class="msg-time" style="display: block;">[11-18]</span><span class="msg-replynum" awsui-qtip="回复量" style="display: none;">0</span><span class="msg-scannum" awsui-qtip="浏览量" style="display: none;">0</span> | ||||
| 				</dd> | ||||
| 				<dd style="padding-left: 12px; height: 32px; line-height: 32px;"> | ||||
| 					<span class="msg-title-text msg-title-textbe0fc1b4-1126-465d-b839-8ee7f736deb9" style="max-width:515.6666666666666px;"><a href="javascript:void(0);" style="color:#000000;opacity:0.75;" onclick="openOutUrl('http://192.168.0.105:8011/portal/r/w?sid=68b34a2b-17ec-4f67-88b2-7b2e2fb3c5d5&cmd=com.actionsoft.apps.gw_cms_page&processInstId=548c8093-9d0f-4797-a5b9-59cc58e82591&taskInstId=31239307-8bca-42a3-96e7-a6d10d1e36b4','4e4dd269-883a-4fa9-b6bc-da6cbc2c65b9');"><b>测试发文pdf数据莎莎说</b></a></span><span class="msg-time" style="display: block;">[11-18]</span><span class="msg-replynum" awsui-qtip="回复量" style="display: none;">0</span><span class="msg-scannum" awsui-qtip="浏览量" style="display: none;">8</span> | ||||
| 				</dd> | ||||
| 				<dd style="padding-left: 12px; height: 32px; line-height: 32px;"> | ||||
| 					<span class="msg-title-text msg-title-textbe0fc1b4-1126-465d-b839-8ee7f736deb9" style="max-width:515.6666666666666px;"><a href="javascript:void(0);" style="color:#000000;opacity:0.75;" onclick="openOutUrl('http://192.168.0.105:8011/portal/r/w?sid=68b34a2b-17ec-4f67-88b2-7b2e2fb3c5d5&cmd=com.actionsoft.apps.gw_cms_page&processInstId=d8fe0e10-da53-43f6-9411-1a2bba5a5341&taskInstId=0a0f7373-f92f-4c65-973e-28bf40b13720','54fc446e-fd98-42e4-a1ac-970686f45512');"><b>关于xxx技术白皮书修改的通知</b></a></span><span class="msg-time" style="display: block;">[11-18]</span><span class="msg-replynum" awsui-qtip="回复量" style="display: none;">0</span><span class="msg-scannum" awsui-qtip="浏览量" style="display: none;">0</span> | ||||
| 				</dd> | ||||
| 				<dd style="padding-left: 12px; height: 32px; line-height: 32px;"> | ||||
| 					<span class="msg-title-text msg-title-textbe0fc1b4-1126-465d-b839-8ee7f736deb9" style="max-width:515.6666666666666px;"><a href="javascript:void(0);" style="color:#000000;opacity:0.75;" onclick="openOutUrl('http://192.168.0.105:8011/portal/r/w?sid=68b34a2b-17ec-4f67-88b2-7b2e2fb3c5d5&cmd=com.actionsoft.apps.gw_cms_page&processInstId=d8fe0e10-da53-43f6-9411-1a2bba5a5341&taskInstId=0a0f7373-f92f-4c65-973e-28bf40b13720','a5d6d809-4705-4d3d-a485-94a39e2cc26a');"><b>关于xxx技术白皮书修改的通知</b></a></span><span class="msg-time" style="display: block;">[11-18]</span><span class="msg-replynum" awsui-qtip="回复量" style="display: none;">0</span><span class="msg-scannum" awsui-qtip="浏览量" style="display: none;">2</span> | ||||
| 				</dd> | ||||
| 				<dd style="padding-left: 12px; height: 32px; line-height: 32px;"> | ||||
| 					<span class="msg-title-text msg-title-textbe0fc1b4-1126-465d-b839-8ee7f736deb9" style="max-width:515.6666666666666px;"><a href="javascript:void(0);" style="color:#000000;opacity:0.75;" onclick="openOutUrl('http://192.168.0.105:8011/portal/r/w?sid=68b34a2b-17ec-4f67-88b2-7b2e2fb3c5d5&cmd=com.actionsoft.apps.gw_cms_page&processInstId=d8fe0e10-da53-43f6-9411-1a2bba5a5341&taskInstId=0a0f7373-f92f-4c65-973e-28bf40b13720','a5d6d809-4705-4d3d-a485-94a39e2cc26a');"><b>关于xxx技术白皮书修改的通知</b></a></span><span class="msg-time" style="display: block;">[11-18]</span><span class="msg-replynum" awsui-qtip="回复量" style="display: none;">0</span><span class="msg-scannum" awsui-qtip="浏览量" style="display: none;">2</span> | ||||
| 				</dd> | ||||
| 				<dd style="padding-left: 12px; height: 32px; line-height: 32px;"> | ||||
| 					<span class="msg-title-text msg-title-textbe0fc1b4-1126-465d-b839-8ee7f736deb9" style="max-width:515.6666666666666px;"><a href="javascript:void(0);" style="color:#000000;opacity:0.75;" onclick="openOutUrl('http://192.168.0.105:8011/portal/r/w?sid=68b34a2b-17ec-4f67-88b2-7b2e2fb3c5d5&cmd=com.actionsoft.apps.gw_cms_page&processInstId=d8fe0e10-da53-43f6-9411-1a2bba5a5341&taskInstId=0a0f7373-f92f-4c65-973e-28bf40b13720','a5d6d809-4705-4d3d-a485-94a39e2cc26a');"><b>关于xxx技术白皮书修改的通知</b></a></span><span class="msg-time" style="display: block;">[11-18]</span><span class="msg-replynum" awsui-qtip="回复量" style="display: none;">0</span><span class="msg-scannum" awsui-qtip="浏览量" style="display: none;">2</span> | ||||
| 				</dd> | ||||
| 				<dd style="padding-left: 12px; height: 32px; line-height: 32px;"> | ||||
| 					<span class="msg-title-text msg-title-textbe0fc1b4-1126-465d-b839-8ee7f736deb9" style="max-width:515.6666666666666px;"><a href="javascript:void(0);" style="color:#000000;opacity:0.75;" onclick="openOutUrl('http://192.168.0.105:8011/portal/r/w?sid=68b34a2b-17ec-4f67-88b2-7b2e2fb3c5d5&cmd=com.actionsoft.apps.gw_cms_page&processInstId=d8fe0e10-da53-43f6-9411-1a2bba5a5341&taskInstId=0a0f7373-f92f-4c65-973e-28bf40b13720','a5d6d809-4705-4d3d-a485-94a39e2cc26a');"><b>关于xxx技术白皮书修改的通知</b></a></span><span class="msg-time" style="display: block;">[11-18]</span><span class="msg-replynum" awsui-qtip="回复量" style="display: none;">0</span><span class="msg-scannum" awsui-qtip="浏览量" style="display: none;">2</span> | ||||
| 				</dd> | ||||
| 				</dl> | ||||
| 		</div> | ||||
| 		 | ||||
| 		 | ||||
| 		 | ||||
| 		<div class="module_nr showparam1ext" style="display:none;"> | ||||
| 			<div class="nr2e7718f15-2df8-4f17-a2c5-85808ebf5512" style="float: left; width: 40%; padding-top: 10px; height: 300px;"> | ||||
| 				<div class="main"> | ||||
| 					<div class="pro-switch"> | ||||
| 						<div class="slider" style="height:100%"> | ||||
| 							<div class="flexslider"> | ||||
| 								<div class="flex-viewport" style="overflow: hidden; position: relative;"> | ||||
| 									<ul class="slides" style="width: 1000%; transition-duration: 0s; transform: translate3d(-446px, 0px, 0px);"> | ||||
| 										<li style="height: 100%; width: 446px; float: left; display: block;" class="clone"> | ||||
| 											<div class="img" style="height:100%;background:#000000;"> | ||||
| 												<center><img id="e7718f15-2df8-4f17-a2c5-85808ebf5512img_2da84aed-7101-4b47-9363-4456baaeace4" src="./df?groupValue=ca002b7b-b13e-454c-8d35-81337410495d&fileValue=TITLEPIC&sid=b7b525a3-b0ca-45e0-963d-a5bec689a9f2&repositoryName=%21form-ui-file-&appId=com.actionsoft.apps.cms&attachment=true&fileName=ca002b7b-b13e-454c-8d35-81337410495d_thum.jpg&lastModified=1508987537000" style="width:209.3px;height:280px;"> | ||||
| 												</center><span class="flex-txt" style="margin-top: -45px; padding-top: 10px;" onclick="">新员工播报——谷丽娜</span> | ||||
| 											</div> | ||||
| 										</li> | ||||
| 										<li style="height: 100%; width: 446px; float: left; display: block;" class="flex-active-slide"> | ||||
| 											<div class="img" style="height:100%;background:#000000;"> | ||||
| 												<center><img id="e7718f15-2df8-4f17-a2c5-85808ebf5512img_d58aafb3-9c69-4112-8ea1-35d39be84c11" src="./df?groupValue=9617a683-81ba-4f17-a12f-3e1f34594b8f&fileValue=TITLEPIC&sid=b7b525a3-b0ca-45e0-963d-a5bec689a9f2&repositoryName=%21form-ui-file-&appId=com.actionsoft.apps.cms&attachment=true&fileName=9617a683-81ba-4f17-a12f-3e1f34594b8f_thum.jpg&lastModified=1508987505000" style="width:212.1px;height:280px;"> | ||||
| 												</center><span class="flex-txt" style="margin-top: -45px; padding-top: 10px;" onclick="">新员工播报——韩淑婷</span> | ||||
| 											</div> | ||||
| 										</li> | ||||
| 										<li style="height: 100%; width: 446px; float: left; display: block;" class=""> | ||||
| 											<div class="img" style="height:100%;background:#000000;"> | ||||
| 												<center><img id="e7718f15-2df8-4f17-a2c5-85808ebf5512img_92c6d12d-1281-4068-9b58-aa00a055417c" src="./df?groupValue=a742b8a1-1140-43b4-8163-74657f7ef432&fileValue=TITLEPIC&sid=b7b525a3-b0ca-45e0-963d-a5bec689a9f2&repositoryName=%21form-ui-file-&appId=com.actionsoft.apps.cms&attachment=true&fileName=a742b8a1-1140-43b4-8163-74657f7ef432_thum.jpg&lastModified=1508987524000" style="width:208.6px;height:280px;"> | ||||
| 												</center><span class="flex-txt" style="margin-top: -45px; padding-top: 10px;" onclick="">新员工播报——王雪</span> | ||||
| 											</div> | ||||
| 										</li> | ||||
| 										<li style="height: 100%; width: 446px; float: left; display: block;" class=""> | ||||
| 											<div class="img" style="height:100%;background:#000000;"> | ||||
| 												<center><img id="e7718f15-2df8-4f17-a2c5-85808ebf5512img_2da84aed-7101-4b47-9363-4456baaeace4" src="./df?groupValue=ca002b7b-b13e-454c-8d35-81337410495d&fileValue=TITLEPIC&sid=b7b525a3-b0ca-45e0-963d-a5bec689a9f2&repositoryName=%21form-ui-file-&appId=com.actionsoft.apps.cms&attachment=true&fileName=ca002b7b-b13e-454c-8d35-81337410495d_thum.jpg&lastModified=1508987537000" style="width:209.3px;height:280px;"> | ||||
| 												</center><span class="flex-txt" style="margin-top: -45px; padding-top: 10px;" onclick="">新员工播报——谷丽娜</span> | ||||
| 											</div> | ||||
| 										</li> | ||||
| 										<li style="height: 100%; width: 446px; float: left; display: block;" class="clone"> | ||||
| 											<div class="img" style="height:100%;background:#000000;"> | ||||
| 												<center><img id="e7718f15-2df8-4f17-a2c5-85808ebf5512img_d58aafb3-9c69-4112-8ea1-35d39be84c11" src="./df?groupValue=9617a683-81ba-4f17-a12f-3e1f34594b8f&fileValue=TITLEPIC&sid=b7b525a3-b0ca-45e0-963d-a5bec689a9f2&repositoryName=%21form-ui-file-&appId=com.actionsoft.apps.cms&attachment=true&fileName=9617a683-81ba-4f17-a12f-3e1f34594b8f_thum.jpg&lastModified=1508987505000" style="width:212.1px;height:280px;"> | ||||
| 												</center><span class="flex-txt" style="margin-top: -45px; padding-top: 10px;" onclick="showMessageDetial('e7718f15-2df8-4f17-a2c5-85808ebf5512','d58aafb3-9c69-4112-8ea1-35d39be84c11',2)">新员工播报——韩淑婷</span> | ||||
| 											</div> | ||||
| 										</li> | ||||
| 									</ul> | ||||
| 								</div> | ||||
| 								<ol class="flex-control-nav flex-control-paging" style="display: none;"> | ||||
| 									<li> | ||||
| 										<a class="flex-active">1</a> | ||||
| 									</li> | ||||
| 									<li> | ||||
| 										<a class="">2</a> | ||||
| 									</li> | ||||
| 									<li> | ||||
| 										<a class="">3</a> | ||||
| 									</li> | ||||
| 								</ol> | ||||
| 								<ul class="flex-direction-nav"> | ||||
| 									<li> | ||||
| 										<a class="flex-prev" href="#">Previous</a> | ||||
| 									</li> | ||||
| 									<li> | ||||
| 										<a class="flex-next" href="#">Next</a> | ||||
| 									</li> | ||||
| 								</ul> | ||||
| 							</div> | ||||
| 						</div> | ||||
| 					</div> | ||||
| 				</div> | ||||
| 			</div> | ||||
| 			<div class="nrtexte7718f15-2df8-4f17-a2c5-85808ebf5512" style="float: left; width: 60%;"> | ||||
| 				<span class="right-text-item"><span class="right-text-item-time" style="border-left: 4px solid rgb(61, 153, 97); background: rgb(235, 246, 240);"> <span class="right-text-item-time-dd" style="color: rgb(61, 153, 97);">25</span> <span class="right-text-item-time-yyyymm">2017-10</span> </span><span class="right-text-item-rightcls" style="width: auto;"><span class="right-text-item-title" style="color: rgb(61, 153, 97);"> <a href="javascript:void(0);" onclick="" style="color: rgb(61, 153, 97);">新员工播报——韩淑婷</a></span><span class="right-text-item-desc"><a href="javascript:void(0);" style="color:#BCAC79;" onclick="showMessageDetial('e7718f15-2df8-4f17-a2c5-85808ebf5512','d58aafb3-9c69-4112-8ea1-35d39be84c11',2)"> [详细]</a></span></span></span><span class="right-text-item"><span class="right-text-item-time" style="border-left: 4px solid rgb(61, 153, 97); background: rgb(235, 246, 240);"><span class="right-text-item-time-dd" style="color: rgb(61, 153, 97);">25</span><span class="right-text-item-time-yyyymm">2017-10</span></span><span class="right-text-item-rightcls" style="width: auto;"><span class="right-text-item-title" style="color: rgb(61, 153, 97);"><a href="javascript:void(0);" onclick="" style="color: rgb(61, 153, 97);">新员工播报——王雪</a></span><span class="right-text-item-desc"><a href="javascript:void(0);" style="color:#BCAC79;" onclick="showMessageDetial('e7718f15-2df8-4f17-a2c5-85808ebf5512','92c6d12d-1281-4068-9b58-aa00a055417c',2)"> [详细]</a></span></span></span><span class="right-text-item"><span class="right-text-item-time" style="border-left: 4px solid rgb(61, 153, 97); background: rgb(235, 246, 240);"><span class="right-text-item-time-dd" style="color: rgb(61, 153, 97);">25</span><span class="right-text-item-time-yyyymm">2017-10</span></span><span class="right-text-item-rightcls" style="width: auto;"><span class="right-text-item-title" style="color: rgb(61, 153, 97);"><a href="javascript:void(0);" onclick="" style="color: rgb(61, 153, 97);">新员工播报——谷丽娜</a></span><span class="right-text-item-desc"><a href="javascript:void(0);" style="color:#BCAC79;" onclick=""> [详细]</a></span></span></span> | ||||
| 			</div> | ||||
| 		</div> | ||||
| 		 | ||||
| 		 | ||||
| 		 | ||||
| 		  <div class="nr2be0fc1b4-1126-465d-b839-8ee7f736deb9 showparam1ext1" style="padding: 0px; font-size: 13px; background: rgb(255, 255, 255); height: 300px;" > | ||||
|  			 <img src="http://192.168.0.105:8011/portal/index/theme1/bg7.jpg" id="login-bg"> | ||||
| 		</div> | ||||
| </body> | ||||
| </html> | ||||
| @ -0,0 +1,235 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <aws-actions> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_home_page"> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_template_design_page"> | ||||
| 		<param name="id" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_template_design_content_page"> | ||||
| 		<param name="id" /> | ||||
| 	</cmd-bean>		 | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_template_preview_page"> | ||||
| 		<param name="id" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_home"> | ||||
| 		<param name="id" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_test_page"> | ||||
| 		<param name="param1" /> | ||||
| 		<param name="param2" /> | ||||
| 		<param name="param3" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_get_template_category"> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_get_template_by_category"> | ||||
| 		<param name="categoryName" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_search_template"> | ||||
| 		<param name="searchValue" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_get_template_info"> | ||||
| 		<param name="id" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_update_categoryname"> | ||||
| 		<param name="categoryName" /> | ||||
| 		<param name="newCategoryName" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_create_and_import_template"> | ||||
| 		<param name="id" /> | ||||
| 		<param name="categoryName" /> | ||||
| 		<param name="name" /> | ||||
| 		<param name="desc" /> | ||||
| 		<param name="colorStyle" /> | ||||
| 		<param name="backgroundFlag" /> | ||||
| 		<param name="background" /> | ||||
| 		<param name="loadingIcon" /> | ||||
| 		<param name="paddingTop" /> | ||||
| 		<param name="paddingBottom" /> | ||||
| 		<param name="paddingLeft" /> | ||||
| 		<param name="paddingRight" /> | ||||
| 		<param name="marginTop" /> | ||||
| 		<param name="marginBottom" /> | ||||
| 		<param name="marginLeft" /> | ||||
| 		<param name="marginRight" /> | ||||
| 		<param name="templateJs" /> | ||||
| 		<param name="borderRadius" /> | ||||
| 		<param name="boxShadow" /> | ||||
| 		<param name="transparent" /> | ||||
| 		<param name="sort" /> | ||||
| 		<param name="contentWindow" /> | ||||
|         <param name="isDistWithApp"/> | ||||
|         <param name="relationApp"/> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_update_template"> | ||||
| 		<param name="id" /> | ||||
| 		<param name="categoryName" /> | ||||
| 		<param name="name" /> | ||||
| 		<param name="desc" /> | ||||
| 		<param name="colorStyle" /> | ||||
| 		<param name="backgroundFlag" /> | ||||
| 		<param name="background" /> | ||||
| 		<param name="loadingIcon" /> | ||||
| 		<param name="paddingTop" /> | ||||
| 		<param name="paddingBottom" /> | ||||
| 		<param name="paddingLeft" /> | ||||
| 		<param name="paddingRight" /> | ||||
| 		<param name="marginTop" /> | ||||
| 		<param name="marginBottom" /> | ||||
| 		<param name="marginLeft" /> | ||||
| 		<param name="marginRight" /> | ||||
| 		<param name="templateJs" /> | ||||
| 		<param name="borderRadius" /> | ||||
| 		<param name="boxShadow" /> | ||||
| 		<param name="transparent" /> | ||||
| 		<param name="sort" /> | ||||
|         <param name="isDistWithApp"/> | ||||
|         <param name="relationApp"/> | ||||
| 		<param name="contentWindow" /> | ||||
| 
 | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_delete_template"> | ||||
| 		<param name="id" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_get_template_aclist"> | ||||
| 		<param name="id" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_save_cw"> | ||||
| 		<param name="id" /> | ||||
| 		<param name="templateId" /> | ||||
| 		<param name="subListConfig" /> | ||||
| 		<param name="cwName" /> | ||||
| 		<param name="cwUrl" /> | ||||
| 		<param name="cwUrlAppId" /> | ||||
| 		<param name="cwUrlId" /> | ||||
| 		<param name="cwStyle" /> | ||||
| 		<param name="cwScroll" /> | ||||
| 		<param name="paddingTop" /> | ||||
| 		<param name="paddingBottom" /> | ||||
| 		<param name="paddingLeft" /> | ||||
| 		<param name="paddingRight" /> | ||||
| 		<param name="fontFamily" /> | ||||
| 		<param name="fontSize" /> | ||||
| 		<param name="isBold" /> | ||||
| 		<param name="isItalic" /> | ||||
| 		<param name="isActive" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_update_cw"> | ||||
| 		<param name="id" /> | ||||
| 		<param name="templateId" /> | ||||
| 		<param name="subListConfig" /> | ||||
| 		<param name="cwName" /> | ||||
| 		<param name="cwUrl" /> | ||||
| 		<param name="cwUrlAppId" /> | ||||
| 		<param name="cwUrlId" /> | ||||
| 		<param name="cwStyle" /> | ||||
| 		<param name="cwScroll" /> | ||||
| 		<param name="paddingTop" /> | ||||
| 		<param name="paddingBottom" /> | ||||
| 		<param name="paddingLeft" /> | ||||
| 		<param name="paddingRight" /> | ||||
| 		<param name="fontFamily" /> | ||||
| 		<param name="fontSize" /> | ||||
| 		<param name="isBold" /> | ||||
| 		<param name="isItalic" /> | ||||
| 		<param name="isActive" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_delete_cw"> | ||||
| 		<param name="id" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_get_parent_cw"> | ||||
| 		<param name="templateId" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_get_cw_by_id"> | ||||
| 		<param name="id" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_save_cw_sort"> | ||||
| 		<param name="cwIdStr" /> | ||||
| 		<param name="templateId" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_update_cw_size"> | ||||
| 		<param name="id" /> | ||||
| 		<param name="templateId" /> | ||||
| 		<param name="width" /> | ||||
| 		<param name="height" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_load_register_apps"> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_get_register_app"> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_loading_page"> | ||||
| 		<param name="templateId" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_get_res_category"> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_get_res_by_category"> | ||||
| 		<param name="categoryName" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_search_res"> | ||||
| 		<param name="searchValue" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_get_res_info"> | ||||
| 		<param name="id" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_create_and_import_res"> | ||||
| 		<param name="id" /> | ||||
| 		<param name="categoryName" /> | ||||
| 		<param name="name" /> | ||||
| 		<param name="desc" /> | ||||
| 		<param name="sort" /> | ||||
| 		<param name="size" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_update_res"> | ||||
| 		<param name="id" /> | ||||
| 		<param name="categoryName" /> | ||||
| 		<param name="name" /> | ||||
| 		<param name="desc" /> | ||||
| 		<param name="sort" /> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_delete_res"> | ||||
| 		<param name="id" /> | ||||
| 	</cmd-bean> | ||||
|     <cmd-bean name="com.actionsoft.apps.addons.xpages_dw"> | ||||
|         <param name="option" /> | ||||
|     </cmd-bean> | ||||
| 
 | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_linkquickly_get_groupkey"></cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_linkquickly_get_groupId"> | ||||
| 		<param name="groupKey"/> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_link_quickly"> | ||||
| 		<param name="groupKey"/> | ||||
| 		<param name="viewType"/> | ||||
| 		<param name="isAllowAdd"/> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_linkgroup_aclist"> | ||||
| 		<param name="resourceId"/> | ||||
| 		<param name="resourceType"/> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_linkquickly_saveconfig"> | ||||
| 		<param name="groupKey"/> | ||||
| 		<param name="viewType"/> | ||||
| 		<param name="isAllowAdd"/> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_linkquickly_addfunc"> | ||||
| 		<param name="linkId"/> | ||||
| 		<param name="groupKey"/> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_linkquickly_savefunc"> | ||||
| 		<param name="linkId"/> | ||||
| 		<param name="navId"/> | ||||
| 		<param name="groupKey"/> | ||||
| 		<param name="linkName"/> | ||||
| 		<param name="linkUrl"/> | ||||
| 		<param name="linkTarget"/> | ||||
| 		<param name="linkType"/> | ||||
| 		<param name="linkIconUrl"/> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_linkquickly_deletefunc"> | ||||
| 		<param name="linkId"/> | ||||
| 		<param name="groupKey"/> | ||||
| 	</cmd-bean> | ||||
| 	<cmd-bean name="com.actionsoft.apps.addons.xpages_linkquickly_sort_save"> | ||||
| 		<param name="itemArr"/> | ||||
| 		<param name="groupKey"/> | ||||
| 	</cmd-bean> | ||||
| </aws-actions> | ||||
							
								
								
									
										1312
									
								
								com.actionsoft.apps.addons.xpages/web/com.actionsoft.apps.addons.xpages/css/jquery-ui.css
									
									
									
									
										vendored
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,873 @@ | ||||
| .xpages_layout{position:absolute;left:0;right:0;top:0;bottom:0;height:100%;} | ||||
| .xpages_layout_left{width:180px} | ||||
| .xpages_layout_right{background:#ffffff} | ||||
| .xpages-awsui-tab-content{background:#ffffff} | ||||
| .awsui-layout-left-title{border:none} | ||||
| .xpages_layout_separater{border:none;border-left:1px solid #e6e6e6} | ||||
|   | ||||
| .head_btn_cls{height:90px;line-height:90px;vertical-align:middle;text-align:center;border:none} | ||||
| .create-template-btn{ | ||||
| 	background: #407EE1; | ||||
|     display: inline-block; | ||||
|     border: none; | ||||
|     color: #fff; | ||||
|     width: 105px; | ||||
|     height: 30px; | ||||
|     line-height: 30px; | ||||
|     font-size: 13px; | ||||
|     cursor: pointer; | ||||
|     border-radius: 2px; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| .window-mask-fordesign{ | ||||
| 	background: #fff; | ||||
| 	position: fixed; | ||||
| 	width: 1000px; | ||||
| 	top: 0px; | ||||
| 	left: 0px; | ||||
| 	opacity: 0.6; | ||||
| 	filter: alpha(opacity=60); | ||||
| 	z-index: 150; | ||||
| 	display:none; | ||||
| } | ||||
| .window-mask-fortool { | ||||
| 	background: #fff; | ||||
| 	position: fixed; | ||||
| 	width: 1000px; | ||||
| 	top: 0px; | ||||
| 	left: 0px; | ||||
| 	opacity: 0.6; | ||||
| 	filter: alpha(opacity=60); | ||||
| 	z-index: 150; | ||||
| 	display:none; | ||||
| } | ||||
| .xpages-navigate-group-header{width:155px;height:28px;line-height:28px;position:relative;overflow:hidden;padding-left:20px;margin:3px 0;border-left:4px solid #fff;cursor:pointer;} | ||||
| .xpages-navigate-group-header:hover{border-left:4px solid #0080ff;color:#0080ff} | ||||
| .xpages-navigate-group-header.active{border-left:4px solid #0080ff;color:#0080ff} | ||||
| .xpages-navigate-group-header>.label{display:inline-block;width:115px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin:0 0 0 6px;cursor:pointer} | ||||
| 
 | ||||
| .xpages-right-top{ | ||||
| 	position: fixed; | ||||
|     z-index: 10; | ||||
|     right: 0; | ||||
|     left: 182px; | ||||
|     height: 70px; | ||||
|     padding-right: 10px; | ||||
|     padding-left: 10px; | ||||
|     background:#ffffff; | ||||
| 	border:none; | ||||
| } | ||||
| .xpages-right-main{ | ||||
| 	position: absolute; | ||||
|     z-index: 10; | ||||
|     right: 0; | ||||
|     top:100px; | ||||
|     left: 0px; | ||||
|     background:#ffffff; | ||||
| 	border:none; | ||||
| } | ||||
| 
 | ||||
| .switch-xpages-tr-panel { | ||||
| 	height: 70px; | ||||
| 	line-height: 35px; | ||||
| 	width: 100%; | ||||
| 	margin-right: 10px; | ||||
| 	margin-top: 3px; | ||||
| 	color:#ffffff; | ||||
| 	text-align:left; | ||||
| 
 | ||||
| } | ||||
| .switch-xpages-tr-panel-item.current{ | ||||
| 	color:#008bf5; | ||||
| 	border-bottom:3px solid #008bf5; | ||||
| } | ||||
| .switch-xpages-tr-panel-item { | ||||
| 	text-align:center; | ||||
| 	height: 55px; | ||||
| 	line-height: 75px; | ||||
| 	width: 70px; | ||||
| 	display: inline-block; | ||||
| 	cursor: pointer; | ||||
| 	color:#888888; | ||||
| 	font-size:14px; | ||||
| } | ||||
| 
 | ||||
| /** | ||||
|  * 	对齐方式 | ||||
|  */ | ||||
| .leftalign{ | ||||
| 	text-align: left; | ||||
| } | ||||
| .rightalign{ | ||||
| 	text-align: right; | ||||
| } | ||||
| .middlealign{ | ||||
| 	text-align: center; | ||||
| } | ||||
| 
 | ||||
| .floatleft{ | ||||
| 	float:left; | ||||
| } | ||||
| 
 | ||||
| .fw50{width:55px;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .fw60{margin-left:10px;width:50px;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .fw30{width:30px;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis;position:absolute;top:0;left:0} | ||||
| .fw260{width:260px;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis;position:absolute;top:0;left:70px} | ||||
| .fw100{width:100px;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .fw150{width:150px;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .fw225{width:225px;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .autow{position:absolute;top:0;left:325px;right:150px;width:auto;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .autowheader{position:absolute;top:-2px;left:50px;right:150px;width:600px} | ||||
| .w5{width:4.5%;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .w10{width:10%;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .w15{width:15%;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .w20{width:20%;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .w25{width:25%;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .w30{width:30%;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .w40{width:40%;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .w45{width:45%;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .w50{width:50%;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .w60{width:60%;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .w70{width:70%;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .w80{width:80%;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .w90{width:90%;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .w95{width:95%;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| .w100{width:100%;white-space:nowrap;word-break:keep-all;overflow:hidden;text-overflow:ellipsis} | ||||
| 
 | ||||
| 
 | ||||
| .tempate-search-panel{float:right;padding-right:25px;} | ||||
| .tempate-search-panel input{width: 270px;height: 30px;line-height: 30px;padding-top: 1px;margin-top: 0px;padding-right: 26px;outline: none;padding-left: 10px;border:1px solid #e6e6e6;} | ||||
| .tempate-search-panel .awsui-buttonedit-search{margin-top:5px;} | ||||
|    | ||||
| 
 | ||||
| .templatemsg-list-header{border-bottom:1px solid #e6e6e6;overflow:hidden;width:100%;height:40px;line-height:40px;text-align:center;} | ||||
| .templatemsg-list-header li{height:40px;display:inline-block;background:#f8f8f8;font-weight:700;cursor:default} | ||||
| .templatemsg-list{display:block;overflow:auto;position:relative} | ||||
| .templatemsg-list-row{border-bottom:1px solid #e6e6e6;overflow:hidden;width:100%;height:40px;line-height:40px;text-align:center} | ||||
| .templatemsg-list-row li{height:40px;display:inline-block;cursor:default} | ||||
| .templatemsg-list-row:hover{background:#e0eeff} | ||||
| .config-add-btn { | ||||
|     cursor: pointer; | ||||
|     color: #005CFF; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| 	.form-label-txt { | ||||
| 		outline:0; | ||||
| 		font-size:12px; | ||||
| 		padding:3px 8px; | ||||
| 		height:20px; | ||||
| 		line-height:20px; | ||||
| 		width:180px; | ||||
| 		border:1px solid #bbb; | ||||
| 	} | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| .template-toolbar-nav{ | ||||
|     width: 100%; | ||||
|     background: #fff; | ||||
|     border-bottom:1px solid #e6e6e6; | ||||
| } | ||||
| 
 | ||||
| .template-design-panel { | ||||
| 	/* | ||||
| 	margin: 0; | ||||
| 	display:inline-block; | ||||
| 	overflow-y:auto; | ||||
| 	background:#f8f8f8; | ||||
| 	*/ | ||||
| } | ||||
| .btnleftalign{ | ||||
| 	float:left; | ||||
| } | ||||
| 
 | ||||
| .design-template-link-icon { | ||||
| 	font-size:18px; | ||||
| 	display: inline-block; | ||||
| 	margin: 0px 5px 0px 5px; | ||||
| 	cursor: pointer; | ||||
| } | ||||
| 
 | ||||
| .design-template-title-text{ | ||||
| 	font-size:17px; | ||||
| 	font-weight: bold; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| .ac-panel{width:100%;overflow-y:auto;overflow-x:hidden;padding-top:10px;} | ||||
| .ac-panel-owner{width:100%;height:185px;overflow-y:auto;overflow-x:hidden} | ||||
| .acdata-list-header{cursor:pointer;border:1px solid #e6e6e6;overflow:hidden;width:100%;height:30px;line-height:30px;text-align:center} | ||||
| .acdata-list-header li{height:30px;display:inline-block;background:#F7F7F7;font-weight:700;cursor:default} | ||||
| .acdata-list{display:block;overflow:auto;position:relative} | ||||
| .acdata-list-row{border-bottom:1px solid #e6e6e6;overflow:hidden;width:100%;height:30px;line-height:30px;text-align:center} | ||||
| .acdata-list-row:hover{background:#e0eeff} | ||||
| .acdata-list-row li{cursor:pointer;height:30px;display:inline-block;cursor:default} | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| .resource-search-panel{float:right;padding-right:25px;} | ||||
| .resource-search-panel input{width: 250px;height: 30px;line-height: 30px;padding-top: 1px;margin-top: 0px;padding-right: 26px;outline: none;padding-left: 10px;} | ||||
| .resource-search-panel .awsui-buttonedit-search{margin-top:5px;} | ||||
| 
 | ||||
| 
 | ||||
| .resource-bottom-wrap{ | ||||
| 	margin-top: 10px; | ||||
|     display: inline-block; | ||||
|     width: 100%; | ||||
| } | ||||
| .resource-manage-panel{ | ||||
| 	padding-top:10px; | ||||
| 	width:300px; | ||||
| 	display:inline-block; | ||||
| 	float:left; | ||||
| } | ||||
| .resource-itemdetail-panel{ | ||||
| 	display:inline-block; | ||||
| 	float:right; | ||||
| 	width:320px; | ||||
| 	height:100%; | ||||
| 	background: #f1f1f1; | ||||
| } | ||||
| .each-resource-item{ | ||||
| 	width: 120px; | ||||
|     height: 127px; | ||||
|     float: left; | ||||
|     margin: 10px 0 0 15px; | ||||
|     text-align: center; | ||||
|     border: 1px solid #b9b9b9; | ||||
|     position: relative; | ||||
| } | ||||
| 
 | ||||
| .each-resource-item-top{ | ||||
|     position: relative; | ||||
|     margin: 9px auto 0; | ||||
|     width: 84px; | ||||
|     height: 84px; | ||||
|     background-repeat: no-repeat; | ||||
|     overflow: hidden; | ||||
| } | ||||
| 
 | ||||
| .each-resource-item .filename{ | ||||
| 	display: block; | ||||
|     white-space: nowrap; | ||||
|     text-overflow: ellipsis; | ||||
|     overflow: hidden; | ||||
|     margin: 6px 5px 5px; | ||||
| } | ||||
| 
 | ||||
| .design-template-add-cw-icon{ | ||||
| 	cursor:pointer; | ||||
| 	margin-top:-3px; | ||||
| 	font-size:14px; | ||||
| 	margin-right:5px; | ||||
| } | ||||
| 
 | ||||
| .showcwidcls{ | ||||
| 	border:none; | ||||
|     padding:0px !important; | ||||
|     cursor:default; | ||||
|     font-size:12px; | ||||
|     color:#888888; | ||||
|     margin-top:5px; | ||||
| } | ||||
| 
 | ||||
| .each-cw-item { | ||||
|     background: #ffffff; | ||||
|     width: 33%; | ||||
|     height: 300px; | ||||
|     float: left; | ||||
|     margin: 5px; | ||||
|     position: relative; | ||||
|     overflow:hidden; | ||||
|     cursor:crosshair; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| .cw-toolbar-op{ | ||||
| 	position: absolute; | ||||
|     top: 0px; | ||||
|     right: 0px; | ||||
|     float: right; | ||||
|     width: 80px; | ||||
|     height: 20px; | ||||
|     padding-right: 0px; | ||||
|     cursor: pointer; | ||||
|     text-align:right; | ||||
|     z-index:1; | ||||
|     display:none; | ||||
| } | ||||
| 
 | ||||
| .cw-toolbar-bottomop{ | ||||
| 	position: absolute; | ||||
|     bottom: 10px; | ||||
|     right: 0px; | ||||
|     float: right; | ||||
|     width: 160px; | ||||
|     height: 30px; | ||||
|     padding-right: 0px; | ||||
|     cursor: pointer; | ||||
|     text-align:right; | ||||
|     z-index:1; | ||||
|     display:none; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| 
 | ||||
| .cw-toobar-icon{ | ||||
| 	display:inline-block; | ||||
| 	width: 30px; | ||||
|     height: 30px; | ||||
|     margin:5px 5px 0px 0px; | ||||
| } | ||||
| .add-cw-tab-btn{ | ||||
| 	display:inline-block; | ||||
| 	float:right; | ||||
| 	height:25px; | ||||
| 	line-height:25px; | ||||
| 	cursor:pointer; | ||||
| 	margin:0px 10px 0px 0px; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| /** | ||||
|  * 	简易选项卡 easy tab begin | ||||
|  */ | ||||
| .easy-outer-nav-link { | ||||
| 	width: 100%; | ||||
|     margin: 0 auto; | ||||
|     position: relative; | ||||
| } | ||||
| .easy-tab-nav-link { | ||||
| 	display:inline-block; | ||||
| 	overflow:hidden; | ||||
| 	zoom:1; | ||||
| 	padding-left:10px; | ||||
| 	width:500px; | ||||
| } | ||||
| .easy-tab-nav-link li { | ||||
| 	float:left; | ||||
| 	color:#ADADAD; | ||||
| 	font-size:15px; | ||||
| 	height:35px; | ||||
| 	line-height:35px; | ||||
| 	width:auto; | ||||
| 	cursor:pointer; | ||||
| 	text-align:center; | ||||
| 	list-style-type:none; | ||||
| 	padding:0 8px; | ||||
| } | ||||
| .easy-tab-nav-link li:first-child{ | ||||
| 	border:none; | ||||
| 	border-left:none; | ||||
| } | ||||
|   | ||||
| .easy-tab-nav-link li.current{ | ||||
| 	color:#008bf5; | ||||
| 	border-bottom:2px solid #008bf5; | ||||
| 	padding-left:15px; | ||||
| 	height:33px; | ||||
| } | ||||
| .easy-content-nav-link { | ||||
| 	border-top-width:0; | ||||
| } | ||||
| .easy-content-nav-link  div.nav-config-panel { | ||||
| 	display:none; | ||||
| 	margin:10px 0px 0px 10px; | ||||
| 	min-height:200px; | ||||
| } | ||||
| /* | ||||
|  * easy tab end | ||||
|  */ | ||||
| 
 | ||||
| .tabremovecls{ | ||||
| 	vertical-align: top; | ||||
|     height: 30px; | ||||
|     line-height: 20px; | ||||
|     width: 15px; | ||||
|     color: #000000; | ||||
|     text-align: center; | ||||
|     display: inline-block; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| /** | ||||
|  * 	简易选项卡 easy tab begin | ||||
|  */ | ||||
| .easy-outer-nav-cw { | ||||
| 	width: 100%; | ||||
|     margin: 0 auto; | ||||
|     position: relative; | ||||
| } | ||||
| .easy-tab-nav-cw { | ||||
| 	display:inline-block; | ||||
| 	overflow:hidden; | ||||
| 	zoom:1; | ||||
| 	width:100%; | ||||
| 	border-bottom:1px solid #e6e6e6; | ||||
| 	height:34px; | ||||
| } | ||||
| .easy-tab-nav-cw li { | ||||
| 	float:left; | ||||
| 	color:#ADADAD; | ||||
| 	height:34px; | ||||
| 	line-height:35px; | ||||
| 	width:auto; | ||||
| 	cursor:pointer; | ||||
| 	text-align:center; | ||||
| 	list-style-type:none; | ||||
| 	padding:0 10px; | ||||
| 	margin:0 10px; | ||||
| } | ||||
| .easy-tab-nav-cw li:first-child{ | ||||
| 	border:none; | ||||
| 	border-left:none; | ||||
| } | ||||
|   | ||||
| .easy-tab-nav-cw li.current{ | ||||
| 	color:#008bf5; | ||||
| 	border-bottom:2px solid #008bf5; | ||||
| 	height:32px; | ||||
| } | ||||
| .easy-content-nav-cw { | ||||
| 	border-top-width:0; | ||||
| } | ||||
| .easy-content-nav-cw  div.nav-config-panel { | ||||
| 	display:none; | ||||
| 	margin:0px 0px 0px 0px; | ||||
| 	min-height:200px; | ||||
| } | ||||
| /* | ||||
|  * easy tab end | ||||
|  */ | ||||
| 
 | ||||
| 
 | ||||
| .template-link-txt { | ||||
|     outline: 0; | ||||
|     font-size: 12px; | ||||
|     padding: 3px 8px; | ||||
|     height: 25px; | ||||
|     line-height: 25px; | ||||
|     width: 650px; | ||||
|     border: 1px solid #bbb; | ||||
|     background: #fff; | ||||
|     box-shadow: 1px 1px 2px rgba(0,0,0,.1) inset; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| .easy-outer-nav-cwwrap{ | ||||
| 	height:100%; | ||||
| 	width:100%; | ||||
| 	/* | ||||
| 	border:1px solid #e6e6e6; | ||||
| 	background:#ffffff; | ||||
| 	*/ | ||||
| } | ||||
| 
 | ||||
| .cwopmsg-list-header{border:1px solid #e6e6e6;overflow:hidden;width:100%;height:30px;line-height:30px;text-align:center} | ||||
| .cwopmsg-list-header li{height:30px;display:inline-block;background:#F7F7F7;font-weight:700;cursor:default} | ||||
| .cwopmsg-list{display:block;overflow:auto;position:relative} | ||||
| .cwopmsg-list-row{border-bottom:1px solid #e6e6e6;overflow:hidden;width:100%;height:30px;line-height:30px;text-align:center} | ||||
| .cwopmsg-list-row li{height:30px;display:inline-block;cursor:default} | ||||
| .cwopmsg-list-row:hover{background:#e0eeff} | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| /** | ||||
|  * 	展示界面 | ||||
|  */ | ||||
| 
 | ||||
| .each-cwshow-item { | ||||
| 	background:#ffffff; | ||||
| 	border:1px solid #e6e6e6; | ||||
| 	width: 32%; | ||||
| 	height: 300px; | ||||
| 	float: left; | ||||
| 	margin: 5px; | ||||
| 	position: relative; | ||||
| 	border-radius: 3px 3px; | ||||
| 	overflow:hidden; | ||||
| 	 | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| .easy-outer-nav-cwshowwrap{ | ||||
| 	height:100%; | ||||
| 	width:100%; | ||||
| } | ||||
| 
 | ||||
| /** | ||||
|  * 	简易选项卡 easy tab begin | ||||
|  */ | ||||
| .easy-outer-nav-cwshow { | ||||
| 	width: 100%; | ||||
|     margin: 0 auto; | ||||
|     position: relative; | ||||
| } | ||||
| .easy-tab-nav-cwshow { | ||||
| 	display:inline-block; | ||||
| 	overflow:hidden; | ||||
| 	zoom:1; | ||||
| 	width:100%; | ||||
| } | ||||
| .easy-tab-nav-cwshow li { | ||||
| 	float:left; | ||||
| 	color:#ADADAD; | ||||
| 	font-size:16px; | ||||
| 	height:25px; | ||||
| 	line-height:25px; | ||||
| 	width:auto; | ||||
| 	cursor:pointer; | ||||
| 	text-align:center; | ||||
| 	list-style-type:none; | ||||
| 	padding:0 10px; | ||||
| } | ||||
| .easy-tab-nav-cwshow li:first-child{ | ||||
| 	border:none; | ||||
| 	border-left:none; | ||||
| } | ||||
|   | ||||
| .easy-tab-nav-cwshow li.current{ | ||||
| 	color:#008bf5; | ||||
| 	border-bottom:2px solid #008bf5; | ||||
| } | ||||
| .easy-content-nav-cwshow { | ||||
| 	border-top-width:0; | ||||
| } | ||||
| .easy-content-nav-cwshow  div.nav-config-panel { | ||||
| 	display:none; | ||||
| 	margin:10px 0px 0px 10px; | ||||
| 	min-height:200px; | ||||
| } | ||||
| /* | ||||
|  * easy tab end | ||||
|  */ | ||||
| 
 | ||||
| .eachcw-op{float:right;margin:0px 3px;} | ||||
| .content-wrap{display:inline-block;height:25px;line-height:25px;width:100%;height:100%;} | ||||
| /** | ||||
|  * 	单tab | ||||
|  */ | ||||
| .cwshow-title-bar{ | ||||
| 	display:inline-block; | ||||
| 	width:auto; | ||||
| 	float:left; | ||||
| 	height:30px; | ||||
| 	line-height:30px; | ||||
| } | ||||
| .tab-tit-01{ | ||||
| 	display:inline-block; | ||||
| 	width:auto; | ||||
| 	float:right; | ||||
| } | ||||
| 
 | ||||
| .cwUrl { | ||||
| 	width: 555px; | ||||
| 	height: 50px; | ||||
| 	resize: none; | ||||
| 	outline:none; | ||||
| } | ||||
| 
 | ||||
| .select-cwurl-btn{ | ||||
| 	display:inline-block; | ||||
| 	margin-top:-20px; | ||||
| 	background-color:#ffffff !important; | ||||
| 	color:#407EE1 !important; | ||||
| 	border:1px solid #ffffff !important; | ||||
| 	padding:3px 10px !important; | ||||
| 	 | ||||
| } | ||||
| 
 | ||||
| .cwapp-left{ | ||||
| 	display:inline-block; | ||||
| 	width:200px; | ||||
| 	height:400px; | ||||
| 	overflow-x:hidden; | ||||
| 	overflow-y:auto; | ||||
| 	float:left; | ||||
| 	border-right:1px solid #e6e6e6; | ||||
| 	position: absolute; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| .cwapp-right-wrap{ | ||||
| 	display:inline-block; | ||||
| 	position: absolute; | ||||
| 	left:220px; | ||||
| 	height: 400px; | ||||
| 	width: 500px; | ||||
| 	overflow-y: auto; | ||||
| 	overflow-x: hidden; | ||||
| } | ||||
| 
 | ||||
| .cwapp-left .item{ | ||||
|     display: inline-block; | ||||
|     width: 115px; | ||||
|     height: 32px; | ||||
|     line-height: 30px; | ||||
|     float: left; | ||||
|     border-bottom: 1px solid #e6e6e6; | ||||
|     padding-left: 10px; | ||||
|     cursor:pointer; | ||||
| } | ||||
| .cwapp-left .item:hover{ | ||||
| 	background:#e0eeff; | ||||
| } | ||||
| 
 | ||||
| .cwapp-left .active{ | ||||
| 	background:#e0eeff; | ||||
| } | ||||
| .cwapp-right{ | ||||
| 	display:inline-block; | ||||
| 	width:500px; | ||||
| 	float:left; | ||||
| 	padding:5px 10px; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| .xpagesContent{ | ||||
| 	width:300px; | ||||
| 	padding: 15px 5px; | ||||
|     height: 100px; | ||||
|     border: none; | ||||
|     resize: none; | ||||
|     outline: none; | ||||
| 	display:none; | ||||
| } | ||||
| .single-title-bar{ | ||||
| 	display:inline-block; | ||||
| 	width:100%; | ||||
| 	height:35px; | ||||
| 	line-height:35px; | ||||
| 	border-bottom:1px solid #e6e6e6; | ||||
| } | ||||
| .single-content-panel{ | ||||
| 	width:100%; | ||||
| 	height:auto; | ||||
| 	/* | ||||
| 	line-height:100px; | ||||
| 	*/ | ||||
| } | ||||
| /* | ||||
| .apps-no-record{ | ||||
| 	color: #aaa; | ||||
|     text-align: center; | ||||
|     font-size: 15px; | ||||
|     width:150px; | ||||
|     line-height: 390px; | ||||
|     background: url(../img/xpages-no-config.png); | ||||
|     background-repeat: no-repeat; | ||||
|     background-position: center; | ||||
|     -moz-user-select: none; | ||||
|     -webkit-user-select: none; | ||||
|     -ms-user-select: none; | ||||
|     -khtml-user-select: none; | ||||
|     margin: -20px auto 0 auto; | ||||
|     background-size: 70%; | ||||
| } | ||||
| */ | ||||
| .apps-no-record{ | ||||
| 	color: #aaa; | ||||
|     text-align: center; | ||||
|     font-size: 15px; | ||||
|     width:150px; | ||||
|     line-height: 320px; | ||||
|     background: url(../img/xpages-no-config.png); | ||||
|     background-repeat: no-repeat; | ||||
|     background-position: center; | ||||
|     -moz-user-select: none; | ||||
|     -webkit-user-select: none; | ||||
|     -ms-user-select: none; | ||||
|     -khtml-user-select: none; | ||||
|     margin: 0px auto 0 auto; | ||||
|     background-size: 70%; | ||||
| } | ||||
| .apps-no-record-txt{ | ||||
| 	color: #aaa; | ||||
|     text-align: center; | ||||
|     font-size: 15px; | ||||
|     padding-top:10px; | ||||
|     line-height:25px; | ||||
| } | ||||
| .apps-no-record-img{ | ||||
|     text-align: center; | ||||
|     margin: 0px auto 0 auto; | ||||
|     padding-top:70px; | ||||
| } | ||||
| 
 | ||||
| .operationArea-panel{ | ||||
| 	width:680px; | ||||
| 	margin-bottom:10px; | ||||
| } | ||||
| 
 | ||||
| .addcwopbtn{ | ||||
| 	display:inline-block; | ||||
| 	float:left; | ||||
| 	height:40px; | ||||
| 	line-height:40px; | ||||
| } | ||||
| .op-desc{ | ||||
| 	display:inline-block; | ||||
| 	float:right; | ||||
| 	height:40px; | ||||
| 	line-height:40px; | ||||
| } | ||||
| .return-list{ | ||||
| 	border:none; | ||||
| 	background: #FFFFFF; | ||||
| 	color:#008bf5; | ||||
| } | ||||
| .xpages-cat-edit{ | ||||
| 	display: none; | ||||
|     cursor: pointer; | ||||
|     float:right; | ||||
|     font-size:16px; | ||||
|     margin: 2px 15px 3px 0px; | ||||
|     color:#888; | ||||
| } | ||||
| 
 | ||||
| .cwurl-nocontent{ | ||||
| 	width: 585px; | ||||
| 	border: 1px dashed #b1b1b1; | ||||
|     height: 80px; | ||||
| } | ||||
| .cwurl-nocontent-type1{ | ||||
| 	display:inline-block; | ||||
| 	width: 250px; | ||||
| 	text-align: center; | ||||
|     color:#888888; | ||||
| 	height: 75px; | ||||
| 	line-height: 75px; | ||||
| 	font-size: 20px; | ||||
| 	cursor:pointer; | ||||
| } | ||||
| .cwurl-nocontent-type2{ | ||||
| 	display:inline-block; | ||||
| 	 width: 250px; | ||||
| 	text-align: center; | ||||
| 	 color:#888888; | ||||
| 	 height: 75px; | ||||
| 	 line-height: 75px; | ||||
| 	font-size: 20px; | ||||
| 	cursor:pointer; | ||||
|  } | ||||
| .cwurl-nocontent-sep{ | ||||
| 	display:inline-block; | ||||
| 	width: 40px; | ||||
| 	color:#888888; | ||||
| 	height: 75px; | ||||
| 	line-height: 75px; | ||||
| 	font-size: 30px; | ||||
| } | ||||
| .return-novalue-icon{ | ||||
| 	position:absolute; | ||||
| 	right:3px; | ||||
| 	top:3px; | ||||
| 	font-size:13px; | ||||
| 	cursor:pointer; | ||||
| } | ||||
| .show-cwurl-btn{ | ||||
| 	position: absolute; | ||||
| 	right: 23px; | ||||
| 	top: 3px; | ||||
| 	font-size: 14px; | ||||
| 	cursor: pointer; | ||||
| } | ||||
| 
 | ||||
| .show-cwurlapp-btn{ | ||||
| 	position: absolute; | ||||
| 	right: 23px; | ||||
| 	top: 3px; | ||||
| 	font-size: 13px; | ||||
| 	cursor: pointer; | ||||
| } | ||||
| 
 | ||||
| .reselect-cwurl-btn{ | ||||
| 	position: absolute; | ||||
| 	right: 42px; | ||||
| 	top: 1px; | ||||
| 	font-size: 12px; | ||||
| 	cursor: pointer; | ||||
| } | ||||
| .select-icon{ | ||||
|     width:36px; | ||||
|     height:36px; | ||||
| } | ||||
| 
 | ||||
| .select-text{ | ||||
|     display:inline-block; | ||||
|     width:300px; | ||||
|     height:36px; | ||||
|     line-height:36px; | ||||
| 	cursor: pointer; | ||||
| 	font-size: 16px; | ||||
| 	padding-left: 10px | ||||
| } | ||||
| 
 | ||||
| .select-show-cls{ | ||||
|     width: 555px; | ||||
|     height: 50px; | ||||
|     margin:16px 10px 0px 10px; | ||||
|  } | ||||
| 
 | ||||
| .select-iconfont { | ||||
| 	font-size: 34px; | ||||
| 	vertical-align: middle; | ||||
| } | ||||
| .cwurl-no-record-txt{ | ||||
| 	height: 40px; | ||||
| 	line-height: 40px; | ||||
| 	font-size: 16px; | ||||
| } | ||||
| 
 | ||||
| .cwurldlg-dev-btn{ | ||||
| 	float:left; | ||||
| 	border:none; | ||||
| 	color:#0000ff; | ||||
| } | ||||
| 
 | ||||
| .type1-simple-txt{ | ||||
| 	height: 30px; | ||||
| 	line-height: 30px; | ||||
| 	font-size: 16px; | ||||
| } | ||||
| .xpages-label-text{ | ||||
| 	height:30px; | ||||
| 	line-height:30px; | ||||
| 
 | ||||
| } | ||||
| .xpages-input-text{ | ||||
| 	height:30px; | ||||
| 	line-height:30px; | ||||
| 
 | ||||
| } | ||||
| .xpages-select-text{ | ||||
| 	height:30px; | ||||
| 	line-height:30px; | ||||
| 
 | ||||
| } | ||||
| 
 | ||||
| .cms-site-select{ | ||||
| 	width:95%; | ||||
| 
 | ||||
| } | ||||
| .cms-widget-select{ | ||||
| 	width:95%; | ||||
| } | ||||
| 
 | ||||
| .urladdress-tr-cls{ | ||||
| 	display:none; | ||||
| } | ||||
| 
 | ||||
| .cwshow-content-iframe-wrap{ | ||||
| 	float: left; | ||||
| 	display: inline-block; | ||||
| 	width: 100%; | ||||
| } | ||||
| .cw-design-content-text{ | ||||
| 	margin:10px 0px 0px 10px; | ||||
| 	color:#666; | ||||
| } | ||||
| @ -0,0 +1,119 @@ | ||||
| .apps_group { | ||||
|     padding: 4px 15px 5px 15px; | ||||
|     list-style: none; | ||||
| } | ||||
| .app_item { | ||||
|     display: inline-block; | ||||
|     width: 72px; | ||||
|     height: 80px; | ||||
|     border: solid 1px #ffffff; | ||||
|     text-align: center; | ||||
|     margin: 2px 5px; | ||||
|     cursor: pointer; | ||||
|     position: relative; | ||||
|     float: left; | ||||
|     padding: 0px 5px; | ||||
|     z-index: 8; | ||||
| } | ||||
| /*.app_item:hover { | ||||
|     display: inline-block; | ||||
|     width: 72px; | ||||
|     height: 92px; | ||||
|     border: solid 1px #e6e6e6; | ||||
|     text-align: center; | ||||
|     margin: 5px 5px; | ||||
|     cursor: pointer; | ||||
|     position: relative; | ||||
|     float: left; | ||||
|     padding: 0px 5px; | ||||
| }*/ | ||||
| .app_icon { | ||||
|     line-height: 55px; | ||||
|     margin-bottom: 3px; | ||||
| } | ||||
| .app_icon img{ | ||||
|     width: 45px; | ||||
| } | ||||
| .app_name { | ||||
|     font-size: 12px; | ||||
|     color: rgba(0,0,0,0.7); | ||||
|     overflow: hidden; | ||||
|     height: 35px; | ||||
|     -ms-word-break: break-all; | ||||
|     word-break: break-all; | ||||
|     /*text-decoration: none; | ||||
|     line-height: 25px; | ||||
|     overflow: hidden; | ||||
|     white-space: nowrap; | ||||
|     text-overflow: ellipsis;*/ | ||||
| } | ||||
| 
 | ||||
| .apps-no-record-txt{ | ||||
|     color: #aaa; | ||||
|     text-align: center; | ||||
|     font-size: 15px; | ||||
|     padding-top:10px; | ||||
|     line-height:25px; | ||||
| } | ||||
| .apps-no-record-img{ | ||||
|     text-align: center; | ||||
|     margin: 0px auto 0 auto; | ||||
|    /* padding-top:50px;*/ | ||||
| } | ||||
| .setting { | ||||
|     display: inline-block; | ||||
|     width: 30px; | ||||
|     height: 50px; | ||||
|     text-align: center; | ||||
|     margin: 30px 15px; | ||||
|     cursor: pointer; | ||||
|     position: relative; | ||||
| } | ||||
| .settingicon { | ||||
|     line-height: 42px; | ||||
| } | ||||
| 
 | ||||
| .link-list{ | ||||
|     margin-top: -10px; | ||||
| } | ||||
| .link-dl{ | ||||
| 
 | ||||
| } | ||||
| .link-item{ | ||||
|     margin-left: 10px; | ||||
|     background: url(../img/list_icon_27.png) left 50% no-repeat; | ||||
|     padding-left: 12px; | ||||
|     height: 30px; | ||||
|     line-height: 30px; | ||||
|     cursor: pointer; | ||||
|     overflow: hidden; | ||||
|     white-space: nowrap; | ||||
|     word-break: keep-all; | ||||
|     text-overflow: ellipsis; | ||||
| } | ||||
| .link-item a:hover{ | ||||
|     color: #333333; | ||||
| } | ||||
| .link-span{ | ||||
| 
 | ||||
| } | ||||
| .link-add-span{ | ||||
|     width: 35px; | ||||
|     height: 30px; | ||||
|     text-align: center; | ||||
|    /* background: #e8e8e8;*/ | ||||
|     vertical-align: middle; | ||||
|     line-height: 30px; | ||||
|     cursor:pointer; | ||||
|     bottom: 0px; | ||||
|     right: 10px; | ||||
|     position: fixed; | ||||
|     z-index: 9999; | ||||
| } | ||||
| .temp { | ||||
|     border: 1px dashed gray; | ||||
|     opacity: 0.4; | ||||
| } | ||||
| .orderLinkCard{ | ||||
|     border: 1px dashed gray !important; | ||||
| } | ||||
| @ -0,0 +1,42 @@ | ||||
| .showURLInfo { | ||||
|     color: #1976D2; | ||||
|     cursor: pointer; | ||||
|     font-size: 13px; | ||||
|     margin-left: 2px; | ||||
|     margin-right: 2px; | ||||
|     font-weight: 800; | ||||
| } | ||||
| 
 | ||||
| .app-box-select { | ||||
|     margin-top: 2px; | ||||
|     width: 234px; | ||||
|     height: 40px; | ||||
| } | ||||
| 
 | ||||
| .app-img-select { | ||||
|     float: left; | ||||
| } | ||||
| 
 | ||||
| .app-img-select img { | ||||
|     width: 35px; | ||||
| } | ||||
| 
 | ||||
| .app-info-select { | ||||
|     width: 190px; | ||||
|     height: 38px; | ||||
|     float: right; | ||||
| } | ||||
| 
 | ||||
| .app-name-select { | ||||
|     font-size: 13px; | ||||
|     font-weight: bold; | ||||
|     word-break: normal; | ||||
|     overflow: hidden; | ||||
|     text-overflow: ellipsis; | ||||
| } | ||||
| 
 | ||||
| .app-id-select { | ||||
|     word-break: normal; | ||||
|     overflow: hidden; | ||||
|     text-overflow: ellipsis; | ||||
| } | ||||
| @ -0,0 +1,177 @@ | ||||
| /** | ||||
|  * 	展示界面 | ||||
|  */ | ||||
| .template-preview-panel{ | ||||
| 	background:orange; | ||||
| 	display:block; | ||||
| } | ||||
| .each-cwshow-item { | ||||
| 	background:#ffffff; | ||||
| 	width: 32%; | ||||
| 	height: 300px; | ||||
| 	float: left; | ||||
| 	margin: 5px; | ||||
| 	position: relative; | ||||
| 	background:#ffffff; | ||||
| 	/* | ||||
| 	background:none; | ||||
| 	*/ | ||||
| 	overflow:hidden; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| .easy-outer-nav-cwshowwrap{ | ||||
| 	height:100%; | ||||
| 	width:100%; | ||||
| 	/* | ||||
| 	background:#ffffff; | ||||
| 	*/ | ||||
| } | ||||
| 
 | ||||
| /** | ||||
|  * 	简易选项卡 easy tab begin | ||||
|  */ | ||||
| .easy-outer-nav-cwshow { | ||||
| 	width: 100%; | ||||
| 	height:100%; | ||||
| 	background:#ffffff; | ||||
|     margin: 0 auto; | ||||
|     position: relative; | ||||
| } | ||||
| .easy-tab-nav-cwshow { | ||||
| 	display:inline-block; | ||||
| 	overflow:hidden; | ||||
| 	zoom:1; | ||||
| 	width:100%; | ||||
| } | ||||
| .easy-tab-nav-cwshow li { | ||||
| 	float:left; | ||||
| 	color:#ADADAD; | ||||
| 	height:35px; | ||||
| 	line-height:35px; | ||||
| 	width:auto; | ||||
| 	cursor:pointer; | ||||
| 	text-align:center; | ||||
| 	list-style-type:none; | ||||
| 	padding:0 10px; | ||||
| 	margin: 0px 10px 0px 0px; | ||||
| } | ||||
| .easy-tab-nav-cwshow li:first-child{ | ||||
| 	border:none; | ||||
| 	border-left:none; | ||||
| } | ||||
|   | ||||
| .easy-tab-nav-cwshow li.current{ | ||||
| 	color:#ffffff; | ||||
| 	background:#16909C; | ||||
| } | ||||
| .easy-content-nav-cwshow { | ||||
| 	border-top-width:0; | ||||
| } | ||||
| .easy-content-nav-cwshow  div.nav-config-panel { | ||||
| 	display:none; | ||||
| 	margin:0px 0px 0px 10px; | ||||
| 	min-height:200px; | ||||
| } | ||||
| /* | ||||
|  * easy tab end | ||||
|  */ | ||||
| 
 | ||||
| .eachcw-op{float:right;margin:0px 3px;cursor:pointer;} | ||||
| 
 | ||||
| .content-wrap { | ||||
| 	display: inline-block; | ||||
| 	height: 25px; | ||||
| 	line-height: 25px; | ||||
| 	width: 100%; | ||||
| 	height: 100%; | ||||
| 	background:#ffffff; | ||||
| } | ||||
| 
 | ||||
| .cwshow-content-iframe-wrap{ | ||||
| 	float: left; | ||||
| 	display: inline-block; | ||||
| 	width: 100%; | ||||
| } | ||||
| /** | ||||
|  * 	单tab | ||||
|  */ | ||||
| .cwshow-title-text{ | ||||
| 	display:inline-block; | ||||
| 	float:left; | ||||
| 	width:auto; | ||||
| 	height:35px; | ||||
| 	line-height:35px; | ||||
| 	padding:0px 10px; | ||||
| } | ||||
| .cwshow-title-bar{ | ||||
| 	display:inline-block; | ||||
| 	width:100%; | ||||
| 	overflow:hidden; | ||||
| 	height:35px; | ||||
| 	line-height:35px; | ||||
| 	border-bottom:1px solid #e6e6e6; | ||||
| 	background:#ffffff; | ||||
| 	float:left; | ||||
| } | ||||
| .tab-tit-01{ | ||||
| 	display:inline-block; | ||||
| 	width:auto; | ||||
| 	float:right; | ||||
| 	padding:0 5px; | ||||
| 	height:35px; | ||||
| 	line-height:35px; | ||||
| } | ||||
| .cwshow-bottom-bar{ | ||||
| 	display:inline-block; | ||||
| 	width:100%; | ||||
| 	overflow:hidden; | ||||
| 	height:35px; | ||||
| 	line-height:35px; | ||||
| 	border-top:1px solid #e6e6e6; | ||||
| } | ||||
| 
 | ||||
| .apps-no-record{ | ||||
| 	color: #aaa; | ||||
|     text-align: center; | ||||
|     font-size: 15px; | ||||
|     width:150px; | ||||
|     line-height: 320px; | ||||
|     background: url(../img/xpages-no-config.png); | ||||
|     background-repeat: no-repeat; | ||||
|     background-position: center; | ||||
|     -moz-user-select: none; | ||||
|     -webkit-user-select: none; | ||||
|     -ms-user-select: none; | ||||
|     -khtml-user-select: none; | ||||
|     margin: 0px auto 0 auto; | ||||
|     background-size: 70%; | ||||
| } | ||||
| .apps-no-record-txt{ | ||||
| 	color: #aaa; | ||||
|     text-align: center; | ||||
|     font-size: 15px; | ||||
|     padding-top:10px; | ||||
|     line-height:25px; | ||||
| } | ||||
| .apps-no-record-img{ | ||||
|     text-align: center; | ||||
|     margin: 0px auto 0 auto; | ||||
|     padding-top:70px; | ||||
| } | ||||
| .cwrow{ | ||||
| 	display:inline-block; | ||||
| 	width:100%; | ||||
| 	height:auto; | ||||
| } | ||||
| 
 | ||||
| .bottom-target{ | ||||
| 	background: transparent; | ||||
| 	width: 100%; | ||||
| 	height: 0px; | ||||
| 	float: left; | ||||
| 	margin: 0px; | ||||
| 	position: relative; | ||||
| 	background: #ffffff; | ||||
| 	overflow: hidden; | ||||
| } | ||||
| @ -0,0 +1,89 @@ | ||||
| .skins-show { | ||||
|     width: 170px; | ||||
|     height: 40px; | ||||
|     display: block; | ||||
| } | ||||
| .skins-show span { | ||||
|     display: inline-block; | ||||
|     width: 15px; | ||||
|     height: 15px; | ||||
|     border: 1px solid #fff; | ||||
|     margin-top: 12px; | ||||
|     margin-right: 10px; | ||||
|     cursor: pointer; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| .skins-show .active { | ||||
|    border-color:#000000 !important; | ||||
|    border-width: 2px; | ||||
| } | ||||
| 
 | ||||
| #moren-color,.moren,.blackc { | ||||
|     background-color: #16909C; | ||||
| } | ||||
| #green-color,.greenc{ | ||||
|     background-color: #0DA157; | ||||
| } | ||||
| #orange-color,.orangerc { | ||||
|     background-color: #ef6162; | ||||
| } | ||||
| #zi-color ,.zic{ | ||||
|     background-color: #856ED3; | ||||
| } | ||||
| #hulan-color,.hulan { | ||||
|     background-color: #008ED5; | ||||
| } | ||||
| #yellow-color,.yellow{ | ||||
|     background-color: #EDA100; | ||||
| } | ||||
| 
 | ||||
| .tx-panel {   | ||||
|     float: left; | ||||
|     height: 0px; | ||||
|     width: 0px; | ||||
|     border-bottom: 35px solid #e5c3b2; | ||||
|     border-left: 0px solid transparent; | ||||
|     border-right: 20px solid transparent; | ||||
| }   | ||||
| .tx-panelext {   | ||||
| 	display:none; | ||||
|     float: left; | ||||
|     height: 0px; | ||||
|     width: 0px; | ||||
|     border-bottom: 35px solid #e5c3b2; | ||||
|     border-left: 0px solid transparent; | ||||
|     border-right: 20px solid transparent; | ||||
| }  | ||||
| 
 | ||||
| .blackc_tab .easy-tab-nav-cwshow li.current{ | ||||
| 	color:#ffffff; | ||||
| 	background:#16909C; | ||||
| } | ||||
| 
 | ||||
| .moren_tab .easy-tab-nav-cwshow li.current{ | ||||
| 	color:#ffffff; | ||||
| 	background:#16909C; | ||||
| } | ||||
| 
 | ||||
| .greenc_tab .easy-tab-nav-cwshow li.current{ | ||||
| 	color:#ffffff; | ||||
| 	background:#0DA157; | ||||
| } | ||||
| 
 | ||||
| .orangerc_tab .easy-tab-nav-cwshow li.current{ | ||||
| 	color:#ffffff; | ||||
| 	background:#ef6162; | ||||
| } | ||||
| .zic_tab .easy-tab-nav-cwshow li.current{ | ||||
| 	color:#ffffff; | ||||
| 	background:#856ED3; | ||||
| } | ||||
| .hulan_tab .easy-tab-nav-cwshow li.current{ | ||||
| 	color:#ffffff; | ||||
| 	background:#008ED5; | ||||
| } | ||||
| .yellow_tab .easy-tab-nav-cwshow li.current{ | ||||
| 	color:#ffffff; | ||||
| 	background:#EDA100; | ||||
| } | ||||
| After Width: | Height: | Size: 234 B | 
| After Width: | Height: | Size: 330 B | 
| After Width: | Height: | Size: 412 B | 
| After Width: | Height: | Size: 447 B | 
| After Width: | Height: | Size: 445 B | 
| After Width: | Height: | Size: 247 B | 
| After Width: | Height: | Size: 5.8 KiB | 
| After Width: | Height: | Size: 521 B | 
| After Width: | Height: | Size: 1.3 KiB | 
| After Width: | Height: | Size: 189 B | 
| After Width: | Height: | Size: 202 B | 
| After Width: | Height: | Size: 329 B | 
| After Width: | Height: | Size: 631 B | 
| After Width: | Height: | Size: 306 B | 
| After Width: | Height: | Size: 137 B | 
| After Width: | Height: | Size: 9.9 KiB | 
| After Width: | Height: | Size: 8.0 KiB | 
| @ -0,0 +1,110 @@ | ||||
| var isDistWithAppSB; | ||||
| $(document).ready(function () { | ||||
| 	$("#designframe").css("height", ($(window).height() - $(".template-toolbar-nav").height()) + "px"); | ||||
| 	$(".showdesigntemplatelinkbtn").off("click").on("click", function () { | ||||
| 		showTemplateLinkDlg(); | ||||
| 	}); | ||||
| 	$(".edittemplatebtn").off("click").on("click", function () { | ||||
| 		var rowid = templateId; | ||||
| 		showEditTemplateDlg(rowid); | ||||
| 	}); | ||||
| 	$(".design-template-add-cw-icon").off("click").on("click", function () { | ||||
| 		var rowid = templateId; | ||||
| 		var cwId = getUUID(); | ||||
| 		var cwSubId = getUUID(); | ||||
| 		document.getElementById("designframe").contentWindow.showAddCwDlg(cwId, cwSubId); | ||||
| 	}); | ||||
| 	$(".design-preview-btn").off("click").on("click", function () { | ||||
| 		var url = "./w?sid=" + sid + "&cmd=com.actionsoft.apps.addons.xpages_template_preview_page&id=" + templateId; | ||||
| 		window.open(url); | ||||
| 	}); | ||||
| 	$(".design-export-btn").off("click").on("click", function () { | ||||
| 		var appId = "com.actionsoft.apps.addons.xpages"; | ||||
| 		var params = { | ||||
| 			'repositoryName': '!myfile', | ||||
| 			'groupValue': 'tmp', | ||||
| 			'fileValue': templateId, | ||||
| 			'fileName': templateId + '.json', | ||||
| 			'appId': appId | ||||
| 		}; | ||||
| 		window.location.href = './df?sid=' + sid + '&' + $.param(params); | ||||
| 	}); | ||||
| 	$(".design-othersave-btn").off("click").on("click", function () { | ||||
| 		var rowid = templateId; | ||||
| 		showOtherSaveTemplateDlg(rowid); | ||||
| 	}); | ||||
| 	$(".skins-show").find(".bg").off("click").on("click", function () { | ||||
| 		$(this).siblings().removeClass("active"); | ||||
| 		$(this).addClass("active"); | ||||
| 	}); | ||||
| 	/* | ||||
| 	   //AT公式
 | ||||
| 	   $(".awsui-at").atFormula({ | ||||
| 		   sid: sid | ||||
| 	   }); | ||||
| 	   */ | ||||
| 	 | ||||
| 	//模板随应用分发
 | ||||
| 	isDistWithAppSB = $("#isDistWithApp").switchButton( | ||||
| 		{ | ||||
| 			swwidth: 60, | ||||
| 			ontext: 是, | ||||
| 			offtext: 否, | ||||
| 			change: function () { | ||||
| 				if ($("#isDistWithApp").prop("checked")) { | ||||
| 					$("#relationAppRequired").show(); | ||||
| 				} else { | ||||
| 					$("#relationAppRequired").hide(); | ||||
| 				} | ||||
| 			} | ||||
| 		} | ||||
| 	); | ||||
| 	$("#relationApp").select2({data: apps}); | ||||
| }); | ||||
| 
 | ||||
| 
 | ||||
| function showTemplateLinkDlg(id) { | ||||
| 	var url = "./w?sid=@sid&cmd=com.actionsoft.apps.addons.xpages_home&id=" + templateId; | ||||
| 	$("#templateLinkValue").val(url); | ||||
| 	$("#template-link-view-dlg").dialog({ | ||||
| 		title: 模板链接, model: true, draggable: true, width: 700, height: 130, | ||||
| 		buttons: [{ | ||||
| 			text: 复制URL, cls: "blue copylinkbtn", handler: function () { | ||||
| 				//处理复制
 | ||||
| 				try { | ||||
| 					var clip = new ZeroClipboard($('.copylinkbtn')); | ||||
| 					clip.setText($("#templateLinkValue").val()); | ||||
| 					clip.on("copy", function (e) { | ||||
| 						$.simpleAlert(复制成功, 'ok'); | ||||
| 					}); | ||||
| 					clip.on('error', function (event) { | ||||
| 						$.simpleAlert(您的浏览器无法复制该链接请手动复制, 'warning'); | ||||
| 						ZeroClipboard.destroy(); | ||||
| 					}); | ||||
| 				} catch (e) { | ||||
| 				} | ||||
| 			} | ||||
| 		}, { | ||||
| 			text: 关闭, handler: function () { | ||||
| 				$("#template-link-view-dlg").dialog("close"); | ||||
| 			} | ||||
| 		} | ||||
| 		] | ||||
| 	}); | ||||
| 	$(".awsui-dialog .dlg-content").css("margin", "0px"); | ||||
| 	$(".awsui-dialog .dlg-content").css("border", "none"); | ||||
| 	$(".awsui-dialog .dlg-title").css("margin-bottom", "5px"); | ||||
| 	//处理复制
 | ||||
| 	if (myBrowser() == "IE") { | ||||
| 		$(".copylinkbtn").click(function () { | ||||
| 			var t = document.getElementById("templateLinkValue"); | ||||
| 			t.select(); | ||||
| 			window.clipboardData.setData('text', t.createTextRange().text); | ||||
| 			$.simpleAlert(复制成功, 'ok'); | ||||
| 		}); | ||||
| 	} else { | ||||
| 		  | ||||
| 	} | ||||
| } | ||||
|   | ||||
|   | ||||
| @ -0,0 +1,154 @@ | ||||
| var resourceId ,resourceType = "xpages.linkquickly.ac"; | ||||
| $(document).ready(function(){ | ||||
|     renderSelect2Event(navData); | ||||
|     resetParams(); | ||||
| 
 | ||||
|     var opt1 = { | ||||
|         width : 287, | ||||
|         multiple : false, | ||||
|         tags:false, | ||||
|         data : [ | ||||
| 			{id: "_blank", text: 新窗口, value: "_blank"}, | ||||
| 			{id: "mainframe", text: 主窗口, value: "mainframe"} | ||||
|         ] | ||||
|     }; | ||||
|     $("#linkTarget").select2(opt1); | ||||
| 
 | ||||
|     $("#linkType").val("0"); | ||||
|     /!*自定义链接授权*!/ | ||||
|     $("#mylinkAC").unbind('click').bind('click',function(){ | ||||
|         var text = $("#select2-linkName-container").text(); | ||||
|         resourceId = "XPAGES-USER-LINK-"+text; | ||||
|         openLinkQAC(resourceId,resourceType); | ||||
|     }); | ||||
|     if (typeof (linkInfo)!="undefined"&&linkInfo!=null) { | ||||
|         $("#link_id").val(linkInfo.id); | ||||
|         $("#navId").val(linkInfo.ext1); | ||||
|         $("#linkName").val(linkInfo.ext1).trigger("change"); | ||||
|         $("#select2-linkName-container").text(linkInfo.linkName); | ||||
|         if (linkInfo.linkType=="0") { | ||||
|             $("#linkUrlTr").hide(); | ||||
|             $("#linkQuicklyACtr").hide(); | ||||
|         }else{ | ||||
|             //管理员可以授权非导航的链接
 | ||||
|             if(isAdmin=="1"){ | ||||
|                 $("#linkQuicklyACtr").show(); | ||||
|             } | ||||
| 
 | ||||
|             $("#linkUrlTr").show(); | ||||
|             $("#linkUrl").val(linkInfo.linkUrl); | ||||
|         } | ||||
|         if (typeof (linkInfo.linkTarget)!="undefined"&&linkInfo.linkTarget!=null) { | ||||
|             $("#linkTarget").val(linkInfo.linkTarget).trigger("change"); | ||||
|         } | ||||
|         $("#linkType").val(linkInfo.linkType); | ||||
|         $("#linkIconUrl").val(linkInfo.iconUrl); | ||||
|     } | ||||
| }); | ||||
| //打开AC授权窗口
 | ||||
| function openLinkQAC (resourceId,resourceType){ | ||||
|     var dlg = parent.top.FrmDialog.open({ | ||||
|         title : "授权", | ||||
|         width : 700, | ||||
|         height : 330, | ||||
|         url : "./w", | ||||
|         id:"mylinkquickly", | ||||
|         data : { | ||||
|             sid : sid, | ||||
|             cmd : "CLIENT_COMMON_AC_ACTION_OPEN", | ||||
|             resourceId : resourceId, | ||||
|             resourceType : resourceType | ||||
|         }, | ||||
|         buttons : [{ | ||||
|             text : '添加', | ||||
|             cls : "blue", | ||||
|             handler : function() { | ||||
|                 dlg.win().saveAC(); | ||||
|             } | ||||
|         }, { | ||||
|             text : '关闭', | ||||
|             handler : function() { | ||||
|                 dlg.close(); | ||||
|             } | ||||
|         }] | ||||
|     }); | ||||
| 
 | ||||
| } | ||||
| /*渲染select2组件 tags:是否可编辑;minimumResultsForSearch:Infinity隐藏搜索框*/ | ||||
| function renderSelect2Event(data){ | ||||
|     var opt = { | ||||
|         width : 287, | ||||
|         multiple : false, | ||||
|         tags:true, | ||||
|         placeholder:"", | ||||
|         data : data | ||||
|     }; | ||||
|     $("#linkName").select2(opt); | ||||
|     //选择之后回填
 | ||||
|     renderSelect2SelectedEvent($("#linkName")); | ||||
| } | ||||
| function renderSelect2SelectedEvent(obj){ | ||||
|     obj.on("select2:select", function (evt) { | ||||
|         var id = evt.params.data.id; | ||||
|         var url = evt.params.data.url; | ||||
|         var icon = evt.params.data.icon; | ||||
|         var text = evt.params.data.text; | ||||
|         if (text.indexOf("/")>0){ | ||||
|             text = text.substr(text.lastIndexOf("/")+1,text.length); | ||||
|         } | ||||
|         $("#select2-linkName-container").text(text); | ||||
|         resourceId = "XPAGES-USER-LINK-"+text; | ||||
|         //将url里的sid的值替换为@sid
 | ||||
|         if(typeof(url)!="undefined"&&url!="/"){ | ||||
|             if(url.indexOf("sid=")>0){ | ||||
|                 var index = url.indexOf("sid="); | ||||
|                 var index2 = url.indexOf("&cmd"); | ||||
|                 var subStr = url.slice(index+4,index2); | ||||
|                 url = url.replace(subStr, "@sid"); | ||||
|             } | ||||
|         }else{ | ||||
|             url = ""; | ||||
|             id="";//url为空说明是自定义链接,如果是自定义,id为空
 | ||||
|         } | ||||
| 
 | ||||
|         if(typeof(icon)=="undefined"){ | ||||
|             icon = ""; | ||||
|         } | ||||
|         $("#linkIconUrl").val(icon); | ||||
|         //判断是否是自定义菜单
 | ||||
|         var isCustom = evt.params.data.isCustom; | ||||
|         if(typeof(isCustom)=="undefined"){ | ||||
|             $("#link_isCustom").val(true); | ||||
|             $("#linkType").val("1"); | ||||
|             //管理员可以授权非导航的链接
 | ||||
|             if(isAdmin=="1"){ | ||||
|                 $("#linkQuicklyACtr").show(); | ||||
|             } | ||||
|             $("#linkUrlTr").show(); | ||||
|             $("#linkUrl").val(url); | ||||
|         }else{ | ||||
|             $("#link_isCustom").val(false); | ||||
|             $("#linkType").val("0"); | ||||
|             $("#linkQuicklyACtr").hide(); | ||||
|             //导航菜单不显示url字段避免暴露
 | ||||
|             $("#linkUrlTr").hide(); | ||||
|         } | ||||
|         //$("#link_id").val(id);
 | ||||
|         $("#navId").val(id); | ||||
|     }); | ||||
| } | ||||
| 
 | ||||
| /* | ||||
| 重置参数 | ||||
|  */ | ||||
| function resetParams() { | ||||
|     $("#link_id").val(""); | ||||
|     $("#navId").val(""); | ||||
|     $("#linkName").val("").trigger("change"); | ||||
|     $("#linkUrl").val(""); | ||||
|     $("#linkTarget").val("_blank").trigger("change"); | ||||
|     $("#linkType").val("0"); | ||||
|     $("#linkIconUrl").val(""); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| @ -0,0 +1,272 @@ | ||||
| var resourceId ,resourceType = "xpages.link.group.ac"; | ||||
| var groupKey; | ||||
| var viewTypeVal="0"; | ||||
| var isAllowAdd="0"; | ||||
| var linkQuicklyUrltool = { | ||||
|     xpageInit: function () { | ||||
|         this.initLinkGroup(); | ||||
|         this.initViewType(); | ||||
|         this.initLocked(); | ||||
| 
 | ||||
|         var cwUrl = $("#cwUrl").val(); | ||||
|         var linkUrlobj = linkQuicklyUrltool.getLinkquicklyParams(cwUrl); | ||||
|         //是否需要初始化默认值
 | ||||
|         if (linkUrlobj != null && linkUrlobj.cmd != null && linkUrlobj.cmd == "com.actionsoft.apps.addons.xpages_link_quickly") { | ||||
|             groupKey = linkUrlobj.groupKey.trim(); | ||||
|             isAllowAdd = linkUrlobj.isAllowAdd; | ||||
|             viewTypeVal = linkUrlobj.viewType; | ||||
|             resourceId = "XPAGES-QUICKLY-"+groupKey; | ||||
|             this.getGroupId({ | ||||
|                 callback:function (groupId) { | ||||
|                     $("#groupKey").val(groupId).trigger("change"); | ||||
|                 } | ||||
|             }); | ||||
| 
 | ||||
|             $("#viewType").val("viewType_"+viewTypeVal).trigger("change"); | ||||
|             $("#isAllowAdd").val("locked_"+isAllowAdd).trigger("change"); | ||||
|             this.setText(); | ||||
|         } | ||||
| 
 | ||||
|         //this.saveGroup();
 | ||||
|         this.settingACEvent(resourceId,resourceType); | ||||
|     }, | ||||
|     getGroupId:function(opt){ | ||||
|         var param = { | ||||
|             url: './jd', | ||||
|             type: 'POST', | ||||
|             dataType: "json", | ||||
|             data: { | ||||
|                 cmd: "com.actionsoft.apps.addons.xpages_linkquickly_get_groupId", | ||||
|                 sid: sid, | ||||
|                 groupKey:groupKey.trim() | ||||
|             }, | ||||
|             alert: false, | ||||
|             success: function (ro) { | ||||
|                 if (ro.result == "ok") { | ||||
|                     if (opt.callback) { | ||||
|                         opt.callback(ro.data.groupId); | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         awsui.ajax.request(param); | ||||
|     }, | ||||
|     getLinkquicklyParams: function (url) { | ||||
|         var params = {}; | ||||
|         try { | ||||
|             var ps = url.split("?")[1].split("&"); | ||||
|             for (var i = 0, size_i = ps.length; i < size_i; i++) { | ||||
|                 var paramStr = ps[i]; | ||||
|                 var map = paramStr.split("="); | ||||
|                 if (map.length == 2) { | ||||
|                     params[map[0]] = map[1]; | ||||
|                 } | ||||
|             } | ||||
|         } catch (e) { | ||||
|         } | ||||
|         return params; | ||||
|     }, | ||||
|     initLinkGroup:function(){ | ||||
|         var that = this; | ||||
|        /* $("#groupKey").blur(function(){ | ||||
|             debugger; | ||||
|             groupKey = $("#groupKey").val(); | ||||
|             that.setText(); | ||||
|         });*/ | ||||
|         /*var groupKeyParam = { | ||||
|             width : 250, | ||||
|             data : groupDatas | ||||
|         } | ||||
|         $("#groupKey").select2(groupKeyParam); | ||||
| 
 | ||||
|         $("#groupKey").on("select2:select", function (evt) { | ||||
|             groupKey = evt.params.data.value; | ||||
|             that.setText(); | ||||
|         });*/ | ||||
|         that.getGroupDataSel({ | ||||
|             callback: function (list) { | ||||
|                 that.selectList = list; | ||||
|                 $("#groupKey").select2({ | ||||
|                     data: list, | ||||
|                     width:360, | ||||
|                     tags:true | ||||
|                 }); | ||||
|                 var cwUrl = $("#cwUrl").val(); | ||||
|                 var linkUrlobj = linkQuicklyUrltool.getLinkquicklyParams(cwUrl); | ||||
|                 //是否需要初始化默认值
 | ||||
|                 if (linkUrlobj != null && linkUrlobj.cmd != null && linkUrlobj.cmd == "com.actionsoft.apps.addons.xpages_link_quickly") { | ||||
|                     groupKey = linkUrlobj.groupKey; | ||||
|                     isAllowAdd = linkUrlobj.isAllowAdd; | ||||
|                     viewTypeVal = linkUrlobj.viewType; | ||||
|                     resourceId = "XPAGES-QUICKLY-"+groupKey; | ||||
| 
 | ||||
|                     $("#groupKey").val(groupKey).trigger("change"); | ||||
|                     $("#viewType").val("viewType_"+viewTypeVal).trigger("change"); | ||||
|                     $("#isAllowAdd").val("locked_"+isAllowAdd).trigger("change"); | ||||
|                 } | ||||
|                 $("#groupKey").trigger("change"); | ||||
|                 that.setText(); | ||||
|             } | ||||
|         }); | ||||
| 
 | ||||
|         $("#groupKey").on("select2:select", function (evt) { | ||||
|             groupKey = evt.params.data.text.trim(); | ||||
|             that.setText(); | ||||
|         }); | ||||
|     }, | ||||
|     getGroupDataSel: function (opt) { | ||||
|         var value = opt.value; | ||||
|         if (value == "") | ||||
|             return; | ||||
|         var param = { | ||||
|             url: './jd', | ||||
|             type: 'POST', | ||||
|             dataType: "json", | ||||
|             data: { | ||||
|                 cmd: "com.actionsoft.apps.addons.xpages_linkquickly_get_groupkey", | ||||
|                 sid: sid | ||||
|             }, | ||||
|             alert: false, | ||||
|             success: function (ro) { | ||||
|                 if (ro.result == "ok") { | ||||
|                     if (opt.callback) { | ||||
|                         opt.callback(ro.data.datas); | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         awsui.ajax.request(param); | ||||
|     }, | ||||
|     settingACEvent:function(resourceId,resourceType){ | ||||
|         var that = this; | ||||
|         $("#linkquicklyAC").unbind('click').bind('click',function(){ | ||||
|             var groupKey = $("#select2-groupKey-container").text(); | ||||
|             if (typeof (groupKey)=="undefined"||groupKey.trim()=="") { | ||||
|                 $.simpleAlert("请填写分类"); | ||||
|                 return false; | ||||
|             } | ||||
|             that.openLinkGroupAC(resourceId,resourceType); | ||||
|         }); | ||||
| 
 | ||||
|     }, | ||||
|     //打开AC授权窗口
 | ||||
|     openLinkGroupAC:function (resourceId,resourceType){ | ||||
|         var groupKey = $("#select2-groupKey-container").text(); | ||||
|         resourceId = "XPAGES-QUICKLY-"+groupKey.trim(); | ||||
|         var dlg = FrmDialog.open({ | ||||
|             title : "授权", | ||||
|             width : 700, | ||||
|             height : 380, | ||||
|             url : "./w", | ||||
|             id:"testmylink", | ||||
|             data : { | ||||
|                 sid : sid, | ||||
|                 cmd : "CLIENT_COMMON_AC_ACTION_OPEN", | ||||
|                 resourceId : resourceId, | ||||
|                 resourceType : resourceType | ||||
|             }, | ||||
|             buttons : [{ | ||||
|                 text : '添加', | ||||
|                 cls : "blue", | ||||
|                 handler : function() { | ||||
|                     dlg.win().saveAC(); | ||||
|                     //that.getAcData(resourceId,resourceType);
 | ||||
|                 } | ||||
|             }, { | ||||
|                 text : '关闭', | ||||
|                 handler : function() { | ||||
|                     dlg.close(); | ||||
|                     //that.getAcData(resourceId,resourceType);
 | ||||
|                 } | ||||
|             }] | ||||
|         }); | ||||
|     }, | ||||
|     getAcData:function(resourceId,resourceType){ | ||||
|         var params={ | ||||
|             resourceId:resourceId, | ||||
|             resourceType:resourceType | ||||
|         }; | ||||
|         var url = './jd?sid=' + sid + '&cmd=com.actionsoft.apps.addons.xpages_linkgroup_aclist'; | ||||
|         awsui.ajax.post(url, params, function(responseObject) { | ||||
|             if(responseObject['result'] == 'ok'){ | ||||
|                 var userModelList = responseObject["data"]['userModelList']; | ||||
|                 if (userModelList.length>0){ | ||||
|                     for (var i=0;i<userModelList.length;i++){ | ||||
|                         var user = userModelList[i]; | ||||
|                         var name = user.name; | ||||
|                         $("#linkgroup_ac_content").text(name); | ||||
|                     } | ||||
|                 } | ||||
|             }else{ | ||||
|                 $.simpleAlert(responseObject['msg'], responseObject['result']); | ||||
|             } | ||||
|         }, 'json'); | ||||
|     }, | ||||
| 
 | ||||
|     initViewType:function(){ | ||||
|         var that = this; | ||||
|         //显示方式
 | ||||
|         var viewType = { | ||||
|             width : 360, | ||||
|             data : [ | ||||
|                 {id:"viewType_0",text:"图标",value:"0"}, | ||||
|                 {id:"viewType_1",text:"列表",value:"1"} | ||||
|             ]}; | ||||
|         $("#viewType").select2(viewType); | ||||
| 
 | ||||
|         $("#viewType").on("select2:select", function (evt) { | ||||
|             viewTypeVal = evt.params.data.value; | ||||
|             that.setText(); | ||||
|         }); | ||||
|     }, | ||||
|     initLocked: function (){ | ||||
|         var that = this; | ||||
|         //是否允許個人添加
 | ||||
|         var lockParam = { | ||||
|             width : 360, | ||||
|             data : [ | ||||
|                 {id:"locked_0",text:"不允许",value:"0"}, | ||||
|                 {id:"locked_1",text:"允许",value:"1"} | ||||
|             ]}; | ||||
|         $("#isAllowAdd").select2(lockParam); | ||||
| 
 | ||||
|         $("#isAllowAdd").on("select2:select", function (evt) { | ||||
|             isAllowAdd = evt.params.data.value; | ||||
|             that.setText(); | ||||
|         }); | ||||
|     }, | ||||
|     init: function () { | ||||
|         this.xpageInit(); | ||||
|     }, | ||||
|     setText: function () { | ||||
|         var groupKey = $("#select2-groupKey-container").text(); | ||||
|         var str = "./w?sid=@sid&cmd=com.actionsoft.apps.addons.xpages_link_quickly&groupKey="+groupKey.trim()+"&viewType="+viewTypeVal+"&isAllowAdd="+isAllowAdd; | ||||
|         $("#linkquicklyUrlText").val(str); | ||||
|         $("#xpageLinkQuickly-wrap").find(".xpagesContent").val(str); | ||||
|     }, | ||||
|     saveGroup:function () { | ||||
|         /*debugger;*/ | ||||
|         var that = this; | ||||
|         /*$(".cwurldlg-ok-btn").unbind('click').bind('click',function(){ | ||||
|             /!*if (typeof (groupKey)=="undefined"||groupKey=="") { | ||||
|                 $.simpleAlert("请填写分类"); | ||||
|                 return false; | ||||
|             }*!/ | ||||
|             var params = { | ||||
|                 groupKey: groupKey, | ||||
|                 viewType:viewTypeVal, | ||||
|                 isAllowAdd:isAllowAdd | ||||
|             }; | ||||
|             var url = './jd?sid=' + sid + '&cmd=com.actionsoft.apps.addons.xpages_linkquickly_saveconfig'; | ||||
|             awsui.ajax.post(url, params, function (responseObject) { | ||||
|                 that.setText(); | ||||
|                 //回填url
 | ||||
|                 var subCwId = $(".select-cwurl-btn").parents(".nav-config-panel").attr("subcwid"); | ||||
|                 if (responseObject['result']=="ok"){ | ||||
|                     setUrlEvent(subCwId); | ||||
|                 } | ||||
|                 $.simpleAlert(responseObject['msg'], responseObject['result']); | ||||
|             }, 'json'); | ||||
|         });*/ | ||||
|     } | ||||
| }; | ||||
| @ -0,0 +1,592 @@ | ||||
| var resourceId ,resourceType = "xpages.linkquickly.ac"; | ||||
| $(document).ready(function(){ | ||||
|     refreshLinkQuicklyData(); | ||||
|     $("#fullsearch-result").height($(window).height()); | ||||
|     //管理員或者允许个人添加
 | ||||
|     if (isAllowAdd=="1"||isAdmin=="1"){ | ||||
|         //$(".link-add-span").show();
 | ||||
|         //appendSettingAddButton(e);
 | ||||
|         $("#fullsearch-result").mouseenter(function(e){ | ||||
|             $(".link-add-span").show(); | ||||
|             //如果是图标展示则显示编辑按钮
 | ||||
|             if(viewtype=="0"){ | ||||
|                 //如果当前不是正在编辑,则显示编辑按钮
 | ||||
|                 if(!$("#closeOrderLinkCard").is(':visible')) { | ||||
|                     if(linkquicklys.length>0){ | ||||
|                         $("#orderLinkCard").show(); | ||||
|                     }else{ | ||||
|                         $("#orderLinkCard").hide(); | ||||
|                     } | ||||
|                 } | ||||
|             }else{ | ||||
|                 $("#orderLinkCard").hide(); | ||||
|             } | ||||
|             pauseEvent(e); | ||||
|         }).mouseleave(function(e){ | ||||
|             $(".link-add-span").hide(); | ||||
|              pauseEvent(e); | ||||
|         }); | ||||
|         listSettingAddClickEvent(); | ||||
|     } | ||||
|     if(isAllowAdd=="0"&&isAdmin=="0"){ | ||||
|         $(".link-add-span").hide(); | ||||
|     } | ||||
| 
 | ||||
| }); | ||||
| /* | ||||
| 保存数据 | ||||
|  */ | ||||
| function saveLinkQuicklyData() { | ||||
|     var parentWin = top.window.$('#id-awsui-win-frm-2013-frmaddlinkquickly'); | ||||
|     var linkId = parentWin.contents().find("#link_id").val(); | ||||
|     var navId = parentWin.contents().find("#navId").val(); | ||||
|     var linkName = parentWin.contents().find("#select2-linkName-container").text(); | ||||
|     var linkUrl = parentWin.contents().find("#linkUrl").val(); | ||||
|     var linkTarget = parentWin.contents().find("#linkTarget").val(); | ||||
|     var linkType = parentWin.contents().find("#linkType").val(); | ||||
|     var linkIconUrl = parentWin.contents().find("#linkIconUrl").val(); | ||||
|     var isCustom = parentWin.contents().find("#link_isCustom").val(); | ||||
|     if (linkName.length>200) { | ||||
| 		parent.top.$.simpleAlert(名称不能超过200个字符, "warning"); | ||||
|         return false; | ||||
|     } | ||||
|     if (linkName==""||linkName==null) { | ||||
| 		parent.top.$.simpleAlert(链接名称 + 不允许为空, "warning"); | ||||
|         return false; | ||||
|     } | ||||
|     if (isCustom==="true"){ | ||||
|         if (linkUrl==""||linkUrl==null) { | ||||
| 			parent.top.$.simpleAlert(链接地址 + 不允许为空, "warning"); | ||||
|             return false; | ||||
|         } | ||||
|     } | ||||
|     var params = { | ||||
|         linkId:linkId, | ||||
|         navId:navId, | ||||
|         groupKey:groupKey, | ||||
|         linkName: linkName, | ||||
|         linkUrl:linkUrl, | ||||
|         linkTarget:linkTarget, | ||||
|         linkType:linkType, | ||||
|         linkIconUrl:linkIconUrl | ||||
|     }; | ||||
|     var url = './jd?sid=' + sid + '&cmd=com.actionsoft.apps.addons.xpages_linkquickly_savefunc'; | ||||
|     awsui.ajax.post(url, params, function (responseObject) { | ||||
|         if (responseObject['result']=="ok"){ | ||||
|             linkquicklys = responseObject.data.datas; | ||||
|             refreshLinkQuicklyData(); | ||||
|         } else{ | ||||
|             parent.top.$.simpleAlert(responseObject['msg'], responseObject['result']); | ||||
|         } | ||||
|     }, 'json'); | ||||
|     return true; | ||||
| } | ||||
| /* | ||||
| 刷新数据 | ||||
|  */ | ||||
| function refreshLinkQuicklyData() { | ||||
|     if(viewtype=="0"){ | ||||
|         $(".link-list").hide(); | ||||
|         showIconType(); | ||||
|     }else{ | ||||
|         $(".apps_group").hide(); | ||||
|         showListType(); | ||||
|     } | ||||
| } | ||||
| /* | ||||
| 图标方式展示 | ||||
|  */ | ||||
| function showIconType() { | ||||
|     $('.apps_group').empty(); | ||||
|     var len = linkquicklys.length; | ||||
|     if(len>0){ | ||||
|         $('.apps_group').show(); | ||||
|         $('.no-taskinstance').hide(); | ||||
|         for(var i=0;i<len;i++){ | ||||
|             var data = linkquicklys[i]; | ||||
|             //console.log(data);
 | ||||
|             var orderIndex = data['orderIndex']; | ||||
|             var isDel = data['isDelete']; | ||||
|             var item = $('<div class="app_item" target="'+data['linkTarget']+'"  linkid="'+data['id']+'" linkurl="'+data['linkUrl']+'" orderIndex="'+orderIndex+'"></div>'); | ||||
|             var delIcon = $('<div class="deleteLink awsui-iconfont" onclick="deleteLinkQuicklyEvent(\''+data['id']+'\')" style="position: absolute;top:0px;right:2px;font-size:13px;color:#E8574E;cursor:pointer;z-index:999;display: none;"></div>'); | ||||
|             var editIcon = $('<div class="updateLink awsui-iconfont" onclick="updateLinkQuicklyEvent(\''+data['id']+'\')" style="position: absolute;top:-2px;right:20px;font-size:16px;color:#E8574E;cursor:pointer;z-index:10;display: none;"></div>'); | ||||
|             var icon = $('<div class="app_icon"></div>'); | ||||
|             var icon_url = data['iconUrl']; | ||||
|             if(typeof(icon_url)=="undefined"||icon_url==""){ | ||||
|                 icon_url = "../apps/com.actionsoft.apps.addons.xpages/img/xpages-no-config.png"; | ||||
|             } | ||||
|             var img = $('<img src="'+icon_url+'"/>'); | ||||
| 			var name = $('<div class="app_name">' + data['linkNameI18N'] + '</div>'); | ||||
|             if (isDel=="1"){ | ||||
|                 item.append(delIcon).append(editIcon); | ||||
|             } | ||||
|             item.append(icon.append(img)).append(name); | ||||
|             $('.apps_group').append(item); | ||||
|         } | ||||
|         linkOpenEvent("app_icon"); | ||||
|         getLinkNameStrForType0(); | ||||
|         itemHoverEvent("app_item"); | ||||
|         closeOrderLinkCard(); | ||||
|     }else{ | ||||
|         $('.apps_group').hide(); | ||||
|         $('.no-taskinstance').show(); | ||||
|         $("#orderLinkCard").hide(); | ||||
|         $("#closeOrderLinkCard").hide(); | ||||
|         if (isAllowAdd=="1"||isAdmin=="1") { | ||||
|             $("#settingbtn2").show(); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
| } | ||||
| /* | ||||
| 删除按钮点击事件 | ||||
|  */ | ||||
| function deleteLinkQuicklyEvent(linkId) { | ||||
|     debugger; | ||||
|     var params = { | ||||
|         linkId:linkId, | ||||
|         groupKey:groupKey | ||||
|     }; | ||||
|     var url = './jd?sid=' + sid + '&cmd=com.actionsoft.apps.addons.xpages_linkquickly_deletefunc'; | ||||
|     awsui.ajax.post(url, params, function (responseObject) { | ||||
|         if (responseObject['result']=="ok"){ | ||||
|             linkquicklys = responseObject.data.datas; | ||||
|             refreshLinkQuicklyData(); | ||||
|         } else{ | ||||
|             $.simpleAlert(responseObject['msg'], responseObject['result']); | ||||
|         } | ||||
|     }, 'json'); | ||||
|     return false; | ||||
| } | ||||
| function updateLinkQuicklyEvent(linkId) { | ||||
|      openUserConfigDlg(linkId); | ||||
| } | ||||
| /* | ||||
| 图标方式展示鼠标经过显示删除按钮 | ||||
|  */ | ||||
| function itemHoverEvent(param) { | ||||
|     $("."+param).each(function (index,element){ | ||||
|         var target = $(element); | ||||
|         target.mouseenter(function(){ | ||||
|             target.css("border","solid 1px #e6e6e6"); | ||||
|         }).mouseleave(function(e){ | ||||
|             target.css("border","solid 1px #ffffff"); | ||||
|              pauseEvent(e); | ||||
|         }); | ||||
|     }); | ||||
| } | ||||
| /* | ||||
| 图标方式展示,追加设置按钮 | ||||
|  */ | ||||
| function appendSettingAddButton() { | ||||
|     $(".setting").remove(); | ||||
|     var settingAddButton = $('<div class="setting"><div id="settingbtn" class="settingicon awsui-iconfont" style="position: absolute;top:10px;font-size:30px;color:#E8574E"></div></div>'); | ||||
|     var lastParam = $(".app_item:last"); | ||||
|     if (lastParam.length>0) { | ||||
|         lastParam.after(settingAddButton); | ||||
|     }else{ | ||||
|         $(".apps_group").after(settingAddButton); | ||||
|     } | ||||
|     settingAddClickEvent(); | ||||
| } | ||||
| /* | ||||
| 设置按钮点击事件 | ||||
|  */ | ||||
| function settingAddClickEvent() { | ||||
|     $("#settingbtn").off("click").on("click",function(){ | ||||
|         openUserConfigDlg(""); | ||||
|     }); | ||||
| } | ||||
| function openUserConfigDlg(id) { | ||||
|     var userConfigDlg = top.window.FrmDialog.open({ | ||||
| 		title: 添加链接, | ||||
|         width : 500, | ||||
|         height : 330, | ||||
|         url : "./w", | ||||
|         id:"addlinkquickly", | ||||
|         data : { | ||||
|             sid : sid, | ||||
|             cmd : "com.actionsoft.apps.addons.xpages_linkquickly_addfunc", | ||||
|             linkId:id, | ||||
|             groupKey:groupKey | ||||
|         }, | ||||
|         buttons : [{ | ||||
| 			text: 确定, | ||||
|             cls : "blue", | ||||
|             handler : function() { | ||||
|                 var isSuccess = saveLinkQuicklyData(); | ||||
|                 if (isSuccess) { | ||||
|                     userConfigDlg.close(); | ||||
|                 } | ||||
|             } | ||||
|         }, { | ||||
| 			text: 关闭, | ||||
|             handler : function() { | ||||
|                 userConfigDlg.close(); | ||||
|             } | ||||
|         }] | ||||
|     }); | ||||
| } | ||||
| /* | ||||
| 列表方式展示 | ||||
|  */ | ||||
| function  showListType() { | ||||
|     $('.link-dl').empty(); | ||||
|     var len = linkquicklys.length; | ||||
|     if(len>0){ | ||||
|         $('.link-list').show(); | ||||
|         $('.no-taskinstance').hide(); | ||||
|         for(var i=0;i<len;i++){ | ||||
|             var data = linkquicklys[i]; | ||||
|             var orderIndex = data["orderIndex"]; | ||||
|             var isDele = data['isDelete']; | ||||
|             var item = $('<dd class="link-item" target="'+data['linkTarget']+'" linkid="'+data['id']+'" linkurl="'+data['linkUrl']+'" orderIndex="'+orderIndex+'"></dd>'); | ||||
|             var delIcon = $('<div class="deleteLink awsui-iconfont" onclick="deleteLinkQuicklyEvent(\''+data['id']+'\')" style="position: absolute;right:0px;font-size:16px;color:#E8574E;cursor:pointer;display: none;"></div>'); | ||||
|             var span = $('<span class="link-span"></span>'); | ||||
|             var name = $('<a>'+data['linkName']+'</a>'); | ||||
|             if (isDele=="1") { | ||||
|                 item.append(delIcon); | ||||
|             } | ||||
|             item.append(span).append(name); | ||||
|             $('.link-dl').append(item); | ||||
|         } | ||||
|         linkOpenEvent("link-item"); | ||||
|         if (isAllowAdd=="1"||isAdmin=="1") { | ||||
|             $(".link-item").each(function (index,element){ | ||||
|                 var target = $(element); | ||||
|                 target.mouseenter(function(e){ | ||||
|                     target.find(".deleteLink").show(); | ||||
|                     e.stopPropagation(); | ||||
|                 }).mouseleave(function(e){ | ||||
|                     target.find(".deleteLink").hide(); | ||||
|                     e.stopPropagation(); | ||||
|                 }); | ||||
|             }); | ||||
|             //管理员可排序
 | ||||
|             //sortFunctionLink(".link-dl",".link-item");
 | ||||
|         } | ||||
|     }else{ | ||||
|         if (isAllowAdd=="0"&&isAdmin=="0") { | ||||
|             $('.link-list').hide(); | ||||
|             $('.no-taskinstance').show(); | ||||
|         } | ||||
|     } | ||||
| } | ||||
| /* | ||||
| 列表展示-设置按钮点击事件 | ||||
|  */ | ||||
| function listSettingAddClickEvent() { | ||||
|     $("#settingbtn2").off("click").on("click",function(){ | ||||
|         openUserConfigDlg(""); | ||||
|     }); | ||||
| } | ||||
| function settingBtnOnclickEvent() { | ||||
|     if (typeof (viewtype)=="undefined") { | ||||
|         var linkUrlobj = $("#settingbtn2").parents().find("iframe").attr("src"); | ||||
|         if (linkUrlobj != null && linkUrlobj.cmd != null && linkUrlobj.cmd == "com.actionsoft.apps.addons.xpages_link_quickly") { | ||||
|             groupKey = linkUrlobj.groupKey; | ||||
|             isAllowAdd = linkUrlobj.isAllowAdd; | ||||
|             viewtype = linkUrlobj.viewType; | ||||
|             resourceId = "XPAGES-QUICKLY-"+groupKey; | ||||
| 
 | ||||
|         } | ||||
|     } | ||||
|     openUserConfigDlg(); | ||||
| } | ||||
| /* | ||||
| 功能链接点击事件 | ||||
|  */ | ||||
| function linkOpenEvent(param) { | ||||
|     $("."+param).off("click").on("click",function(e){ | ||||
|         if ($(e.target).hasClass("deleteLink")||$(e.target).hasClass("updateLink")) { | ||||
|             return; | ||||
|         } | ||||
|         var target = $(this); | ||||
|         if (param=="app_icon"){ | ||||
|             target = $(this).parent(); | ||||
|         } | ||||
|         var linkTarget = target.attr("target"); | ||||
|         var linkUrl = target.attr("linkurl"); | ||||
|         if (linkTarget=="_blank"){ | ||||
|             window.open(linkUrl); | ||||
|         } else if(linkTarget=="mainframe"){ | ||||
|         	var win = top.window.$('#main-frm'); | ||||
|         	if(win.length==0){ | ||||
|         		win = top.window.$('.metro-main-frame'); | ||||
| 			} | ||||
| 			win.attr("src",linkUrl); | ||||
|         }else{ | ||||
|             window.open(linkUrl); | ||||
|         } | ||||
|         e.stopPropagation(); | ||||
|     }); | ||||
|     return false; | ||||
| } | ||||
| /* | ||||
| 图标展示方式时,链接名称最多折两行显示 | ||||
|  */ | ||||
| function getLinkNameStrForType0() { | ||||
|     $(".app_name").ellipsis({maxWidth:50,maxCount:6}); | ||||
| } | ||||
| 
 | ||||
| function sortFunctionLink(p1,p2) { | ||||
|     $(p1).sortable({ | ||||
|         axis : false,helper: 'clone',opacity: 0.6,revert: true ,scroll: true,distance: 10,delay: 500,cursor : 'crosshair', | ||||
|         start: function(event, ui) { | ||||
|             $(p2).css("border","1px dotted #cccccc"); | ||||
|         }, | ||||
|         stop: function(event, ui) { | ||||
|             $(".app_item").addClass("orderLinkCard"); | ||||
|             var itemArr = []; | ||||
|             var itemJson = {}; | ||||
|             var newTheItemOrder = parseInt(ui.item.attr("orderIndex"));//被移动的元素
 | ||||
|             var newTheItemId = ui.item.attr("linkid");//被移动的元素ID
 | ||||
|             itemJson.linkId = newTheItemId; | ||||
|             itemJson.linkOrder = newTheItemOrder; | ||||
|             itemArr.push(itemJson); | ||||
|             var preParam = ui.item.prev(); | ||||
|             var preOrder = parseInt(preParam.attr("orderIndex")); | ||||
|             var nextParam = ui.item.next();//被移动元素的下一个元素
 | ||||
|             var nextParamOrdex = parseInt(nextParam.attr("orderIndex")); | ||||
|             var nextAllParams = ui.item.nextAll();//被移动元素之后的所有元素
 | ||||
|             var lastOrder = 0; | ||||
|             if(nextAllParams.length>0){ | ||||
|                 lastOrder =parseInt($(nextAllParams[nextAllParams.length-1]).attr("orderIndex")) ; | ||||
|             } | ||||
| 
 | ||||
|             //需求:全局类的index占据前100,个人添加的在100之后
 | ||||
|             if (((newTheItemOrder<=100&&nextParamOrdex<=100&&((lastOrder+1)<=100))||(newTheItemOrder>100&&nextParamOrdex>100))&&(newTheItemOrder>=preOrder)){ | ||||
|                 var targetNewOrder = nextParamOrdex; | ||||
|                 nextAllParams.each(function (index,ele) { | ||||
|                     var target = $(ele); | ||||
|                     var order = target.attr("orderIndex"); | ||||
|                     var linkId = target.attr("linkid"); | ||||
|                     var json = {}; | ||||
|                     json.linkId = linkId; | ||||
|                     json.linkOrder = order; | ||||
|                     itemArr.push(json); | ||||
|                 }) | ||||
|                 saveLinkFunctionSort(itemArr,targetNewOrder); | ||||
|             }else{ | ||||
|                 return false; | ||||
|             } | ||||
|         } | ||||
|     }); | ||||
| } | ||||
| function saveLinkFunctionSort(itemArr) { | ||||
|     var params = { | ||||
|         itemArr:awsui.encode(itemArr), | ||||
|         groupKey:groupKey | ||||
|     }; | ||||
|     var url = './jd?sid=' + sid + '&cmd=com.actionsoft.apps.addons.xpages_linkquickly_sort_save'; | ||||
|     awsui.ajax.post(url, params, function (responseObject) { | ||||
|         if (responseObject['result']=="ok"){ | ||||
|             linkquicklys = responseObject.data.datas; | ||||
|             refreshLinkQuicklyData(); | ||||
|             openOrderLinkCard(); | ||||
|         } else{ | ||||
|             $.simpleAlert(responseObject['msg'], responseObject['result']); | ||||
|         } | ||||
|     }, 'json'); | ||||
| } | ||||
| 
 | ||||
| /*排序".apps_group","app_item"*/ | ||||
| function openOrderLinkCard() { | ||||
|     $(".app_item").off("mouseenter"); | ||||
|     $(".app_item").off("mouseleave"); | ||||
|     $(".app_item").addClass("orderLinkCard"); | ||||
| 
 | ||||
|     if (isAllowAdd=="1"||isAdmin=="1") { | ||||
|         //显示编辑删除图标
 | ||||
|         $(".deleteLink").show(); | ||||
|         $(".updateLink").show(); | ||||
|         //管理员可排序
 | ||||
|         $(".orderLinkCard").each(function () { | ||||
|             bindMoveEvent($(this)); | ||||
|         }); | ||||
|     } | ||||
|     $("#settingbtn2").hide(); | ||||
|     $("#orderLinkCard").hide(); | ||||
|     $("#closeOrderLinkCard").show(); | ||||
| } | ||||
| function closeOrderLinkCard() { | ||||
|     itemHoverEvent("app_item"); | ||||
|     $(".app_item").removeClass("orderLinkCard"); | ||||
|     $(".deleteLink").hide(); | ||||
|     $(".updateLink").hide(); | ||||
|     $(".app_item").each(function () { | ||||
|         $(this).unbind("mousedown"); | ||||
| 
 | ||||
|     }); | ||||
|     $("#orderLinkCard").show(); | ||||
|     $("#closeOrderLinkCard").hide(); | ||||
|     $("#settingbtn2").show(); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| var moveArea = {}; | ||||
| moveArea['edit'] = false; // 编辑状态,默认为false
 | ||||
| moveArea.dragItem = {}; | ||||
| 
 | ||||
| function bindMoveEvent(move_area_panel) { | ||||
|     // 准备拖曳
 | ||||
|     var dragStart = function (e, obj) { | ||||
|         if ($(e.target).hasClass("deleteLink")||$(e.target).hasClass("updateLink")) { | ||||
|             return; | ||||
|         } | ||||
|         // clone一个,填充到功能菜单容器中,为了可以在分页中进行移动
 | ||||
|         moveArea.dragItem = move_area_panel.clone(); | ||||
|         moveArea.dragItem.moveable = true; // 移动模式
 | ||||
|         // 鼠标和选择块的pageX、pageY的差距
 | ||||
|         moveArea.dragItem.original_offsetTop = e.pageY - $(obj).offset().top; | ||||
|         moveArea.dragItem.original_offsetLeft = e.pageX - $(obj).offset().left; | ||||
|         var move_panel = $('.apps_group'); | ||||
|         move_panel.after(moveArea.dragItem); | ||||
|         moveArea.dragItem.css('cursor', 'move').css('opacity', 0.6).css('z-index', 9) | ||||
|             .css('width', $(obj).width() - 2).css('height', $(obj).height() - 2).css('position', 'absolute') | ||||
|             .offset({ | ||||
|                 'top': $(obj).offset().top + 1, | ||||
|                 'left': $(obj).offset().left + 1 | ||||
|             }).css("border", "1px dashed gray"); | ||||
|         // 将当前区域改为虚线框,并移除里面的内容
 | ||||
|         move_area_panel.addClass('temp'); | ||||
|         move_area_panel.children().remove(); | ||||
|         moveArea['originalId'] = move_area_panel.attr('linkid'); // 拖曳的源
 | ||||
|         pauseEvent(e); | ||||
|         e.stopPropagation(); | ||||
|     } | ||||
|     $(move_area_panel).mousedown(function (e) { | ||||
|         dragStart(e, this); | ||||
|         e.stopPropagation(); | ||||
|     }); | ||||
|     $("#fullsearch-result").mousemove(function (e) { | ||||
|         if (!moveArea.dragItem.moveable) { | ||||
|             e.stopPropagation(); | ||||
|             return false; | ||||
|         } | ||||
|         // 判断移动位置
 | ||||
|         var cur_nav_area_collection = $('.apps_group'); | ||||
|         var nav_area_collection = cur_nav_area_collection; // 面板容器
 | ||||
|         // 是否移动到面板容器外
 | ||||
|         var drag_width_middle = moveArea.dragItem.offset().left + moveArea.dragItem.width() / 2; // 移动块的左右的中间线
 | ||||
|         var drag_height_middle = moveArea.dragItem.offset().top + moveArea.dragItem.height() / 2; // 移动块的上下的中间线
 | ||||
|         moveAreaPosition(e); // 移动块位置
 | ||||
|         var nav_area_panel_list = nav_area_collection.children(); | ||||
|         var len = nav_area_panel_list.length; | ||||
|         for (var i = 0; i < len; i++) { | ||||
|             var obj = nav_area_panel_list.get(i); | ||||
|             var obj_left = $(obj).offset().left; | ||||
|             var obj_right = $(obj).offset().left + $(obj).width(); | ||||
|             var obj_top = $(obj).offset().top; | ||||
|             var obj_bottom = $(obj).offset().top + $(obj).height(); | ||||
|             if (drag_width_middle >= obj_left && drag_width_middle <= obj_right && drag_height_middle >= obj_top && drag_height_middle <= obj_bottom && $(obj).attr('linkid') != move_area_panel.attr('linkid')) { // 移动到目标位置
 | ||||
|                 if (moveArea['targetItem'] != undefined && moveArea['targetId'] != $(obj).attr('linkid')) { | ||||
|                     moveArea['targetId'] = $(obj).attr('linkid'); // 拖曳的目标
 | ||||
|                     moveArea['targetItem'] = obj; | ||||
|                     // 根据移动位置将功能菜单块重新排版
 | ||||
|                     var nav_area_panel_temp = $('.apps_group').find('.app_item.temp'); | ||||
|                     var orderIdx_original = nav_area_panel_temp.attr('orderIndex') - 0; | ||||
|                     var orderIdx_target = $(obj).attr('orderIndex') - 0; | ||||
| 
 | ||||
|                     if (orderIdx_original > orderIdx_target) { // 从后往前移,移动到目标位置的前面
 | ||||
|                         $(obj).before(nav_area_panel_temp); | ||||
|                         var newTheItemOrder = parseInt(nav_area_panel_temp.attr("orderIndex"));//被移动的元素
 | ||||
|                         nav_area_panel_temp.attr('orderIndex',orderIdx_target); | ||||
|                         var preParam = nav_area_panel_temp.prev(); | ||||
|                         var preOrder = parseInt(preParam.attr("orderIndex")); | ||||
|                         var nextParam = nav_area_panel_temp.next();//被移动元素的下一个元素
 | ||||
|                         var nextParamOrdex = parseInt(nextParam.attr("orderIndex")); | ||||
|                         var nextAllParams = nav_area_panel_temp.nextAll();//被移动元素之后的所有元素
 | ||||
|                         var lastOrder = 0; | ||||
|                         if(nextAllParams.length>0){ | ||||
|                             lastOrder =parseInt($(nextAllParams[nextAllParams.length-1]).attr("orderIndex")) ; | ||||
|                         } | ||||
| 
 | ||||
|                         //需求:全局类的index占据前100,个人添加的在100之后
 | ||||
|                         if (orderIdx_original>100&&orderIdx_target<=100){ | ||||
|                             return false; | ||||
|                             break; | ||||
|                         }else{ | ||||
|                             nextAllParams.each(function (index,ele) { | ||||
|                                 var target = $(ele); | ||||
|                                 var order = target.attr("orderIndex"); | ||||
|                                 target.attr("orderIndex",parseInt(order)+1); | ||||
|                             }); | ||||
|                         } | ||||
| 
 | ||||
|                     } else { // 从前往后移,移动到目标位置的后面
 | ||||
|                         $(obj).after(nav_area_panel_temp); | ||||
|                         var objOrder = $(obj).attr('orderIndex'); | ||||
|                         var newTheItemOrder = parseInt(nav_area_panel_temp.attr("orderIndex"));//被移动的元素
 | ||||
|                         nav_area_panel_temp.attr('orderIndex',orderIdx_target); | ||||
|                         var preParam = nav_area_panel_temp.prev(); | ||||
|                         var preOrder = parseInt(preParam.attr("orderIndex")); | ||||
|                         var nextParam = nav_area_panel_temp.next();//被移动元素的下一个元素
 | ||||
|                         var nextParamOrdex = parseInt(nextParam.attr("orderIndex")); | ||||
|                         var preAllParams = nav_area_panel_temp.prevAll();//被移动元素之前的所有元素
 | ||||
|                         var firstOrder = 0; | ||||
|                         if(preAllParams.length>0){ | ||||
|                             firstOrder =parseInt($(preAllParams[0]).attr("orderIndex")) ; | ||||
|                         } | ||||
| 
 | ||||
|                         //需求:全局类的index占据前100,个人添加的在100之后
 | ||||
|                         if (orderIdx_original<=100&&orderIdx_target>100){ | ||||
|                             return false; | ||||
|                             break; | ||||
|                         }else{ | ||||
|                             preAllParams.each(function (index,ele) { | ||||
|                                 var target = $(ele); | ||||
|                                 var order = target.attr("orderIndex"); | ||||
|                                 if (order>orderIdx_original) { | ||||
|                                     target.attr("orderIndex",parseInt(order)-1); | ||||
|                                 } | ||||
|                             }); | ||||
|                         } | ||||
|                     } | ||||
|                     break; | ||||
| 
 | ||||
|                 } else { | ||||
|                     moveArea['targetId'] = $(obj).attr('linkid'); // 拖曳的目标
 | ||||
|                     moveArea['targetItem'] = obj; | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         pauseEvent(e); | ||||
|         e.stopPropagation(); | ||||
|     }).mouseup(function (e) { | ||||
|         if (moveArea.dragItem.moveable) { | ||||
|             moveArea.dragItem.moveable = false; // 取消移动模式
 | ||||
|             var move_area = $('#fullsearch-result').children('.app_item'); | ||||
|             $('.apps_group').find('.app_item.temp').append(move_area.children()).removeClass('temp'); | ||||
|             move_area.remove(); | ||||
|             var data = []; | ||||
|             $('.apps_group').find('.app_item').each(function () { | ||||
|                 var obj = {}; | ||||
|                 obj.linkId = $(this).attr("linkid"); | ||||
|                 obj.linkOrder = $(this).attr("orderIndex"); | ||||
|                 data.push(obj); | ||||
|             }); | ||||
|             saveLinkFunctionSort(data); | ||||
|         } | ||||
|         pauseEvent(e); | ||||
|         e.stopPropagation(); | ||||
|     }); | ||||
| } | ||||
| 
 | ||||
| // 移动块位置
 | ||||
| var moveAreaPosition = function (e) { | ||||
|     moveArea.dragItem.offset({ | ||||
|         top: e.pageY - moveArea.dragItem.original_offsetTop, | ||||
|         left: e.pageX - moveArea.dragItem.original_offsetLeft | ||||
|     }); | ||||
|     e.stopPropagation(); | ||||
| }; | ||||
| //阻止事件冒泡
 | ||||
| //不仅仅要stopPropagation,还要preventDefault
 | ||||
| function pauseEvent(e){ | ||||
|     if(e.stopPropagation) e.stopPropagation(); | ||||
|     if(e.preventDefault) e.preventDefault(); | ||||
|     e.cancelBubble=true; | ||||
|     e.returnValue=false; | ||||
|     return false; | ||||
| } | ||||
| @ -0,0 +1,936 @@ | ||||
| var loadIconUrl=""; | ||||
| var colorStyleMain="blackc"; | ||||
| var boxShadow; | ||||
| var borderRadius; | ||||
| var transparent="1"; | ||||
| var cwListGlobal; | ||||
| var hasScroll=false; | ||||
| $(document).ready(function(){ | ||||
| 	//滚动条占padding的空间, 当padding没有设置或者已经设置但是宽度小于滚动条, 那么多余的宽度就会占content内容宽度
 | ||||
|   | ||||
| 	renderMyXpages(); | ||||
| 	  | ||||
| 	//if(window.parent.$("#main-frm").length==0){
 | ||||
| 	$(window).off("resize.renderMyXpages").on("resize.renderMyXpages", function () { | ||||
| 			var resizeFlag=""; | ||||
| 			if(hasScrollbar()){ | ||||
| 				resizeFlag="resize"; | ||||
| 			} | ||||
| 			resizeMyXpages(cwListGlobal,resizeFlag); | ||||
| 			//renderMyXpages();
 | ||||
| 		 }); | ||||
|     // } 
 | ||||
| 	 | ||||
| 	  | ||||
| }); | ||||
| 
 | ||||
| function resizeMyXpages(cwList,resizeFlag){ | ||||
| 	 var clientWidth = document.documentElement.clientWidth || document.body.clientWidth; | ||||
| 	 for (var i=0; i < cwList.length; i++) { | ||||
| 		    var allWidth=returnAllWidth(resizeFlag); | ||||
| 		    allWidth=allWidth-parseInt(templateInfo[0].paddingLeft.replace("px",""))-parseInt(templateInfo[0].paddingRight.replace("px","")); | ||||
| 		    var eachCwWidth=cwList[i].width; | ||||
| 		    var marginTop=templateInfo[0].marginTop; | ||||
| 		    var marginBottom=templateInfo[0].marginBottom; | ||||
| 		    var marginLeft=templateInfo[0].marginLeft; | ||||
| 		    var marginRight=templateInfo[0].marginRight; | ||||
| 		    var height=cwList[i].height; | ||||
| 		    var ww=0.3333333333; | ||||
| 		    if(eachCwWidth=="1"){ | ||||
| 		    	ww=0.3333333333; | ||||
| 		    }else if(eachCwWidth=="2"){ | ||||
| 		    	ww=0.5; | ||||
| 		    }else if(eachCwWidth=="3"){ | ||||
| 		    	ww=0.6666666667 | ||||
| 		    }else if(eachCwWidth=="4"){ | ||||
| 		    	ww=1; | ||||
| 		    }else{ | ||||
| 		    	ww=0.3333333333; | ||||
| 		    } | ||||
| 			var width=parseInt(allWidth)*ww; | ||||
| 			marginLeft=marginLeft.replace("px",""); | ||||
| 			marginRight=marginRight.replace("px",""); | ||||
| 			width=width-parseInt(marginLeft)-parseInt(marginRight); | ||||
| 			//width=windowWidthCw(eachCwWidth,width);
 | ||||
| 			width=width+"px"; | ||||
| 			var height=parseInt(height)+"px"; | ||||
| 			 | ||||
| 			var eachobj=$(".each-cwshow-item[rowid='" + cwList[i].id + "']"); | ||||
| 			if($(eachobj).length>0){ | ||||
| 				$(eachobj).css("width",width); | ||||
| 				 | ||||
| 				$(eachobj).attr("divwidth",width); | ||||
| 				$(eachobj).attr("divheight",height); | ||||
| 			} | ||||
| 	}; | ||||
| 	 | ||||
| 	/* | ||||
| 	for (var i=0; i < cwList.length; i++) { | ||||
| 		  var subList=cwList[i]["subList"]; | ||||
| 		  var cwId=cwList[i].id; | ||||
| 		  var cwInfo=cwList[i]; | ||||
| 		  var cwHeight=cwInfo["height"]; | ||||
| 		  if(subList.length>1){ | ||||
| 				for (var j=0; j < subList.length; j++) { | ||||
| 		  		    var subCwId =subList[j].id; | ||||
| 		  		    var url=$("#"+subCwId).attr("src"); | ||||
| 		  		    $("#"+subCwId).attr("src",url); | ||||
| 			    }; | ||||
| 			 | ||||
| 		  }else{ | ||||
| 			  var cwSubInfo=subList[0]; | ||||
| 			  var subCwId=cwSubInfo.id; | ||||
| 			  var url=$("#"+subCwId).attr("src"); | ||||
| 		      $("#"+subCwId).attr("src",url); | ||||
| 		  } | ||||
| 				 | ||||
| 	}; | ||||
| 	*/ | ||||
| 	 | ||||
| 	 | ||||
| 	 | ||||
| } | ||||
| 
 | ||||
| function renderMyXpages(){ | ||||
| 	getParentCwForPreview(); | ||||
| 	renderTemplateInfo(); | ||||
| } | ||||
| 
 | ||||
| function returnMportal3(pcolor){ | ||||
| 	     var mainColor="blackc"; | ||||
| 		 if(pcolor=="mskin_color1"){ | ||||
| 		 	mainColor="blackc"; | ||||
| 		 }else  if(pcolor=="mskin_color2"){ | ||||
| 		 	mainColor="greenc"; | ||||
| 		 }else  if(pcolor=="mskin_color3"){ | ||||
| 		 	mainColor="orangerc"; | ||||
| 		 }else  if(pcolor=="mskin_color4"){ | ||||
| 		 	mainColor="zic"; | ||||
| 		 }else  if(pcolor=="mskin_color5"){ | ||||
| 		 	mainColor="hulan"; | ||||
| 		 }else  if(pcolor=="mskin_color6"){ | ||||
| 		 	mainColor="yellow"; | ||||
| 		 } | ||||
| 		 return mainColor; | ||||
| } | ||||
| 
 | ||||
| function renderTemplateInfo(){ | ||||
| 	var tempate=templateInfo[0]; | ||||
| 	var backgroundFlag=tempate.backgroundFlag; | ||||
| 	var background=tempate.background; | ||||
| 	var templateJs=tempate.templateJs; | ||||
| 	var paddingTop=tempate.paddingTop; | ||||
| 	var paddingBottom=tempate.paddingBottom; | ||||
| 	var paddingLeft=tempate.paddingLeft; | ||||
| 	var paddingRight=tempate.paddingRight; | ||||
| 	var colorStyle=tempate.colorStyle; | ||||
| 	boxShadow=tempate.boxShadow; | ||||
| 	borderRadius=tempate.borderRadius; | ||||
| 	transparent=tempate.transparent; | ||||
| 	 | ||||
| 	if(colorStyle!=undefined && colorStyle!=null && colorStyle!=""){ | ||||
| 		if (typeof window.parent.$ === 'function') { | ||||
| 			if (window.parent.$("#main-frm").length != 0) { | ||||
| 				var pcolor = window.parent.$("#main-frm").attr("mcolor"); | ||||
| 				colorStyleMain = returnMportal3(pcolor); | ||||
| 			} else { | ||||
| 				colorStyleMain = colorStyle; | ||||
| 			} | ||||
| 		}else{ | ||||
| 			colorStyleMain = colorStyle; | ||||
| 		} | ||||
| 		 | ||||
| 	} | ||||
| 	 | ||||
| 	loadIconUrl=tempate.loadingIcon; | ||||
| 	if(backgroundFlag=="1"){ | ||||
| 		//使用背景色
 | ||||
| 		if(background==""){ | ||||
| 			background="FFFFFF"; | ||||
| 		}  | ||||
| 	    $("body").css("background","#"+background); | ||||
| 	}else if(backgroundFlag=="2"){ | ||||
| 		//使用背景图
 | ||||
| 		if(background!=""){ | ||||
| 		  $("body").css("background-image","url("+background+")"); | ||||
| 		}  | ||||
| 	} | ||||
| 	//页面加载js
 | ||||
| 	if(templateJs!=""){ | ||||
| 		 $("body").append("<script>"+ templateJs +"</script>"); | ||||
| 		 | ||||
| 	} | ||||
| 	 | ||||
| 	$("body").css("padding-top",paddingTop); | ||||
| 	$("body").css("padding-bottom",paddingBottom); | ||||
| 	$("body").css("padding-left",paddingLeft); | ||||
| 	$("body").css("padding-right",paddingRight); | ||||
| 	 | ||||
| } | ||||
| 
 | ||||
| function renderCwFormElement(cwId,cwSubId){ | ||||
| 	var htmlStr=$(".cw-default-element").html(); | ||||
| 	$("#easy-tab-nav-link").find("li").first().attr("subcwid",cwSubId); | ||||
| 	 | ||||
| 	$("#easy-content-nav-link").find(".nav-config-panel").first().append(htmlStr); | ||||
| 	$("#easy-content-nav-link").find(".nav-config-panel").attr("subcwid",cwSubId); | ||||
| } | ||||
| 
 | ||||
| function renderNewCwFormElement(cwId,cwSubId){ | ||||
|     var htmlStr=$(".cw-default-element").html(); | ||||
|     $("#easy-content-nav-link").append("<div class='nav-config-panel' subcwid='"+cwSubId+"'>"+htmlStr+"</div>"); | ||||
|     $("#easy-tab-nav-link").append("<li class='nav-config-li' subcwid='"+cwSubId+"'>新窗体</li>"); | ||||
|     $("#easy-content-nav-link").find(".nav-config-panel[subcwid='"+cwSubId+"']").find("#cwName").val("新窗体"); | ||||
|     easyTabInit("easy-tab-nav-link","easy-content-nav-link"); | ||||
|       | ||||
|     $("#easy-tab-nav-link").find("li").removeClass("current"); | ||||
|     $("#easy-tab-nav-link").find("li[subcwid='"+cwSubId+"']").addClass("current"); | ||||
| 
 | ||||
|     $("#easy-content-nav-link").find(".nav-config-panel").css("display","none"); | ||||
|     $("#easy-content-nav-link").find(".nav-config-panel[subcwid='"+cwSubId+"']").css("display","block"); | ||||
| 	 | ||||
| 	registerCwFormEvent(cwId,cwSubId); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| function getParentCwForPreview(id){ | ||||
|    var params = { | ||||
| 		templateId: templateId | ||||
| 	}; | ||||
| 	var url = './jd?sid=' + sid + '&cmd=com.actionsoft.apps.addons.xpages_get_parent_cw'; | ||||
| 	awsui.ajax.post(url, params, function (responseObject) { | ||||
| 		if (responseObject['result'] == 'ok') { | ||||
| 			var cwList = responseObject["data"]["cwList"]; | ||||
| 			if(cwList.length==0){ | ||||
| 				//空白页面如果是管理员 可以有设计的快捷入口
 | ||||
| 					var html = ""; | ||||
| 					html += '<div class="cwshow-content-iframe-panel" style="text-align:center;">'; | ||||
| 					html += '<img class="apps-no-record-img" src="../apps/com.actionsoft.apps.addons.xpages/img/xpages-no-config.png" width="100" height="100">'; | ||||
| 					html += '<div class="apps-no-record-txt" > XPages空页面</div>'; | ||||
| 					if(canManageTemplate == "1"){ | ||||
| 						var templateDesignUrl = "./w?sid="+sid+"&cmd=com.actionsoft.apps.addons.xpages_template_design_page&id="+templateId; | ||||
| 					    html += '<div class="apps-no-record-txt" > <a href="'+templateDesignUrl+'" target="_blank" style="color:#005CFF;">点击设计</a></div>'; | ||||
| 					} | ||||
| 					html += '</div>'; | ||||
| 					$("body").append(html); | ||||
| 			}else{ | ||||
| 				cwListGlobal=cwList; | ||||
| 				renderParentCwElementForPreview(cwList);  | ||||
| 			} | ||||
| 		} else { | ||||
| 			$.simpleAlert(responseObject['msg'], responseObject['result']); | ||||
| 		} | ||||
| 	}, 'json'); | ||||
| 	 | ||||
| 
 | ||||
| } | ||||
| 
 | ||||
| function renderParentCwElementForPreview(cwList){ | ||||
| 	$("body").empty(); | ||||
| 	 | ||||
| 	var htmlStr=""; | ||||
| 	for (var i=0; i < cwList.length; i++) { | ||||
| 		    var line=cwList[i].line; | ||||
| 		    var lineindex=cwList[i].lineindex; | ||||
| 		    var linecount=cwList[i].linecount; | ||||
| 		    var allWidth=returnAllWidth(); | ||||
| 		    allWidth=allWidth-parseInt(templateInfo[0].paddingLeft.replace("px",""))-parseInt(templateInfo[0].paddingRight.replace("px","")); | ||||
| 		    var eachCwWidth=cwList[i].width; | ||||
| 		    var marginTop=templateInfo[0].marginTop; | ||||
| 		    var marginBottom=templateInfo[0].marginBottom; | ||||
| 		    var marginLeft=templateInfo[0].marginLeft; | ||||
| 		    var marginRight=templateInfo[0].marginRight; | ||||
| 		    var height=cwList[i].height; | ||||
| 		    var ww=0.3333333333; | ||||
| 		    if(eachCwWidth=="1"){ | ||||
| 		    	ww=0.3333333333; | ||||
| 		    }else if(eachCwWidth=="2"){ | ||||
| 		    	ww=0.5; | ||||
| 		    }else if(eachCwWidth=="3"){ | ||||
| 		    	ww=0.6666666667 | ||||
| 		    }else if(eachCwWidth=="4"){ | ||||
| 		    	ww=1; | ||||
| 		    }else{ | ||||
| 		    	ww=0.3333333333; | ||||
| 		    } | ||||
| 			var width=parseInt(allWidth)*ww; | ||||
| 			marginLeft=marginLeft.replace("px",""); | ||||
| 			marginRight=marginRight.replace("px",""); | ||||
| 			width=width-parseInt(marginLeft)-parseInt(marginRight); | ||||
| 			//width=windowWidthCw(eachCwWidth,width);
 | ||||
| 			width=width+"px"; | ||||
| 			var height=parseInt(height)+"px"; | ||||
| 			 | ||||
| 		if($(".each-cwshow-item[rowid='" + cwList[i].id + "']").length==0){ | ||||
| 			if(borderRadius==""){ | ||||
| 				borderRadius="0px"; | ||||
| 			} | ||||
| 			  | ||||
| 			if(lineindex=="0"){ | ||||
| 				htmlStr=""; | ||||
| 				//htmlStr+='<div class="cwrow">';
 | ||||
| 			} | ||||
| 			  | ||||
| 		  	htmlStr+='<div  class="each-cwshow-item '+colorStyleMain+'_tab" rowid="'+cwList[i].id+'" style="width:'+width+';height:'+height+';border-radius:'+borderRadius+';box-shadow:'+boxShadow+';margin-top:'+marginTop+';margin-bottom:'+marginBottom+';margin-left:'+templateInfo[0].marginLeft+';margin-right:'+templateInfo[0].marginRight+';"  divwidth="'+width+'" divheight="'+height+'" eachcwwidth="'+eachCwWidth+'" line="'+line+'" lineindex="'+lineindex+'" linecount="'+linecount+'" >'; | ||||
|  		  	htmlStr+='     <div id="easy-outer-nav-cwshowwrap_'+cwList[i].id+'" rowid="'+cwList[i].id+'" class="easy-outer-nav-cwshowwrap"></div>'; | ||||
| 		  	htmlStr+='</div>'; | ||||
| 			 | ||||
| 		  	if((parseInt(lineindex)+1)==parseInt(linecount)){ | ||||
| 		  		//htmlStr+='</div>';
 | ||||
| 		  		$("body").append(htmlStr); | ||||
| 		  	} | ||||
| 
 | ||||
| 	 | ||||
| 		} | ||||
| 	}; | ||||
| 	 | ||||
| 	for (var i=0; i < cwList.length; i++) { | ||||
| 		  var subList=cwList[i]["subList"]; | ||||
| 		  var cwId=cwList[i].id; | ||||
| 		  var cwInfo=cwList[i]; | ||||
| 		  var cwHeight=cwInfo["height"]; | ||||
| 		  if(subList.length>1){ | ||||
| 		  	var tabStr=""; | ||||
| 		  	tabStr+='       <div id="easy-outer-nav-cwshow_'+cwId+'" class="easy-outer-nav-cwshow">'; | ||||
| 			tabStr+='		         <ul id="easy-tab-nav-cwshow_'+cwId+'" class="easy-tab-nav-cwshow cwshow-title-bar" rowid="'+cwId+'">'; | ||||
| 			tabStr+='		         </ul>'; | ||||
| 			tabStr+='		         <div id="easy-content-nav-cwshow_'+cwId+'" class="easy-content-nav-cwshow cwshow-content-panel">'; | ||||
| 			tabStr+='		         </div>'; | ||||
| 			tabStr+='		 </div>'; | ||||
| 		  	$("#easy-outer-nav-cwshowwrap_"+cwId).append(tabStr); | ||||
| 		  	//渲染tab
 | ||||
| 		  	var cwStyle="0"; | ||||
| 		  	for (var j=0; j < subList.length; j++) { | ||||
| 		  		    cwStyle=subList[j].cwStyle;//0 无标题 1简约  2竖线 3横线 4方块 5梯形
 | ||||
| 				    renderNewCwShowElementForPreview(cwId,subList[j].id,subList[j],cwInfo,j); | ||||
| 			}; | ||||
| 			 | ||||
| 			 | ||||
| 			$("#easy-tab-nav-cwshow_"+cwId).find("li").off("click").on("click",function(){ | ||||
| 				 var mainColor=returnMainColor(colorStyleMain); | ||||
| 				 var cwStyle=$(this).attr("cwstyle"); | ||||
| 				 var subCwId=$(this).attr("subcwid"); | ||||
| 				 var cwId=$(this).parent().attr("rowid"); | ||||
| 				  | ||||
| 				 var index=$(this).attr("index"); | ||||
| 				 var url=$(this).attr("url"); | ||||
| 		    	 if(index!=0 && $("#"+subCwId).attr("src")!=url){ | ||||
| 		    		 //$("#"+subCwId).attr("src",url);
 | ||||
|                      $("#"+subCwId).attr("src",encodeURI(url)); | ||||
| 		    	 } | ||||
| 		    	  | ||||
| 		    	  | ||||
| 				$(this).siblings("li").removeClass("current"); | ||||
| 				$(this).addClass("current"); | ||||
| 				 | ||||
| 				$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find(".tab-tit-02").hide(); | ||||
| 				$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find(".tx-panelext").hide(); | ||||
| 				if(cwStyle=="1"){ | ||||
| 					//简约
 | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find("li").css("background","none"); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find("li").css("color","#adadad");//adadad to 000000
 | ||||
|                     $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find(".current").css("color","#000000"); | ||||
| 				}else if(cwStyle=="2"){ | ||||
| 					//竖线
 | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find("li").css("background","none"); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find("li").css("color","#adadad");//adadad to 000000
 | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find("li").css("border-left","none"); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find("li").css("height","35px"); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find("li").css("line-height","35px"); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find("li").css("margin","0px"); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find(".current").css("border-left","3px solid #"+mainColor); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find(".current").css("height","20px"); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find(".current").css("line-height","20px"); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find(".current").css("margin","7px 0px 7px 10px"); | ||||
|                     $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find(".current").css("color","#000000"); | ||||
| 
 | ||||
|                 }else if(cwStyle=="3"){ | ||||
| 					//横线
 | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find("li").css("background","none"); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find("li").css("color","#adadad");//adadad to 000000
 | ||||
| 					 | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find("li").css("border-left","none"); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find("li").css("height","35px"); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find("li").css("line-height","35px"); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find("li").css("border-bottom","none"); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find(".current").css("border-bottom","3px solid #"+mainColor); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find(".current").css("height","33px"); | ||||
|                     $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find(".current").css("color","#000000"); | ||||
| 
 | ||||
|                 }else if(cwStyle=="4"){ | ||||
| 					//方块
 | ||||
| 					 | ||||
| 					 | ||||
| 				}else if(cwStyle=="5"){ | ||||
| 					//梯形
 | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find("li").each(function(index,ele){ | ||||
| 						$(ele).next(".tab-tit-02").css("display","none"); | ||||
| 					}); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find(".tx-panelext[subcwid='"+subCwId+"']").show(); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find("li[subcwid='"+subCwId+"']").css("margin-right","0px"); | ||||
| 					$("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-bar").find(".tx-panelext[subcwid='"+subCwId+"']").css("border-bottom","35px solid #"+mainColor); | ||||
| 				}else{ | ||||
| 					 | ||||
| 				} | ||||
| 				 | ||||
| 			}); | ||||
| 			 | ||||
| 			//默认定位到第一个
 | ||||
| 			$("#easy-tab-nav-cwshow_"+cwId).find("li").first().click(); | ||||
| 
 | ||||
| 			 | ||||
| 		  }else{ | ||||
| 		  	//渲染单个 无TAB
 | ||||
| 			  if (subList.length <= 0) { | ||||
| 				  wrongConfigEvent(cwId); | ||||
| 				  continue; | ||||
| 			  } | ||||
| 		  	var cwSubInfo=subList[0]; | ||||
| 		  	var activeSub = cwSubInfo["isActive"]; | ||||
| 		  	var subCwId = cwSubInfo["id"]; | ||||
| 		  	if(activeSub=="" || activeSub=="true" || activeSub=="TRUE"){ | ||||
|                 if(cwSubInfo==undefined){ | ||||
| 					wrongConfigEvent(cwId); | ||||
|                 }else{ | ||||
|                     var cwScroll=cwSubInfo.cwScroll; | ||||
|                     var cwStyle=cwSubInfo.cwStyle;//0 无标题 1简约  2竖线 3横线 4方块 5梯形
 | ||||
|                     var cwUrl=cwSubInfo["cwUrl"]; | ||||
|                     var fontSize=cwSubInfo["fontSize"]; | ||||
|                     var fontFamily=cwSubInfo["fontFamily"]; | ||||
|                     var isBold=cwSubInfo["isBold"]; | ||||
|                     var isItalic=cwSubInfo["isItalic"]; | ||||
|                     var paddingLeft=cwSubInfo["paddingLeft"]; | ||||
|                     var paddingRight=cwSubInfo["paddingRight"]; | ||||
|                     var paddingTop=cwSubInfo["paddingTop"]; | ||||
|                     var paddingBottom=cwSubInfo["paddingBottom"]; | ||||
|                     var isActive=cwSubInfo["isActive"]; | ||||
|                     var paddingTopH=paddingTop.replace("px",""); | ||||
|                     var paddingBottomH=paddingBottom.replace("px",""); | ||||
| 
 | ||||
|                     var cwTitleBarHeight=35; | ||||
|                     var frameH=(parseInt(cwHeight)-cwTitleBarHeight)+"px"; | ||||
|                     if(cwStyle=="0"){ | ||||
|                         //无标题风格
 | ||||
|                         //frameH= (parseInt(cwHeight)-10)+"px";
 | ||||
|                         frameH= parseInt(cwHeight)+"px"; | ||||
|                     } | ||||
|                     frameH=frameH.replace("px",""); | ||||
|                     frameH=parseInt(frameH)-parseInt(paddingTopH)-parseInt(paddingBottomH); | ||||
|                     frameH=frameH+"px"; | ||||
| 
 | ||||
|                     var str="<div class='content-wrap'>"; | ||||
|                     if(cwStyle=="0"){ | ||||
|                         //无标题风格
 | ||||
|                     }else{ | ||||
|                         str+="<div class='cwshow-title-bar' rowid='"+cwId+"'>";//标题栏
 | ||||
| 						str += "	<div class='cwshow-title-text' subcwid='" + subCwId + "'>" + subList[0].cwNameI18N + "<span class='xpages-bubble' subcwid='" + subCwId + "'></span></div>";//标题栏
 | ||||
|                         str+='	<div style="display:block;" class="tab-tit-01" subcwid="'+subCwId+'"></div>'; | ||||
|                         str+='</div>'; | ||||
| 
 | ||||
|                     } | ||||
|                     str+="<div class='cwshow-content-iframe-wrap' >"; | ||||
|                     if(subList[0].cwUrl!=null && subList[0].cwUrl!=undefined && subList[0].cwUrl!=""){ | ||||
|                         if(isActive=="" || isActive=="true" || isActive=="TRUE"){ | ||||
|                             var loadingIcon="../commons/img/waiting.gif"; | ||||
|                             var loadingUrl="./w?sid="+sid+"&cmd=com.actionsoft.apps.addons.xpages_loading_page&templateId="+templateId; | ||||
|                             if(loadIconUrl!=""){ | ||||
|                                 nowLoadIconUrl=loadIconUrl; | ||||
|                             } | ||||
|                             str+="<div class='cwshow-content-iframe-panel' style='padding-left:"+paddingLeft+";padding-right:"+paddingRight+";padding-top:"+paddingTop+";padding-bottom:"+paddingBottom+";height:"+frameH+";'>"; | ||||
|                             str+="<iframe src='"+loadingUrl+"' id='"+subCwId+"' pid='"+cwId+"' cwistab='2' fontsize='"+fontSize+"'  scrolling='"+cwScroll+"' mcolor='"+colorStyleMain+"' transparent='"+transparent+"' frameborder='0' allowfullscreen='true' webkitallowfullscreen='true' style='height:"+frameH+";width:100%;'></iframe>"; | ||||
|                             str+="</div>"; | ||||
|                         } | ||||
| 					} else { | ||||
|                         if(cwStyle=="0"){ | ||||
|                             cwTitleBarHeight = 0; | ||||
|                         } | ||||
|                         var messageheight=(parseInt(cwHeight)-cwTitleBarHeight)+"px"; | ||||
|                         str+='<div class="awsui-message-page-wrap" style="height:'+messageheight+'">'; | ||||
|                         str+='<div class="awsui-message-page">'; | ||||
|                         str+='<div class="content">'; | ||||
|                         str+='<span class="icon" message-type="no_content"></span>'; | ||||
| 						str += '<span class="title">' + 暂未配置内容 + '</span>'; | ||||
|                         str+='</div>'; | ||||
|                         str+='</div>'; | ||||
|                         str+='</div>'; | ||||
| 
 | ||||
|                     } | ||||
|                     str+="</div>"; | ||||
| 
 | ||||
|                     str+="</div>"; | ||||
|                     $("#easy-outer-nav-cwshowwrap_"+cwId).append(str); | ||||
|                     awsuiMessagePage(); | ||||
| 
 | ||||
|                     //---- 标题字体样式设置----------
 | ||||
|                     //倾斜
 | ||||
|                     if(isItalic=="2"){ | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").css("font-style","italic"); | ||||
|                     } | ||||
|                     //加粗
 | ||||
|                     if(isBold=="2"){ | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").css("font-weight","bold"); | ||||
|                     } | ||||
|                     //字体
 | ||||
|                     if(fontFamily){ | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").css("font-family",fontFamily); | ||||
|                     } | ||||
|                     //字号
 | ||||
|                     if(fontSize){ | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").css("font-size",fontSize); | ||||
|                     } | ||||
|                     //---- 标题字体样式设置----------
 | ||||
| 
 | ||||
|                     var mainColor=returnMainColor(colorStyleMain); | ||||
|                     if(cwStyle=="1"){ | ||||
|                         //简约
 | ||||
|                     }else if(cwStyle=="2"){ | ||||
|                         //竖线
 | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").css("border-left","3px solid #"+mainColor); | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").css("height","17px"); | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").css("line-height","17px"); | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").css("margin","10px 0px 0px 10px"); | ||||
|                     }else if(cwStyle=="3"){ | ||||
|                         //横线
 | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").css("border-bottom","3px solid #"+mainColor); | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").css("height","28px"); | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").css("line-height","25px"); | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").css("margin","5px 0px 0px 5px"); | ||||
|                     }else if(cwStyle=="4"){ | ||||
|                         //方块
 | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").addClass(colorStyleMain); | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").css("color","#ffffff"); | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").css("padding","0px 10px"); | ||||
| 
 | ||||
|                     }else if(cwStyle=="5"){ | ||||
|                         //梯形
 | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").addClass(colorStyleMain); | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").css("color","#ffffff"); | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".cwshow-title-text").after("<div class='tx-panel '></div>"); | ||||
|                         $("#easy-outer-nav-cwshowwrap_"+cwId).find(".tx-panel").css("border-bottom","35px solid #"+mainColor); | ||||
|                     }else{ | ||||
| 
 | ||||
|                     } | ||||
| 
 | ||||
| 
 | ||||
|                     if($.browser.isFirefox || $.browser.isIE){ | ||||
|                     	var urltemp = encodeURI(subList[0].cwUrl); | ||||
|                     	setUnTabUrl(subCwId,urltemp); | ||||
|                     }else{ | ||||
|                         $('#'+subCwId).attr("src",encodeURI(subList[0].cwUrl)); | ||||
|                     } | ||||
| 
 | ||||
|                     renderCwOpInPreview($("#easy-outer-nav-cwshowwrap_"+cwId).find(".tab-tit-01[subcwid="+subList[0].id+"]"),cwSubInfo); | ||||
|                 } | ||||
| 
 | ||||
| 
 | ||||
| 			}else{ | ||||
|                 $("#easy-outer-nav-cwshowwrap_"+cwId).parent().hide(); | ||||
| 			} | ||||
| 
 | ||||
| 		  } | ||||
| 		  	 | ||||
| 		  	    var tempate=templateInfo[0]; | ||||
| 				var backgroundFlag=tempate.backgroundFlag; | ||||
| 				var background=tempate.background; | ||||
| 		  		if(backgroundFlag=="1"){ | ||||
| 					//使用背景色
 | ||||
| 					if(background==""){ | ||||
| 						background="FFFFFF"; | ||||
| 					} | ||||
| 				    $("#easy-outer-nav-cwshowwrap_"+cwId).css("background","#"+background); | ||||
| 				}else if(backgroundFlag=="2"){ | ||||
| 					//使用背景图
 | ||||
| 					if(background!=""){ | ||||
| 				 	//  $("#easy-outer-nav-cwshowwrap_"+cwId).css("background-image","url("+background+")");
 | ||||
| 					} | ||||
| 				} | ||||
| 		  		 | ||||
| 		  		//透明度
 | ||||
| 		  		if(0< parseFloat(transparent) && parseFloat(transparent)<1){ | ||||
| 		  			/* | ||||
| 		  			$(".each-cwshow-item").css("background","rgba(255, 255, 255, "+transparent+")"); | ||||
| 		  			$(".content-wrap").css("background","rgba(255, 255, 255, "+transparent+")"); | ||||
| 		  			$(".cwshow-title-bar").css("background","rgba(255, 255, 255, "+transparent+")"); | ||||
| 		  			$(".easy-outer-nav-cwshow").css("background","rgba(255, 255, 255, "+transparent+")"); | ||||
| 		  			*/ | ||||
| 		  			$(".each-cwshow-item").css("background","rgba(255, 255, 255, "+transparent+")"); | ||||
| 		  			$(".content-wrap").css("background","none"); | ||||
| 		  			$(".cwshow-title-bar").css("background","none"); | ||||
| 		  			$(".easy-outer-nav-cwshow").css("background","none"); | ||||
| 		  			 | ||||
| 		  		} | ||||
| 		  		 | ||||
| 				 | ||||
| 	}; | ||||
| 	 | ||||
| 	 | ||||
| 	//if(hasScrollbarForDesign() || hasScroll){
 | ||||
| 		//如果有滚动条 重新resize
 | ||||
| 	resizeMyXpages(cwListGlobal, "resize"); | ||||
| 	$("body").append("<div class='bottom-target'></div>"); | ||||
| 	var h = $(".bottom-target").offset().top - $(window).scrollTop(); | ||||
| 	$("body").css("height", h + "px"); | ||||
| 	 | ||||
| 	//}
 | ||||
| 	 | ||||
| } | ||||
| 
 | ||||
| function wrongConfigEvent(cwId) { | ||||
| 	var singleHtml = ""; | ||||
| 	var messageheight = $("#easy-outer-nav-cwshowwrap_" + cwId).height(); | ||||
| 	singleHtml += "<div class='single-content-panel' style='height:" + messageheight + "px;'>"; | ||||
| 	singleHtml += '<div class="awsui-message-page">'; | ||||
| 	singleHtml += '<div class="content">'; | ||||
| 	singleHtml += '<span class="icon" message-type="error"></span>'; | ||||
| 	singleHtml += '<span class="title"> ' + 配置有误 + '</span>'; | ||||
| 	singleHtml += '</div>'; | ||||
| 	singleHtml += '</div>'; | ||||
| 	singleHtml += '</div>'; | ||||
| 	$("#easy-outer-nav-cwshowwrap_" + cwId).append(singleHtml); | ||||
| 	awsuiMessagePage(); | ||||
| } | ||||
| 
 | ||||
| function setUnTabUrl(subCwId,url){ | ||||
| 	var url = url+"×tamp=" + new Date().getTime(); | ||||
|     setTimeout(function() { | ||||
|         $('#'+subCwId).attr("src",url); | ||||
|     },200); | ||||
| }; | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| function renderCwOpInPreview(obj,cwSubInfo){ | ||||
| 	var operationArea=cwSubInfo["operationAreaDesc"]; | ||||
| 	var cwSubId=cwSubInfo["id"]; | ||||
| 	var turnFlag="1"; | ||||
| 	if(operationArea.length>0){ | ||||
| 		for (var k=0; k < operationArea.length; k++) { | ||||
| 			var str=""; | ||||
| 			var eachOpInfo=operationArea[k]; | ||||
| 			var id=eachOpInfo.id; | ||||
| 			var name=eachOpInfo.name; | ||||
| 			var nameI18N = eachOpInfo.nameI18N; | ||||
| 			var type=eachOpInfo.type; | ||||
| 			var content=eachOpInfo.content; | ||||
| 			var contentI18N = eachOpInfo.contentI18N; | ||||
| 			var ext1=eachOpInfo.ext1; | ||||
| 			var opContent = nameI18N; | ||||
| 			 | ||||
| 			if(type=="html"){ | ||||
| 			      opContent=content; | ||||
| 		    } | ||||
| 	        if(type=="turn"){ | ||||
| 				content = contentI18N; | ||||
| 	        	turnFlag = ext1; | ||||
| 	        	if(content!=null && content!=undefined && content!=""){ | ||||
| 					var showText = opContent = content.split("|")[0]; | ||||
| 					var hideText = opContent = content.split("|")[1]; | ||||
| 	        	   if(turnFlag=="1"){ | ||||
| 	        		     opContent=showText;//默认显示隐藏的text
 | ||||
| 		    	   	 }else{ | ||||
| 		    	   		 opContent=hideText;//默认显示隐藏的text
 | ||||
| 		    	   	 } | ||||
| 	        	    | ||||
| 	        	} | ||||
| 	        } | ||||
| 	        str+='<span class="eachcw-op" opid="'+id+'" subcwid="'+cwSubId+'" name="'+name+'"  type="'+type+'"  ext1="'+ext1+'" >'; | ||||
| 	        str+= opContent; | ||||
| 	        str+='<span class="eachcw-op-hiddencontent" subcwid="'+cwSubId+'" name="'+name+'"  type="'+type+'"  style="display:none;">'+content+'</span>'; | ||||
| 	        str+='</span>'; | ||||
| 	        $(obj).append(str); | ||||
| 	         | ||||
| 	        if(type=="turn"){ | ||||
| 	        	 if(turnFlag=="1"){ | ||||
| 	        		 //默认展开  先设置成不显示 再处理展示
 | ||||
| 	    	   		 var opHtml = $(".eachcw-op[opid='"+id+"']").html(); | ||||
| 	    	   		 var pid=$('#'+cwSubId).attr("pid"); | ||||
| 	    	   		 $('#'+cwSubId).parents().find(".cwshow-title-bar[rowid='"+pid+"']").next().find(".cwshow-content-iframe-panel").hide(); | ||||
| 	    	   		 turnEvent($(".eachcw-op[opid='"+id+"']"),content,cwSubId,pid,opHtml); | ||||
| 	    	   	 }else{ | ||||
| 	    	   		 var opHtml = $(".eachcw-op[opid='"+id+"']").html(); | ||||
| 	    	   		 var pid=$('#'+cwSubId).attr("pid"); | ||||
| 	    	   		 $('#'+cwSubId).parents().find(".cwshow-title-bar[rowid='"+pid+"']").next().find(".cwshow-content-iframe-panel").show(); | ||||
| 	    	   		 turnEvent($(".eachcw-op[opid='"+id+"']"),content,cwSubId,pid,opHtml); | ||||
| 	    	   	 } | ||||
| 	        } | ||||
| 	         | ||||
| 		}; | ||||
| 	} | ||||
| 	 | ||||
| 	 | ||||
| 	//处理按钮问题
 | ||||
| 	$(".eachcw-op").off("click").on("click",function(){ | ||||
| 		var content=$(this).attr("content"); | ||||
| 		var type=$(this).attr("type"); | ||||
| 		var cwSubId=$(this).attr("subcwid"); | ||||
| 		var ext1=$(this).attr("ext1"); | ||||
| 		var content=$(this).find(".eachcw-op-hiddencontent").text(); | ||||
| 		var opHtml = $(this).html(); | ||||
| 		var pid=$('#'+cwSubId).attr("pid"); | ||||
| 		if(type=="turn"){ | ||||
| 			//展示隐藏 处理整个父窗体的
 | ||||
| 			turnEvent($(this),content,cwSubId,pid,opHtml); | ||||
| 		}  | ||||
| 	}); | ||||
| 	 | ||||
| 	$(obj).find(".eachcw-op").each(function(i,ele){ | ||||
| 		var type=$(ele).attr("type"); | ||||
| 		var content=$(ele).find(".eachcw-op-hiddencontent").text(); | ||||
| 		var cwSubId=$(this).attr("subcwid"); | ||||
| 		var ext1=$(this).attr("ext1"); | ||||
| 		var opHtml = $(this).html(); | ||||
| 		var pid=$('#'+cwSubId).attr("pid"); | ||||
| 		if(type=="refresh" && content!=""){ | ||||
| 			//定时刷新
 | ||||
| 			 | ||||
| 			var qrTimeStr=parseInt(content)*1000; | ||||
| 		    //开启定时器  定时刷新
 | ||||
| 			qrTimer=setInterval(function(){ | ||||
| 			$('#'+cwSubId).attr('src', $('#'+cwSubId).attr('src')); | ||||
| 			},qrTimeStr); | ||||
| 		 | ||||
| 		}else if(type=="js"){ | ||||
| 			//JS 调用
 | ||||
| 			 eval(content); | ||||
| 		} | ||||
| 		 | ||||
| 	}); | ||||
| 	 | ||||
| 	 | ||||
| 	//处理按钮问题
 | ||||
| 	$(".eachcw-op").off("click").on("click",function(){ | ||||
| 		var content=$(this).attr("content"); | ||||
| 		var type=$(this).attr("type"); | ||||
| 		var cwSubId=$(this).attr("subcwid"); | ||||
| 		var ext1=$(this).attr("ext1"); | ||||
| 		var content=$(this).find(".eachcw-op-hiddencontent").text(); | ||||
| 		var opHtml = $(this).html(); | ||||
| 		var pid=$('#'+cwSubId).attr("pid"); | ||||
| 		 | ||||
| 		if(type=="refresh"){ | ||||
| 			//刷新
 | ||||
| 			$('#'+cwSubId).attr('src', $('#'+cwSubId).attr('src')); | ||||
| 		}else if(type=="space"){ | ||||
| 			//间隔不处理
 | ||||
| 			 | ||||
| 		}else if(type=="turn"){ | ||||
| 			//展示隐藏 处理整个父窗体的
 | ||||
| 			if(ext1=="1"){ | ||||
| 				  | ||||
| 				  | ||||
| 			}else if(ext1=="2"){ | ||||
| 				  | ||||
| 			} | ||||
| 			turnEvent($(this),content,cwSubId,pid,opHtml); | ||||
| 			 | ||||
| 		}else if(type=="url"){ | ||||
| 			if(ext1=="1"){ | ||||
| 				//当前页面
 | ||||
| 				window.location.href=content; | ||||
| 			}else if(ext1=="2"){ | ||||
| 				//新窗口
 | ||||
| 				 window.open(content); | ||||
| 			}else if(ext1=="3"){ | ||||
| 				    //侧边栏
 | ||||
| 					var width="70%"; | ||||
| 					if($(window).width()*0.7<800){ | ||||
| 						width="800px"; | ||||
| 					} | ||||
| 					$.openSidebar({ | ||||
| 						url: content, | ||||
| 						title:"" , | ||||
| 						closeText: "收起", | ||||
| 						width: width, | ||||
| 						isMode: false, | ||||
| 						duration: "slow", | ||||
| 						iframeId: "xpagestargeturl" | ||||
| 					}); | ||||
| 				 | ||||
| 			}else{ | ||||
| 			  window.open(content); | ||||
| 			} | ||||
| 		}else if(type=="js"){ | ||||
| 			//JS 调用
 | ||||
| 			 //eval(content);
 | ||||
| 		}else if(type=="html"){ | ||||
| 			//html代码
 | ||||
| 			 | ||||
| 		} | ||||
| 	}); | ||||
| } | ||||
| 
 | ||||
| function turnEvent(obj,content,cwSubId,pid,opHtml){ | ||||
| 	if(content!=null && content!=undefined && content!=""){ | ||||
| 	    var showText=content.split("|")[0]; | ||||
| 	    var hideText=content.split("|")[1]; | ||||
|     	if( $('#'+cwSubId).parents().find(".cwshow-title-bar[rowid='"+pid+"']").next().find(".cwshow-content-iframe-panel").is(":visible") == true){ | ||||
| 	         opHtml=opHtml.replace(hideText,""); | ||||
|     		 //显示状态 点击隐藏
 | ||||
| 	        // $('#'+cwSubId).hide();
 | ||||
| 	         $('#'+cwSubId).parents().find(".cwshow-title-bar[rowid='"+pid+"']").next().find(".cwshow-content-iframe-panel").css("display","none"); | ||||
| 			 var height=$('#'+cwSubId).parents().find(".cwshow-title-bar").height(); | ||||
| 			 $('#'+cwSubId).parents().find(".each-cwshow-item[rowid='"+pid+"']").css("height", height+"px"); | ||||
| 			 $(obj).html(showText+opHtml); | ||||
| 		}else{ | ||||
| 			 opHtml=opHtml.replace(showText,""); | ||||
| 			// $('#'+cwSubId).show();
 | ||||
| 			 $('#'+cwSubId).parents().find(".cwshow-title-bar[rowid='"+pid+"']").next().find(".cwshow-content-iframe-panel").css("display","block"); | ||||
| 			 var height=$('#'+cwSubId).parents().find(".each-cwshow-item[rowid='"+pid+"']").attr("divheight"); | ||||
| 			 $('#'+cwSubId).parents().find(".each-cwshow-item[rowid='"+pid+"']").css("height", height); | ||||
| 			 $(obj).html(hideText+opHtml); | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| function renderNewCwShowElementForPreview(cwId,cwSubId,cwSubInfo,cwInfo,index){ | ||||
| 	var cwHeight=cwInfo["height"]; | ||||
| 	var cwScroll=cwSubInfo["cwScroll"]; | ||||
| 	var cwName=cwSubInfo["cwName"]; | ||||
| 	var cwNameI18N = cwSubInfo["cwNameI18N"]; | ||||
| 	var cwUrl=cwSubInfo["cwUrl"]; | ||||
| 	var fontSize=cwSubInfo["fontSize"]; | ||||
| 	var fontFamily=cwSubInfo["fontFamily"]; | ||||
| 	var isBold=cwSubInfo["isBold"]; | ||||
| 	var isItalic=cwSubInfo["isItalic"]; | ||||
| 	var isActive=cwSubInfo["isActive"]; | ||||
| 	var cwStyle=cwSubInfo["cwStyle"]; | ||||
| 	 | ||||
| 	var paddingLeft=cwSubInfo["paddingLeft"]; | ||||
| 	var paddingRight=cwSubInfo["paddingRight"]; | ||||
| 	var paddingTop=cwSubInfo["paddingTop"]; | ||||
| 	var paddingBottom=cwSubInfo["paddingBottom"]; | ||||
| 	var paddingTopH=paddingTop.replace("px",""); | ||||
| 	var paddingBottomH=paddingBottom.replace("px",""); | ||||
| 			 | ||||
| 			 | ||||
| 	var cwTitleBarHeight=35; | ||||
|   	var frameH=(parseInt(cwHeight)-cwTitleBarHeight)+"px"; | ||||
|   	 | ||||
| 	frameH=frameH.replace("px",""); | ||||
|   	frameH=parseInt(frameH)-parseInt(paddingTopH)-parseInt(paddingBottomH); | ||||
|   	frameH=frameH+"px"; | ||||
| 
 | ||||
| 
 | ||||
|     if(isActive=="" || isActive=="true" || isActive=="TRUE") { | ||||
|         var headerStr = ""; | ||||
| 		headerStr += '	<li class="nav-config-li" subcwid=' + cwSubId + ' index=' + index + ' cwstyle=' + cwStyle + ' url=' + cwUrl + '>' + cwNameI18N + '<span class="xpages-bubble"  subcwid=' + cwSubId + ' ></span></li>'; | ||||
|         headerStr += '    <span style="display:none;" class="tab-tit-02 tx-panelext" subcwid=' + cwSubId + '></span>'; | ||||
|         headerStr += '    <div style="display:block;" class="tab-tit-01" subcwid=' + cwSubId + '></div>'; | ||||
|         $("#easy-tab-nav-cwshow_" + cwId).append(headerStr); | ||||
|     } | ||||
| 
 | ||||
|     var contentStr=""; | ||||
|     //contentStr+='<div class="nav-config-panel" subcwid='+cwSubId+'>';
 | ||||
|     if(cwUrl!=null && cwUrl!=undefined && cwUrl!=""){ | ||||
|     	    if(isActive=="" || isActive=="true" || isActive=="TRUE"){ | ||||
|                 contentStr+='<div class="nav-config-panel" subcwid='+cwSubId+'>'; | ||||
|                     //页面加载图标
 | ||||
|                     var loadingIcon="../commons/img/waiting.gif"; | ||||
|                     var loadingUrl="./w?sid="+sid+"&cmd=com.actionsoft.apps.addons.xpages_loading_page&templateId="+templateId; | ||||
|                     if(loadIconUrl!=""){ | ||||
|                         nowLoadIconUrl=loadIconUrl; | ||||
|                     } | ||||
|                     contentStr+="<div class='cwshow-content-iframe-panel' style='padding-left:"+paddingLeft+";padding-right:"+paddingRight+";padding-top:"+paddingTop+";padding-bottom:"+paddingBottom+";height:"+frameH+";'>"; | ||||
|                     contentStr+='  <iframe src='+loadingUrl+' id='+cwSubId+'  pid='+cwId+'  cwistab="1"  fontsize='+fontSize+'  scrolling='+cwScroll+' mcolor='+colorStyleMain+'  transparent="'+transparent+'"  frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" style="width:100%;height:'+frameH+';"></iframe>'; | ||||
|                     contentStr+="</div>"; | ||||
| 
 | ||||
|                 contentStr+='</div>'; | ||||
| 
 | ||||
|             } | ||||
| 
 | ||||
| 		  	else if(isActive==undefined){ | ||||
|     	    	/* | ||||
|  				  		contentStr+='<div class="cwshow-content-iframe-panel" style="text-align:center;">'; | ||||
| 				  		contentStr+='<img class="apps-no-record-img" src="../apps/com.actionsoft.apps.addons.xpages/img/xpages-no-config.png" width="100" height="100">'; | ||||
| 				  		contentStr+='<div class="apps-no-record-txt"  id='+cwSubId+'  pid='+cwId+'  cwistab="1"  > 应用不可用</div>'; | ||||
| 				  		contentStr+='</div>'; | ||||
| 				 */ | ||||
| 			}else{ | ||||
|     	    	/* | ||||
| 						contentStr+='<div class="cwshow-content-iframe-panel" style="text-align:center;">'; | ||||
| 				  		contentStr+='<img class="apps-no-record-img" src="../apps/com.actionsoft.apps.addons.xpages/img/xpages-no-config.png" width="100" height="100">'; | ||||
| 				  		contentStr+='<div class="apps-no-record-txt"  id='+cwSubId+'  pid='+cwId+'  cwistab="1" > 应用不可用</div>'; | ||||
| 				  		contentStr+='</div>'; | ||||
| 				  */ | ||||
| 		  	} | ||||
| 
 | ||||
|     	 | ||||
|     }else{ | ||||
|         contentStr+='<div class="nav-config-panel" subcwid='+cwSubId+'>'; | ||||
| 
 | ||||
|         var messageheight=(parseInt(cwHeight)-cwTitleBarHeight)+"px"; | ||||
| 
 | ||||
|         contentStr+='<div class="awsui-message-page-wrap" style="height:'+messageheight+'">'; | ||||
|         contentStr+='<div class="awsui-message-page">'; | ||||
|         contentStr+='<div class="content">'; | ||||
|         contentStr+='<span class="icon" message-type="no_content"></span>'; | ||||
| 		contentStr += '<span class="title">' + 暂未配置内容 + '</span>'; | ||||
|         contentStr+='</div>'; | ||||
|         contentStr+='</div>'; | ||||
|         contentStr+='</div>'; | ||||
| 
 | ||||
|         contentStr+='</div>'; | ||||
|     } | ||||
|     //contentStr+='</div>';
 | ||||
|     $("#easy-content-nav-cwshow_"+cwId).append(contentStr); | ||||
| 
 | ||||
|     awsuiMessagePage(); | ||||
|      | ||||
|     //默认只有第一个tab加载出来 其他的通过点击的时候加载
 | ||||
|     if(index==0){ | ||||
|         if($.browser.isFirefox || $.browser.isIE){ | ||||
|         	/* | ||||
|             var iframe = document.getElementById(cwSubId); | ||||
|             if (iframe.attachEvent) { | ||||
|                 iframe.attachEvent("onload", function () { | ||||
|                     $("#"+cwSubId).attr("src",encodeURI(cwSubInfo["cwUrl"])); | ||||
|                 }); | ||||
|             } else { | ||||
|                 iframe.onload = function () { | ||||
|                     $("#"+cwSubId).attr("src",encodeURI(cwSubInfo["cwUrl"])); | ||||
|                 }; | ||||
|             } | ||||
|             */ | ||||
|         	var urltemp= encodeURI(cwSubInfo["cwUrl"])+"×tamp=" + new Date().getTime(); | ||||
|         	setTimeout(function(){ | ||||
|                 $("#"+cwSubId).attr("src",urltemp); | ||||
| 			},200); | ||||
|         }else{ | ||||
|             $("#"+cwSubId).attr("src",encodeURI(cwSubInfo["cwUrl"])); | ||||
| 		} | ||||
| 
 | ||||
|      } | ||||
|      | ||||
|     renderCwOpInPreview($("#easy-outer-nav-cwshow_"+cwId).find(".tab-tit-01[subcwid="+cwSubId+"]"),cwSubInfo); | ||||
| 
 | ||||
|     $(".nav-li-panel[subcwid='"+cwSubId+"']").html(cwSubInfo["cwName"]); | ||||
|      | ||||
|     //---- 标题字体样式设置----------
 | ||||
|     //倾斜
 | ||||
|     if(isItalic=="2"){ | ||||
|     	$("#easy-tab-nav-cwshow_"+cwId).find("li[subcwid='"+cwSubId+"']").css("font-style","italic"); | ||||
|     } | ||||
|     //加粗
 | ||||
|     if(isBold=="2"){ | ||||
|     	$("#easy-tab-nav-cwshow_"+cwId).find("li[subcwid='"+cwSubId+"']").css("font-weight","bold"); | ||||
|     } | ||||
|     //字体
 | ||||
|     if(fontFamily){ | ||||
|     	$("#easy-tab-nav-cwshow_"+cwId).find("li[subcwid='"+cwSubId+"']").css("font-family",fontFamily); | ||||
|     } | ||||
|     //字号
 | ||||
|     if(fontSize){ | ||||
|     	$("#easy-tab-nav-cwshow_"+cwId).find("li[subcwid='"+cwSubId+"']").css("font-size",fontSize); | ||||
|     } | ||||
|     //---- 标题字体样式设置----------
 | ||||
|      | ||||
|     easyTabInit("easy-tab-nav-cwshow_"+cwId,"easy-content-nav-cwshow_"+cwId); | ||||
|      | ||||
|     $("#easy-tab-nav-cwshow_"+cwId).find("li").removeClass("current"); | ||||
|     $("#easy-tab-nav-cwshow_"+cwId).find("li[subcwid='"+cwSubId+"']").addClass("current"); | ||||
| 
 | ||||
|     $("#easy-content-nav-cwshow_"+cwId).find(".nav-config-panel").css("display","none"); | ||||
|     $("#easy-content-nav-cwshow_"+cwId).find(".nav-config-panel[subcwid='"+cwSubId+"']").css("display","block"); | ||||
|      | ||||
| } | ||||
| 
 | ||||
| @ -0,0 +1,202 @@ | ||||
| $(document).ready(function(){ | ||||
| 	//初始化注册方法
 | ||||
| 	initResRegister(); | ||||
| }); | ||||
| 
 | ||||
| function initResRegister(){ | ||||
| 	getResData(""); | ||||
| 	 | ||||
| 	$(".resource-nav-panel").find(".tabitem").off("click").on("click", function () { | ||||
| 		var name=$(this).attr("name"); | ||||
| 		getResData(name); | ||||
| 		setResActiveNav($(this)); | ||||
| 	}); | ||||
| 	 | ||||
| } | ||||
| //获取资源数据
 | ||||
| function getResData(categoryName){ | ||||
| 	var params = { | ||||
| 			categoryName: categoryName | ||||
| 		}; | ||||
| 		var url = './jd?sid=' + sid + '&cmd=com.actionsoft.apps.addons.xpages_get_res_by_category'; | ||||
| 		awsui.ajax.post(url, params, function (responseObject) { | ||||
| 			if (responseObject['result'] == 'ok') { | ||||
| 				var resList = responseObject["data"]["resList"]; | ||||
| 				renderResListElement(resList); | ||||
| 			} else { | ||||
| 				$.simpleAlert(responseObject['msg'], responseObject['result']); | ||||
| 			} | ||||
| 		}, 'json'); | ||||
| } | ||||
| 
 | ||||
| //渲染资源元素
 | ||||
| function renderResListElement(resList){ | ||||
| 	$("#resource-manage-panel").empty(); | ||||
| 	var tableStr = ""; | ||||
| 	$("#resource-manage-panel").append("<div class='resmsg-list'></div>"); | ||||
| 	var tablestr = ""; | ||||
| 	if (resList.length != 0) { | ||||
| 		for (var i = 0; i < resList.length; i++) { | ||||
| 			var messageinfo = resList[i]; | ||||
| 			tablestr += '<div class="each-resource-item" style="display: block;" rowid="'+messageinfo["id"]+'">'; | ||||
| 			tablestr += '<div class=" each-resource-item-top" title="">'; | ||||
| 			tablestr += '	<img class="vtgqbQa" style="visibility: hidden;">'; | ||||
| 			tablestr += '</div>'; | ||||
| 			tablestr += '<div class="file-name">'; | ||||
| 			tablestr += '	<a class="lpq5dAp" href="javascript:void(0);">'+messageinfo["name"]+'</a>'; | ||||
| 			tablestr += '</div>'; | ||||
| 			tablestr += '</div>'; | ||||
| 		} | ||||
| 	} else { | ||||
| 		tablestr+='<div class="cwshow-content-iframe-panel" style="text-align:center;">'; | ||||
| 		tablestr+='<img class="apps-no-record-img" src="../apps/com.actionsoft.apps.addons.xpages/img/xpages-no-config.png" width="100" height="100">'; | ||||
| 		tablestr+='<div class="apps-no-record-txt">暂无资源</div>'; | ||||
| 		tablestr+='</div>'; | ||||
| 	} | ||||
| 	$(".resmsg-list").append(tablestr); | ||||
| 	 | ||||
| 	$(".each-resource-item").off("click").on("click",function(){ | ||||
| 		var resId=$(this).attr("rowid"); | ||||
| 		getResInfo("2",resId); | ||||
| 	}); | ||||
|     //设置高度
 | ||||
| 	try { | ||||
| 		var heightF = $(window).height() - $(".resmsg-list").offset().top; | ||||
| 		$(".resmsg-list").css("height",heightF+"px"); | ||||
| 	} catch (e) { | ||||
| 	} | ||||
| 	  | ||||
| 	 | ||||
| } | ||||
| 
 | ||||
| //左侧导航active
 | ||||
| function setResActiveNav(obj) { | ||||
| 	//渲染左侧导航样式
 | ||||
| 	$(".xpages-navigate-group-header").removeClass("active"); | ||||
| 	$(obj).addClass("active"); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| function showAddResDlg() { | ||||
| 	var resId=getUUID(); | ||||
| 	$("#importFlag").val("0"); | ||||
| 	$("#resId").val(resId); | ||||
| 	 | ||||
| 	$("#resForm")[0].reset(); | ||||
| 	$("#res-manage-dlg").dialog({ | ||||
| 		title: "资源添加", model: true, draggable: true, width: 500, height: 400, | ||||
| 		buttons: [{ | ||||
| 					text:"导入", | ||||
| 					cls:"red btnleftalign resimpbtn", | ||||
| 					handler:function(){ | ||||
| 					    | ||||
| 				   } | ||||
| 		},{ | ||||
| 			text: "保存", cls: "blue", handler: function () { | ||||
| 				 var importFlag=$("#importFlag").val(); | ||||
| 			     if(importFlag=="1"){ | ||||
| 			    	 resId=$("#resId").val(); | ||||
| 			     } | ||||
| 			     saveResInfo(resId,"1"); | ||||
| 			} | ||||
| 		}, { | ||||
| 				text: "关闭", handler: function () { | ||||
| 				   $("#res-manage-dlg").dialog("close"); | ||||
| 			   } | ||||
| 		} | ||||
| 		] | ||||
| 	}); | ||||
| 	$(".awsui-dialog .dlg-content").css("margin", "0px"); | ||||
| 	$(".awsui-dialog .dlg-content").css("border", "none"); | ||||
| 	$(".awsui-dialog .dlg-title").css("margin-bottom", "5px"); | ||||
| 	 | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| /** | ||||
|  * type  1新建 导入 | ||||
|  * type  2 另存为 | ||||
|  */ | ||||
| function saveResInfo(resId,type){ | ||||
| 	if(type=="2"){ | ||||
| 		resId=$("#resId").val(); | ||||
| 	} | ||||
|    var name=$("#resName").val(); | ||||
|    if(!name){ | ||||
| 		$.simpleAlert('[名称]不允许为空', "info", 2000); | ||||
| 		return false; | ||||
|    } | ||||
|    var categoryName=$("#resCategoryName").val(); | ||||
|    if(!categoryName){ | ||||
| 		$.simpleAlert('[分类]不允许为空', "info", 2000); | ||||
| 		return false; | ||||
|    } | ||||
|    var desc=$("#resDesc").val(); | ||||
|    var sort="1"; | ||||
|      | ||||
|    var importFlag=$("#importFlag").val(); | ||||
|    var params = { | ||||
| 		id: resId, | ||||
| 		name: name, | ||||
| 		categoryName: categoryName, | ||||
| 		desc: desc, | ||||
| 		sort: sort | ||||
| 	}; | ||||
| 	var url = './jd?sid=' + sid + '&cmd=com.actionsoft.apps.addons.xpages_create_and_import_res'; | ||||
| 	awsui.ajax.post(url, params, function (responseObject) { | ||||
| 		if (responseObject['result'] == 'ok') { | ||||
| 			var resList = responseObject["data"]["resList"]; | ||||
| 			renderResListElement(resList); | ||||
| 			$("#res-manage-dlg").dialog("close"); | ||||
| 			$.simpleAlert("保存成功","ok"); | ||||
| 		} else { | ||||
| 			$.simpleAlert(responseObject['msg'], responseObject['result']); | ||||
| 		} | ||||
| 	}, 'json'); | ||||
| 	 | ||||
| 	 | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| /** | ||||
|  * type 1 修改时读取详情  | ||||
|  * type 2 查看时读取详情 | ||||
|  * type 3 另存为 | ||||
|  * @param {Object} type | ||||
|  */ | ||||
| function getResInfo(type,id){ | ||||
| 	var params = { | ||||
| 		id: id | ||||
| 	}; | ||||
| 	var url = './jd?sid=' + sid + '&cmd=com.actionsoft.apps.addons.xpages_get_res_info'; | ||||
| 	awsui.ajax.post(url, params, function (responseObject) { | ||||
| 		if (responseObject['result'] == 'ok') { | ||||
| 			var resInfo = responseObject["data"]["resInfo"]; | ||||
| 			if(type=="1"){ | ||||
| 				//修改时
 | ||||
| 				  | ||||
| 			}else if(type=="2"){ | ||||
| 				//详情
 | ||||
| 				renderRightResInfo(resInfo); | ||||
| 			}else if(type=="3"){ | ||||
| 				  | ||||
| 			} | ||||
| 		} else { | ||||
| 			$.simpleAlert(responseObject['msg'], responseObject['result']); | ||||
| 		} | ||||
| 	}, 'json'); | ||||
| } | ||||
| 
 | ||||
| function renderRightResInfo(){ | ||||
| 	$(".resource-itemdetail-panel").empty(); | ||||
| 	var detailStr=""; | ||||
| 	detailStr+="<ul>"; | ||||
| 	detailStr+="<li>"; | ||||
| 	detailStr+="<div>banner.png</div>"; | ||||
| 	detailStr+="</li>"; | ||||
| 	detailStr+="<li>"; | ||||
| 	detailStr+="<div>banner.png</div>"; | ||||
| 	detailStr+="</li>"; | ||||
| 	detailStr+="</ul>"; | ||||
| 	$(".resource-itemdetail-panel").append(detailStr); | ||||
| } | ||||
| @ -0,0 +1,115 @@ | ||||
| function returnAllWidthForDesign(resizeFlag){ | ||||
| 	var allWidth = $(".template-design-panel").width(); | ||||
| 	if(resizeFlag!=undefined && resizeFlag!=null  && resizeFlag=="resize"){ | ||||
| 		allWidth= allWidth-3; | ||||
| 	}else{ | ||||
| 			if (hasScrollbarForDesign() && !hasScroll) {    | ||||
| 				hasScroll=true; | ||||
| 				allWidth = allWidth - parseInt(scrollbarWidth()) | ||||
| 			}  | ||||
| 	} | ||||
| 	return allWidth; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| 
 | ||||
| function scrollbarWidth () {   | ||||
| 
 | ||||
|     var w1, w2, outer,inner; | ||||
|     outer = document.createElement('div'); | ||||
|     inner = document.createElement('div'); | ||||
|     outer.appendChild(inner); | ||||
|      | ||||
|     outer.style.display = 'block'; | ||||
|     outer.style.position = 'absolute'; | ||||
|     outer.style.width = '50px'; | ||||
|     outer.style.height = '50px'; | ||||
|     outer.style.overflow = 'hidden'; | ||||
|      | ||||
|     inner.style.height = '100px'; | ||||
|     inner.style.width = 'auto'; | ||||
|      | ||||
|     document.body.appendChild(outer);   | ||||
|      | ||||
|     w1 = inner.offsetWidth;   | ||||
|     outer.style.overflow = 'scroll';   | ||||
| 
 | ||||
|     w2 = inner.offsetWidth;   | ||||
| 
 | ||||
|     if (w1 === w2) {   | ||||
|       w2 = outer.clientWidth;   | ||||
|     }   | ||||
| 
 | ||||
|     document.body.removeChild(outer); | ||||
|     return w1 - w2;   | ||||
|   } | ||||
| function returnAllWidth1(){ | ||||
| 	   var extH=0; | ||||
| 	   if(window.parent.$("#main-frm").length==0){ | ||||
| 	     	extH=14; | ||||
| 	   }else{ | ||||
| 	   	   extH=10; | ||||
| 	   } | ||||
| 	   var explorerH=0; | ||||
| 	   if(needChargeExplorer()){ | ||||
| 		   //如果是ie和火狐另外处理
 | ||||
| 		   explorerH=5; | ||||
| 	   } | ||||
| 
 | ||||
| 	   var windowWidth=$(window).width()-20; | ||||
| 	   //var clientWidth = $("body").width();
 | ||||
| 	   var clientWidth = document.documentElement.clientWidth || document.body.clientWidth; | ||||
| 	   //判定可视窗口高度或宽度是否小于实际页面高度或宽度
 | ||||
| 		if (document.documentElement.clientHeight < document.body.offsetHeight ) {    | ||||
| 			//has scroll
 | ||||
| 			if(needChargeExplorer()){ | ||||
| 				//如果是ie和火狐另外处理
 | ||||
|                //$("body").width() 使用body width 减去了页面内边距
 | ||||
| 				windowWidth=clientWidth-25; | ||||
| 			}else{ | ||||
| 				windowWidth=clientWidth-10; | ||||
| 			} | ||||
| 			//alert("B  "+document.documentElement.clientHeight  + "  "+ document.body.offsetHeight);
 | ||||
| 		}else{ | ||||
| 			//no SCROLL
 | ||||
| 			windowWidth=clientWidth-20; | ||||
| 			//alert("A   " +document.documentElement.clientHeight  + "  "+ document.body.offsetHeight);
 | ||||
| 		} | ||||
| 		 | ||||
| 	var allWidth=windowWidth-parseInt(extH)-parseInt(explorerH); | ||||
| 	return allWidth; | ||||
| } | ||||
| 
 | ||||
| function returnAllWidth(resizeFlag){ | ||||
| 	//var allWidth = document.body.scrollWidth;
 | ||||
| 	var allWidth = document.documentElement.clientWidth || document.body.clientWidth; | ||||
| 	//console.log(allWidth);
 | ||||
| 	//var allWidth = document.body.clientWidth;
 | ||||
| 	if(resizeFlag!=undefined && resizeFlag!=null  && resizeFlag=="resize"){ | ||||
| 		//allWidth = allWidth - parseInt(scrollbarWidth());
 | ||||
| 		allWidth= allWidth-3; | ||||
| 	}else{ | ||||
| 			if (hasScrollbar() && !hasScroll) {    | ||||
| 				hasScroll=true; | ||||
| 				allWidth = allWidth - parseInt(scrollbarWidth()) | ||||
| 			}else if(hasScroll){ | ||||
| 				hasScroll=true; | ||||
| 				allWidth = allWidth - parseInt(scrollbarWidth()) | ||||
| 			} | ||||
| 	} | ||||
| 	//console.log(allWidth);
 | ||||
| 	return allWidth; | ||||
| } | ||||
| 
 | ||||
| function hasScrollbarForDesign() { | ||||
| 	//document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight)
 | ||||
|     var flag = false; | ||||
|     if (document.documentElement.clientHeight < document.documentElement.offsetHeight-4){ | ||||
|     	flag = true; | ||||
|     } | ||||
|     return flag; | ||||
| } | ||||
| 
 | ||||
| function hasScrollbar() { | ||||
|     return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight); | ||||
| } | ||||
| @ -0,0 +1,186 @@ | ||||
| //  获取36位uuid 例如:e2bfd2a5-3096-4c3a-995d-124d1106c7a5
 | ||||
| function getUUID(){ | ||||
| 	var uuid=Math.uuidFast().toLowerCase(); | ||||
| 	return uuid; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| function getParamString(url,name) { | ||||
|     var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'); | ||||
|     var r = url.match(reg); | ||||
|     if (r != null) { | ||||
|         return unescape(r[2]); | ||||
|     } | ||||
|     return null; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| function getStrLength(txtValue){ | ||||
| 	if (txtValue!=null) { | ||||
| 		if (txtValue.indexOf('.')!=-1) { | ||||
| 			txtValue = txtValue.substring(1,txtValue.indexOf('.')); | ||||
| 			txtValue = txtValue.split(",").join(""); | ||||
| 		} | ||||
| 	} | ||||
| 	var cArr = txtValue.match(/[^\x00-\xff]/ig); | ||||
| 	return txtValue.length + (cArr == null ? 0 : cArr.length); | ||||
| } | ||||
| 
 | ||||
| function cutStr(str,len)   | ||||
| {   | ||||
|    var str_length = 0;   | ||||
|    var str_len = 0;   | ||||
|       str_cut = new String();   | ||||
|       str_len = str.length;   | ||||
|       for(var i = 0;i<str_len;i++)   | ||||
|      {   | ||||
|         a = str.charAt(i);   | ||||
|         str_length++;   | ||||
|         if(escape(a).length > 4)   | ||||
|         {   | ||||
|          //中文字符的长度经编码之后大于4  
 | ||||
|          str_length++;   | ||||
|          }   | ||||
|          str_cut = str_cut.concat(a);   | ||||
|          if(str_length>=len)   | ||||
|          {   | ||||
|          str_cut = str_cut.concat("...");   | ||||
|          return str_cut;   | ||||
|          }   | ||||
|     }   | ||||
|     //如果给定字符串小于指定长度,则返回源字符串;  
 | ||||
|     if(str_length<len){   | ||||
|      return  str;   | ||||
|     }   | ||||
| }   | ||||
| 
 | ||||
| function myBrowser(){ | ||||
|     var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
 | ||||
|     var isOpera = userAgent.indexOf("Opera") > -1; | ||||
|     if (isOpera) { | ||||
|         return "Opera" | ||||
|     }; //判断是否Opera浏览器
 | ||||
|     if (userAgent.indexOf("Firefox") > -1) { | ||||
|         return "FF"; | ||||
|     } //判断是否Firefox浏览器
 | ||||
|     if (userAgent.indexOf("Chrome") > -1){ | ||||
|   return "Chrome"; | ||||
|  } | ||||
|     if (userAgent.indexOf("Safari") > -1) { | ||||
|         return "Safari"; | ||||
|     } //判断是否Safari浏览器
 | ||||
|     if (userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1 && !isOpera) { | ||||
|         return "IE"; | ||||
|     }; //判断是否IE浏览器
 | ||||
| } | ||||
| 
 | ||||
| function needChargeExplorer(){ | ||||
| 	var returnFlag=false; | ||||
| 	if(myBrowser()=="FF"){ | ||||
| 		returnFlag=true; | ||||
| 		return returnFlag; | ||||
| 	} | ||||
| 	if ($.browser.isIE && $.browser.isIE11) { | ||||
| 		returnFlag=true; | ||||
| 		return returnFlag; | ||||
| 	} | ||||
| 	return returnFlag; | ||||
| } | ||||
| 
 | ||||
| /** | ||||
|  * util js  | ||||
|  */ | ||||
| //初始化Tab
 | ||||
| function  easyTabInit(tabid,contentid) { | ||||
| 	var oLi = document.getElementById(tabid).getElementsByTagName("li"); | ||||
| 	//var oUl = document.getElementById(contentid).getElementsByTagName("div");
 | ||||
| 	var oUl = $("#"+contentid).children("div"); | ||||
| 	var oDiv = document.getElementById(tabid).getElementsByTagName("div"); | ||||
| 	 | ||||
| 	for(var i = 0; i < oLi.length; i++) | ||||
| 	{ | ||||
| 		oLi[i].index = i; | ||||
| 		oLi[i].onclick = function () | ||||
| 		{ | ||||
| 			for(var n = 0; n < oLi.length; n++)  | ||||
| 			oLi[n].className=""; | ||||
| 			this.className = "current"; | ||||
| 			for(var n = 0; n < oUl.length; n++)  | ||||
| 			oUl[n].style.display = "none"; | ||||
| 			oUl[this.index].style.display = "block"; | ||||
| 			for(var n = 0; n < oDiv.length; n++) { | ||||
| 				if(this.className == "current"){ | ||||
| 					oDiv[n].style.display = "none"; | ||||
| 						try { | ||||
| 			       			 oDiv[this.index].style.display = "block"; | ||||
| 						} catch (e) { | ||||
| 						} | ||||
| 	 | ||||
| 				} | ||||
| 			} | ||||
| 			  | ||||
| 		}; | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| function myBrowser(){ | ||||
|     var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
 | ||||
|     var isOpera = userAgent.indexOf("Opera") > -1; | ||||
|     if (isOpera) { | ||||
|         return "Opera" | ||||
|     }; //判断是否Opera浏览器
 | ||||
|     if (userAgent.indexOf("Firefox") > -1) { | ||||
|         return "FF"; | ||||
|     } //判断是否Firefox浏览器
 | ||||
|     if (userAgent.indexOf("Chrome") > -1){ | ||||
|   return "Chrome"; | ||||
|  } | ||||
|     if (userAgent.indexOf("Safari") > -1) { | ||||
|         return "Safari"; | ||||
|     } //判断是否Safari浏览器
 | ||||
|     if (userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1 && !isOpera) { | ||||
|         return "IE"; | ||||
|     }; //判断是否IE浏览器
 | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| function returnMainColor(colorStyle){ | ||||
| 	var mainColor="16909C"; | ||||
| 	if(colorStyle=="moren" || colorStyle=="blackc"){ | ||||
| 		mainColor="16909C"; | ||||
| 	}else if(colorStyle=="greenc"){ | ||||
| 		mainColor="0DA157"; | ||||
| 	}else if(colorStyle=="orangerc"){ | ||||
| 		mainColor="ef6162"; | ||||
| 	}else if(colorStyle=="zic"){ | ||||
| 		mainColor="856ED3"; | ||||
| 	}else if(colorStyle=="hulan"){ | ||||
| 		mainColor="008ED5"; | ||||
| 	}else if(colorStyle=="yellow"){ | ||||
| 		mainColor="EDA100"; | ||||
| 	}else{ | ||||
| 		mainColor="16909C"; | ||||
| 	} | ||||
| 	return mainColor; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| function forbidScroll() { | ||||
|     var initScrollValue=$(window).scrollTop(); | ||||
|     $(window).bind("scroll",function(event){ | ||||
|         $("html,body").scrollTop(initScrollValue); | ||||
|         var scrollValue=$(window).scrollTop(); | ||||
|         scrollValue > 100 ? $('div[class=return-to-top]').fadeIn():$('div[class=return-to-top]').fadeOut(); | ||||
|     }); | ||||
| } | ||||
| 
 | ||||
| function restoreScroll(){ | ||||
|     $(window).unbind("scroll"); | ||||
|     //绑定 显示/隐藏 返回顶部层
 | ||||
|     $(window).bind("scroll",function(event){ | ||||
|         var scrollValue=$(window).scrollTop(); | ||||
|         scrollValue > 100 ? $('div[class=return-to-top]').fadeIn():$('div[class=return-to-top]').fadeOut(); | ||||
|     }); | ||||
| } | ||||
| @ -0,0 +1,24 @@ | ||||
| (function ($) { | ||||
|     function ellipsis($elem, options) { | ||||
|         var max = options.maxCount, | ||||
|             ellipsis_char = options.ellipsisChar; | ||||
|         var text = $.trim($elem.text()).replace(' ',' '); //for fix white-space bug 
 | ||||
|         if (text.length>10)  { | ||||
|             var temp_str = text.substring(0,max) + ellipsis_char; | ||||
|             $elem.text(temp_str.replace(' ',' ')); | ||||
|         } | ||||
|     } | ||||
|     var defaults = { | ||||
|         maxWidth: 0, | ||||
|         maxCount: 10, | ||||
|         ellipsisChar:'...' | ||||
|     }; | ||||
|     $.fn.ellipsis = function (options) { | ||||
|         return this.each(function () { | ||||
|             var $elem = $(this); | ||||
|             var opts = $.extend({}, defaults, options); | ||||
|             ellipsis($elem, opts); | ||||
|         }); | ||||
|     }; | ||||
|     $.fn.ellipsis.options = defaults; | ||||
| })(jQuery); | ||||
| @ -0,0 +1,93 @@ | ||||
| 
 | ||||
| /*! | ||||
| Math.uuid.js (v1.4) | ||||
| http://www.broofa.com
 | ||||
| mailto:robert@broofa.com | ||||
|   | ||||
| Copyright (c) 2010 Robert Kieffer | ||||
| Dual licensed under the MIT and GPL licenses. | ||||
| */ | ||||
|   | ||||
| /* | ||||
|  * Generate a random uuid. | ||||
|  * | ||||
|  * USAGE: Math.uuid(length, radix) | ||||
|  *   length - the desired number of characters | ||||
|  *   radix  - the number of allowable values for each character. | ||||
|  * | ||||
|  * EXAMPLES: | ||||
|  *   // No arguments  - returns RFC4122, version 4 ID
 | ||||
|  *   >>> Math.uuid() | ||||
|  *   "92329D39-6F5C-4520-ABFC-AAB64544E172" | ||||
|  * | ||||
|  *   // One argument - returns ID of the specified length
 | ||||
|  *   >>> Math.uuid(15)     // 15 character ID (default base=62)
 | ||||
|  *   "VcydxgltxrVZSTV" | ||||
|  * | ||||
|  *   // Two arguments - returns ID of the specified length, and radix. (Radix must be <= 62)
 | ||||
|  *   >>> Math.uuid(8, 2)  // 8 character ID (base=2)
 | ||||
|  *   "01001010" | ||||
|  *   >>> Math.uuid(8, 10) // 8 character ID (base=10)
 | ||||
|  *   "47473046" | ||||
|  *   >>> Math.uuid(8, 16) // 8 character ID (base=16)
 | ||||
|  *   "098F4D35" | ||||
|  */ | ||||
| (function() { | ||||
|   // Private array of chars to use
 | ||||
|   var CHARS = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split(''); | ||||
|   | ||||
|   Math.uuid = function (len, radix) { | ||||
|     var chars = CHARS, uuid = [], i; | ||||
|     radix = radix || chars.length; | ||||
|   | ||||
|     if (len) { | ||||
|       // Compact form
 | ||||
|       for (i = 0; i < len; i++) uuid[i] = chars[0 | Math.random()*radix]; | ||||
|     } else { | ||||
|       // rfc4122, version 4 form
 | ||||
|       var r; | ||||
|   | ||||
|       // rfc4122 requires these characters
 | ||||
|       uuid[8] = uuid[13] = uuid[18] = uuid[23] = '-'; | ||||
|       uuid[14] = '4'; | ||||
|   | ||||
|       // Fill in random data.  At i==19 set the high bits of clock sequence as
 | ||||
|       // per rfc4122, sec. 4.1.5
 | ||||
|       for (i = 0; i < 36; i++) { | ||||
|         if (!uuid[i]) { | ||||
|           r = 0 | Math.random()*16; | ||||
|           uuid[i] = chars[(i == 19) ? (r & 0x3) | 0x8 : r]; | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|   | ||||
|     return uuid.join(''); | ||||
|   }; | ||||
|   | ||||
|   // A more performant, but slightly bulkier, RFC4122v4 solution.  We boost performance
 | ||||
|   // by minimizing calls to random()
 | ||||
|   Math.uuidFast = function() { | ||||
|     var chars = CHARS, uuid = new Array(36), rnd=0, r; | ||||
|     for (var i = 0; i < 36; i++) { | ||||
|       if (i==8 || i==13 ||  i==18 || i==23) { | ||||
|         uuid[i] = '-'; | ||||
|       } else if (i==14) { | ||||
|         uuid[i] = '4'; | ||||
|       } else { | ||||
|         if (rnd <= 0x02) rnd = 0x2000000 + (Math.random()*0x1000000)|0; | ||||
|         r = rnd & 0xf; | ||||
|         rnd = rnd >> 4; | ||||
|         uuid[i] = chars[(i == 19) ? (r & 0x3) | 0x8 : r]; | ||||
|       } | ||||
|     } | ||||
|     return uuid.join(''); | ||||
|   }; | ||||
|   | ||||
|   // A more compact, but less performant, RFC4122v4 solution:
 | ||||
|   Math.uuidCompact = function() { | ||||
|     return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { | ||||
|       var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8); | ||||
|       return v.toString(16); | ||||
|     }); | ||||
|   }; | ||||
| })(); | ||||
| @ -0,0 +1,35 @@ | ||||
| 
 | ||||
| @font-face {font-family: "iconfont"; | ||||
|   src: url('iconfont.eot?t=1540806432148'); /* IE9*/ | ||||
|   src: url('iconfont.eot?t=1540806432148#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||||
|   url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAlQAAsAAAAADswAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFY9CUoGY21hcAAAAYAAAACKAAAB+Jy11q9nbHlmAAACDAAABQEAAAfYFmVMjGhlYWQAAAcQAAAAMQAAADYTIzQzaGhlYQAAB0QAAAAgAAAAJAfpAvhobXR4AAAHZAAAABIAAAAoKAD/d2xvY2EAAAd4AAAAFgAAABYK1AiMbWF4cAAAB5AAAAAeAAAAIAEYAMxuYW1lAAAHsAAAAUUAAAJtPlT+fXBvc3QAAAj4AAAAWAAAAHezvDoyeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkYWCcwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGByeMTzvZm7438AQw8LJKAwUZgTJAQDerguNeJztkdENwjAMRF/SUmiF+O0SDFIxEF8doNA9nTHK2e4YOHqRfXJi6QxcgE48RQ9lpeDxllpC75hC73mpnrhRqVZttqXtxwFG5JvnZxT1PeL4hIFRr65Sq37zKQP/uMe9ntXoPia+EyuJvMNqEj1zIj+xJZGztC3xnbVPIrdp38R33PaE/gdoeCW3AAB4nH2VTWwbRRTH983M7szu2vuReHfjEH+sDetWtVIcO3GwwVFzQKiJ2qqldVzVbS5UHChURUroiRSRnloJUSHRC1wqKrWpxAUOXKjUSMCNS1VOnFEluHGrHd6sY5NUBclav5n33uz7vf/MrEIUZec+3aGnlVeUZUWBqKClclAsaNydhoLmuSl/Zq7uZqEJXEN7AVpQAguk+xDU52pRwQaZgmG1w1AdBM/Mzbq1CPK674rOH3qSgh8GQegDTepPV4Tr6RsGCFJ1fQDLfLrCHU+/ZojNQbxhQxxPJoUTiI4p4K7j+86zO04QOHBHGCu654hrIivgIfhO/4xhjWY24xTL7J+SKfSc4ytKzMgUZIxiRll9dHiIakHKH8Htrb44pNvfCn/E2oJaRH+TDOp1EVeesO1EzIe1DBh69/aPwz3RpmPT0xKgI7RB3WAHdoyyIYz+WYkrCfpvDfC4Ad/sacTdvVmKMuC8Rh/Tj1HLJUUZDy3IQGmAGcPFOLO1qBTK0oshenxA+w0IBkgDMWWsl4UglK2phuiJTsK9FzQZHozKoe+9QAZISh12KXz6KtjGQOsN83mtQ//Z16Ot8CL3Lt8G8m0M+bRRtbE0s0OK/Xxze8gL2r8d2c93S3bT9fUONhPauucihwE/yOqHgG9ybVOXIY7vrAhfKmL2L+3l++99EPP9n3uX7xfape8rXHFxnxZLIS96IUgpWlB3Q3ruu1q/V/2ePO5dgGYZvio3SO9z2qhW3+1dKDcB58glTNxZ7//JbjFdeQkHoSuxPTfuRjWMd/GsG1Oz1d6TqfJU74k/NeWTg2iSg2jCg/jPf94p9xiTGjBADUwlUNrKj/gGrA+P1DSUsEg0cIgGDgO0UJyAWxiSA49bBA8PL0UlC2ykwxBUpVRvwTQchtl6i+CprAc+pi8QvIJsPKkFlLNYkBYqFs9kULQcLojay6NYlRt7Jp5p4smV99PM7nQLV43imfqsfMM0YGi0u6BWiOQMEYttgPbi4NlZo3StEz9fD3g5M+FdbLVM5uTG1y+nsg4zF1ur3kSmzNMrE/xQdiJ1cWHBpHYuhe6cTaU7NZEta+kPNg2LZKk1xq9wYepdjajHhGld1xMJ/aZliqMa4eeFKfhV7tokQywDE2iG2u5uAifqcW7Ym4YJYBo3LYMvqYR3dUz5CFMophCPtBePtAlpH1lsv0bWznbWCFnrnF3buZwpQhJrcQ9EaZbuBGo6OuAiSRLg5al16bUWF1bdUjTJEIRNRqWxkXcOCzRMtsTEeT6mX02k2RSxjU8NG3HSyQ/FOO8KdkxNYMGJhHHDjEO7fFxcTaaxKhmKICydvKKPCQw9zkwDsYf301/0M+orNeUd3DfTxAKvkgoqPv4G8mpS75qUbBqKlQKvcG34eYm/PPVSNNwMmFOt4FQ0EHlOqp6SvixUKzP1Sj0+92RVHw/8hM5UTaVZM7eVP5mn2eyyIXQ/aRnA2PH5edr8srk1r9b/Zo3bja15Np9kqjBTnmCalUnmt3Kn4hxT6J6VMEBjJ+rwu+4wfTxhGypVVZo/k7+fy1FcfFlMTtocKDvavN2g8/NbjS8aO/h/v3GjkWRUhXBcqFZuOb+VzTJceElPTzoaMPVo4zb2iGKPvqW/0hOKrlgKXuswvJcD8Kr46aUPHWfdOeB0t5/9tE3qj3o/k09wuOY43Uf9tx+R5nZvW1H+AWrXPXoAAAB4nGNgZGBgAOKZL/bwx/PbfGXgZmEAget/fijA6P/l/96yTGbhBHI5GJhAogB73Q3iAAAAeJxjYGRgYG7438AQw8Lwv/x/LstkBqAICuACAJNtBeh4nGNhYGBgwYr/lyPzAReVAZ8AAAAAAAAAcgDmAVYBxgHqAhgDNgPIA+wAAHicY2BkYGDgYjjAwMIAAkxgHheQ/A/mMwAAHHQB5QAAeJxlj01OwzAQhV/6B6QSqqhgh+QFYgEo/RGrblhUavdddN+mTpsqiSPHrdQDcB6OwAk4AtyAO/BIJ5s2lsffvHljTwDc4Acejt8t95E9XDI7cg0XuBeuU38QbpBfhJto41W4Rf1N2MczpsJtdGF5g9e4YvaEd2EPHXwI13CNT+E69S/hBvlbuIk7/Aq30PHqwj7mXle4jUcv9sdWL5xeqeVBxaHJIpM5v4KZXu+Sha3S6pxrW8QmU4OgX0lTnWlb3VPs10PnIhVZk6oJqzpJjMqt2erQBRvn8lGvF4kehCblWGP+tsYCjnEFhSUOjDFCGGSIyujoO1Vm9K+xQ8Jee1Y9zed0WxTU/3OFAQL0z1xTurLSeTpPgT1fG1J1dCtuy56UNJFezUkSskJe1rZUQuoBNmVXjhF6XNGJPyhnSP8ACVpuyAAAAHicbcVRCoAgEAXAfZZadkrJzaRNoQyvn9Bv8zOk6OPon4PCgBEaBhYTZjgsZGu5Ty/SF39F1v3STC17irsJLFxZ+xDWZtaStxStpHw8l4wcUiV6AQsnFsw=') format('woff'), | ||||
|   url('iconfont.ttf?t=1540806432148') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ | ||||
|   url('iconfont.svg?t=1540806432148#iconfont') format('svg'); /* iOS 4.1- */ | ||||
| } | ||||
| 
 | ||||
| .iconfont { | ||||
|   font-family:"iconfont" !important; | ||||
|   font-size:16px; | ||||
|   font-style:normal; | ||||
|   -webkit-font-smoothing: antialiased; | ||||
|   -moz-osx-font-smoothing: grayscale; | ||||
| } | ||||
| 
 | ||||
| .icon-tosmall:before { content: "\e788"; } | ||||
| 
 | ||||
| .icon-tolarge:before { content: "\e789"; } | ||||
| 
 | ||||
| .icon-tolow:before { content: "\e78a"; } | ||||
| 
 | ||||
| .icon-tohigh:before { content: "\e78b"; } | ||||
| 
 | ||||
| .icon-delete:before { content: "\e600"; } | ||||
| 
 | ||||
| .icon-addcw:before { content: "\e601"; } | ||||
| 
 | ||||
| .icon-config:before { content: "\e648"; } | ||||
| 
 | ||||
| .icon-linkurl:before { content: "\e617"; } | ||||
| 
 | ||||
| .icon-editcat:before { content: "\e602"; } | ||||
| 
 | ||||
| @ -0,0 +1,53 @@ | ||||
| <?xml version="1.0" standalone="no"?> | ||||
| <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > | ||||
| <!-- | ||||
| 2013-9-30: Created. | ||||
| --> | ||||
| <svg> | ||||
| <metadata> | ||||
| Created by iconfont | ||||
| </metadata> | ||||
| <defs> | ||||
| 
 | ||||
| <font id="iconfont" horiz-adv-x="1024" > | ||||
|   <font-face | ||||
|     font-family="iconfont" | ||||
|     font-weight="500" | ||||
|     font-stretch="normal" | ||||
|     units-per-em="1024" | ||||
|     ascent="896" | ||||
|     descent="-128" | ||||
|   /> | ||||
|     <missing-glyph /> | ||||
|      | ||||
|     <glyph glyph-name="tosmall" unicode="" d="M287.507692 538.151385c-10.791385 10.791385-28.553846 10.791385-39.305846 0-10.909538-10.909538-10.909538-28.553846 0-39.424l89.009231-89.009231L105.078154 409.718154c-11.972923 0-21.700923-7.876923-25.284923-18.589538L79.793231 813.528615c0 21.740308-17.644308 39.384615-39.384615 39.384615s-39.384615-17.644308-39.384615-39.384615l0-859.096615c0-21.779692 17.644308-39.384615 39.384615-39.384615s39.384615 17.604923 39.384615 39.384615l0 419.84c3.544615-10.673231 13.312-18.550154 25.284923-18.550154l234.180923 0L251.273846 267.77599999999995c-10.555077-10.555077-10.515692-27.608615 0.039385-38.163692 10.594462-10.555077 27.608615-10.555077 38.203077 0l128.827077 128.905846c6.656 6.616615 10.121846 12.760615 10.121846 24.142769 0 10.555077-2.048 16.541538-7.837538 22.370462L287.507692 538.151385zM983.591385 852.913231c-21.779692 0-39.384615-17.644308-39.384615-39.384615L944.206769 387.544615c-1.220923 13.745231-12.327385 24.654769-26.505846 24.654769l-234.180923 0 87.985231 87.985231c10.555077 10.555077 10.515692 27.648-0.039385 38.163692-10.594462 10.555077-27.608615 10.555077-38.203077 0l-128.827077-128.905846c-6.656-6.656-10.121846-12.8-10.121846-24.182154 0-10.555077 2.048-16.541538 7.837538-22.331077l133.080615-133.080615c10.791385-10.830769 28.553846-10.830769 39.305846 0 10.909538 10.909538 10.909538 28.553846 0 39.384615l-89.009231 89.009231 232.132923 0c14.139077 0 25.284923 10.948923 26.505846 24.694154l0-428.465231c0-21.779692 17.604923-39.384615 39.384615-39.384615s39.384615 17.604923 39.384615 39.384615L1022.936615 813.528615C1022.976 835.268923 1005.331692 852.913231 983.591385 852.913231z"  horiz-adv-x="1024" /> | ||||
| 
 | ||||
|      | ||||
|     <glyph glyph-name="tolarge" unicode="" d="M983.591385 852.913231c-21.779692 0-39.384615-17.644308-39.384615-39.384615l0-422.281846c-1.024 5.356308-2.796308 9.885538-6.695385 13.824l-133.080615 133.080615c-10.791385 10.791385-28.553846 10.791385-39.305846 0-10.909538-10.909538-10.909538-28.553846 0-39.424l89.009231-89.009231-232.132923 0c-14.966154 0-26.978462-12.130462-26.978462-27.017846s12.012308-26.978462 26.978462-26.978462l234.180923 0-87.985231-87.985231c-10.555077-10.555077-10.515692-27.608615 0.039385-38.163692 10.594462-10.555077 27.608615-10.555077 38.203077 0l128.827077 128.905846c5.159385 5.12 7.758769 10.673231 8.979692 17.92l0-421.966769c0-21.779692 17.604923-39.384615 39.384615-39.384615s39.384615 17.604923 39.384615 39.384615L1023.015385 813.528615C1022.976 835.268923 1005.331692 852.913231 983.591385 852.913231zM401.998769 412.199385l-234.180923 0 87.985231 87.985231C266.358154 510.739692 266.318769 527.832615 255.763692 538.387692c-10.594462 10.555077-27.608615 10.555077-38.203077 0l-128.827077-128.905846c-5.159385-5.159385-7.758769-10.712615-8.979692-17.959385L79.753846 813.528615c0 21.740308-17.644308 39.384615-39.384615 39.384615s-39.384615-17.644308-39.384615-39.384615l0-859.096615c0-21.779692 17.644308-39.384615 39.384615-39.384615s39.384615 17.604923 39.384615 39.384615L79.753846 376.713846c1.024-5.356308 2.796308-9.885538 6.695385-13.784615l133.080615-133.080615c10.791385-10.830769 28.553846-10.830769 39.305846 0 10.909538 10.909538 10.909538 28.553846 0 39.384615l-89.009231 89.009231 232.132923 0c14.966154 0 26.978462 12.130462 26.978462 27.017846S416.964923 412.199385 401.998769 412.199385z"  horiz-adv-x="1024" /> | ||||
| 
 | ||||
|      | ||||
|     <glyph glyph-name="tolow" unicode="" d="M82.432 816.206769L508.061538 816.206769c-13.587692-1.417846-24.300308-12.406154-24.300308-26.427077l0-234.180923-87.985231 87.985231C385.220923 654.099692 368.167385 654.060308 357.612308 643.544615c-10.555077-10.594462-10.555077-27.608615 0-38.203077l128.905846-128.827077c6.616615-6.656 12.8-10.121846 24.182154-10.121846 10.555077 0 16.541538 2.048 22.370462 7.837538l133.080615 133.080615c10.830769 10.791385 10.830769 28.553846 0 39.305846-10.909538 10.909538-28.553846 10.909538-39.384615 0l-89.009231-89.009231L537.757538 789.779692c0 13.981538-10.752 25.009231-24.339692 26.427077l428.110769 0c21.779692 0 39.384615 17.644308 39.384615 39.384615s-17.604923 39.384615-39.384615 39.384615L82.432 894.976c-21.740308 0-39.384615-17.644308-39.384615-39.384615S60.691692 816.206769 82.432 816.206769zM941.528615-48.20676900000001L515.938462-48.20676900000001c13.587692 1.378462 24.300308 12.406154 24.300308 26.427077l0 234.180923 87.985231-87.985231c10.555077-10.555077 27.608615-10.515692 38.163692 0.039385 10.555077 10.594462 10.555077 27.608615 0 38.203077l-128.905846 128.827077c-6.616615 6.656-12.8 10.121846-24.182154 10.121846-10.555077 0-16.541538-2.048-22.370462-7.837538l-133.080615-133.080615c-10.791385-10.791385-10.791385-28.553846 0-39.305846 10.909538-10.909538 28.553846-10.909538 39.424 0l89.009231 89.009231 0-232.132923c0-13.981538 10.752-25.048615 24.339692-26.427077L82.432-48.16738499999997c-21.740308 0-39.384615-17.604923-39.384615-39.384615s17.644308-39.384615 39.384615-39.384615l859.096615 0c21.779692 0 39.384615 17.604923 39.384615 39.384615S963.308308-48.20676900000001 941.528615-48.20676900000001z"  horiz-adv-x="1024" /> | ||||
| 
 | ||||
|      | ||||
|     <glyph glyph-name="tohigh" unicode="" d="M82.432 816.206769l402.550154 0c-5.356308-1.024-9.924923-2.796308-13.824-6.695385L338.077538 676.430769C327.286154 665.6 327.286154 647.876923 338.077538 637.1249230000001c10.909538-10.909538 28.553846-10.909538 39.424 0l89.009231 89.009231 0-232.132923c0-14.966154 12.130462-26.978462 27.017846-26.978462s26.978462 12.012308 26.978462 26.978462L520.507077 728.182154l87.985231-87.985231c10.555077-10.555077 27.608615-10.515692 38.163692 0.039385 10.555077 10.594462 10.555077 27.608615 0 38.203077l-128.905846 128.827077c-5.159385 5.159385-10.712615 7.758769-17.92 8.979692l441.737846 0c21.779692 0 39.384615 17.644308 39.384615 39.384615s-17.604923 39.384615-39.384615 39.384615L82.432 895.015385c-21.740308 0-39.384615-17.644308-39.384615-39.384615S60.691692 816.206769 82.432 816.206769zM941.528615-48.20676900000001L499.515077-48.20676900000001c5.356308 1.024 9.885538 2.796308 13.824 6.695385l133.041231 133.080615c10.830769 10.791385 10.830769 28.553846 0 39.305846-10.909538 10.909538-28.553846 10.909538-39.384615 0l-88.969846-89.009231 0 232.132923c0 14.966154-12.130462 26.978462-27.017846 26.978462s-26.978462-12.012308-26.978462-26.978462l0-234.180923-87.985231 87.985231c-10.555077 10.555077-27.608615 10.515692-38.163692-0.039385-10.555077-10.594462-10.555077-27.608615 0-38.203077l128.905846-128.827077c5.12-5.159385 10.712615-7.758769 17.92-8.979692L82.432-48.24615400000005c-21.740308 0-39.384615-17.604923-39.384615-39.384615s17.644308-39.384615 39.384615-39.384615l859.096615 0c21.779692 0 39.384615 17.604923 39.384615 39.384615S963.308308-48.20676900000001 941.528615-48.20676900000001z"  horiz-adv-x="1024" /> | ||||
| 
 | ||||
|      | ||||
|     <glyph glyph-name="delete" unicode="" d="M860.29743713 825.5968391L679.0620783 825.5968391 627.28054825 877.37837037 368.37289311 877.37837037 316.59136307 825.5968391 135.35600423 825.5968391 135.35600423 722.03377778 860.29743713 722.03377778M187.13753549 48.87387613999999C187.13753549-8.08580741000003 233.74091326-54.6891852 290.70059682-54.6891852L704.95284454-54.6891852C761.91252809-54.6891852 808.51590587-8.08580741000003 808.51590587 48.87387613999999L808.51590587 670.25224651 187.13753549 670.25224651 187.13753549 48.87387613999999Z"  horiz-adv-x="1024" /> | ||||
| 
 | ||||
|      | ||||
|     <glyph glyph-name="addcw" unicode="" d="M1120.25731401 429.31612729L567.23363291 429.31612729 567.23363291 982.33980838C567.23363291 1010.49374124 545.11268569 1032.61468848 516.95875281 1032.61468848 488.80481997 1032.61468848 466.68387271 1010.49374124 466.68387271 982.33980838L466.68387271 429.31612729-86.33980838 429.31612729C-114.49374124 429.31612729-136.61468848 407.19518003-136.61468848 379.04124719000004-136.61468848 350.88731430999997-114.49374124 328.76636709-86.33980838 328.76636709L466.68387271 328.76636709l0-553.0236811C466.68387271-252.4112468599999 488.80481997-274.5321941100001 516.95875281-274.5321941100001 545.11268569-274.5321941100001 567.23363291-252.4112468599999 567.23363291-224.25731401000007L567.23363291 328.76636709l553.0236811 0C1148.41124686 328.76636709 1170.53219411 350.88731430999997 1170.53219411 379.04124719000004 1170.53219411 407.19518003 1148.41124686 429.31612729 1120.25731401 429.31612729z"  horiz-adv-x="1024" /> | ||||
| 
 | ||||
|      | ||||
|     <glyph glyph-name="config" unicode="" d="M520 532.965517c85.241379 0 154.482759-69.241379 154.482759-154.482758s-69.241379-154.482759-154.482759-154.482759-154.482759 69.241379-154.482759 154.482759 69.241379 154.482759 154.482759 154.482758m0 55.172414c-115.862069 0-209.655172-93.793103-209.655172-209.655172s93.793103-209.655172 209.655172-209.655173 209.655172 93.793103 209.655172 209.655173-93.793103 209.655172-209.655172 209.655172zM548.689655 840.827586l23.724138-112c8-37.517241 41.655172-64.827586 80-64.827586 15.724138 0 31.172414 4.689655 44.413793 13.241379l102.068966 66.206897 62.344827-62.344828-62.344827-96c-14.62069-22.62069-17.37931-50.758621-6.896552-75.862069 10.206897-24.827586 32.275862-43.034483 58.482759-48.551724l118.896551-25.103448v-88.275862l-112-23.724138c-26.206897-5.517241-48.275862-23.724138-58.482758-48.551724-10.206897-24.827586-7.724138-53.241379 6.896551-75.862069l66.206897-102.068966-62.344828-62.068965-96 62.344827c-13.241379 8.551724-28.689655 13.241379-44.413793 13.24138-38.344828 0-72-27.310345-80-64.827587l-25.103448-118.896551h-88.275862l-23.724138 112c-8 37.517241-41.655172 64.827586-80 64.827586-15.724138 0-31.172414-4.689655-44.413793-13.241379l-102.068966-66.206897-62.344827 62.344828 62.344827 96c14.62069 22.62069 17.37931 50.758621 6.896552 75.862069-10.206897 24.827586-32.275862 43.034483-58.482758 48.551724L55.172414 332.137931v88.275862l112 23.724138c26.206897 5.517241 48.275862 23.724138 58.482758 48.551724 10.206897 24.827586 7.724138 53.241379-6.896551 75.862069l-66.206897 102.068966L214.896552 732.965517l96-62.344827c13.241379-8.551724 28.689655-13.241379 44.413793-13.24138 38.344828 0 72 27.310345 80 64.827587l25.103448 118.896551h88.275862m22.068966 54.344828h-132.413793c-12.965517 0-24-9.103448-26.758621-21.517242l-29.793104-140.689655c-2.758621-13.241379-14.344828-21.517241-26.75862-21.517241-4.965517 0-10.206897 1.37931-14.896552 4.413793l-114.482759 74.482759c-4.413793 3.034483-9.655172 4.413793-14.896551 4.413793-6.896552 0-14.068966-2.758621-19.310345-8l-92.965517-93.793104c-9.103448-9.103448-10.482759-23.172414-3.586207-34.206896l78.344827-120.551724c10.482759-16 1.655172-37.517241-17.103448-41.379311L22.344828 468.965517c-12.689655-2.758621-21.517241-13.793103-21.517242-26.75862v-132.413794c0-12.965517 9.103448-24 21.517242-26.75862l140.689655-29.793104c18.758621-3.862069 27.586207-25.37931 17.103448-41.37931l-74.482759-114.482759c-6.896552-10.758621-5.517241-25.103448 3.586207-34.206896l93.517242-93.517242c5.241379-5.241379 12.137931-8 19.310345-8 5.241379 0 10.206897 1.37931 14.896551 4.413794l120.551724 78.344827c4.689655 3.034483 9.655172 4.413793 14.896552 4.413793 12.137931 0 24-8.275862 26.758621-21.517241l28.413793-133.517242c2.758621-12.689655 13.793103-21.517241 26.758621-21.517241h132.413793c12.965517 0 24 9.103448 26.75862 21.517241l29.793104 140.689656c2.758621 13.241379 14.344828 21.517241 26.758621 21.517241 4.965517 0 10.206897-1.37931 14.896551-4.413793l114.482759-74.482759c4.413793-3.034483 9.655172-4.413793 14.896552-4.413793 6.896552 0 14.068966 2.758621 19.310344 8l93.517242 93.517242c9.103448 9.103448 10.482759 23.172414 3.586207 34.206896L852.413793 228.96551699999998c-10.482759 16-1.655172 37.517241 17.103448 41.379311l133.517242 28.413793c12.689655 2.758621 21.517241 13.793103 21.517241 26.75862v132.413793c0 12.965517-9.103448 24-21.517241 26.758621l-140.689655 29.793104c-18.758621 3.862069-27.586207 25.37931-17.103449 41.37931l74.482759 114.482759c6.896552 10.758621 5.517241 25.103448-3.586207 34.206896l-93.517241 93.517242c-5.241379 5.241379-12.137931 8-19.310345 8-5.241379 0-10.206897-1.37931-14.896552-4.413794l-120.551724-78.344827c-4.689655-3.034483-9.655172-4.413793-14.896552-4.413793-12.137931 0-24 8.275862-26.75862 21.517241L597.241379 873.655172c-2.482759 12.689655-13.517241 21.793103-26.482758 21.793104z"  horiz-adv-x="1024" /> | ||||
| 
 | ||||
|      | ||||
|     <glyph glyph-name="linkurl" unicode="" d="M607.936 478.144a190.08 190.08 0 0 1-19.552 16.896 38.88 38.88 0 0 1-65.824-28v-0.064c0-9.504 3.424-18.208 9.12-24.96l-0.032 0.064c2.72-3.232 5.888-5.984 9.408-8.16l0.16-0.096c3.68-3.008 7.264-5.984 10.624-9.376l3.2-3.2c40.288-40.224 28.256-109.536-12.032-149.824l-171.872-171.84a103.456 103.456 0 0 0-146.048 0l-3.232 3.232a103.264 103.264 0 0 0 0 145.984l75.936 75.904a42.24 42.24 0 0 1-26.208 75.296h-0.064c-8.832 0-17.024-2.72-23.808-7.392l0.128 0.096-0.064 0.128-0.8-0.768a44.096 44.096 0 0 1-7.968-7.424l-0.064-0.064-78.912-73.856c-74.176-74.24-74.176-195.648 0-269.76l3.2-3.2c74.176-74.112 195.52-74.112 269.696 0l171.84 171.872c74.08 74.176 80.352 191.2 6.272 265.312l-3.168 3.168z m247.68 252.064l-3.2 3.2c-74.176 74.176-195.52 74.176-269.696 0l-171.84-171.872c-74.176-74.176-78.272-181.312-4.096-255.52l3.168-3.104c3.36-3.36 6.88-6.528 10.432-9.6 2.56-2.848 5.536-5.28 8.832-7.232l0.16-0.096 0.064-0.064c5.216-3.072 11.52-4.864 18.208-4.864h0.032a36.704 36.704 0 0 1 33.056 52.672c-4.864 10.88-13.92 17.504-20.224 23.808l-3.168 3.104c-40.288 40.288-24.992 98.784 15.296 139.072l171.936 171.84a103.232 103.232 0 0 0 145.952 0l3.2-3.136a103.36 103.36 0 0 0 0-146.08l-75.68-75.744a41.856 41.856 0 0 1 24.896-75.52h0.064c8.096 0 15.648 2.304 22.048 6.304l-0.16-0.096a0.96 0.96 0 0 0 0.128-0.256l1.184 1.088c3.68 2.496 6.816 5.376 9.472 8.704l0.064 0.096 79.776 73.6c74.24 74.176 74.24 195.52 0.064 269.696z"  horiz-adv-x="1024" /> | ||||
| 
 | ||||
|      | ||||
|     <glyph glyph-name="edit" unicode="" d="M960.04096 641.59232c20.62848 20.59264 20.62848 51.4816 0 72.07424l-118.60992 118.41024c-20.62848 20.59264-51.56864 20.59264-72.19712 0l-92.83072-92.672 195.968-195.6352 87.66976 97.82272zM47.2576 116.46975999999995v-195.64032h195.96288L810.48576 492.288l-195.96288 195.6352L47.2576 116.46975999999995z m0 0"  horiz-adv-x="1024" /> | ||||
| 
 | ||||
|      | ||||
| 
 | ||||
| 
 | ||||
|   </font> | ||||
| </defs></svg> | ||||
| After Width: | Height: | Size: 14 KiB | 
| @ -0,0 +1 @@ | ||||
| {"boxShadow":"","isDistWithApp":0,"paddingRight":"15px","contentWindow":[{"subList":[{"cwNameI18N":"销售线索培养池","cwScroll":"no","paddingRight":"5px","operationArea":[],"operationAreaDesc":[],"cwUrlId":"_a9ec2a4db9e7ee03ded2c9724b4076b9","sort":1,"isActive":"","isBold":"1","isItalic":"1","cwUrl":"./w?sid=@sid&cmd=CLIENT_DW_PORTAL&processGroupId=obj_878fc982fa0246d2aebe2aaa795fc85f&appId=com.crmpaas.apps.marketing&dwViewId=obj_931565d4c08c4496bb58673ad26b34f1&st={t:'xpages'}&hideSearcher=true&hideToolbar=true&hideTitle=true&hideTab=true","paddingBottom":"5px","fontFamily":"微软雅黑","cwUrlAppId":"com.actionsoft.apps.addons.xpages","fontSize":"14px","id":"562d6335-86de-442b-b3e5-5d6ed41b6904","paddingTop":"5px","cwStyle":"2","paddingLeft":"5px","cwName":"销售线索培养池"}],"width":"1","id":"912dd9a8-afdc-44a2-9c6c-744ea2b7ddce","sort":99,"height":"300"},{"subList":[{"cwNameI18N":"SDR团队数据情况","cwScroll":"auto","paddingRight":"5px","operationArea":[],"operationAreaDesc":[],"cwUrlId":"","sort":1,"isActive":"","isBold":"1","isItalic":"1","cwUrl":"./w?sid=@sid&cmd=com.crmpaas.apps.marketing_sdr_dashboard_team_report","paddingBottom":"5px","fontFamily":"微软雅黑","cwUrlAppId":"","fontSize":"14px","id":"1a6dc90a-30ab-42fa-9542-1bbcc192a512","paddingTop":"5px","cwStyle":"2","paddingLeft":"5px","cwName":"SDR团队数据情况"}],"width":"3","id":"4b9a3fda-7399-4f87-98db-a1c3867f6a03","sort":100,"height":"300"},{"subList":[{"cwNameI18N":"数据趋势","cwScroll":"no","paddingRight":"5px","operationArea":[],"operationAreaDesc":[],"cwUrlId":"_a9ec2a4db9e7ee03ded2c9724b4076b9","sort":1,"isActive":"","isBold":"1","isItalic":"1","cwUrl":"./w?sid=@sid&cmd=CLIENT_DW_PORTAL&processGroupId=obj_878fc982fa0246d2aebe2aaa795fc85f&appId=com.crmpaas.apps.marketing&dwViewId=obj_cd9e43fce6f544428de8f1ccd5173bba&st={t:'xpages'}&hideSearcher=true&hideToolbar=true&hideTitle=true&hideTab=true","paddingBottom":"5px","fontFamily":"微软雅黑","cwUrlAppId":"com.actionsoft.apps.addons.xpages","fontSize":"14px","id":"22aa2085-c5b2-42f9-a142-a5cd18e46547","paddingTop":"5px","cwStyle":"2","paddingLeft":"5px","cwName":"数据趋势"}],"width":"4","id":"725f6a92-7f67-4e56-b68d-ca9a27afe00e","sort":101,"height":"300"}],"categoryName":"CRM","transparent":"1.0","marginRight":"5px","paddingBottom":"15px","relationApp":"com.crmpaas.apps.marketing","templateJs":"","id":"88f4bb32-d11f-424e-8f23-3a724e38be3c","paddingTop":"15px","updateUser":"admin","updateTime":"2020-05-30 16:45:00","sort":1,"marginLeft":"5px","borderRadius":"0px","createTime":"2020-05-30 11:52:15","backgroundFlag":"1","background":"F5F5F5","name":"SDR看板","colorStyle":"blackc","createUser":"admin","marginBottom":"5px","loadingIcon":"","paddingLeft":"15px","marginTop":"5px","desc":""} | ||||
							
								
								
									
										1
									
								
								com.actionsoft.apps.addons.xpages/xpages/README.TXT
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1 @@ | ||||
| This directory stores Xpages template files. | ||||
							
								
								
									
										
											BIN
										
									
								
								com.actionsoft.apps.cc.connector.rds/lib/commons-text-1.9.jar
									
									
									
									
									
										Executable file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								com.actionsoft.apps.cc.connector.rds/lib/jsqlparser-1.0.jar
									
									
									
									
									
										Executable file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								com.actionsoft.apps.cc.connector.rds/lib/pagehelper-5.1.2.jar
									
									
									
									
									
										Executable file
									
								
							
							
						
						
							
								
								
									
										44
									
								
								com.actionsoft.apps.cc.connector.rds/manifest.xml
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,44 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| 
 | ||||
| <app xmlns="http://www.actionsoft.com.cn/app">   | ||||
|   <name>RDS Connector</name>   | ||||
|   <version>2.0</version> | ||||
|   <buildNo>1</buildNo>   | ||||
|   <developer id="776cca9a287c8b4d63b9cad216aa3859" tablePrefix="ACT" url="http://www.actionsoft.com.cn">北京炎黄盈动科技发展有限责任公司</developer>   | ||||
|   <categoryVisible>false</categoryVisible>   | ||||
|   <description><![CDATA[连接关系型数据库服务]]></description>   | ||||
|   <details><![CDATA[本应用是AWS CC的官方连接适配器,为上层应用场景提供统一的关系型数据库服务访问和管理。 | ||||
| 
 | ||||
| 主要功能 | ||||
| - 支持符合JDBC 2.0规范的SQL调用 | ||||
| - 提供常见开源和商业数据库驱动,内置数据库连接池 | ||||
| - 提供CCAPI封装,方便开发者使用 | ||||
| - 支持CC环境变量 | ||||
| - 支持SLA服务质量监控和告警通知,提供全局requestId | ||||
| - 提供访问日志开关 | ||||
| 
 | ||||
| 特别说明 | ||||
| - 使用该应用要求AWS PaaS平台许可支持CC服务 | ||||
| - 使用该应用要求AWS PaaS平台版本不低于6.4.1 | ||||
| ]]></details>   | ||||
|   <installListener/>   | ||||
|   <startListener>com.actionsoft.apps.cc.rds.event.AppStart</startListener>   | ||||
|   <pluginListener>com.actionsoft.apps.cc.rds.Plugins</pluginListener>   | ||||
|   <stopListener/>   | ||||
|   <upgradeListener/>   | ||||
|   <uninstallListener/>   | ||||
|   <reloadable>true</reloadable>   | ||||
|   <requires/>   | ||||
|   <properties>  | ||||
|     <property action="edit" group="系统" name="rdsDriverArray" title="驱动" type="textarea" isSystem="false" desc="配置驱动及对应的URL例子" ref="">[{"id":"oracle.jdbc.driver.OracleDriver","text":"Oracle Driver JDBC 4.0","url":"jdbc:oracle:thin:@192.168.0.x:1521:ORCL"},{"id":"com.mysql.jdbc.Driver","text":"MySQL Driver","url":"jdbc:mysql://192.168.0.x:3306/test"},{"id":"com.microsoft.sqlserver.jdbc.SQLServerDriver","text":"Microsoft SQL Server JDBC 4.1","url":"jdbc:sqlserver://192.168.0.x:1433; DatabaseName=test"},{"id":"net.sourceforge.jtds.jdbc.Driver","text":"jTDS JDBC Driver","url":"jdbc:jtds:sqlserver://192.168.0.x:1433/test"},{"id":"com.ibm.db2.jcc.DB2Driver","text":"DB2 Driver","url":"jdbc:db2://192.168.0.x:50000/test"},{"id":"com.informix.jdbc.IfxDriver","text":"Informix Driver","url":"jdbc:informix://192.168.0.x:9088/test:INFORMIXSERVER=gbaseserver;DB_LOCALE=zh_CN.utf8;CLIENT_LOCALE=zh_CN.utf8;NEWCODESET=UTF8,GB18030-2000,5488"},{"id":"com.gbasedbt.jdbc.IfxDriver","text":"GBase","url":"jdbc:gbasedbt://192.168.0.x:9088/test:INFORMIXSERVER=gbaseserver;DB_LOCALE=zh_CN.utf8;CLIENT_LOCALE=zh_CN.utf8;NEWCODESET=UTF8,GB18030-2000,5488"},{"id":"org.postgresql.Driver","text":"PostgreSQL Driver","url":"jdbc:postgresql://192.168.0.x:5432/test"},{"id":"com.oscar.Driver","text":"神通","url":"jdbc:oscar://192.168.0.x:2003/osrdb"},{"id":"dm.jdbc.driver.DmDriver","text":"达梦","url":"jdbc:dm://192.168.0.x:5236/DAMENG"},{"id":"com.kingbase8.Driver","text":"金仓","url":"jdbc:kingbase8://192.168.0.x:54321/TEST"}]</property> | ||||
|     <property action="edit" group="系统" name="rdsExtParam" title="扩展属性" type="textarea" isSystem="false" desc="扩展属性" ref="">[{"id":"maxAge","text":"maxAge","desc":"连接池中一个连接的寿命,单位是毫秒"},{"id":"maxIdle","text":"maxIdle","desc":"配置连接池最多维持多少个空闲连接"},{"id":"minIdle","text":"minIdle","desc":"配置连接池至少维持多少个空闲连接"},{"id":"testWhileIdle","text":"testWhileIdle","desc":"在检查闲置连接时同时检查连接可用性"},{"id":"timeBetweenEvictionRunsMillis","text":"timeBetweenEvictionRunsMillis","desc":"配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒"},{"id":"testOnBorrow","text":"testOnBorrow","desc":"在借出连接时检查连接可用性"},{"id":"validationInterval","text":"validationInterval","desc":"检查连接死活的时间间隔,单位是毫秒"},{"id":"maxWait","text":"maxWait","desc":"连接池出借连接的最长期限,单位是毫秒"}]</property> | ||||
|     <property action="edit" group="数据服务" name="size" title="分页行数" type="input" isSystem="false" desc="DS数据服务查询类size行数最大值,请填写正整数,且最大值不允许趣过10000" ref="">10000</property> | ||||
|   </properties>   | ||||
|   <allowStartup>true</allowStartup>   | ||||
|   <allowUpgradeByStore>true</allowUpgradeByStore>   | ||||
|   <depend versions="6.4" env="6.4.1">_bpm.platform</depend>   | ||||
|   <modelAdministrator/>   | ||||
|   <installDate>2018-01-09 08:45:35</installDate>   | ||||
|   <productId/>   | ||||
|   <icon code="&#xe645;" color="#ff9421"/>  | ||||
| </app> | ||||
							
								
								
									
										20
									
								
								com.actionsoft.apps.cc.connector.rds/pom.xml
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @ -0,0 +1,20 @@ | ||||
| <?xml version="1.0"?> | ||||
| <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | ||||
|     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||||
|   <modelVersion>4.0.0</modelVersion> | ||||
|   <groupId>com.actionsoft</groupId> | ||||
|   <artifactId>com.actionsoft.apps.cc.connector.rds</artifactId> | ||||
|   <name>com.actionsoft.apps.cc.connector.rds</name> | ||||
|   <version>6.2</version> | ||||
|   <url>http://www.awspaas.com</url> | ||||
|   <properties> | ||||
|     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||||
|   </properties> | ||||
|   <dependencies>    | ||||
|   </dependencies> | ||||
|   <description>连接关系型数据库服务</description> | ||||
|   <organization> | ||||
|   	<name>Actionsoft</name> | ||||
|   	<url>http://www.actionsoft.com.cn</url> | ||||
|   </organization> | ||||
| </project> | ||||
| @ -0,0 +1,5 @@ | ||||
| <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="../apps/com.actionsoft.apps.cc.connector.rds/dataservice/js/vue/pc/favicon.ico"><title>rds-dataservice</title><script>const settingParam = <#settingParam>; | ||||
|       const axiosBaseUrl = "./"; | ||||
|       const production = true;</script><script>var ccId = "<#ccId>"; | ||||
| 			  var appId = "<#appId>"; | ||||
| 			  var isReadOnlyAppAuth=<#isReadOnlyAppAuth>;</script><link href="../apps/com.actionsoft.apps.cc.connector.rds/dataservice/js/vue/pc/css/chunk-ce80f10e.c71500af.css" rel="prefetch"><link href="../apps/com.actionsoft.apps.cc.connector.rds/dataservice/js/vue/pc/js/chunk-2d224ef1.e8b01378.js" rel="prefetch"><link href="../apps/com.actionsoft.apps.cc.connector.rds/dataservice/js/vue/pc/js/chunk-ce80f10e.d1e8593f.js" rel="prefetch"><link href="../apps/com.actionsoft.apps.cc.connector.rds/dataservice/js/vue/pc/css/app.95e7d8f0.css" rel="preload" as="style"><link href="../apps/com.actionsoft.apps.cc.connector.rds/dataservice/js/vue/pc/js/app.ef8cdf4e.js" rel="preload" as="script"><link href="../apps/com.actionsoft.apps.cc.connector.rds/dataservice/js/vue/pc/js/chunk-vendors.b23a129b.js" rel="preload" as="script"><link href="../apps/com.actionsoft.apps.cc.connector.rds/dataservice/js/vue/pc/css/app.95e7d8f0.css" rel="stylesheet"></head><body style="margin:0;"><div id="app"></div><script src="../apps/com.actionsoft.apps.cc.connector.rds/dataservice/js/vue/pc/js/chunk-vendors.b23a129b.js"></script><script src="../apps/com.actionsoft.apps.cc.connector.rds/dataservice/js/vue/pc/js/app.ef8cdf4e.js"></script></body></html> | ||||
| @ -0,0 +1,15 @@ | ||||
| <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="../apps/com.actionsoft.apps.cc.connector.rds/js/vue/pc/favicon.ico"><title>com.actionsoft.apps.cc.connector.rds</title><script>const settingParam = <#settingParam>; | ||||
| 		const axiosBaseUrl = "./"; | ||||
| 		const production = true;</script><script>var ccId = "<#ccId>"; | ||||
| 			var appId = "<#appId>"; | ||||
| 			var isReadOnlyAppAuth=<#isReadOnlyAppAuth>; | ||||
| 			var isShowSLA=<#isShowSLA>; | ||||
| 			var rdsDriverArray=<#rdsDriverArray>; | ||||
| 			var rdsExtParam=<#rdsExtParam>; | ||||
| 
 | ||||
| 			var showLogFlag = <#showLogFlag>; | ||||
| 			var logDefFlag = <#logDefFlag>; | ||||
| 			var showAuditFlag = <#showAuditFlag>; | ||||
| 			var auditDefFlag = <#auditDefFlag>; | ||||
| 			var showSlaFlag = <#showSlaFlag>; | ||||
| 			var slaDefFlag = <#slaDefFlag>;</script><link href="../apps/com.actionsoft.apps.cc.connector.rds/js/vue/pc/css/chunk-2139eebc.33fc8320.css" rel="prefetch"><link href="../apps/com.actionsoft.apps.cc.connector.rds/js/vue/pc/js/chunk-2139eebc.5e3b86db.js" rel="prefetch"><link href="../apps/com.actionsoft.apps.cc.connector.rds/js/vue/pc/js/chunk-2d224ef1.913a5648.js" rel="prefetch"><link href="../apps/com.actionsoft.apps.cc.connector.rds/js/vue/pc/css/app.d028a2ca.css" rel="preload" as="style"><link href="../apps/com.actionsoft.apps.cc.connector.rds/js/vue/pc/js/app.e6d6a6eb.js" rel="preload" as="script"><link href="../apps/com.actionsoft.apps.cc.connector.rds/js/vue/pc/js/chunk-vendors.6516fffc.js" rel="preload" as="script"><link href="../apps/com.actionsoft.apps.cc.connector.rds/js/vue/pc/css/app.d028a2ca.css" rel="stylesheet"></head><body style="margin:0;"><div id="app"></div><script src="../apps/com.actionsoft.apps.cc.connector.rds/js/vue/pc/js/chunk-vendors.6516fffc.js"></script><script src="../apps/com.actionsoft.apps.cc.connector.rds/js/vue/pc/js/app.e6d6a6eb.js"></script></body></html> | ||||
| @ -0,0 +1,29 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <aws-actions> | ||||
|     <cmd-bean name="com.actionsoft.apps.cc.connector.rds_home_page"> | ||||
|         <param name="defId"/> | ||||
|         <param name="appId"/> | ||||
|         <param name="type"/> | ||||
|         <param name="readOnly"/> | ||||
|     </cmd-bean> | ||||
|     <cmd-bean name="com.actionsoft.apps.cc.connector.rds_get_info"> | ||||
|         <param name="defId"/> | ||||
|         <param name="appId"/> | ||||
|         <param name="type"/> | ||||
|     </cmd-bean> | ||||
|     <cmd-bean name="com.actionsoft.apps.cc.connector.rds_get_tables"> | ||||
|         <param name="defId"/> | ||||
|         <param name="optype"/> | ||||
|     </cmd-bean> | ||||
|     <cmd-bean name="com.actionsoft.apps.cc.connector.rds_get_fields"> | ||||
|         <param name="defId"/> | ||||
|         <param name="tableName"/> | ||||
|     </cmd-bean> | ||||
|     <cmd-bean name="com.actionsoft.apps.cc.connector.rds_refresh"> | ||||
|         <param name="defId"/> | ||||
|         <param name="appId"/> | ||||
|         <param name="type"/> | ||||
|         <param name="sql" encrypt="true"/> | ||||
|         <param name="dsNode" encrypt="true"/> | ||||
|     </cmd-bean> | ||||
| </aws-actions> | ||||
| After Width: | Height: | Size: 1.2 MiB | 
| @ -0,0 +1,2 @@ | ||||
| (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d224ef1"],{e1f5:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"devGetSession"},[e._v(" 正在获取session ")])},n=[],r=(a("5319"),a("ac1f"),a("a18c")),o=(a("d3b7"),a("a15b"),a("bc3a")),u=a.n(o),d=a("4360");function i(e){var t=[];for(var a in e)t.push(encodeURIComponent(a)+"="+encodeURIComponent(e[a]));return t.join("&")}u.a.defaults.baseURL="undefined"==typeof axiosBaseUrl?"":axiosBaseUrl,u.a.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",u.a.interceptors.request.use((function(e){return"post"==e.method&&(e.params={}),e}),(function(e){return Promise.reject(e)})),u.a.interceptors.response.use((function(e){return e.data}),(function(e){if(null==e.response)throw e;var t=e.response.status;return t>=500?alert("服务繁忙请稍后再试"):t>=400&&alert(e.response.data.message),console.dir(e),Promise.reject(e)}));var c=function(e){return u()({method:"get",url:e.url,params:e.params})},p=function(e){var t={method:"post",url:e.url,data:e.data};return t.data.sid=d["a"].state.sessionId,t.data=i(t.data),u()(t)},l=function(e){var t={authentication:d["a"].state.sessionId,sourceAppId:e.sourceAppId,aslp:e.aslp};Object.assign(t,e.params);var a={method:"post",url:e.portalUrl,params:t};return a.data=i(a.data),u()(a)},f={get:c,post:p,aslp:l};f.post({url:"jd",data:{cmd:"CONSOLE_ADMIN_LOGIN",userid:devUserInfo.userid,pwd:devUserInfo.pwd,lang:"cn",vueDeviceType:"pc"}}).then((function(e){"error"==e.result?alert("获取session错误:"+e.msg):(d["a"].commit("edit",{sessionId:e.data.sid}),r["a"].replace("/"))}));var m={data:function(){return{dwList:[]}},methods:{},mounted:function(){}},v=m,h=a("2877"),w=Object(h["a"])(v,s,n,!1,null,null,null);t["default"]=w.exports}}]); | ||||
| //# sourceMappingURL=chunk-2d224ef1.e8b01378.js.map
 | ||||
| @ -0,0 +1 @@ | ||||
| .info[data-v-1f2b9d60]{font-size:12px;color:#656565;line-height:26px}.alarmLevel[data-v-1f2b9d60]{color:#fff;padding:3px 6px;border-radius:5px}.err-color[data-v-1f2b9d60]{background-color:#d9422f}.warn-color[data-v-1f2b9d60]{background-color:#ffb800}.info-color[data-v-1f2b9d60]{background-color:#009688}.sla-pane[data-v-6de39f90]{padding:0 0}.run-info[data-v-6de39f90]{min-height:48px}.switchdiv[data-v-6de39f90]{margin-bottom:0}.cc-dev-main-card[data-v-6de39f90]{border-radius:4px;margin:0;padding:0}.dev-ops[data-v-6de39f90]{margin-top:5px;margin-bottom:5px}.dev-ops[data-v-6de39f90] .el-card__body{padding:5px}.msg-list-data-panel[data-v-6de39f90]{color:#9e9e9e}.msg-row[data-v-6de39f90]{margin:0 0 0 0;border-bottom:1px solid #f9f9f9;padding-top:5px;padding-bottom:8px;font-size:12px}.msg-num[data-v-6de39f90]{padding:10px}.event-time[data-v-6de39f90]{float:right;margin-right:5px;padding:2px;text-align:center}.msg-time[data-v-6de39f90]{float:right;margin-right:5px;background:#ff8282;border-radius:50%;width:25px;padding:2px;text-align:center;color:#fff}.msg-type[data-v-6de39f90]{margin:10px 5px;padding:3px 6px;border-radius:5px;color:#fff}.err-color[data-v-6de39f90]{background-color:#d9422f}.warn-color[data-v-6de39f90]{background-color:#ffb800}.info-color[data-v-6de39f90]{background-color:#009688}.el-tabs__nav{left:50%!important;transform:translateX(-50%)!important}.rds-info-wrap[data-v-29e6df72]{overflow-y:auto;padding:0 30px!important;height:calc(100vh - 56px)}.info-title[data-v-29e6df72]{font-size:13px!important;color:#333!important;font-weight:700!important;margin-top:10px;display:inline-block!important}.default-divider[data-v-29e6df72]{margin:6px 0!important}.cc-relation-pane[data-v-29e6df72]{overflow-y:auto;overflow-x:hidden;height:calc(100vh - 56px)}.cc-relation-header[data-v-29e6df72]{height:40px;line-height:40px;width:100%;padding:0 35px;background:#f7f7f7;font-weight:700}.cc-relation-lists[data-v-29e6df72]{padding:0}.cc-relation[data-v-29e6df72]{overflow-y:auto;padding:0 30px!important}.cc-relation-row[data-v-29e6df72]{border-bottom:1px solid #e8e8e8}.cc-relation-row[data-v-29e6df72]:hover{background:#f5f7fa}.cc-relation-row-desc[data-v-29e6df72]{padding-left:5px;width:100%;min-height:30px;line-height:30px}.el-header{padding:0!important}.app-info{padding:0 0!important}.cc-dev-main{padding:5px 0!important}.cc-dev-main-card{margin:10px 0!important} | ||||
| After Width: | Height: | Size: 4.2 KiB | 
 shangxiaoran@qq.com
						shangxiaoran@qq.com