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

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <link href="https://fonts.googleapis.com/css?family=Barlow:400,500,600" rel="stylesheet">
    <link href="<%= InstallUrl %>main.min.css?v=<%= EdocVersion %>" rel="stylesheet">
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
    <div id="divNoLicense" runat="server" style="border: 2px; border-style: solid; border-color: red">
        OBS: organisasjonen har ikke lisens for bruk av saksbehandling. Du vil kun få se de nyeste 3 sakene.
        Du vil få se alle sakene når lisensen for saksbehandling er aktivert. 
        
    </div>
    <br/>
    <div id="root"></div>

    <script src="Config.aspx" defer></script>
   
    <script type="text/javascript" src='<%= InstallUrl %>main.min.js?v=<%= EdocVersion %>'></script>
    <%--<script type="text/javascript" src='http://192.168.1.19:3000/main.min.js'></script>--%>

    <script>
        document.addEventListener("DOMContentLoaded", function () {
            // Change active in starttab
            Array.from(document.querySelectorAll(".skjema-admin__start-bar__anchor")).forEach(function (link) {
                link.classList.remove("skjema-admin__start-bar__anchor--active");
                if (link.innerHTML.indexOf("Saksbehandler") !== -1) {
                    link.classList.add("skjema-admin__start-bar__anchor--active");
                }
            });
        });
    </script>
      
</asp:Content>