-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClientlist.aspx
More file actions
48 lines (46 loc) · 3.68 KB
/
Clientlist.aspx
File metadata and controls
48 lines (46 loc) · 3.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<%@ Page Title="" Language="C#" MasterPageFile="~/sProfile.master" AutoEventWireup="true" CodeFile="Clientlist.aspx.cs" Inherits="Clientlist" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<table style="width:100%">
<tr>
<td style="text-align:left; vertical-align:top" colspan="2">
<asp:Label runat="server" ID="lblTitle" BackColor="#BCF5A9" Font-Size="24px" Text="고객 프로젝트" Width="100%" Height="35px" style="font-family:'맑은 고딕'; font-weight: 700; text-align:center"></asp:Label>
</td>
</tr>
<tr>
<td style="text-align:left; vertical-align:top" colspan="2">
<asp:GridView runat="server" ID="grvBoard" AllowPaging="true" AutoGenerateColumns="false" CellPadding="4" ForeColor="#333333"
GridLines="None" CaptionAlign="Bottom" style="font-family:'맑은 고딕'; font-size:small; width:100%; top: 1px; left: 0px;" OnPageIndexChanging="grvBoard_PageIndexChanging" OnSelectedIndexChanged="grvBoard_SelectedIndexChanged" CssClass="alert alert-primary">
<Columns>
<asp:BoundField DataField="no" HeaderText="번호" ItemStyle-Width="15%" ItemStyle-HorizontalAlign="Center"/>
<asp:HyperLinkField HeaderText="제목" DataNavigateUrlFields="no" DataNavigateUrlFormatString="Clientshow.aspx?no={0}" DataTextField="title"
ItemStyle-Width="50%" />
<asp:BoundField DataField="name" HeaderText="이름" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center"/>
<asp:TemplateField HeaderText="글쓴 날짜" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
<ItemTemplate> <%# Eval("uploadTime", "{0:yyyy년 MM달 dd일}") %></ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="hits" HeaderText="조회" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" />
</Columns>
<RowStyle BackColor="#ECF6CE" ForeColor="#333333" />
<FooterStyle BackColor="#5D7B9D" Font-Bold="true" ForeColor="White" />
<PagerStyle BackColor="#D0F5A9" ForeColor="Black" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="true" ForeColor="#333333" />
<HeaderStyle BackColor="#D0F5A9" Font-Bold="true" ForeColor="Black" />
<EditRowStyle BackColor="#999999" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
</td>
</tr>
<tr>
<td style="width:80%; text-align:right; vertical-align:middle; background-color:#F5F6CE">
<asp:Label runat="server" ID="lblMessage" ForeColor="Red" Width="300px"></asp:Label>
</td>
<td style="width:20%; text-align:center; vertical-align:middle; background-color:#F5F6CE">
<asp:Button runat="server" ID="ibtnWrite" Width="130px" Height="31px" Text="작성" OnClick="ibtnWrite_Click" Visible="false" style="background-color:#FE9A2E; color:black; font-size:16px; font-weight: 700; border:none" CssClass="btn btn-success"/>
</td>
</tr>
<tr>
<td style="width:100%; height:5px; background-color:#E0F8E0; text-align:center" colspan="8"></td>
</tr>
</table>
</asp:Content>