<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="eDocument.Server.Administrator.Resources.List" MasterPageFile="~/Site.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">

    <div class="skjema-admin__page-pre-title">
        Systemadministrasjon
    </div>

    <h1 class="skjema-admin__page-title mt-0">
        Tekster og språk
    </h1>
    
    <div>
        <asp:GridView 
            runat="server" 
            ID="gvResourceCategories"
            AutoGenerateColumns="False" 
            CssClass="skjema-admin__table skjema-admin__table--two-column-last-min-width w-100"
            Border="0">
            <Columns>
                <asp:BoundField DataField="Id" Visible="False"></asp:BoundField>
                <asp:BoundField DataField="Name" Visible="False"></asp:BoundField>
                <asp:BoundField DataField="Caption" HeaderText="Kategori"></asp:BoundField>
                <asp:TemplateField HeaderText="Endre">
                    <ItemTemplate>
                        <asp:HyperLink ID="Edit" runat="server" Text='Endre' NavigateUrl='<%#Eval("EditUrl")%>' />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
</asp:Content>
