| Server IP : 190.92.174.109 / Your IP : 216.73.217.175 Web Server : Microsoft-IIS/10.0 System : Windows NT P3613 10.0 build 20348 (Windows Server 2016) AMD64 User : IWPD_2296(hkwrmyfr) ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Inetpub/vhosts/aargeesapps.com/klesssmscollege.edu.in/ |
Upload File : |
<%@ page title="ITEP Content Display" language="C#" masterpagefile="~/MasterPage.master" autoeventwireup="true" inherits="Item_Content_Display, App_Web_wczgbspp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style>
/* ---- FLEX ONLY FOR MENU ITEMS ---- */
.menu-grid {
display: flex;
flex-wrap: wrap; /* allow wrapping to next row */
gap: 12px; /* spacing between items */
}
/* KEEP YOUR EXISTING MENU ITEM DESIGN */
.menu-item {
flex: 1 1 calc(25% - 12px); /* 4 items per row (auto responsive) */
text-align: center;
background: linear-gradient(135deg, #f7f7f7 0%, #ffffff 100%);
padding: 10px 0px;
border-radius: 12px;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
color: #333;
border: 1px solid #e1e1e1;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
min-height: 40px;
position: relative;
overflow: hidden;
}
.menu-item::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
transition: left 0.5s ease;
}
.menu-item:hover {
background: linear-gradient(135deg, #dfefff 0%, #f0f8ff 100%);
color: #0078d7;
transform: translateY(-3px) scale(1.02);
box-shadow: 0 8px 16px rgba(0,120,215,0.15);
border-color: #0078d7;
}
.menu-item:hover::before {
left: 100%;
}
.menu-item.active {
background: linear-gradient(135deg, #0078d7 0%, #005a9e 100%);
color: white;
font-weight: 600;
transform: translateY(-1px);
box-shadow: 0 6px 12px rgba(0,120,215,0.25);
border-color: #005a9e;
}
.menu-item:active {
transform: scale(0.98);
}
.content-box {
background-color: #fff;
border-radius: 8px;
padding: 15px;
box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="container-fluid">
<!-- TOP MENUS -->
<div class="row" style="margin-top:30px;">
<div class="col-md-12">
<div class="menu-list">
<div class="menu-grid">
<asp:Repeater ID="rptMenus" runat="server" OnItemCommand="rptMenus_ItemCommand">
<ItemTemplate>
<asp:LinkButton ID="lnkMenu" runat="server"
CssClass="menu-item"
CommandName="SelectMenu"
CommandArgument='<%# Eval("MenuID") %>'
Text='<%# Eval("MenuName") %>'>
</asp:LinkButton>
</ItemTemplate>
</asp:Repeater>
</div>
</div>
</div>
</div>
<br />
<marquee style="font-family: Book Antiqua; color: black; font-size: 18px;" scrollamount="8" onmousemove="stop()" onmouseout="start()" direction="left" height="40px">
<img src="img/new.gif" /> <a href="https://ncte.gov.in/" target="_blank">N C T E Website Link</a>
</marquee>
<!-- CONTENT BELOW -->
<div class="row">
<div class="col-md-12">
<asp:Panel ID="pnlContent" runat="server" CssClass="content-box">
<asp:Literal ID="litContent" runat="server" Text="Select a menu to view content."></asp:Literal>
</asp:Panel>
</div>
</div>
<br />
</div>
</asp:Content>