Friday, 12 January 2024

Add Buttons in Intrective Report Region




 Add Buttons in Intrective Report Region


Report Query

select employee_card_no,employee_id,
'<input class="btn" type="button" value="Home" />' lnk 
from v_employees_master@livedb where deptt_code =6

Link Attribute

class="btn" type="button"

----------------------------------------------------------------
CSS CODE

.btn {
  border: 0;
  line-height: 2.5;
  padding: 0 20px;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
  border-radius: 10px;
  background-color: rgb(220 0 0 / 100%);
  background-image: linear-gradient(
    to top left,
    rgb(0 0 0 / 20%),
    rgb(0 0 0 / 20%) 30%,
    rgb(0 0 0 / 0%)
  );
  box-shadow:
    inset 2px 2px 3px rgb(255 255 255 / 60%),
    inset -2px -2px 3px rgb(0 0 0 / 60%);
}
.btn:hover {
  background-color: rgb(255 0 0 / 100%);
}
.btn:active {
  box-shadow:
    inset -2px -2px 3px rgb(255 255 255 / 60%),
    inset 2px 2px 3px rgb(0 0 0 / 60%);
}
--------------------

No comments:

Post a Comment

Check Internet Connectivity on Local System

if (!navigator.onLine) {     showOfflineAlert(); } else {     // Set a strict 3-second network timeout threshold     const controller = new ...