Source

main-vinayFork / Source / WebClient / Web.Client / Views / Document / CitationTab.cshtml

Full commit
@model DataUp.Web.Client.ViewModel.DocumentDetailViewModel
@{
    ViewBag.Title = "generate citation";
}
<div class="screenInfoBox">
    <p>Steps :<br />
        1. Retrieve an identifier from the repository for your dataset<br />
        (Read this important information about your unique identifier <label title="A unique identifier is critical for citing and locating data sets.Your repository will provide you with an identifier when you click 'Retrieve an identifier'. If you have not yet clicked this button for this data file, you must do so to obtain a unique identifier. If your data file is a more recent version of an existing file that already has an identifier,the same identifier should be used for both versions. Be sure that the identifier for your data file has been generated specifically for that data file. If you have not yet clicked this button for this data file, you must do so to obtain a unique identifier. If your data file is a more recent version of an existing data file that already has an identifier,the same identifier should be used for both versions.Be sure that the identifier for your data file has been generated specifically for that data file."><i style="cursor:hand;">here</i></label>)<br />
        2. Check the rest of the information below for accuracy<br />
        3. Make any necessary changes or edits to the information<br />
        4. Click 'Generate Citation' to create your data citation<br />
        <span class="mandatory getIdentifierHelp">Please Click on Retrieve an identifier if you need get a new identifier for this document.</span></p>
</div>

<div class="docMetadataItmHolder">
    <div class="docMetadataElemHolder">
        <label title="This will be provided by the repository"> @Html.LabelFor(m => m.Citation.Identifier)</label>
        @Html.TextBoxFor(m => m.Citation.Identifier, new { maxlength = 50, id = "txtGetIdentifier", disabled = "disabled" })
        @Html.HiddenFor(m => m.Citation.Identifier, new { id = "hiddenGetIdentifier" })
        <input type="button" value="Retrieve an identifier" class="lFloat btnCard getIdentifierButton" />
    </div>
    <div class="docMetadataElemHolder">
        <label title="Year data are being submitted (usually the current year)."> @Html.LabelFor(m => m.Citation.PublicationYear)</label>
        @Html.TextBoxFor(m => m.Citation.PublicationYear, new { maxlength = 50, id = "citationPublicationYear" })
    </div>
    <div class="docMetadataElemHolder">
        <label title="Use a distinct title for the dataset that identifies its contents"> @Html.LabelFor(m => m.Citation.Title)</label>
        @Html.TextBoxFor(m => m.Citation.Title, new { maxlength = 500, id = "citationTitle" })
    </div>
    <div class="docMetadataElemHolder">
        <label title="If this is a new submission, the version number is 1. Updated versions should be sequentially ordered.">@Html.LabelFor(m => m.Citation.Version)</label>
        @Html.TextBoxFor(m => m.Citation.Version, new { maxlength = 50 })
    </div>
    <div class="docMetadataElemHolder">
        <label title="List dataset authors, last name first."> @Html.LabelFor(m => m.Citation.Publisher)</label>
        @Html.TextBoxFor(m => m.Citation.Publisher, new { maxlength = 200, id = "citationPublisher" })
    </div>
    <div class="docMetadataElemHolder">
       <label title="A complete citation will be generated for the dataset, including the persistent identifier that was assigned by the repository."> @Html.LabelFor(m => m.Citation.Citation)</label>
        @Html.TextAreaFor(m => m.Citation.Citation, new { maxlength = 2000, id = "txtCitation", @readonly = "readonly" })
        @Html.HiddenFor(m => m.Citation.Citation, new { id = "hiddenCitation" })
        
        <input id="updateCitation" type="button" class="lFloat btnCitation" value="Generate Citation" />

    </div>
</div>