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.bps.zzant.model;
import java.io.Serializable;
import java.math.BigDecimal;
public class PaymentFooter implements Serializable {
private String paymentType;
private BigDecimal paymentAmount;
public String getPaymentType() {
return paymentType;
}
public void setPaymentType(String payme... | zzant | truck/zzant/src/com/bps/zzant/model/PaymentFooter.java | Java | epl | 714 |
package com.bps.zzant.model;
import java.io.Serializable;
public class CustomerSelection implements Serializable {
private int id;
private String name;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void se... | zzant | truck/zzant/src/com/bps/zzant/model/CustomerSelection.java | Java | epl | 379 |
package com.bps.zzant.model;
import static javax.persistence.GenerationType.IDENTITY;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedVal... | zzant | truck/zzant/src/com/bps/zzant/model/Payment.java | Java | epl | 2,923 |
package com.bps.zzant.model;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
public class OrderForm implements Serializable {
/**
*
*/
private static final long serialVersionUID = 7920005558984534650L;
private int orderId;
private int customerId;
private Stri... | zzant | truck/zzant/src/com/bps/zzant/model/OrderForm.java | Java | epl | 4,362 |
package com.bps.zzant.model;
import static javax.persistence.GenerationType.IDENTITY;
import java.io.Serializable;
import java.math.BigDecimal;
import java.text.ParseException;
import java.text.ParsePosition;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.... | zzant | truck/zzant/src/com/bps/zzant/model/OrderGarment.java | Java | epl | 12,816 |
package com.bps.zzant.model;
import java.io.Serializable;
import java.util.Map;
public class Email implements Serializable {
private String toEmailAddresses;
private String fromEmailAddress;
private String replyToEmailAddress;
private String subject;
private String content;
private String template;
... | zzant | truck/zzant/src/com/bps/zzant/model/Email.java | Java | epl | 1,517 |
package com.bps.zzant.model;
import static javax.persistence.GenerationType.IDENTITY;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.JoinColumn;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistenc... | zzant | truck/zzant/src/com/bps/zzant/model/OrderGarmentItem.java | Java | epl | 3,058 |
package com.bps.zzant.model;
import static javax.persistence.GenerationType.IDENTITY;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistenc... | zzant | truck/zzant/src/com/bps/zzant/model/ArtFile.java | Java | epl | 2,864 |
package com.bps.zzant.controller;
import java.text.DateFormat;
import java.util.Date;
import java.util.Locale;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.security.core.context.SecurityContext... | zzant | truck/zzant/src/com/bps/zzant/controller/HomeController.java | Java | epl | 2,139 |
package com.bps.zzant.controller;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import or... | zzant | truck/zzant/src/com/bps/zzant/controller/PublicController.java | Java | epl | 2,351 |
package com.bps.zzant.controller;
import java.util.Locale;
import javax.servlet.http.HttpSession;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.context.SecurityContextHolder;
import org.sp... | zzant | truck/zzant/src/com/bps/zzant/controller/OrderListController.java | Java | epl | 1,279 |
package com.bps.zzant.controller;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.web.bind.annotation.ModelAttribute;
//super class of all controllers
public class ZzantController {
@ModelAttribute("userDetails")
public Object getUser() {
Object... | zzant | truck/zzant/src/com/bps/zzant/controller/ZzantController.java | Java | epl | 433 |
package com.bps.zzant.controller;
import java.util.List;
import java.util.Locale;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springfr... | zzant | truck/zzant/src/com/bps/zzant/controller/ToDoController.java | Java | epl | 1,276 |
package com.bps.zzant.controller;
import java.util.Locale;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapp... | zzant | truck/zzant/src/com/bps/zzant/controller/CleanUnfinishedOrderController.java | Java | epl | 896 |
package com.bps.zzant.controller;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframewo... | zzant | truck/zzant/src/com/bps/zzant/controller/PrintingController.java | Java | epl | 1,351 |
package com.bps.zzant.controller;
import java.util.List;
import java.util.Locale;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springfr... | zzant | truck/zzant/src/com/bps/zzant/controller/CustomerController.java | Java | epl | 1,325 |
package com.bps.zzant.controller;
import java.math.BigDecimal;
import java.util.Iterator;
import java.util.Locale;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
... | zzant | truck/zzant/src/com/bps/zzant/controller/GarmentOrderController.java | Java | epl | 2,169 |
package com.bps.zzant.controller;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.io.FileUtils;
import org.slf... | zzant | truck/zzant/src/com/bps/zzant/controller/UploadFileController.java | Java | epl | 3,121 |
package com.bps.zzant.controller;
import java.text.DateFormat;
import java.util.Date;
import java.util.Locale;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
impo... | zzant | truck/zzant/src/com/bps/zzant/controller/LoginController.java | Java | epl | 1,337 |
package com.bps.zzant.controller;
import java.util.Locale;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotat... | zzant | truck/zzant/src/com/bps/zzant/controller/ProductController.java | Java | epl | 1,250 |
package com.bps.zzant.json;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
... | zzant | truck/zzant/src/com/bps/zzant/json/FileJSON.java | Java | epl | 6,221 |
package com.bps.zzant.json;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframewor... | zzant | truck/zzant/src/com/bps/zzant/json/CustomerJSON.java | Java | epl | 6,761 |
package com.bps.zzant.json;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import java.util.Properties;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.PasswordAuthentication;
import javax.mail.Se... | zzant | truck/zzant/src/com/bps/zzant/json/EmailJSON.java | Java | epl | 5,179 |
package com.bps.zzant.json;
import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Locale... | zzant | truck/zzant/src/com/bps/zzant/json/OrderJSON.java | Java | epl | 20,128 |
package com.bps.zzant.json;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;... | zzant | truck/zzant/src/com/bps/zzant/json/ToDoJSON.java | Java | epl | 7,816 |
package com.bps.zzant.json;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import org.slf4j.Logger;... | zzant | truck/zzant/src/com/bps/zzant/json/ProductJSON.java | Java | epl | 5,396 |
package com.bps.zzant.dao;
import java.util.List;
import com.bps.zzant.model.Customer;
public interface CustomerDAO {
List getCustomersByName(String customerName);
public List<Customer> getAllCustomers();
void saveCustomer(Customer customer);
public List<Customer> getCustomersByPhoneOrFax(String getCus... | zzant | truck/zzant/src/com/bps/zzant/dao/CustomerDAO.java | Java | epl | 453 |
package com.bps.zzant.dao;
import java.util.Date;
import java.util.List;
import com.bps.zzant.model.OrderGarment;
public interface OrderDAO {
public void updateGarmentOrder( OrderGarment order);
public void deleteGarmentOrder(OrderGarment order);
public void saveGarmentOrder(OrderGarment order);
pub... | zzant | truck/zzant/src/com/bps/zzant/dao/OrderDAO.java | Java | epl | 806 |
package com.bps.zzant.dao;
import java.util.Date;
import java.util.List;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Order;
import org.hibernate.criterion.Restrictions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
... | zzant | truck/zzant/src/com/bps/zzant/dao/OrderDAOImpl.java | Java | epl | 4,109 |
package com.bps.zzant.dao;
import java.util.List;
import org.hibernate.Query;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.Restrictions;
import org.springframework.beans.factory.annotation.Autowired;
import com.bps.zzant.model.Customer;
impo... | zzant | truck/zzant/src/com/bps/zzant/dao/CustomerDAOImpl.java | Java | epl | 2,967 |
package com.bps.zzant.dao;
import java.util.Date;
import java.util.List;
import com.bps.zzant.model.ToDo;
public interface ToDoDAO {
public List<ToDo> getToDoList(String owner, String status);
public void updateToDo(ToDo toDo);
public void deleteToDo(ToDo toDo);
public void saveToDo(ToDo toDo);
pub... | zzant | truck/zzant/src/com/bps/zzant/dao/ToDoDAO.java | Java | epl | 491 |
package com.bps.zzant.dao;
import java.util.List;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Order;
import org.hibernate.criterion.Restrictions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.bps.zzant.mod... | zzant | truck/zzant/src/com/bps/zzant/dao/PaymentDAOImpl.java | Java | epl | 964 |
package com.bps.zzant.dao;
import java.util.List;
import com.bps.zzant.model.Payment;
public interface PaymentDAO {
public List<Payment> getPaymentsByOrderId(int orderId);
}
| zzant | truck/zzant/src/com/bps/zzant/dao/PaymentDAO.java | Java | epl | 191 |
package com.bps.zzant.dao;
import java.util.List;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Restrictions;
import org.springframework.beans.factory.annotation.Autowired;
import com.bps.zzant.model.Customer;
import com.bps.zzant.model.Product;
public class ProductDAOImpl implement... | zzant | truck/zzant/src/com/bps/zzant/dao/ProductDAOImpl.java | Java | epl | 1,815 |
package com.bps.zzant.dao;
import java.util.List;
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Restrictions;
import org.springframework.beans.factory.annotation.Autowired;
import com.bps.zzant.model.ArtFile;
import... | zzant | truck/zzant/src/com/bps/zzant/dao/FileDAOImpl.java | Java | epl | 2,031 |
package com.bps.zzant.dao;
import java.util.List;
import com.bps.zzant.model.Product;
public interface ProductDAO {
public List getProductByStyleNo(String styleNo);
public List<Product> getAllProducts();
public List getProductByDescription(String desc);
public void saveProduct(Product product);
publi... | zzant | truck/zzant/src/com/bps/zzant/dao/ProductDAO.java | Java | epl | 363 |
package com.bps.zzant.dao;
import java.util.Date;
import java.util.List;
import org.hibernate.Query;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Order;
import org.hibernate.criterion.Restrictions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewo... | zzant | truck/zzant/src/com/bps/zzant/dao/ToDoDAOImpl.java | Java | epl | 4,027 |
package com.bps.zzant.dao;
import java.util.List;
import com.bps.zzant.model.ArtFile;
public interface FileDAO {
void saveFile(ArtFile artFile);
public List<ArtFile> getFileListByOrderId(int customerId, int orderId);
public void deleteFile(ArtFile artFile);
public ArtFile getFileById(int fileId);
}... | zzant | truck/zzant/src/com/bps/zzant/dao/FileDAO.java | Java | epl | 322 |
package com.bps.zzant.services;
import java.util.List;
import com.bps.zzant.model.Product;
public interface ProductService {
public List getProductByStyleNo(String styleNo);
public List<Product> getAllProducts();
public List getProductByDescription(String desc);
public void saveProduct(Product product)... | zzant | truck/zzant/src/com/bps/zzant/services/ProductService.java | Java | epl | 372 |
package com.bps.zzant.services;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.bps.zzant.dao.ProductDAO;
import com.bps.zzant.model.Product;
@S... | zzant | truck/zzant/src/com/bps/zzant/services/ProductServiceImpl.java | Java | epl | 978 |
package com.bps.zzant.services;
import java.util.Date;
import java.util.List;
import com.bps.zzant.model.OrderGarment;
import com.bps.zzant.model.ToDo;
public interface ToDoService {
public List<ToDo> getToDoList(String owner, String status);
public void updateToDo(ToDo toDo);
public void deleteToDo(... | zzant | truck/zzant/src/com/bps/zzant/services/ToDoService.java | Java | epl | 542 |
package com.bps.zzant.services;
import java.io.File;
import java.net.URL;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import javax.mail.MessagingException;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.Mi... | zzant | truck/zzant/src/com/bps/zzant/services/EmailServiceImpl.java | Java | epl | 4,893 |
package com.bps.zzant.services;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.bps.zzant.dao.ToDoDAO;
import com.bps.z... | zzant | truck/zzant/src/com/bps/zzant/services/ToDoServiceImpl.java | Java | epl | 1,318 |
package com.bps.zzant.services;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import com.bps.zzant.dao.PaymentDAO;
import com.bps.zzant.model.Payment;
@Transactional
public class PaymentServiceImpl im... | zzant | truck/zzant/src/com/bps/zzant/services/PaymentServiceImpl.java | Java | epl | 666 |
package com.bps.zzant.services;
import javax.servlet.http.HttpServletRequest;
import com.bps.zzant.model.Email;
public interface EmailService {
void sendSimpleMessage(String fromAddress, String toAddress, String subject, String message );
void emailQuote(final String toEmailAddresses, final String from... | zzant | truck/zzant/src/com/bps/zzant/services/EmailService.java | Java | epl | 454 |
package com.bps.zzant.services;
import java.util.Date;
import java.util.List;
import com.bps.zzant.model.OrderGarment;
public interface OrderService {
public void updateGarmentOrder( OrderGarment order);
public void deleteGarmentOrder(OrderGarment order);
public void saveGarmentOrder(OrderGarment order)... | zzant | truck/zzant/src/com/bps/zzant/services/OrderService.java | Java | epl | 813 |
package com.bps.zzant.services;
import java.util.List;
import com.bps.zzant.model.Payment;
public interface PaymentService {
public List<Payment> getPaymentsByOrderId(int orderId);
}
| zzant | truck/zzant/src/com/bps/zzant/services/PaymentService.java | Java | epl | 196 |
package com.bps.zzant.services;
import java.util.List;
import com.bps.zzant.model.Customer;
public interface CustomerService {
public List<Customer> getCustomersByName(String customerName);
public void saveCustomer(Customer customer);
public List<Customer> getAllCustomers();
public List<Customer> getCust... | zzant | truck/zzant/src/com/bps/zzant/services/CustomerService.java | Java | epl | 470 |
package com.bps.zzant.services;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.bps.zzant.dao.FileDAO;
import com.bps.zzant.model.ArtFile;
@Serv... | zzant | truck/zzant/src/com/bps/zzant/services/FileServiceImpl.java | Java | epl | 957 |
package com.bps.zzant.services;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.bps.zzant.dao.CustomerDAO;
import com.bps.zzant.model.Customer;
... | zzant | truck/zzant/src/com/bps/zzant/services/CustomerServiceImpl.java | Java | epl | 1,500 |
package com.bps.zzant.services;
import java.util.List;
import com.bps.zzant.model.ArtFile;
public interface FileService {
void saveFile(ArtFile artFile);
public List<ArtFile> getFileListByOrderId(int customerId, int orderId);
public void deleteFile(ArtFile artFile);
public ArtFile getFileById(int fileId... | zzant | truck/zzant/src/com/bps/zzant/services/FileService.java | Java | epl | 327 |
package com.bps.zzant.services;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.bps.zzant.dao.OrderDAO;
import com.bps.zzan... | zzant | truck/zzant/src/com/bps/zzant/services/OrderServiceImpl.java | Java | epl | 1,888 |
/** jquery.color.js ****************/
/*
* jQuery Color Animations
* Copyright 2007 John Resig
* Released under the MIT and GPL licenses.
*/
(function(jQuery){
// We override the animation for all of these color styles
jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', '... | zzant | truck/zzant/webapp/resources/js/menu.js | JavaScript | epl | 16,157 |
/*
* jQuery Iframe Transport Plugin 1.8.2
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2011, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
/* global define, window, document */
(function (factory) {
'u... | zzant | truck/zzant/webapp/resources/js/jquery.iframe-transport.js | JavaScript | epl | 10,826 |
var scrollview2 = $.extend({}, $.fn.datagrid.defaults.view, {
addExpandColumn: function(target, index){
var opts = $.data(target, 'datagrid').options;
if (index >= 0){
_add(index);
} else {
var length = this.rows.length;
for(var i=0; i<length; i++){
_add(this.index+i);
}
opts.finder.... | zzant | truck/zzant/webapp/resources/js/datagrid-scrollview2.js | JavaScript | epl | 12,028 |
function formatCurrency(num) {
if(num!=null){
num = num.toString().replace(/\$|\,/g,'');
}
if(isNaN(num))
num = "0";
sign = (num == (num = Math.abs(num)));
num = Math.floor(num*100+0.50000000001);
cents = num%100;
num = Math.floor(num/100).toString();
if(... | zzant | truck/zzant/webapp/resources/js/zzant.js | JavaScript | epl | 1,340 |
(function (jQuery) {
var daysInWeek = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
var shortMonthsInYear = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
var longMonthsInYear = ["January", "February", "March", "April", "May", "June",
... | zzant | truck/zzant/webapp/resources/js/jquery.dateFormat-1.0.js | JavaScript | epl | 13,922 |
var scrollview = $.extend({}, $.fn.datagrid.defaults.view, {
render: function(target, container, frozen){
var state = $.data(target, 'datagrid');
var opts = state.options;
var rows = this.rows || [];
if (!rows.length) {
return;
}
var fields = $(target).datagrid('getColumnFields', frozen);
... | zzant | truck/zzant/webapp/resources/js/datagrid-scrollview.js | JavaScript | epl | 6,387 |
/*
* maskMoney plugin for jQuery
* http://plentz.github.com/jquery-maskmoney/
* version: 2.1.2
* Licensed under the MIT license
*/
;(function($) {
if(!$.browser){
$.browser = {};
$.browser.mozilla = /mozilla/.test(navigator.userAgent.toLowerCase()) && !/webkit/.test(navigator.userAgent.toLowerCase());
$.browser.... | zzant | truck/zzant/webapp/resources/js/jquery.maskMoney.js | JavaScript | epl | 11,017 |
var detailview = $.extend({}, $.fn.datagrid.defaults.view, {
render: function(target, container, frozen){
var state = $.data(target, 'datagrid');
var opts = state.options;
if (frozen){
if (!(opts.rownumbers || (opts.frozenColumns && opts.frozenColumns.length))){
return;
}
}
var rows = ... | zzant | truck/zzant/webapp/resources/js/datagrid-detailview.js | JavaScript | epl | 12,482 |
var groupview = $.extend({}, $.fn.datagrid.defaults.view, {
render: function(target, container, frozen){
var table = [];
var groups = this.groups;
for(var i=0; i<groups.length; i++){
table.push(this.renderGroup.call(this, target, i, groups[i], frozen));
}
$(container).html(table.join(''));
},
... | zzant | truck/zzant/webapp/resources/js/datagrid-groupview.js | JavaScript | epl | 9,136 |
$.extend($.fn.datagrid.defaults, {
onBeforeFetch: function(page){},
onFetch: function(page, rows){}
});
var bufferview = $.extend({}, $.fn.datagrid.defaults.view, {
render: function(target, container, frozen){
var state = $.data(target, 'datagrid');
var opts = state.options;
var rows = this.rows || [... | zzant | truck/zzant/webapp/resources/js/datagrid-bufferview.js | JavaScript | epl | 5,652 |
BODY {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
}
#fm{
margin:0;
padding:10px 20px;
}
#orderitemform{
margin:0;
padding:10px 20px;
}
.ftitle{
font-size:14px;
font-weight:bold;
color:#666;
padding:5px 0;
margin-bottom:10px;
border-bottom:1px solid #ccc;
... | zzant | truck/zzant/webapp/resources/theme/zzant.css | CSS | epl | 6,732 |
.accordion{
background:#fff;
overflow:hidden;
}
.accordion .accordion-header{
background:#E0ECFF;
border-top-width:0;
cursor:pointer;
}
.accordion .accordion-header .panel-title{
font-weight:normal;
}
.accordion .accordion-header-selected .panel-title{
font-weight:bold;
}
.accordion-noborder .acco... | zzant | truck/zzant/webapp/resources/theme/easyui_backup.css | CSS | epl | 33,406 |
.icon-blank{
background:url('icons/blank.gif') no-repeat;
}
.icon-add{
background:url('icons/edit_add.png') no-repeat;
}
.icon-edit{
background:url('icons/pencil.png') no-repeat;
}
.icon-remove{
background:url('icons/edit_remove.png') no-repeat;
}
.icon-save{
background:url('icons/filesave.png') no-re... | zzant | truck/zzant/webapp/resources/theme/icon.css | CSS | epl | 2,519 |
.icon-blank{
background:url('icons/blank.gif') no-repeat;
}
.icon-add{
background:url('icons/edit_add.png') no-repeat;
}
.icon-edit{
background:url('icons/pencil.png') no-repeat;
}
.icon-remove{
background:url('icons/edit_remove.png') no-repeat;
}
.icon-save{
background:url('icons/filesave.png') no-re... | zzant | truck/zzant/webapp/resources/theme/icon_backup.css | CSS | epl | 2,080 |
.accordion{
background:#fff;
overflow:hidden;
}
.accordion .accordion-header{
background:#E0ECFF;
border-top-width:0;
cursor:pointer;
}
.accordion .accordion-header .panel-title{
font-weight:normal;
}
.accordion .accordion-header-selected .panel-title{
font-weight:bold;
}
.accordion-noborder .acco... | zzant | truck/zzant/webapp/resources/theme/easyui.css | CSS | epl | 33,466 |
/**
*********************************************
* Prototype of styles for horizontal CSS-menu
* @data 30.06.2009
*********************************************
* (X)HTML-scheme:
* <div id="menu">
* <ul class="menu">
* <li><a href="#" class="parent"><span>level 1</span></a>
* ... | zzant | truck/zzant/webapp/resources/theme/menu.css | CSS | epl | 4,189 |
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%-- Redirected because we can't set the welcome page to a virtual URL. --%>
<!-- <c:redirect url="home"/> -->
index page | zzant | truck/zzant/webapp/WEB-INF/index.jsp | Java Server Pages | epl | 193 |
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<!--
<div id="welcome">
Welcome to the Spring Travel application.
</div>
<div id="branding" class="spring">
<img src="<c:url value="/images/header.jpg"/>" />
</div>
-->
... | zzant | truck/zzant/webapp/WEB-INF/layouts/menu.jsp | Java Server Pages | epl | 7,796 |
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!--
<a href="http://www.springframework.org">
<img src="<c:url value="/images/powered-by-spring.png" />" />
</a>
-->
<div id="copyright" style="padding:0px;height:50px;width:100%;text-align:center;">
Copyright © 2012 Business Promo Solutions... | zzant | truck/zzant/webapp/WEB-INF/layouts/footer.jsp | Java Server Pages | epl | 334 |
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div style="padding:3px;background:#566D7E;width:112px;height:100%;border:0px solid #ccc">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30">
<a href="/bps/order_search.do" class="easyui-linkbutton" iconCls="icon-search" >Find... | zzant | truck/zzant/webapp/WEB-INF/layouts/navigation.jsp | Java Server Pages | epl | 808 |
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html... | zzant | truck/zzant/webapp/WEB-INF/layouts/standard.jsp | Java Server Pages | epl | 3,005 |
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page session="false" %>
<html>
<head>
<title>View Order / Quotation</title>
<SCRIPT TYPE="text/javascript">
</SCRIPT>
<style TYPE="text/css">
.fitem label {
margin... | zzant | truck/zzant/webapp/WEB-INF/views/vieworder.jsp | Java Server Pages | epl | 9,715 |
<script src="resources/js/jquery.ui.widget.js" type="text/javascript"> </script>
<script src="resources/js/jquery.iframe-transport.js"></script>
<script src="resources/js/jquery.fileupload.js"></script>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/... | zzant | truck/zzant/webapp/WEB-INF/views/filehome.jsp | Java Server Pages | epl | 11,855 |
<div id="todo_screen" class="easyui-tabs" style="padding:1px;height=400px;overflow:false;">
<div title="Artist ToDo List" closable="false" style="overflow:hidden;">
<div style="padding: 10px">
<table id="artist_todo" ></table>
</div>
</div>
<div title="Admin ToDo List" closable="false"... | zzant | truck/zzant/webapp/WEB-INF/views/todolist.jsp | Java Server Pages | epl | 16,335 |
<style type="text/css">
div#apphead { margin:10px auto; margin-left: 30px; height: 80px; text-align: left;}
</style>
<div id="apphead">
<img alt="Promo AD Sales" src="http://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/resources/theme/images/big_logo.jpg... | zzant | truck/zzant/webapp/WEB-INF/views/apphead.jsp | Java Server Pages | epl | 352 |
<script src="resources/js/datagrid-scrollview.js" type="text/javascript"> </script>
<script src="resources/js/jquery.maskMoney.js" type="text/javascript"> </script>
<script>
$(document).ready(function () {
$("#whiteCost").maskMoney({symbol:'$'});
$("#colorCost").maskMoney({symbol:'$'});
$... | zzant | truck/zzant/webapp/WEB-INF/views/productlist.jsp | Java Server Pages | epl | 7,949 |
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page session="false" %>
<html>
<head>
<title>Login</title>
<SCRIPT TYPE="text/javascript">
function submitenter(myfield,e)
{
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keyco... | zzant | truck/zzant/webapp/WEB-INF/views/login.jsp | Java Server Pages | epl | 1,768 |
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page session="false" %>
<!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" xml:lang="en" lang="en">
<head>
<style>
.Email_table {... | zzant | truck/zzant/webapp/WEB-INF/views/apphome.jsp | Java Server Pages | epl | 4,700 |
<link rel="stylesheet" type="text/css" href="resources/theme/cupertino/jquery-ui-1.9.0.custom.min.css"></link>
<script src="resources/js/jquery-ui-1.9.0.custom.min.js" type="text/javascript"> </script>
<script src="resources/js/jquery-maskedinput-1.3.min.js" type="text/javascript"> </script>
<script src="reso... | zzant | truck/zzant/webapp/WEB-INF/views/garmentorder.jsp | Java Server Pages | epl | 40,048 |
<script src="resources/js/datagrid-scrollview.js" type="text/javascript"> </script>
<script src="resources/js/jquery-maskedinput-1.3.min.js" type="text/javascript"> </script>
<script>
$(document).ready(function () {
$("#phone1").mask("999-999-9999");
$("#phone2").mask("999-999-9999");
... | zzant | truck/zzant/webapp/WEB-INF/views/customerlist.jsp | Java Server Pages | epl | 12,729 |
We cannot find your order. Please contact us at (908)810-8888. | zzant | truck/zzant/webapp/WEB-INF/views/viewordererror.jsp | Java Server Pages | epl | 62 |
<div id='loading' style='display:none; position: fixed; left: 50%; top: 50%; margin: auto;'><img src="resources/theme/images/ajax-loader.gif"></div>
<div id="order_list_screen" class="easyui-tabs" style="padding:1px;height=620px;overflow:false;">
<div title="Approved Orders" closable="false" style="overflow:h... | zzant | truck/zzant/webapp/WEB-INF/views/orderlist.jsp | Java Server Pages | epl | 44,767 |
login page | zzant | truck/zzant/webapp/WEB-INF/login.jsp | Java Server Pages | epl | 10 |
// CS580HWDoc.h : interface of the CCS580HWDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CS580HWDOC_H__C28F4603_B299_4DB1_9E4D_835F8AA79918__INCLUDED_)
#define AFX_CS580HWDOC_H__C28F4603_B299_4DB1_9E4D_835F8AA79918__INCLUDED_
#if _MSC_VER > 1000
#p... | zzfall2012csci580 | trunk/cuda/CS580HW5/CS580HWDoc.h | C++ | gpl3 | 1,486 |
// CS580HW.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "CS580HW.h"
#include "MainFrm.h"
#include "CS580HWDoc.h"
#include "CS580HWView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
////////////////////////... | zzfall2012csci580 | trunk/cuda/CS580HW5/CS580HW.cpp | C++ | gpl3 | 4,132 |
// stdafx.cpp : source file that includes just the standard includes
// CS580HW.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| zzfall2012csci580 | trunk/cuda/CS580HW5/StdAfx.cpp | C++ | gpl3 | 209 |
/* Texture functions for cs580 GzLib */
#include "stdafx.h"
#include "stdio.h"
#include "Gz.h"
#include "math.h"
GzColor *image;
int xs, ys;
int reset = 1;
//for procedural texturing
int xSize = 100;
int ySize = 100;
int boardSize = 10;
/* Image texture function */
int tex_fun(float u, float v, G... | zzfall2012csci580 | trunk/cuda/CS580HW5/tex_fun.cpp | C++ | gpl3 | 2,609 |
/*
* disp.h -- include file for Display
* USC csci 580
*/
/* define general display pixel-type */
#ifndef GZ_PIXEL
typedef struct {
GzIntensity red;
GzIntensity green;
GzIntensity blue;
GzIntensity alpha;
GzDepth z;
} GzPixel;
#define GZ_PIXEL
#endif;
/* define a displa... | zzfall2012csci580 | trunk/cuda/CS580HW5/disp.h | C | gpl3 | 1,464 |
// CS580HW.h : main header file for the CS580HW application
//
#if !defined(AFX_CS580HW_H__D4F247BC_D609_4BAC_8C3E_871F891962B3__INCLUDED_)
#define AFX_CS580HW_H__D4F247BC_D609_4BAC_8C3E_871F891962B3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include... | zzfall2012csci580 | trunk/cuda/CS580HW5/CS580HW.h | C++ | gpl3 | 1,367 |
// Application.cpp: implementation of the Application class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "CS580HW.h"
#include "Application.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
////////... | zzfall2012csci580 | trunk/cuda/CS580HW5/Application.cpp | C++ | gpl3 | 737 |
/*
* Gz.h - include file for the cs580 rendering library
*/
/*
* universal constants
*/
#define GZ_SUCCESS 0
#define GZ_FAILURE 1
/*
* display classes
*/
#define GZ_RGBAZ_DISPLAY 1
/*
* rendering classes
*/
#define GZ_Z_BUFFER_RENDER 1
/*
* name list tokens
*/... | zzfall2012csci580 | trunk/cuda/CS580HW5/Gz.h | C | gpl3 | 3,599 |
// CS580HWDoc.cpp : implementation of the CCS580HWDoc class
//
#include "stdafx.h"
#include "CS580HW.h"
#include "CS580HWDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
... | zzfall2012csci580 | trunk/cuda/CS580HW5/CS580HWDoc.cpp | C++ | gpl3 | 1,762 |
// Application5.cpp: implementation of the Application5 class.
//
//////////////////////////////////////////////////////////////////////
/*
* application test code for homework assignment #5
*/
#include "stdafx.h"
#include "CS580HW.h"
#include "Application5.h"
#include "Gz.h"
#include "disp.h"
#include ... | zzfall2012csci580 | trunk/cuda/CS580HW5/Application5.cpp | C++ | gpl3 | 8,796 |
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by CS580HW.rc
//
#define IDD_ABOUTBOX 100
#define IDR_MAINFRAME 128
#define IDR_CS580HTYPE 129
#define IDI_ICON1 130
#define IDD_ROTATE ... | zzfall2012csci580 | trunk/cuda/CS580HW5/resource.h | C | gpl3 | 1,469 |
// RotateDlg.cpp : implementation file
//
#include "stdafx.h"
#include "CS580HW.h"
#include "RotateDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CRotateDlg dialog
... | zzfall2012csci580 | trunk/cuda/CS580HW5/RotateDlg.cpp | C++ | gpl3 | 2,053 |
#if !defined(AFX_SCALEDLG_H__2FAFBEB4_9C06_4E8A_92F3_DD1111331F90__INCLUDED_)
#define AFX_SCALEDLG_H__2FAFBEB4_9C06_4E8A_92F3_DD1111331F90__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ScaleDlg.h : header file
//
/////////////////////////////////////////////////////////////////////... | zzfall2012csci580 | trunk/cuda/CS580HW5/ScaleDlg.h | C++ | gpl3 | 1,276 |
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__0BC69CCC_EE7A_46A6_93F2_3B8CCCA8FC6C__INCLUDED_)
#define AFX_MAINFRM_H__0BC69CCC_EE7A_46A6_93F2_3B8CCCA8FC6C__INCLUDED_
#if _MSC_VER > 1000
#pragma once... | zzfall2012csci580 | trunk/cuda/CS580HW5/MainFrm.h | C++ | gpl3 | 1,581 |
/* CS580 Homework 3 */
#include "stdafx.h"
#include "stdio.h"
#include "math.h"
#include "Gz.h"
#include "rend.h"
#include <limits.h>
short ctoi(float color);
int GzRotXMat(float degree, GzMatrix mat)
{
// Create rotate matrix : rotate along x axis
// Pass back the matrix using mat value
mat[0][0]... | zzfall2012csci580 | trunk/cuda/CS580HW5/rend.cpp | C++ | gpl3 | 58,602 |