code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
package com.chiao.action;
import java.io.IOException;
import javax.mail.MessagingException;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.util.ClassUtils;
import org.s... | zyy-test-test | trunk/zyy/src/com/chiao/action/FrontAction.java | Java | asf20 | 1,505 |
package com.chiao.action;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@RequestMapping(value="/blog")
public class BlogAction {
@RequestMapping(value="/index")
public String index(){
return "blog/index";
}
}
| zyy-test-test | trunk/zyy/src/com/chiao/action/BlogAction.java | Java | asf20 | 313 |
package com.chiao.action.admin;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
im... | zyy-test-test | trunk/zyy/src/com/chiao/action/admin/DesktopAction.java | Java | asf20 | 2,142 |
package com.chiao.action.admin;
import com.chiao.entity.admin.Employee;
import com.chiao.service.admin.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.chi... | zyy-test-test | trunk/zyy/src/com/chiao/action/admin/AdminLogin.java | Java | asf20 | 1,225 |
package com.chiao.action.admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.WebDataBinder;
import org.springframework.web.bind.annotation.InitBinder;
import org.springframework.web.bind.annotation.RequestMapp... | zyy-test-test | trunk/zyy/src/com/chiao/action/admin/DeptAction.java | Java | asf20 | 1,844 |
package com.chiao.action.admin;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.WebDataBinder;
import org.springframework.web.bind.annotation.InitBinder;
import org.springframework.web.b... | zyy-test-test | trunk/zyy/src/com/chiao/action/admin/RoleAction.java | Java | asf20 | 1,647 |
package com.chiao.action.admin;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.UUID;
import javax.imageio.ImageIO;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans... | zyy-test-test | trunk/zyy/src/com/chiao/action/admin/EmployeeAction.java | Java | asf20 | 4,503 |
package com.chiao.util;
public class Constant {
public static final String UPLOADPATH="/upload";
}
| zyy-test-test | trunk/zyy/src/com/chiao/util/Constant.java | Java | asf20 | 108 |
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>欢迎注册</title>
<style type="text/css">
<!--
body a{color:#07f;}body a:hover{text-decoration:underline;}
body p, body div table tr td{line-height:1.5;}
body div table tr td{font-size:14px... | zyy-test-test | trunk/zyy/src/mailTemplate/registerUser.ftl | FreeMarker | asf20 | 2,308 |
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base... | zyy-test-test | trunk/zyy/WebRoot/index.jsp | Java Server Pages | asf20 | 2,339 |
$(document).ready(function() {
$("#cate_menu").find('li').hover(function(){
$(this).addClass("over");
$(this).find('ul:first').show();
},
function(){
$(this).removeClass("over");
$(this).find('ul:first').hide();
})
});
function SelectStyle(on,option){
var currentSort = $(on).attr('id');
... | zyy-test-test | trunk/zyy/WebRoot/resource/js/common.js | JavaScript | asf20 | 10,871 |
/*
* jQuery MD5 Plugin 1.2.1
* https://github.com/blueimp/jQuery-MD5
*
* Copyright 2010, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://creativecommons.org/licenses/MIT/
*
* Based on
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
* Digest Algor... | zyy-test-test | trunk/zyy/WebRoot/resource/js/jquery.md5.js | JavaScript | asf20 | 9,606 |
// 解决IE6不缓存背景图片问题
if(!window.XMLHttpRequest) {
document.execCommand("BackgroundImageCache", false, true);
}
// 添加收藏夹
function addFavorite(url, title) {
if (document.all) {
window.external.addFavorite(url, title);
} else if (window.sidebar) {
window.sidebar.addPanel(title, url, "");
}
}
// html... | zyy-test-test | trunk/zyy/WebRoot/resource/shop/js/base.js | JavaScript | asf20 | 9,467 |
/***
* SHOP++ Shop JavaScript
*
* http://www.shopxx.net
*
* Copyright © 2010 shopxx.net All Rights Reserved.
**/
shopxx = {
base: "",
currencySign: "¥",
currencyUnit: "元",
priceScale: "2",
priceRoundType: "roundHalfUp"
};
// 货币格式化
function currencyFormat(price) {
price = setScale(price, ... | zyy-test-test | trunk/zyy/WebRoot/resource/shop/js/shop.js | JavaScript | asf20 | 26,622 |
@charset "utf-8";
input.formText {
width: 180px;
padding: 5px;
border-top: 1px solid #999999;
border-right: 1px solid #e1e1e1;
border-bottom: 1px solid #e1e1e1;
border-left: 1px solid #999999;
}
input.formText:hover {
border: 1px solid #ff9b1f;
background-color: #fefbf7;
}
input.formText:focu... | zyy-test-test | trunk/zyy/WebRoot/resource/shop/css/base.css | CSS | asf20 | 9,943 |
@charset "utf-8";
.header {
height: 155px;
background: url(../images/header_bg.png) center 15px no-repeat;
}
.header .headerTop {
height: 28px;
line-height: 25px;
clear: both;
color: #1f1f1f;
background: url(../images/header_x_bg.png) 0px 0px repeat-x;
}
.header .headerTop a {
color: #6b6b6b;... | zyy-test-test | trunk/zyy/WebRoot/resource/shop/css/shop.css | CSS | asf20 | 73,076 |
Ext.application({
name: 'ZYY',
appFolder: path+"/resource/admin",
controllers: ['Desktop'],
paths:{
'Ext.ux': path+'/resource/admin/ux'
},
launch: function() {
}
})
| zyy-test-test | trunk/zyy/WebRoot/resource/admin/desktop.js | JavaScript | asf20 | 197 |
Ext.define('ZYY.view.webdesktop.Desktop', {
extend : 'Ext.panel.Panel',
alias : 'widget.webdesktop_desktop',
requires : [
'Ext.ux.webdesktop.FitAll',
'ZYY.view.webdesktop.Taskbar'
],
html: ' ',
draggable:false,
wallpaperStretch: false,
initComponent: function()... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/webdesktop/Desktop.js | JavaScript | asf20 | 1,571 |
/**
* The desktop Taskbar
*
* The Taskbar is a toolbar that contains
* - start button
* - quickstart toolbar
* - windowbar toolbar
* - sytemtray toolbar
*
* @author Andreas Mairhofer <andreas@classphp.de>
* @verion 0.1
* @package Webdesktop
* @subpackage Webdesktop
* @namespace Webdesktop.view.webdeskt... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/webdesktop/Taskbar.js | JavaScript | asf20 | 3,064 |
/**
* The desktop startmenu
*
* @author Andreas Mairhofer <andreas@classphp.de>
* @verion 0.1
* @package Webdesktop
* @subpackage Webdesktop
* @namespace Webdesktop.view.webdesktop
* @see ExtJs4 <http://www.sencha.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License version 3.0
... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/webdesktop/StartMenu.js | JavaScript | asf20 | 3,437 |
Ext.define('ZYY.view.webdesktop.Wallpaper', {
extend : 'Ext.Component',
alias : 'widget.webdesktop_wallpaper',
cls : 'ux-wallpaper',
html : '<img src="'+Ext.BLANK_IMAGE_URL+'">',
/**
* @cfg {Boolean} strech status flag if wallpaper should be streched
*/
stretch : ... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/webdesktop/Wallpaper.js | JavaScript | asf20 | 1,875 |
Ext.define('ZYY.view.webdesktop.System', {
extend: 'Ext.window.Window',
alias : 'widget.admin_System',
id: 'system-view',
height:470,
width: 550,
initComponent: function() {
var me = this;
Ext.applyIf(me, {
iconCls: 'icon-grid',
an... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/webdesktop/System.js | JavaScript | asf20 | 614 |
Ext.define('ZYY.view.webdesktop.DesktopContextmenu', {
extend: 'Ext.menu.Menu',
alias : 'widget.webdesktop_DesktopContextmenu',
floating: false,
initComponent: function() {
var me = this;
Ext.applyIf(me, {
defaultAlign : 'br-tr',
items: [
... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/webdesktop/DesktopContextmenu.js | JavaScript | asf20 | 538 |
Ext.define('ZYY.view.webdesktop.TrayClock', {
extend: 'Ext.toolbar.TextItem',
alias: 'widget.trayclock',
cls: 'ux-desktop-trayclock',
html: ' ',
timeFormat: 'g:i A',
tpl: '{time}',
initComponent: function () {
var me = this;
me.callParent();
... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/webdesktop/TrayClock.js | JavaScript | asf20 | 1,126 |
/**
* The main viewport if the webdesktop
*
* Only set the desktop view panel
*
* @author Andreas Mairhofer <andreas@classphp.de>
* @verion 0.1
* @package Webdesktop
* @subpackage Webdesktop
* @namespace Webdesktop.view.webdesktop
* @see ExtJs4 <http://www.sencha.com>
* @license http://www.gnu... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/webdesktop/Viewport1.js | JavaScript | asf20 | 1,184 |
Ext.define("ZYY.view.system.dept", {
extend : "Ext.panel.Panel",
alias : 'widget.department',// 别名 xtype用
layout : 'border',
title:"组织机构管理",
closable : true,
items : [{
xtype : 'deptTree',
region : 'west'
}, {
xtype : 'deptList',
region : 'center'
}],
... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/system/dept.js | JavaScript | asf20 | 416 |
Ext.define("ZYY.view.system.serverInfo",{
extend:"Ext.grid.property.Grid",
alias : 'widget.system.serverInfo',//别名
sortableColumns:true,
source:{},
title:"服务器信息",
closable:true,
initComponent : function() {
var com=this;
$.post(path+"/admin/serverInfo.htm",function(data){
com.setSo... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/system/serverInfo.js | JavaScript | asf20 | 400 |
Ext.define("ZYY.view.system.deptList",{
extend:"Ext.panel.Panel",
alias : 'widget.deptList',
title: '部门列表',
iconCls:'orgtree',
tbar : {
xtype : "toolbar",
border : false,
items : [{
xtype : 'button',
text : "新增",
action: 'add',
iconCls : "add"
}, {
... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/system/deptList.js | JavaScript | asf20 | 720 |
Ext.define("ZYY.view.system.group", {
extend : "Ext.panel.Panel",
alias : 'widget.system.group',//别名 xtype用
title:"用户组角色管理",
closable:true,
layout : 'border',
border:false,
items:[
{ title:"用户组列表",
region:"west",
border:false,
width:400,
html:"fsdfsa"
},
{title:"角色列表",re... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/system/group.js | JavaScript | asf20 | 395 |
Ext.define("ZYY.view.system.deptTree",{
extend:"Ext.tree.Panel",
alias : 'widget.deptTree',
title: '组织机构',
iconCls:'orgtree',
width: 200,
border:false,
rootVisible: false,
tools:[{
type:'refresh',
tooltip: '刷新'
}],
//store:'system.deptTree',//这种用法不对,这种用法共用一个store会带来联动等问... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/system/deptTree.js | JavaScript | asf20 | 755 |
Ext.define("ZYY.view.system.deptGrid",{
extend:"Ext.grid.Panel",
alias : 'widget.deptGrid',//别名
store:'system.deptGrid',
columns: [
{text: "ID", flex: 1, sortable: true, dataIndex: 'deptid',hidden:true},
{text: "部门名称", flex: 1, sortable: true, dataIndex: 'deptname'},
{text: "上级... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/system/deptGrid.js | JavaScript | asf20 | 1,214 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
Ext.define("ZYY.view.system.resourceTree",{
extend:"Ext.tree.Panel",
alias : 'widget.resourceTree',
title: '角色所拥有权限',
rootVisible: false,
tbar : {
xtype : 'toolbar',
border : false,... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/system/resourceTree.js | JavaScript | asf20 | 675 |
Ext.define("ZYY.view.system.employee", {
extend : "Ext.panel.Panel",
alias : 'widget.employee',// 别名 xtype用
title : "人员管理",
closable : true,
layout : 'border',
initComponent : function() {
Ext.apply(this,{
items : [{
xtype : 'deptTree',
region : 'west'
}, {
xtype : 'gridpanel',
... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/system/employee.js | JavaScript | asf20 | 2,753 |
Ext.define('ZYY.view.system.deptEdit', {
extend: 'Ext.window.Window',
alias : 'widget.deptEdit',
requires: ['Ext.form.Panel'],
layout: 'fit',
autoShow: true,
height: 200,
width: 400,
modal:true,
initComponent: function() {
var comboxWithTree=Ext.create('Ext.form.field.... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/system/deptEdit.js | JavaScript | asf20 | 2,945 |
Ext.define("ZYY.view.system.icon", {
extend : "Ext.grid.Panel",
alias : 'widget.system.icon',//别名 xtype用
store:'system.icon',
title:"系统预置图标",
closable:true,
columns: [{
text: '预览',
dataIndex: 'filepath',
renderer : function(value) {
return "<img sr... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/system/icon.js | JavaScript | asf20 | 1,140 |
Ext.define('ZYY.view.system.roleEdit', {
extend: 'Ext.window.Window',
alias : 'widget.roleEdit',
requires: ['Ext.form.Panel'],
layout: 'fit',
autoShow: true,
height: 200,
width: 400,
modal:true,
initComponent: function() {
this.items = [
{
... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/system/roleEdit.js | JavaScript | asf20 | 1,752 |
Ext.define("ZYY.view.system.role", {
extend : "Ext.grid.Panel",
alias : 'widget.sysrole',// 别名 xtype用
title : "角色管理",
closable : true,
border : false,
store : 'system.role',
columns : [{
xtype:"rownumberer"
},{
hidden:true,
dataIndex : 'roleid'
}, ... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/system/role.js | JavaScript | asf20 | 1,261 |
Ext.define('ZYY.view.system.employeeEdit', {
extend: 'Ext.window.Window',
alias : 'widget.employeeEdit',
requires: ['Ext.form.Panel'],
layout: 'fit',
autoShow: true,
height: 340,
width: 600,
modal:true,
initComponent: function() {
selectImg=function(){
$(... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/system/employeeEdit.js | JavaScript | asf20 | 4,789 |
Ext.define("ZYY.view.viewport.buttom", {
extend : "Ext.panel.Panel",
alias : 'widget.buttom',
height:20,
border:false,
html : "copy@right",
initComponent:function(){
console.log('布局'+this.$className+'初始化');
this.callParent(arguments);
}
}); | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/viewport/buttom.js | JavaScript | asf20 | 271 |
Ext.define("ZYY.view.viewport.header", {
extend : "Ext.panel.Panel",
alias : 'widget.navhead',
height:50,
border:false,
layout: {
type: 'hbox'
},
items:[
{
xtype:'panel',
border:false,
width:200,
html:"<a class='logo'>l... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/viewport/header.js | JavaScript | asf20 | 1,271 |
Ext.define("ZYY.view.viewport.left", {
extend : "Ext.panel.Panel",
alias : 'widget.left',
autoHeight : true,
collapsible : true,
minWidth : 150,
collapseMode : 'mini',
split : true,
preventHeader : true,
titleCollapse : false,
width : 200,
items:[{
xtype:'... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/viewport/left.js | JavaScript | asf20 | 928 |
Ext.define("ZYY.view.viewport.center", {
extend : "Ext.tab.Panel",
alias : 'widget.center',
autoHeight: true,
activeTab: 0,
items: [{
title: '首页 ',//extjs4 bug ie 下
iconCls:'home',
html: 'Creating more tabs...'
}],
initComponent:function(){
console.log('布局'+this... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/view/viewport/center.js | JavaScript | asf20 | 395 |
Ext.define('ZYY.store.webdesktop.Shortcuts', {
extend : 'Ext.data.Store',
model : 'ZYY.model.webdesktop.Module',
idProperty : 'moduleIds',
proxy : {
type : 'memory',
reader : {
type : 'json'
}
}
}); | zyy-test-test | trunk/zyy/WebRoot/resource/admin/store/webdesktop/Shortcuts.js | JavaScript | asf20 | 272 |
Ext.define('ZYY.store.system.deptTree', {
extend: 'Ext.data.TreeStore',
proxy: {
type: 'ajax',
url: path+'/admin/dept/deptTree.htm'
},
root: {
text: sysname,
id: '0',
expanded: false
}
}); | zyy-test-test | trunk/zyy/WebRoot/resource/admin/store/system/deptTree.js | JavaScript | asf20 | 267 |
Ext.define('ZYY.store.system.deptGrid', {
extend: 'Ext.data.Store',
model: 'ZYY.model.system.deptGrid',
autoLoad: false,
proxy: {
type: 'ajax',
// api: {
// read: path+'/admin/dept/deptGrid.htm',
// update: 'data/updateUsers.json'
// },
// url... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/store/system/deptGrid.js | JavaScript | asf20 | 492 |
Ext.define('ZYY.store.system.employee', {
extend : 'Ext.data.Store',
model : 'ZYY.model.system.employee',
autoLoad: true,
pageSize: 20,
remoteSort: false,
proxy: {
type: 'ajax',
url : path+'/admin/emp/list.htm',
reader: {
type : 'j... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/store/system/employee.js | JavaScript | asf20 | 387 |
Ext.define('ZYY.store.system.icon', {
extend: 'Ext.data.Store',
model: 'ZYY.model.system.icon',
autoLoad: true,
pageSize: 20,
remoteSort: true,
proxy: {
type: 'pagingmemory',
data: [
['logout','logout.png','/resource/images/icons/logout.png'],
... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/store/system/icon.js | JavaScript | asf20 | 2,221 |
Ext.define('ZYY.store.system.role', {
extend: 'Ext.data.Store',
autoLoad: true,
model: 'ZYY.model.system.role',
proxy: {
type: 'ajax',
url:path+'/admin/role/list.htm',
reader: {
type: 'json'
}
}
}); | zyy-test-test | trunk/zyy/WebRoot/resource/admin/store/system/role.js | JavaScript | asf20 | 308 |
Ext.define('ZYY.controller.Desktop' ,{
extend: 'Ext.app.Controller',
mixins: {
manager: 'Ext.ux.webdesktop.Manager'
},
views: [
'ZYY.view.webdesktop.Viewport'
],
stores:[
'ZYY.store.webdesktop.Shortcuts'
],
requires: [
'ZYY.view.webdesktop.Tas... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/controller/Desktop.js | JavaScript | asf20 | 23,154 |
Ext.define('ZYY.controller.system.dept',{
extend : 'Ext.app.Controller',
views:['system.deptTree','system.dept','system.deptList','system.deptEdit','system.deptGrid'],
stores: ['system.deptTree','system.deptGrid'],
refs : [
{ref: 'dept', selector: '', xtype: 'department', autoCreat... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/controller/system/dept.js | JavaScript | asf20 | 4,322 |
Ext.define('ZYY.controller.system.serverInfo',{
extend : 'Ext.app.Controller',
views:['system.serverInfo'],
refs:[
{ref: 'grid', selector: '', xtype: 'system.serverInfo', autoCreate: true},
{ref:"serverInfo",selector:"system.serverInfo"}
],
init:function(application... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/controller/system/serverInfo.js | JavaScript | asf20 | 570 |
Ext.define('ZYY.controller.system.group',{
extend : 'Ext.app.Controller',
views:['system.group'],
refs:[
{ref: 'group', selector: '', xtype: 'system.group', autoCreate: true}
],
init:function(){
if (this.inited) {
return;
}
this.inited = true... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/controller/system/group.js | JavaScript | asf20 | 503 |
Ext.define('ZYY.controller.system.employee',{
extend : 'Ext.app.Controller',
views:['system.employee','system.deptTree','system.employeeEdit'],
models:['system.employee'],
stores:['system.employee','system.deptTree'],
requires:['Ext.ux.RowExpander','Ext.ux.PagingMemoryProxy','Ext.ux.P... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/controller/system/employee.js | JavaScript | asf20 | 5,940 |
Ext.define('ZYY.controller.system.icon',{
extend : 'Ext.app.Controller',
views:['system.icon'],
stores:['system.icon'],
requires:['Ext.ux.PagingMemoryProxy','Ext.ux.ProgressBarPager'],
refs:[
{ref: 'icon', selector: '', xtype: 'system.icon', autoCreate: true}
],
... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/controller/system/icon.js | JavaScript | asf20 | 601 |
Ext.define('ZYY.controller.system.role',{
extend : 'Ext.app.Controller',
views:['system.role','system.roleEdit'],
stores:['system.role'],
refs:[
{
ref: 'role',
selector: '',
xtype: 'sysrole',
autoCreate: true
}
],
init:function(application)... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/controller/system/role.js | JavaScript | asf20 | 3,974 |
Ext.define('ZYY.controller.Viewport', {
extend : 'Ext.app.Controller',
// stores : ['system.menuTree'],
views : ['viewport.header','viewport.buttom','viewport.center','viewport.left'],
refs : [
{
ref: 'center',
selector: 'center'
}
],
init : function(applicat... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/controller/Viewport.js | JavaScript | asf20 | 2,244 |
Ext.application({
name: 'ZYY',
appFolder: path+"/resource/admin",
controllers: ['Viewport'],
paths:{
'Ext.ux': path+'/resource/admin/ux'
},
refs : [
{
ref: 'center',
selector: 'center'
}
],
launch: function() {
Ext.defer(function() {... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/app.js | JavaScript | asf20 | 2,034 |
// feature idea to enable Ajax loading and then the content
// cache would actually make sense. Should we dictate that they use
// data or support raw html as well?
/**
* @class Ext.ux.RowExpander
* @extends Ext.AbstractPlugin
* Plugin (ptype = 'rowexpander') that adds the ability to have a Column in a grid which e... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/ux/RowExpander.js | JavaScript | asf20 | 7,865 |
Ext.onReady(function(){
Ext.BLANK_IMAGE_URL = path+'/resource/images/s.gif';
if(Ext.view.AbstractView){
Ext.apply(Ext.view.AbstractView.prototype, {
loadingText: '读取中...'
});
}
if ($.browser.msie) {
if (!window.console || !console.firebug) {
va... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/ux/ExtUtils.js | JavaScript | asf20 | 10,670 |
/**
* Desktop Manager for a desktop controller
*
* This manager should be implented as a mixin to have the bundling between
* desktop controller and window manager.
*
* It handles all kind of window stuff and events around the desktop panel, taskbar and so on
*
* @author Andreas Mairhofer <andreas@classphp.de>
... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/ux/webdesktop/Manager.js | JavaScript | asf20 | 7,557 |
/**
* @class Ext.ux.desktop.FitAllLayout
* @extends Ext.layout.container.AbstractFit
* 从新定义布局
*
*/
Ext.define('Ext.ux.webdesktop.FitAll', {
extend: 'Ext.layout.container.AbstractFit',
alias: 'layout.fitall',
// @private
onLayout : function() {
var me = this;
me.callParent();
... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/ux/webdesktop/FitAll.js | JavaScript | asf20 | 1,016 |
/**
* Base Class for every module/controller in the webdesktop
*
* A new module with its controllers must extend from this class,
* because it provides special funtionality and easy references.
*
* @author Andreas Mairhofer <andreas@classphp.de>
* @verion 0.1
* @package Ext.ux
* @subpackage Webdesktop
* @name... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/ux/webdesktop/Module.js | JavaScript | asf20 | 1,286 |
/**
* Collection, where all user available modules are stored
*
* This class is a Ext.util.MixedCollection, but with the option to bind
* listeners on creation time of the MixedCollection
*
* @author Andreas Mairhofer <andreas@classphp.de>
* @verion 0.1
* @package Ext.ux
* @subpackage Webdesktop
* @namespace ... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/ux/webdesktop/ModuleCollection.js | JavaScript | asf20 | 1,164 |
/*
This file is part of Ext JS 4
Copyright (c) 2011 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the p... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/ux/ProgressBarPager.js | JavaScript | asf20 | 3,811 |
/*
This file is part of Ext JS 4
Copyright (c) 2011 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the p... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/ux/PagingMemoryProxy.js | JavaScript | asf20 | 3,509 |
Ext.define('ZYY.model.webdesktop.Module', {
extend: 'Ext.data.Model',
fields: [
{ name: 'moduleId'},
{ name: 'controller'},
{ name: 'iconCls' },
{ name: 'name'},
//显示在开始菜单中的左右
{ name: 'pos'},
//是否在左面中显示
{ name: 'desk'}
]
}); | zyy-test-test | trunk/zyy/WebRoot/resource/admin/model/webdesktop/Module.js | JavaScript | asf20 | 354 |
Ext.define('ZYY.model.system.deptGrid', {
extend: 'Ext.data.Model',
fields: [
{name: 'deptid'},
{name: 'deptname'},
{name: 'pname'},
{name: 'sortno'},
{name: 'pid'}
]
}); | zyy-test-test | trunk/zyy/WebRoot/resource/admin/model/system/deptGrid.js | JavaScript | asf20 | 246 |
Ext.define('ZYY.model.system.employee', {
extend: 'Ext.data.Model',
fields: [
{name: 'empid'},
{name: 'empno'},
{name: 'empname'},
{name: 'sex'},
{name: 'tel'},
{name: 'idcard'},
{name: 'birthday'},
{name: 'address'},
{name: 'headpic'},
{name: 'st... | zyy-test-test | trunk/zyy/WebRoot/resource/admin/model/system/employee.js | JavaScript | asf20 | 413 |
Ext.define('ZYY.model.system.icon', {
extend: 'Ext.data.Model',
fields: [
{name: 'cssname'},
{name: 'filename'},
{name: 'filepath'}
]
}); | zyy-test-test | trunk/zyy/WebRoot/resource/admin/model/system/icon.js | JavaScript | asf20 | 178 |
Ext.define('ZYY.model.system.role', {
extend : 'Ext.data.Model',
fields : ['roleid', 'rolename', 'roledesc', 'sortno']
}); | zyy-test-test | trunk/zyy/WebRoot/resource/admin/model/system/role.js | JavaScript | asf20 | 133 |
a:link.more, a:visited.more {
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}
img {
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
#footer-outer,
#footer-bottom {
text-shadow: 0 1px 1p... | zyy-test-test | trunk/zyy/WebRoot/resource/blog/css/enhancements.css | CSS | asf20 | 905 |
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr... | zyy-test-test | trunk/zyy/WebRoot/resource/blog/css/index.css | CSS | asf20 | 9,836 |
/* -----------------------------------------------------------------------------
Template Name : CoolBlue
Template Code : S-0031
Version : 1.0
Author : Erwin Aligam
Author URI : http://www.cssmoban.com/
Last Date Modified : March 10, 2010
-------------------------------------------------------------------... | zyy-test-test | trunk/zyy/WebRoot/resource/blog/css/coolblue.css | CSS | asf20 | 20,250 |
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr... | zyy-test-test | trunk/zyy/WebRoot/resource/blog/css/reset.css | CSS | asf20 | 969 |
@import url("reset.css");
@import url("coolblue.css");
@import url("enhancements.css");
| zyy-test-test | trunk/zyy/WebRoot/resource/blog/css/screen.css | CSS | asf20 | 92 |
/**
* Based on the default jCarousel tango skin. Adapted for use with the Mini
* Panels module by Wim Leers. GPL icons created by Kaj Heijmans.
*/
.jcarousel-skin-tango {
text-align: center;
}
.jcarousel-skin-tango .jcarousel-container {
background: #FFF;
border: 1px solid #AAAAAA;
margin: au... | zyy-test-test | trunk/zyy/WebRoot/resource/plugins/jcarousel/jcarousel-tango.css | CSS | asf20 | 4,854 |
@charset "utf-8";
/* CSS Document */
/*----------------------- 页面整体布局 -------------------------*/
body{
background:url(../images/500.jpg) no-repeat 50% 30px;
font: 12px/1.5 '宋体';
}
#main{
width:777px;
margin:80px auto 0 auto;
}
/*-----------------------#main----------------------------------*/
dl{
... | zyy-test-test | trunk/zyy/WebRoot/resource/css/error.css | CSS | asf20 | 1,170 |
html, body
{
height: 100%;
}
body
{
font: 12px 'Lucida Sans Unicode', 'Trebuchet MS', Arial, Helvetica;
margin: 0;
background-color: #d9dee2;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebeef2), to(#d9dee2));
background-image: -webkit-linear-gradient(top, #ebeef2... | zyy-test-test | trunk/zyy/WebRoot/resource/css/adminlogin.css | CSS | asf20 | 6,722 |
/*导航样式开始*/
#navigation ul li {
float:left;
margin-right:20px;
position: relative ;
z-index:100;
}
#navigation ul li a {
display:block;
padding:0 8px;
background:#EEEEEE;
font-weight:700;
}
#navigation ul li a:hover {
background:none;
color:#fff;
text-decoration: none;
}
#navigation u... | zyy-test-test | trunk/zyy/WebRoot/resource/css/nav.css | CSS | asf20 | 681 |
* { margin:0; padding:0; word-wrap:break-word; word-break:break-all; }
body { background:#FFF; color:#333; font:12px/1.6em 微软雅黑, Helvetica, Arial, sans-serif; position: relative;}
a { color:#0287CA; text-decoration:none; }
a:hover { text-decoration:underline; }
ul, li { list-style:none; }
img { border:none; }
h1,... | zyy-test-test | trunk/zyy/WebRoot/resource/css/base.css | CSS | asf20 | 883 |
#loading-mask{
background-color:white;
height:100%;
position:absolute;
left:0;
top:0;
width:100%;
z-index:20000;
}
#loading{
height:auto;
position:absolute;
left:45%;
top:40%;
padding:2px;
z-in... | zyy-test-test | trunk/zyy/WebRoot/resource/css/admin.css | CSS | asf20 | 2,871 |
/* 全局 */
a {color:#3E62A6;outline:0;}
a:hover {color:#C00;}
ul,ol {list-style-type:none;}
img {border:0;}
body {
background:#f9f9f9;
text-align:center;
font-size:10pt;
}
table td {vertical-align:top;}
.clear { clear: both; font-size: 1px; line-height: 0; }
.highlight {color:#A00;padding:0 1px;margin:0 2p... | zyy-test-test | trunk/zyy/WebRoot/resource/css/index.css | CSS | asf20 | 54,210 |
/*logo样式开始*/
#logo {
float:left;
width:200px;
height:50px;
margin:5px 0 0 5px;
background:url(../images/logo.png) no-repeat;
}
#userbar{
position: absolute;
top: 3px;
right: 5px;
font-size: 10.5pt;
color:#666666;
}
#userbar a {
text-decoration: none;
color: #AA0000;
}
#use... | zyy-test-test | trunk/zyy/WebRoot/resource/css/header.css | CSS | asf20 | 1,498 |
/*!
* Ext JS Library 4.0
* Copyright(c) 2006-2011 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
*/
#poweredby {
position: absolute;
bottom: 40px;
right: 20px;
z-index: 15000;
/* IE 5-7 */
filter: alpha(opacity=70);
/* Netscape */
-moz-opacity: 0.7;
/* Safari 1.... | zyy-test-test | trunk/zyy/WebRoot/resource/css/desktop.css | CSS | asf20 | 6,766 |
@import url("base.css");
@import url("header.css");
@import url("nav.css");
| zyy-test-test | trunk/zyy/WebRoot/resource/css/main.css | CSS | asf20 | 79 |
/*css reset*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,code,del,dfn,em,img,q,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td
{
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 10... | zyy-test-test | trunk/zyy/WebRoot/resource/css/global.css | CSS | asf20 | 1,495 |
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="common.jsp"%>
<title>首页</title>
<link href="${path}/re... | zyy-test-test | trunk/zyy/WebRoot/WEB-INF/views/front/index.jsp | Java Server Pages | asf20 | 9,608 |
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>登录页面</title>
<%@ include file="../common.jsp" %>
<link rel="sty... | zyy-test-test | trunk/zyy/WebRoot/WEB-INF/views/front/login.jsp | Java Server Pages | asf20 | 12,653 |
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<div class="footer">
<div class="footerInfo">
<ul>
<li><a href="#">关于商城</a>|</li>
<li><a href="#">帮助中心</a>|</li>
<li><a href="#">网站地图</a>|</li>
<li><a href="#">诚聘英才</a>|</li>
<li><a href="#">联系我们</a>|</li>
<li><a href="#"... | zyy-test-test | trunk/zyy/WebRoot/WEB-INF/views/front/footer.jsp | Java Server Pages | asf20 | 636 |
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<div id="friendLink" class="friendLink">
<div class="pictureFriendLink">
<div class="left"></div>
<div class="middle">
<ul>
<li><a href="#" target="_blank"> <img src="${path}/resource/shop/images/zhifubao.png"> </a></li>
<li><a ... | zyy-test-test | trunk/zyy/WebRoot/WEB-INF/views/front/friend_link.jsp | Java Server Pages | asf20 | 816 |
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<c:set var="path" value="${pageContext.request.contextPath}"/>
<scri... | zyy-test-test | trunk/zyy/WebRoot/WEB-INF/views/front/common.jsp | Java Server Pages | asf20 | 538 |
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<div id="header" class="header belatedPNG">
<div class="headerTop belatedPNG">
<div class="headerTopContent">
<div class="headerLoginInfo">
您好<span id="headerLoginMemberUsername"></span>, 欢迎来到小商品商城 <a
href="javascript: void(0);" i... | zyy-test-test | trunk/zyy/WebRoot/WEB-INF/views/front/header.jsp | Java Server Pages | asf20 | 2,166 |
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<%@ include file="common.jsp" %>
<meta http-equiv="Content-Type" cont... | zyy-test-test | trunk/zyy/WebRoot/WEB-INF/views/index.jsp | Java Server Pages | asf20 | 12,100 |
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>后台首页</title>
<%@ include file="common.jsp" %>
<link rel="stylesheet" type="text/css" href="${path }/resource/plugins/extjs/resources/css/ext-all.c... | zyy-test-test | trunk/zyy/WebRoot/WEB-INF/views/admin/index.jsp | Java Server Pages | asf20 | 1,299 |
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="path" value="${pageContext.request.contextPath}"/>
<!DOCTYPE HTML>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<tit... | zyy-test-test | trunk/zyy/WebRoot/WEB-INF/views/admin/login.jsp | Java Server Pages | asf20 | 1,102 |
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<c:set var="path" value="${pageContext.request.contextPath}"/>
<scri... | zyy-test-test | trunk/zyy/WebRoot/WEB-INF/views/admin/common.jsp | Java Server Pages | asf20 | 873 |
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>后台首页</title>
<%@ include file="common.jsp" %>
<link rel="stylesheet" type="text/css" href="${path }/resource/plugins/extjs/resources/css/ext-all.c... | zyy-test-test | trunk/zyy/WebRoot/WEB-INF/views/admin/desktop.jsp | Java Server Pages | asf20 | 924 |
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<script type="text/javascript">
Ext.onReady(function() {
alert(1111);
});
$(function(){
alert(22);
});
</script>
| zyy-test-test | trunk/zyy/WebRoot/WEB-INF/views/admin/module/MyJsp.jsp | Java Server Pages | asf20 | 195 |
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isErrorPage="true"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>错误页面</title>
<%@ include file="common.jsp" %>
... | zyy-test-test | trunk/zyy/WebRoot/WEB-INF/views/500.jsp | Java Server Pages | asf20 | 1,393 |
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!doctype html>
<html>
<head>
<title>宁静以致远</title>
<%@ include file="common.jsp"%>
<link rel="stylesheet" href="${path}/resource/blog/css/index.css" type="text/css" />
</head>
<body>
<!--header -->
<div id="header-wrap">
<div class="h... | zyy-test-test | trunk/zyy/WebRoot/WEB-INF/views/blog/index.jsp | Java Server Pages | asf20 | 11,905 |