﻿using System;
using System.Collections.Generic;
using MrCMS.Entities.Documents;
using MrCMS.Entities.Documents.Metadata;
using MrCMS.Web.Apps.Core.Pages;

namespace MrCMS.Web.Apps.Core.Metadata
{
    public class ForgottenPasswordPageMetadata : DocumentMetadataMap<ForgottenPasswordPage>
    {
        public override string IconClass
        {
            get { return "glyphicon glyphicon-user"; }
        }

        public override string WebGetController
        {
            get { return "Login"; }
        }

        public override string WebPostController
        {
            get { return "Login"; }
        }

        public override string WebGetAction
        {
            get { return "ForgottenPassword"; }
        }

        public override string WebPostAction
        {
            get { return "ForgottenPassword"; }
        }

        public override IEnumerable<Type> ChildrenList
        {
            get { yield break; }
        }

        public override ChildrenListType ChildrenListType
        {
            get { return ChildrenListType.WhiteList; }
        }
    }
}