Commit e34c53d2 authored by smestry's avatar smestry

W15CSUN005 update for dashboard task details change


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98182 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bfe2f6df
......@@ -11,7 +11,6 @@ public class LocationStockOccuBean implements Serializable
{
LocationStockOccupancyRemote locationStockOccupancyRemote = null;
public LocationStockOccuBean()
{
System.out.println("inside LocationStockOccuBean Created");
......@@ -20,6 +19,7 @@ public class LocationStockOccuBean implements Serializable
{
AppConnectParm appConnect = new AppConnectParm();
ctx = new InitialContext(appConnect.getProperty());
System.out.println("In LocationStockOccuBean ::::::::::");
locationStockOccupancyRemote = (LocationStockOccupancyRemote) ctx.lookup("ibase/LocationStockOccupancy/remote");
System.out.println("instance created");
......@@ -37,6 +37,7 @@ public class LocationStockOccuBean implements Serializable
try
{
xmlData = locationStockOccupancyRemote.getLocPhyArea();
System.out.println("In xmlData ::::::::::" + xmlData);
}
catch(Exception e)
{
......
This diff is collapsed.
/**
* Purpose: Dashboard for Consignment Details, Reuest ID: W15CSUN006
* Author: Sneha Mestry
* Date: 16-06-2015
*/
package ibase.webitm.ejb.wms;
import java.rmi.RemoteException;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local;
import org.json.simple.JSONObject;
@Local
public interface ConsignmentDetailsLocal extends ValidatorLocal
{
public JSONObject getConsignmentDetails(String dataSourceName, String siteCode) throws RemoteException, ITMException;
}
/**
* Purpose: Dashboard for Consignment Details, Reuest ID: W15CSUN006
* Author: Sneha Mestry
* Date: 16-06-2015
*/
package ibase.webitm.ejb.wms;
import java.rmi.RemoteException;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote;
import org.json.simple.JSONObject;
@Remote
public interface ConsignmentDetailsRemote extends ValidatorRemote
{
public JSONObject getConsignmentDetails(String dataSourceName, String siteCode) throws RemoteException, ITMException;
}
This diff is collapsed.
/**
* Purpose: Dashboard for Task Details, Reuest ID: W15CSUN005
* Author: Sneha Mestry
* Date: 23-06-2015
*/
package ibase.webitm.ejb.wms;
import java.rmi.RemoteException;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local;
import org.json.simple.JSONObject;
@Local
public interface TaskDetailsLocal extends ValidatorLocal
{
public JSONObject getTaskDetails(String dataSourceName, String siteCode) throws RemoteException, ITMException;
}
/**
* Purpose: Dashboard for Task Details, Reuest ID: W15CSUN005
* Author: Sneha Mestry
* Date: 23-06-2015
*/
package ibase.webitm.ejb.wms;
import java.rmi.RemoteException;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote;
import org.json.simple.JSONObject;
@Remote
public interface TaskDetailsRemote extends ValidatorRemote
{
public JSONObject getTaskDetails(String dataSourceName, String siteCode) throws RemoteException, ITMException;
}
This diff is collapsed.
/**
* Purpose: Dashboard for User Acitivity, Reuest ID: W15CSUN005
* Author: Sneha Mestry
* Date: 16-06-2015
*/
package ibase.webitm.ejb.wms;
import java.rmi.RemoteException;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local;
import org.json.simple.JSONObject;
@Local
public interface UserActivityLocal extends ValidatorLocal
{
public JSONObject getUserActivityDetails(String dataSourceName, String siteCode) throws RemoteException, ITMException;
}
/**
* Purpose: Dashboard for User Acitivity, Reuest ID: W15CSUN005
* Author: Sneha Mestry
* Date: 16-06-2015
*/
package ibase.webitm.ejb.wms;
import java.rmi.RemoteException;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote;
import org.json.simple.JSONObject;
@Remote
public interface UserActivityRemote extends ValidatorRemote
{
public JSONObject getUserActivityDetails(String dataSourceName, String siteCode) throws RemoteException, ITMException;
}
/**
* Purpose: Dashboard for Consignment Details, Reuest ID: W15CSUN006
* Author: Sneha Mestry
* Date: 16-06-2015
*/
package ibase.webitm.servlet.wms;
import ibase.system.config.AppConnectParm;
import ibase.webitm.ejb.wms.ConsignmentDetailsRemote;
import ibase.webitm.utility.ITMException;
import java.io.IOException;
import java.io.OutputStream;
import javax.naming.InitialContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.json.simple.JSONObject;
public class ConsignmentDetailsServlet extends HttpServlet
{
private static final long serialVersionUID = 1L;
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
{
doPost(request, response);
}
@SuppressWarnings("unchecked")
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
{
ConsignmentDetailsRemote consignmentDetailsRemote = null;
InitialContext context = null;
AppConnectParm appConnectParm = new AppConnectParm();
String dataSourceName = "";
String siteCode = "";
try
{
response.setContentType("application/xml");
dataSourceName = request.getParameter("dataSourceName");
HttpSession session = request.getSession(true);
ibase.utility.UserInfoBean userInfo = (ibase.utility.UserInfoBean) session.getAttribute("USER_INFO");
siteCode = userInfo.getSiteCode();
System.out.println(" siteCode :::::::::: " + siteCode);
context = new InitialContext(appConnectParm.getProperty());
consignmentDetailsRemote = (ConsignmentDetailsRemote) context.lookup("ibase/ConsignmentDetails/remote");
//Here invoke EJB define method
JSONObject jsonObjData = (JSONObject)consignmentDetailsRemote.getConsignmentDetails(dataSourceName, siteCode);
OutputStream outputStream = response.getOutputStream();
outputStream.write(jsonObjData.toString().getBytes());
outputStream.flush();
outputStream.close();
System.out.println(" Final data set for ConsignmentDetailsServlet build to Graph and Grid===" + jsonObjData);
}
catch (Exception e)
{
System.out.println("Exception in: ConsignmentDetailsServlet :doPost(HttpServletRequest request, HttpServletResponse response) :" + e.getMessage());
try
{
throw new ITMException(e);
} catch (ITMException e1)
{
e1.printStackTrace();
}
}
}
}
\ No newline at end of file
/**
* Purpose: Dashboard for Task Details, Reuest ID: W15CSUN005
* Author: Sneha Mestry
* Date: 23-06-2015
*/
package ibase.webitm.servlet.wms;
import ibase.system.config.AppConnectParm;
import ibase.webitm.ejb.wms.TaskDetailsRemote;
import ibase.webitm.utility.ITMException;
import java.io.IOException;
import java.io.OutputStream;
import javax.naming.InitialContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.json.simple.JSONObject;
public class TaskDetailsServlet extends HttpServlet
{
private static final long serialVersionUID = 1L;
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
{
doPost(request, response);
}
@SuppressWarnings("unchecked")
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
{
TaskDetailsRemote taskDetailsRemote = null;
InitialContext context = null;
AppConnectParm appConnectParm = new AppConnectParm();
String dataSourceName = "";
String siteCode = "";
try
{
response.setContentType("application/xml");
dataSourceName = request.getParameter("dataSourceName");
HttpSession session = request.getSession(true);
ibase.utility.UserInfoBean userInfo = (ibase.utility.UserInfoBean) session.getAttribute("USER_INFO");
siteCode = userInfo.getSiteCode();
System.out.println(" siteCode :::::::::: " + siteCode);
context = new InitialContext(appConnectParm.getProperty());
taskDetailsRemote = (TaskDetailsRemote) context.lookup("ibase/TaskDetails/remote");
//Here invoke EJB define method
JSONObject jsonObjData = (JSONObject)taskDetailsRemote.getTaskDetails(dataSourceName, siteCode);
OutputStream outputStream = response.getOutputStream();
outputStream.write(jsonObjData.toString().getBytes());
outputStream.flush();
outputStream.close();
System.out.println(" Final data set for ReplTaskServlet build to Graph and Grid===" + jsonObjData);
}
catch (Exception e)
{
System.out.println("Exception in: ReplTaskServlet :doPost(HttpServletRequest request, HttpServletResponse response) :" + e.getMessage());
try
{
throw new ITMException(e);
} catch (ITMException e1)
{
e1.printStackTrace();
}
}
}
}
\ No newline at end of file
/**
* Purpose: Dashboard for User Acitivity, Reuest ID: W15CSUN005
* Author: Sneha Mestry
* Date: 16-06-2015
*/
package ibase.webitm.servlet.wms;
import ibase.system.config.AppConnectParm;
import ibase.webitm.ejb.wms.UserActivityRemote;
import ibase.webitm.utility.ITMException;
import java.io.IOException;
import java.io.OutputStream;
import javax.naming.InitialContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.json.simple.JSONObject;
public class UserActivityServlet extends HttpServlet
{
private static final long serialVersionUID = 1L;
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
{
doPost(request, response);
}
@SuppressWarnings("unchecked")
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
{
UserActivityRemote userActivityRemote = null;
InitialContext context = null;
AppConnectParm appConnectParm = new AppConnectParm();
String dataSourceName = "";
String siteCode = "";
try
{
response.setContentType("application/xml");
dataSourceName = request.getParameter("dataSourceName");
HttpSession session = request.getSession(true);
ibase.utility.UserInfoBean userInfo = (ibase.utility.UserInfoBean) session.getAttribute("USER_INFO");
siteCode = userInfo.getSiteCode();
System.out.println(" siteCode :::::::::: " + siteCode);
context = new InitialContext(appConnectParm.getProperty());
userActivityRemote = (UserActivityRemote) context.lookup("ibase/UserActivity/remote");
//Here invoke EJB define method
JSONObject jsonObjData = (JSONObject)userActivityRemote.getUserActivityDetails(dataSourceName, siteCode);
OutputStream outputStream = response.getOutputStream();
outputStream.write(jsonObjData.toString().getBytes());
outputStream.flush();
outputStream.close();
System.out.println(" Final data set for UserActivityServlet build to Graph and Grid===" + jsonObjData);
}
catch (Exception e)
{
System.out.println("Exception in: UserActivityServlet :doPost(HttpServletRequest request, HttpServletResponse response) :" + e.getMessage());
try
{
throw new ITMException(e);
} catch (ITMException e1)
{
e1.printStackTrace();
}
}
}
}
\ No newline at end of file
......@@ -11,5 +11,63 @@
<servlet-name>ReportRequesthandlerServlet</servlet-name>
<url-pattern>/ReportRequesthandlerServlet</url-pattern>
</servlet-mapping>
<!--Start of Servlet Mapping for Dashboard by Sneha 12-06-2015 -->
<servlet>
<servlet-name>ParentMetaDataServlet</servlet-name>
<servlet-class>ibase.dashboard.metadata.servlet.ParentMetaDataServlet</servlet-class>
</servlet>
<servlet-mapping id="ParentMetaDataServlet">
<servlet-name>ParentMetaDataServlet</servlet-name>
<url-pattern>/ParentMetaDataServlet</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>DashboardFilterServlet</servlet-name>
<servlet-class>ibase.dashboard.metadata.servlet.DashboardFilterServlet</servlet-class>
</servlet>
<servlet-mapping id="DashboardFilterServlet">
<servlet-name>DashboardFilterServlet</servlet-name>
<url-pattern>/DashboardFilterServlet</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>gwtTableToExcelServlet</servlet-name>
<servlet-class>ibase.server.TableToExcelServlet</servlet-class>
</servlet>
<servlet-mapping id="gwtTableToExcelServlet">
<servlet-name>gwtTableToExcelServlet</servlet-name>
<url-pattern>/dwh/gwtdashboardreport/excel</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>ConsignmentDetailsServlet</servlet-name>
<servlet-class>ibase.webitm.servlet.wms.ConsignmentDetailsServlet</servlet-class>
</servlet>
<servlet-mapping id="ConsignmentDetailsServlet">
<servlet-name>ConsignmentDetailsServlet</servlet-name>
<url-pattern>/ConsignmentDetailsServlet</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>TaskDetailsServlet</servlet-name>
<servlet-class>ibase.webitm.servlet.wms.TaskDetailsServlet</servlet-class>
</servlet>
<servlet-mapping id="TaskDetailsServlet">
<servlet-name>TaskDetailsServlet</servlet-name>
<url-pattern>/TaskDetailsServlet</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>UserActivityServlet</servlet-name>
<servlet-class>ibase.webitm.servlet.wms.UserActivityServlet</servlet-class>
</servlet>
<servlet-mapping id="UserActivityServlet">
<servlet-name>UserActivityServlet</servlet-name>
<url-pattern>/UserActivityServlet</url-pattern>
</servlet-mapping>
<!--End of Servlet Mapping for Dashboard by Sneha 12-06-2015 -->
</web-app>
\ No newline at end of file
Insert into dashboard_comp (USER_ID,PAGE_ID,COMP_ID,TITLE,URI,WIDTH,HEIGHT,ROW_NO,COLUMN_NO,COMP_TYPE,COMP_NAME,ENTITY_TYPE,ENTITY_CODE,DBR_RESOURCE)
values ('CPATIL',10,1,'Warehouse User Acitivity','/ibase/dwh/GwtDashboardPage.html?metadataname=taskactivity',250,0,0,1,null,null,'U',
'CPATIL',null);
Insert into dashboard_pages (USER_ID,PAGE_ID,TITLE,URI,IMAGE_URI,PAGE_TYPE,ENTITY_TYPE,ENTITY_CODE,CHG_USER,CHG_TERM,CHG_DATE,COMP_TYPE)
values ('CPATIL',10,'Warehouse User Acitivity','/ibase/dwh/GwtDashboardPage.html?metadataname=taskactivity',null,'T','U','CPATIL','CPATIL'
,'127.0.1.1',sysdate,null);
Insert into dashboard_comp (USER_ID,PAGE_ID,COMP_ID,TITLE,URI,WIDTH,HEIGHT,ROW_NO,COLUMN_NO,COMP_TYPE,COMP_NAME,ENTITY_TYPE,ENTITY_CODE,DBR_RESOURCE)
values ('BASE',11,1,'Location Occupancy','/ibase/dashboard/wms/jsp/LocationStockOccupancy.jsp',250,0,0,1,null,null,'U',
'BASE',null);
Insert into dashboard_pages (USER_ID,PAGE_ID,TITLE,URI,IMAGE_URI,PAGE_TYPE,ENTITY_TYPE,ENTITY_CODE,CHG_USER,CHG_TERM,CHG_DATE,COMP_TYPE)
values ('BASE',11,'Location Occupancy','/ibase/dashboard/wms/jsp/LocationStockOccupancy.jsp',null,'T','U','BASE','BASE'
,'127.0.1.1',sysdate,'JSP');
------ **********************************************
Note: change the values for the USER_ID, ENTITY_CODE in dashboard_comp and dashboard_pages table according to your exisiting users.
\ No newline at end of file
@charset "utf-8";
/* CSS Document */
/*CSS Reset*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td
{
margin: 0;
padding: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
fieldset,img {
border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var,small {
font-style: normal;
font-weight: normal;
}
ol,ul {
list-style: none;
}
caption,th {
text-align: left;
}
h1,h2,h3,h4,h5,h6 {
font-weight: normal;
}
q:before,q:after {
content: '';
}
abbr,acronym {
border: 0;
}
/* General styling */
body { /* background:#202020; */
font-family: NotethisRegular, Verdana, Arial, sans-serif;
font-size: 125%;
/* color:#202020; */
}
h1,h2,h3,h4,h5,h6 {
font-family: Arial, Gadget, sans-serif;
font-size: 1 em;
text-align: left;
}
#wrapper {
width: 500px;
margin: 0 auto;
text-align: center;
padding-top: 50px;
}
/* Index Card Styling */
ul#index_cards {
margin-top: 50px;
text-align: center;
}
ul#index_cards li {
/* background: url(/ibase/dashboard/scm/images/card_bg.jpg) repeat;
height: 300px;
width: 100%;
display: block;
float: left;
border: 1px solid #666;
padding: 0px 0px;
position: absolute;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-moz-box-shadow: 2px 2px 10px #000;
-webkit-box-shadow: 2px 2px 10px #000;
-moz-transition: all 0.5s ease-in-out;
-webkit-transition: all 0.5s ease-in-out; */
/* background: url(/ibase/dashboard/scm/images/card_bg.jpg) repeat; */
padding: 10px;
background-color: rgb(236, 236, 236);
height: 450px;
width: 80%;
display: block;
float: left;
border: 1px solid #DADADA;
padding: 5px 5px;
position: absolute;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
-moz-box-shadow: 2px 2px 10px #000;
-webkit-box-shadow: 2px 2px 10px #BBB;
-moz-transition: all 0.5s ease-in-out;
-webkit-transition: all 0.5s ease-in-out;
}
#celltable { /* color: blue;
font-family: Arial, Courier, sans-serif;
font-size: 10pt;
text-align: left;
height: 25px;
width: 300px;
cursor: default; */
color: rgb(124, 124, 124);
font-family: "Helvitica Neue", Helvitica, Arial, Courier, sans-serif;
font-size: 10pt;
text-align: left;
height: 25px;
width: 300px;
cursor: default;
}
#celltable th {
border: 1px solid grey;
}
#celltable tr {
border: 1px solid grey;
}
#celltable td { /* border: 1px solid grey;
width: 50px; */
padding: 10px;
border: 1px solid rgb(211, 211, 211);
width: 50px;
}
/* Hover States */
ul#index_cards li:hover {
-moz-transform: scale(1.1);
-webkit-transform: scale(1.1);
z-index: 100;
}
/* Content Styling */
ul#index_cards li img {
margin-top: 7px;
background: #eee;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-moz-box-shadow: 0px 0px 5px #aaa;
-webkit-box-shadow: 0px 0px 5px #aaa;
}
ul#index_cards li p {
margin-top: 4px;
text-align: left;
line-height: 28px;
}
/* add new css by birendra Pandey */
.tblheader {
font-weight: bold;
}
.parentstktbl {
font-family: Arial;
font-size: 10pt;
width: 99%;
font: Arial, sans-serif, courier;
font-size: 9pt;
margin-left: 5;
margin-top: 4;
}
.stocktbl {
background: none repeat scroll 0 0 #EFF5FB;
font-family: Arial;
font-size: 10pt;
width: 99%;
font: Arial, sans-serif, courier;
}
.cellempty {
background-color: white;
}
.itemcell { /* background-color: green;
color: white; */
background-color: rgb(24, 179, 138);
color: white;
cursor: pointer;
}
.locationtbl {
font-size: 9pt;
font: Arial, sans-serif, courier;
}
.areatd {
font-size: 9pt;
font: Arial, sans-serif, courier;
text-align: left
}
.popUpFiltrTbl {
background: none repeat scroll 0 0 #EFF5FB;
font-family: Arial;
font-size: 11pt;
width: 397px;
font: Arial, sans-serif, courier;
padding-bottom: 15px;
margin-left: 5px;
}
.img {
position: relative;
right: 5px;
top: 0px;
bottom: 2px;
height: 30px;
width: 30;
text-align: right;
cursor: pointer;
}
.pagetitle { /* padding: 2;
border-spacing: 2;
background-color: gray;
width: 100%;
height: 35px;
position: relative;
text-align: center;
font-family: Verdana;
font-size: 16px;
font-weight: bold; */
padding: 2;
background-color: gray;
width: 100%;
height: 35px;
position: relative;
text-align: center;
font-family: "Helvitica Neue", Helvitica, Arial, Courier, sans-serif;
font-size: 18px;
}
.pagetitlename {
color: white;
}
.openDiv {
width: 418px !important;
}
.filtralign {
padding-left: 3px;
}
.green { /* background-color:green; */
background-color: rgb(24, 179, 138);
}
.yellow { /* background-color:yellow; */
background-color: rgb(255, 255, 102);
}
.white {
background-color: white;
}
/*19 May 2015*/
.poptitle {
color: #000;
padding: 5px;
font-size: 24px;
text-align: center;
font-weight: normal;
line-height: 18px;
text-transform: capitalize;
}
.popcode {
color: #000;
font-size: 16px;
text-align: left;
padding-left: 10px;
border-bottom: 1px solid #ebebeb;
}
.popqty {
color: #000;
font-size: 18px;
}
.popunit {
color: #9d9ca2;
font-size: 10px;
}
.ttl {
color: #5f5f5f;
font-size: 12px;
padding: 10px 5px 5px 5px;
font-weight: normal;
}
.otherdetails {
background-color: #FFF;
border-top: #e5e4e9 1px solid;
}
.otherdetails td {
border-bottom: #e5e4e9 1px solid;
background-color: #FFF;
padding: 10px;
}
.tdleftalign {
text-align: left;
border-bottom: #e5e4e9 1px solid;
font-size: 12px;
color: #666;
}
.tdrghtalign {
text-align: right;
padding-right: 10px;
border-bottom: #e5e4e9 1px solid;
font-size: 12px;
color: #666;
}
.rght {
text-align: right;
}
.highlight {
font-size: 14px;
color: #000;
}
.alert {
color: #F00;
}
.orng {
font-size: 14px;
color: #FF9000;
}
\ No newline at end of file
This diff is collapsed.
@charset "utf-8";
/* CSS Document */
/*CSS Reset*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
margin:0;
padding:0;
}
table {
border-collapse:collapse;
border-spacing:0;
}
fieldset,img {
border:0;
}
address,caption,cite,code,dfn,em,strong,th,var,small {
font-style:normal;
font-weight:normal;
}
ol,ul {
list-style:none;
}
caption,th {
text-align:left;
}
h1,h2,h3,h4,h5,h6 {
font-weight:normal;
}
q:before,q:after {
content:'';
}
abbr,acronym { border:0;
}
/* General styling */
body {
/* background:#202020; */
font-family: NotethisRegular, Verdana, Arial, sans-serif;
font-size:125%;
/* color:#202020; */
}
h1, h2, h3, h4, h5, h6 {
font-family: Arial, Gadget, sans-serif;
font-size:1 em;
text-align:left;
}
#wrapper {
width:500px;
margin:0 auto;
text-align:center;
padding-top:50px;
}
/* Index Card Styling */
ul#index_cards {
margin-top:50px;
text-align:center;
}
ul#index_cards li {
background:url(/ibase/dashboard/wms/images/card_bg.jpg) repeat;
height:300px;
width :100%;
display:block;
float:left;
border:1px solid #666;
padding:0px 0px;
position:absolute;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-moz-box-shadow: 2px 2px 10px #000;
-webkit-box-shadow: 2px 2px 10px #000;
-moz-transition: all 0.5s ease-in-out;
-webkit-transition: all 0.5s ease-in-out;
}
#celltable {
color:blue;
font-family: Arial, Courier, sans-serif;
font-size:10pt;
text-align:left;
height:25px;
width:300px;
cursor:default;
}
#celltable th {
border: 1px solid grey;
}
#celltable tr {
border: 1px solid grey;
}
#celltable td {
border: 1px solid grey;
width:50px;
}
/* Hover States */
ul#index_cards li:hover {
-moz-transform: scale(1.1) ;
-webkit-transform: scale(1.1);
z-index:100;
}
/* Content Styling */
ul#index_cards li img {
margin-top:7px;
background:#eee;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-moz-box-shadow: 0px 0px 5px #aaa;
-webkit-box-shadow: 0px 0px 5px #aaa;
}
ul#index_cards li p {
margin-top:4px;
text-align:left;
line-height:28px;
}
/* add new css by birendra Pandey */
.tblheader
{
font-weight: bold;
}
.parentstktbl {
font-family: Arial;
font-size: 10pt;
width: 400px;
font: Arial,sans-serif,courier;
font-size: 9pt;
margin-left:5;
margin-top:4;
}
.stocktbl {
background: none repeat scroll 0 0 #EFF5FB;
font-family: Arial;
font-size: 10pt;
width: 450px;
font: Arial,sans-serif,courier;
}
.cellempty {
background-color:white;
}
.itemcell {
background-color:green;
color:white;
}
.locationtbl
{
font-size: 9pt;
font: Arial,sans-serif,courier;
}
.areatd{
font-size: 9pt;
font: Arial,sans-serif,courier;
text-align:left
}
.popUpFiltrTbl {
background: none repeat scroll 0 0 #EFF5FB;
font-family: Arial;
font-size: 11pt;
width: 397px;
font: Arial,sans-serif,courier;
padding-bottom: 15px;
margin-left: 5px;
}
.img {
position:relative;
right:5px;
top:0px;
bottom: 2px;
height :30px;
width :30;
text-align:right;
}
.pagetitle {
padding :2;
border-spacing:2;
background-color: gray;
width :100%;
height :35px;
position: relative;
text-align:center;
font-family: Verdana;
font-size: 16px;
font-weight:bold;
}
.pagetitlename
{
color: white;
}
.openDiv
{
width:510px !important;
}
.filtralign
{
padding-left: 3px;
}
/** Minimal stand-alone css for dropdownchecklist support
We highly recommend using JQuery ThemeRoller instead
*/
.ui-dropdownchecklist {
font-size: medium;
color: black;
}
.ui-dropdownchecklist-selector {
height: 20px;
border: 1px solid #ddd;
background: #fff;
}
.ui-state-hover, .ui-state-active {
/* border-color: #5794bf; */
}
.ui-dropdownchecklist-dropcontainer {
background-color: #fff;
border: 1px solid #999;
}
.ui-dropdownchecklist-item {
}
.ui-state-hover {
/* background-color: #39f; */
}
.ui-state-disabled label {
color: #ccc;
}
.ui-dropdownchecklist-group {
font-weight: bold;
font-style: italic;
}
.ui-dropdownchecklist-indent {
padding-left: 7px;
}
/* Font size of 0 on the -selector and an explicit medium on -text required to eliminate
descender problems within the containers and still have a valid size for the text */
.ui-dropdownchecklist-selector-wrapper {
vertical-align: middle;
font-size: 0px;
}
.ui-dropdownchecklist-selector {
padding: 1px 2px 2px 2px;
font-size: 0px;
height:16px;
}
.ui-dropdownchecklist-text {
font-size: medium;
font-family: Arial, Courier, sans-serif;
font-size:10pt;
line-height: 20px;
}
.ui-dropdownchecklist-group {
padding: 1px 2px 2px 2px;
}
/** Minimal stand-alone css for dropdownchecklist support
We highly recommend using JQuery ThemeRoller instead
*/
.ui-dropdownchecklist {
font-size: medium;
color: black;
}
.ui-dropdownchecklist-selector {
height: 20px;
border: 1px solid #ddd;
background: #fff;
}
.ui-state-hover, .ui-state-active {
border-color: #5794bf;
}
.ui-dropdownchecklist-dropcontainer {
background-color: #fff;
border: 1px solid #999;
}
.ui-dropdownchecklist-item {
}
.ui-state-hover {
background-color: #39f;
}
.ui-state-disabled label {
color: #ccc;
}
.ui-dropdownchecklist-group {
font-weight: bold;
font-style: italic;
}
.ui-dropdownchecklist-indent {
padding-left: 7px;
}
/* Font size of 0 on the -selector and an explicit medium on -text required to eliminate
descender problems within the containers and still have a valid size for the text */
.ui-dropdownchecklist-selector-wrapper {
vertical-align: middle;
font-size: 0px;
}
.ui-dropdownchecklist-selector {
padding: 1px 2px 2px 2px;
font-size: 0px;
}
.ui-dropdownchecklist-text {
font-size: medium;
/* line-height: 20px; */
}
.ui-dropdownchecklist-group {
padding: 1px 2px 2px 2px;
}
[Dolphin]
Timestamp=2015,6,30,18,12,1
Version=3
ViewMode=2
[Dolphin]
AdditionalInfo=3
Timestamp=2015,6,30,16,26,40
Version=3
ViewMode=2
/*!
* jQuery UI Core 1.10.3
* http://jqueryui.com
*
* Copyright 2013 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/category/ui-core/
*/
jQuery.ui || (function($) {
var isFF2 = $.browser.mozilla && (parseFloat($.browser.version) < 1.9);
//Helper functions and ui object
$.ui = {
version: "@VERSION",
// $.ui.plugin is deprecated. Use the proxy pattern instead.
plugin: {
add: function(module, option, set) {
var proto = $.ui[module].prototype;
for(var i in set) {
proto.plugins[i] = proto.plugins[i] || [];
proto.plugins[i].push([option, set[i]]);
}
},
call: function(instance, name, args) {
var set = instance.plugins[name];
if(!set || !instance.element[0].parentNode) { return; }
for (var i = 0; i < set.length; i++) {
if (instance.options[set[i][0]]) {
set[i][1].apply(instance.element, args);
}
}
}
},
contains: function(a, b) {
return document.compareDocumentPosition
? a.compareDocumentPosition(b) & 16
: a !== b && a.contains(b);
},
hasScroll: function(el, a) {
//If overflow is hidden, the element might have extra content, but the user wants to hide it
if ($(el).css('overflow') == 'hidden') { return false; }
var scroll = (a && a == 'left') ? 'scrollLeft' : 'scrollTop',
has = false;
if (el[scroll] > 0) { return true; }
// TODO: determine which cases actually cause this to happen
// if the element doesn't have the scroll set, see if it's possible to
// set the scroll
el[scroll] = 1;
has = (el[scroll] > 0);
el[scroll] = 0;
return has;
},
isOverAxis: function(x, reference, size) {
//Determines when x coordinate is over "b" element axis
return (x > reference) && (x < (reference + size));
},
isOver: function(y, x, top, left, height, width) {
//Determines when x, y coordinates is over "b" element
return $.ui.isOverAxis(y, top, height) && $.ui.isOverAxis(x, left, width);
},
keyCode: {
BACKSPACE: 8,
CAPS_LOCK: 20,
COMMA: 188,
CONTROL: 17,
DELETE: 46,
DOWN: 40,
END: 35,
ENTER: 13,
ESCAPE: 27,
HOME: 36,
INSERT: 45,
LEFT: 37,
NUMPAD_ADD: 107,
NUMPAD_DECIMAL: 110,
NUMPAD_DIVIDE: 111,
NUMPAD_ENTER: 108,
NUMPAD_MULTIPLY: 106,
NUMPAD_SUBTRACT: 109,
PAGE_DOWN: 34,
PAGE_UP: 33,
PERIOD: 190,
RIGHT: 39,
SHIFT: 16,
SPACE: 32,
TAB: 9,
UP: 38
}
};
//jQuery plugins
$.fn.extend({
_focus: $.fn.focus,
focus: function(delay, fn) {
return typeof delay === 'number'
? this.each(function() {
var elem = this;
setTimeout(function() {
$(elem).focus();
(fn && fn.call(elem));
}, delay);
})
: this._focus.apply(this, arguments);
},
enableSelection: function() {
return this
.attr('unselectable', 'off')
.css('MozUserSelect', '')
.unbind('selectstart.ui');
},
disableSelection: function() {
return this
.attr('unselectable', 'on')
.css('MozUserSelect', 'none')
.bind('selectstart.ui', function() { return false; });
},
scrollParent: function() {
var scrollParent;
if(($.browser.msie && (/(static|relative)/).test(this.css('position'))) || (/absolute/).test(this.css('position'))) {
scrollParent = this.parents().filter(function() {
return (/(relative|absolute|fixed)/).test($.curCSS(this,'position',1)) && (/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1));
}).eq(0);
} else {
scrollParent = this.parents().filter(function() {
return (/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1));
}).eq(0);
}
return (/fixed/).test(this.css('position')) || !scrollParent.length ? $(document) : scrollParent;
},
zIndex: function(zIndex) {
if (zIndex !== undefined) {
return this.css('zIndex', zIndex);
}
if (this.length) {
var elem = $(this[0]), position, value;
while (elem.length && elem[0] !== document) {
// Ignore z-index if position is set to a value where z-index is ignored by the browser
// This makes behavior of this function consistent across browsers
// WebKit always returns auto if the element is positioned
position = elem.css('position');
if (position == 'absolute' || position == 'relative' || position == 'fixed')
{
// IE returns 0 when zIndex is not specified
// other browsers return a string
// we ignore the case of nested elements with an explicit value of 0
// <div style="z-index: -10;"><div style="z-index: 0;"></div></div>
value = parseInt(elem.css('zIndex'));
if (!isNaN(value) && value != 0) {
return value;
}
}
elem = elem.parent();
}
}
return 0;
}
});
//Additional selectors
$.extend($.expr[':'], {
data: function(elem, i, match) {
return !!$.data(elem, match[3]);
},
focusable: function(element) {
var nodeName = element.nodeName.toLowerCase(),
tabIndex = $.attr(element, 'tabindex');
return (/input|select|textarea|button|object/.test(nodeName)
? !element.disabled
: 'a' == nodeName || 'area' == nodeName
? element.href || !isNaN(tabIndex)
: !isNaN(tabIndex))
// the element and all of its ancestors must be visible
// the browser may report that the area is hidden
&& !$(element)['area' == nodeName ? 'parents' : 'closest'](':hidden').length;
},
tabbable: function(element) {
var tabIndex = $.attr(element, 'tabindex');
return (isNaN(tabIndex) || tabIndex >= 0) && $(element).is(':focusable');
}
});
})(jQuery);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment