<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChatList.aspx.cs" Inherits="oa.Chat.ChatList" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

    
    <link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet" />  
  
    <script src="../Javascript/jquery-1.9.1.min.js"></script>
    <script src="../bootstrap/js/bootstrap.min.js"></script> 
 
  <script>
      function togglechat3() { 
          
              window.parent.oa.cols = "190px,*,0px,140px"; 
      }
  </script>
</head>
<body style="font-family:Verdana; font-size:12px;">

    <form id="form1" runat="server">
        <div style="margin:10px; text-align:right; margin-right:30px">
     <a href="history.aspx?id=<%=_uid %>" target="_blank">历史记录</a>   
        </div>
   
          

         
     <style>
        #mceu_15-body {
         display:none
        }

         .nameblock {
        color:green;
         }
    </style>
    
    <table style="background-color:#f5f5f5">
        <tr>
            <td valign="top">

<div  style=" margin:10px;"> 
    
 <asp:TextBox runat="server" ID="content"  ClientIDMode="Static"  Height="100px"   CssClass="form-control"  TextMode="MultiLine">
 </asp:TextBox> 
  
 </div>

  </td>

        <td    >
               <div style="margin:1px; width:120px; line-height:25px; font-size:12px">
                 <asp:Image ID="img_avtor"    runat="server"   style="margin:0px; padding:0px"   cssclass="img-rounded" height="50px" />  
             <a target="_blank" href="/oa/worklog/userdetail.aspx?id=<%=_uid %>">
                    <asp:Label runat="server" ID="lbl_displayname"></asp:Label>
                </a>   
                    <br />
              <asp:Label runat="server" ID="lbl_tel"></asp:Label> <br />
             
                <asp:Button ID="Button1" runat="server"  CssClass="btn  btn-primary   btn-sm " Text="发送" OnClick="Button1_Click" />
                <a href="#" class="btn btn-default btn-sm" onclick="togglechat3();">关闭</a>

               </div>
            </td>
        </tr>

    </table>





    <table class="table table-hover">
     
 
    <asp:Repeater runat="server" ID="rpt_msg_i_send">
        <ItemTemplate>
               <tr>
                   <td>
                       <div class=nameblock>
<%#Eval("fromdisplayname") %>  <span> <%#DateTime.Parse(Eval("adddate").ToString()).ToString("yy-MM-dd HH:mm") %></span>
                       </div>
                       <%#Eval("content") %>
                   </td>

               </tr>

        </ItemTemplate>

    </asp:Repeater>
       </table>


    



















    </form>
</body>
</html>
