<%@ Page Title="" Language="C#" MasterPageFile="~/helpdesk/Dashboard.master" AutoEventWireup="true" CodeBehind="Dashboard_assign.aspx.cs" Inherits="helpdesk.helpdesk.Dashboard_assign" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">

    <div class="well">

             

           
           

              <div class="btn-group">            
  <a data-toggle="dropdown" class="btn dropdown-toggle btn-default btn-flat"      
        onclick=" return false;" >标记  <span class="caret"></span> 
  </a>

  <ul class="dropdown-menu" role="menu">
   <li> 
       
      <asp:LinkButton ID="btn_open"  CommandArgument="read" runat="server" Text="已读"   
           onclick="btnreadunread_Click"  OnClientClick="if(!isselect()) return false; "  /> </li>
   <li>
       
           <asp:LinkButton ID="btnclose"   CommandArgument="unread"    runat="server" Text="未读"   
             onclick="btnreadunread_Click"  OnClientClick="if(!isselect()) return false; "  />

   </li>
 </ul>
</div> 
          
        <asp:Button   runat="server" ID="btndelete" Text="删除"  
            OnClientClick="if(!isselect()) return false; "  CssClass="btn btn-danger btn-sm btn-flat"
            title="删除问题"   onclick="btndelete_Click" 
          />

         
    </div>











    

   <!--/buttons toolbar-->
<asp:ListView ID="lv_lists" runat="server" 
    ItemContainerID="layoutTableTemplate" 
              DataKeyNames="id" 
    
                    
 >
 
 
    <LayoutTemplate>
 
    <table  class="table table-hover">
        <tr>

        <th width="50" >
             <input type="checkbox"  class="ck_all" onclick="selectall(this);  "  />  
            ID

        </th>

            <th width="120" >操作人</th>
     
        <th width="*" >主题</th>
        
      <th width="200px" >备注</th>
        <th width="120px">指派日期</th>
          
           
           
        </tr>
        
         <asp:PlaceHolder runat="server" ID="itemPlaceholder"></asp:PlaceHolder>
        </table>
 
        
 
    </LayoutTemplate>

   
    
    <ItemTemplate>
    
       <tr    class='<%#isbold(Eval("isread")) %>' >


<td  >

   <input type="checkbox" class="ck_item" value='<%# Eval("id") %>'/> <%#Eval("id") %>
</td> 


   <td width="*" >
      <%#Eval("opname")%>  
       
  </td>


   <td width="*" >
    <a target=_blank href='Ticket_view.aspx?id=<%#Eval("tid")%>'><%#Eval("title")%></a>
          
  </td>
<td>
     <%#Eval("notes")%>
</td>


  

<td width="140px" class="f11">
 <%#DateTime.Parse(Eval("createdate").ToString()).ToString("yyyy-MM-dd")%> 
</td>
 
 
 
</tr>  
    </ItemTemplate>

</asp:ListView>        









        
 
 
       
<div  >
    <asp:DataPager ID="Pager"   class="btn-group btn-group-sm"  
       PagedControlID="lv_lists" runat="server" PageSize="20">
 <Fields>
           
     
            <asp:NextPreviousPagerField 
                PreviousPageText="<" 
                FirstPageText="|<" 
                ShowPreviousPageButton="true"
                ShowFirstPageButton="true" 
                ShowNextPageButton="false" 
                ShowLastPageButton="false"
                ButtonCssClass="btn btn-default" 
                RenderNonBreakingSpacesBetweenControls="false" 
                RenderDisabledButtonsAsLabels="false" />

            <asp:NumericPagerField 
                ButtonType="Link" 
                CurrentPageLabelCssClass="btn btn-primary disabled"  
                RenderNonBreakingSpacesBetweenControls="false"
                NumericButtonCssClass="btn btn-default" 
                ButtonCount="10" 
                NextPageText="..." 
                NextPreviousButtonCssClass="btn btn-default" />
            
           <asp:NextPreviousPagerField 
               NextPageText=">" 
               LastPageText=">|" 
               ShowNextPageButton="true"
               ShowLastPageButton="true" 
               ShowPreviousPageButton="false" 
               ShowFirstPageButton="false"
               ButtonCssClass="btn btn-default" 
               RenderNonBreakingSpacesBetweenControls="false" 
               RenderDisabledButtonsAsLabels="false"/>
      

  </Fields> 
</asp:DataPager>
</div>







         <input type="hidden" name="hf_ids" id="hf_ids" />




























</asp:Content>
