Files
thinkyu/教育訓練系統/Web/MobileSurvey/SurveyList.aspx
T
sryang 577060bc78 chore: 首次簽入 Thinkyu ASP.NET 專案
- 加入 Visual Studio / ASP.NET .gitignore
- 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
2026-09-10 09:42:37 +08:00

50 lines
2.4 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SurveyList.aspx.cs" Inherits="Education.MobileSurvey.SurveyList" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>滿意度調查 - 問卷列表</title>
<link rel="stylesheet" type="text/css" href="MobileSurvey.css" />
</head>
<body>
<form id="form1" runat="server">
<div class="mobile-container">
<div class="mobile-header">
<span>滿意度調查</span>
<asp:LinkButton ID="btnLogout" runat="server" CssClass="header-link" OnClick="btnLogout_Click" Text="登出" />
</div>
<div class="user-info">
<asp:Literal ID="ltUserInfo" runat="server"></asp:Literal>
</div>
<div class="mobile-content">
<asp:Repeater ID="rptSurveyList" runat="server" OnItemCommand="rptSurveyList_ItemCommand">
<ItemTemplate>
<div class="card">
<div class="card-title">
<asp:Literal ID="lt訓練名稱" runat="server"
Text='<%# Eval("訓練名稱") %>'></asp:Literal>
</div>
<div class="card-subtitle">
<asp:Literal ID="ltDate" runat="server"
Text='<%# Eval("訓練日期", "{0:yyyy-MM-dd}") + (Eval("訓練日期迄") != DBNull.Value && Eval("訓練日期迄").ToString() != "" ? " ~ " + Eval("訓練日期迄", "{0:yyyy-MM-dd}") : "") %>'>
</asp:Literal>
</div>
<asp:LinkButton ID="btnFill" runat="server" CssClass="btn btn-success card-btn"
CommandName="Fill" CommandArgument='<%# Eval("訓練課程編號") + "|" + Eval("學員編號") %>'
Text="填寫問卷" />
</div>
</ItemTemplate>
</asp:Repeater>
<asp:Panel ID="pnlEmpty" runat="server" Visible="false" CssClass="empty-state">
目前沒有需要填寫的問卷<br /><br />
<asp:LinkButton ID="btnRefresh" runat="server" CssClass="btn btn-outline" OnClick="btnRefresh_Click" Text="重新整理" />
</asp:Panel>
<asp:Label ID="lbMessage" runat="server" CssClass="error-message" EnableViewState="false"></asp:Label>
</div>
</div>
</form>
</body>
</html>