@page
@model Admin.Pages.Config.MetaModel

@{
    ViewData["Title"] = "메타 태그";
}

<div class="container">
    <h3>@ViewData["Title"]</h3>
    <hr />

    <div asp-validation-summary="ModelOnly" class="text-danger"></div>
    <partial name="_StatusMessage" />

    <form name="f_admin_write" id="fAdminWrite" method="post" autocomplete="off" accept-charset="UTF-8">
        <div class="row mb-2">
            <label asp-for="Input.Meta.Keywords" class="col-sm-2 col-form-label">Meta Keywords</label>
            <div class="col-sm-10">
                <input asp-for="Input.Meta.Keywords" class="form-control" maxlength="255" />
                <div class="form-text text-muted">검색엔진 키워드</div>
            </div>
        </div>

        <div class="row mb-2">
            <label asp-for="Input.Meta.Description" class="col-sm-2 col-form-label">Meta Description</label>
            <div class="col-sm-10">
                <input asp-for="Input.Meta.Description" class="form-control" maxlength="255" />
                <div class="form-text text-muted">사이트 설명</div>
            </div>
        </div>

        <div class="row mb-2">
            <label asp-for="Input.Meta.Author" class="col-sm-2 col-form-label">Meta Author</label>
            <div class="col-sm-10">
                <input asp-for="Input.Meta.Author" class="form-control" maxlength="255" />
                <div class="form-text text-muted">사이트 제작자</div>
            </div>
        </div>

        <div class="row mb-2">
            <label asp-for="Input.Meta.Viewport" class="col-sm-2 col-form-label">Meta Viewport</label>
            <div class="col-sm-10">
                <input asp-for="Input.Meta.Viewport" class="form-control" maxlength="255" />
                <div class="form-text text-muted">페이지 크기와 비율 지정</div>
            </div>
        </div>

        <div class="row mb-2">
            <label asp-for="Input.Meta.ApplicationName" class="col-sm-2 col-form-label">Meta Application Name</label>
            <div class="col-sm-10">
                <input asp-for="Input.Meta.ApplicationName" class="form-control" maxlength="255" />
                <div class="form-text text-muted">프로그램 이름</div>
            </div>
        </div>

        <div class="row mb-2">
            <label asp-for="Input.Meta.Generator" class="col-sm-2 col-form-label">Meta Generator</label>
            <div class="col-sm-10">
                <input asp-for="Input.Meta.Generator" class="form-control" maxlength="255" />
                <div class="form-text text-muted">
                    문서 작성에 사용한 저작 도구를 지정, 저작자가 저작 도구를 사용하지 않고 직접 작성한 때에는 이 속성값을 사용하지 않음
                </div>
            </div>
        </div>

        <div class="row mb-2">
            <label asp-for="Input.Meta.Robots" class="col-sm-2 col-form-label">Meta Robots</label>
            <div class="col-sm-10">
                <input asp-for="Input.Meta.Robots" class="form-control" maxlength="255" />
                <div class="form-text text-muted">협조적인 크롤러, 또는 "로봇"의 동작을 지정</div>
            </div>
        </div>

        <div class="row mb-2">
            <label asp-for="Input.Meta.Adds" class="col-sm-2 col-form-label">Meta Adds</label>
            <div class="col-sm-10">
                <textarea asp-for="Input.Meta.Adds" class="form-control" rows="6" maxlength="1000"></textarea>
                <div class="form-text text-muted">직접 추가할 메타 태그를 작성합니다.</div>
            </div>
        </div>

        <hr />
        <div class="row">
            <div class="col text-center p-3">
                <button type="submit" class="btn btn-success">저장하기</button>
            </div>
        </div>

        <br />
    </form>
</div>

@section Scripts {
    @{

    }
}