CSI Banner

by mrjordy

HTML

asdfasdf<div id="HeaderContainer">
  <div class="HeaderTitle">Continual Service Improvments (CSI)</div>
  <div class="CloseAll">X</div>
  <div class="HeaderTitleSmall">CSI</div>
  <div class="GUI"></div>
  <div class="Background-Canvas"></div>
  <div class="Background-Image"></div>
  <div class="Floating-Image"></div>
  <div class="Floating-Image2"></div>
  <div class="Floating-Image3"></div>
  <div class="diag-noselect"></div>
  <div class="TL toggle" id="ClickTL"></div>
  <div class="TL-popup hidden ShowTL">
    <a href="#">
      <div class="PopupTitle">CSI Process</div>
    </a>
    <div class="PopupText">
      <div class="PopupGoal">Initiates improvement to address customer needs and experiences by identifying, analyzing, implementing and evaluating opportunities in the performance of NGEN service delivery.</div>
      <span class="PopupSection">CSI Registry</span>
      <span class="PopupSection">Add New CSI</span>
      <span class="PopupSection">CSI Process Overview</span>
    </div>
  </div>
  <div class="TR toggle" id="ClickTR"></div>
  <div class="TR-popup hidden ShowTR">
    <a href="#">
      <div class="PopupTitle">Service Process Owner Council (SPOC) </div>
    </a>
    <div class="PopupText">
      <div class="PopupGoal">NGEN SPOC is a PWS-contractual advisory group that is authorized as the initial primary point of contact for service and process-related issues, concerns and risks.</div>
      <span class="PopupSection">SPOC Documents</span>
      <span class="PopupSection">SPOC Overview</span>
    </div>
  </div>
  <div class="C toggle" id="ClickC"></div>
  <div class="C-popup hidden ShowC">
    <a href="#">
      <div class="PopupTitle">Issue Resolution Process</div>
    </a>
    <div class="PopupText">
      <div class="PopupGoal">Process and service issues which cannot be resolved at the operational level, escalated to the SPOC via the Issue Resolution Process and logged in the IRR.</div>
      <span class="PopupSection">Issue Resolution...

CSS

#preload,
.hidden {
  display: none;
}

#HeaderContainer {
  width: 100%;
  height: 248px;
  overflow: hidden;
  border-radius: 4px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 10px;
  position: relative;
}

.CloseAll {
  display: none;
  position: absolute;
  right: 14px;
  width: 40px;
  height: 22px;
  text-align: center;
  line-height: 22px;
  color: white;
  z-index: 11;
  margin-top: 13px;
  font-family: sans-serif;
  font-weight: 900;
  text-shadow: 0px 0px 11px rgba(1, 1, 1, 0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: .1s;
}

.CloseAll:hover {
  border: 1px solid white !important;
  text-shadow: 0px 0px 11px white;
}

#HeaderContainer > .HeaderTitle {
  font-family: helvetica;
  position: absolute;
  z-index: 9;
  margin-top: 8px;
  padding-left: 56px;
  padding-top: 2px;
  width: calc(100% - 64px);
  height: 32px;
  color: white;
  vertical-align: middle;
  line-height: normal;
  font-size: 24px;
  background: #3E628F;
}

.HeaderTitle:before {
  content: '';
  display: block;
  width: 40px;
  height: 40px;
  background: url('https://navy.deps.mil/peoeis/sites/nen/res/NEN-logo-v2-40x40.png');
  position: absolute;
  margin-left: -48px;
  margin-top: -6px;
}

@media screen and (min-width: 721px) {
  #HeaderContainer > .HeaderTitleSmall {
    display: none;
  }
}

@media screen and (max-width: 720px) {
  #HeaderContainer > .HeaderTitleSmall {
    font-family: helvetica;
    position: absolute;
    z-index: 9;
    margin-top: 8px;
    padding-left: 16px;
    padding-top: 2px;
    width: calc(100% - 24px);
    height: 32px;
    color: white;
    vertical-align: middle;
    line-height: normal;
    font-size: 24px;
    background: #3E628F;
  }
  #HeaderContainer > .HeaderTitle {
    display: none;
  }
}

#HeaderContainer > .HeaderSub {
  font-family: helvetica;
  position: absolute;
  z-index: 9;
  margin-top: 17px;
  margin-left: 196px;
  width: auto;
  height: 32px;
  color: #ddd;
  vertical-align: middle;
  line-height:...

JavaScript

function displayLayover(url) {
    var options = SP.UI.$create_DialogOptions();
    options.url = url;
    options.dialogReturnValueCallback = Function.createDelegate(null, null);
    SP.UI.ModalDialog.showModalDialog(options);
}


jQuery(document).ready(function() {

  var srActions = {
                    url: "https://navy.deps.mil/peoeis/sites/nen/ops/eng/_vti_bin/ListData.svc/EngineeringActionTracker",
                    select: "Action, TaskOwner, DueDate, EngGoalValue, EngObjectiveValue, EngTaskValue, DateCompleted, Id",
                    filter: "(EngGoalValue eq '1 Security %26 Resiliency')%20and%20(DateCompleted eq null)",
                    expand: "TaskOwner"
                  },
      irActions = {
                    url: "https://navy.deps.mil/peoeis/sites/nen/ops/eng/_vti_bin/ListData.svc/EngineeringActionTracker",
                    select: "Action, TaskOwner, DueDate, EngGoalValue, EngObjectiveValue, EngTaskValue, DateCompleted, Id",
                    filter: "(EngGoalValue eq '2 INTEROPERABILITY %26 RELIABILITY')%20and%20(DateCompleted eq null)",
                    expand: "TaskOwner" 
                  },
      ptActions = {
                    url: "https://navy.deps.mil/peoeis/sites/nen/ops/eng/_vti_bin/ListData.svc/EngineeringActionTracker",
                    select: "Action, TaskOwner, DueDate, EngGoalValue, EngObjectiveValue, EngTaskValue, DateCompleted, Id",
                    filter: "(EngGoalValue eq '3 PEOPLE %26 TALENT')%20and%20(DateCompleted eq null)",
                    expand: "TaskOwner" 
                  },
      iActions =  {
                    url: "https://navy.deps.mil/peoeis/sites/nen/ops/eng/_vti_bin/ListData.svc/EngineeringActionTracker",
                    select: "Action, TaskOwner, DueDate, EngGoalValue, EngObjectiveValue, EngTaskValue, DateCompleted, Id",
                    filter: "(EngGoalValue eq '4 INNOVATION')%20and%20(DateCompleted eq null)",
                    expand: "TaskOwner" 
            ...