Default.dothtml

75 lines | 5.372 kB Blame History Raw Download
@viewModel Web.ViewModels.DefaultViewModel, Web
@masterPage Views/Site.dotmaster

<dot:Content ContentPlaceHolderID="Body">
    <cl:WizardNavigation DataContext="{value:  Wizard}" NextButtonCommand="{command: _parent.OnNextClick()}" PreviousButtonCommand="{command: _parent.OnPreviousClick()}" />
    <div class="container mt-4">
        <div class="row">
            <div class="col-md-12">
                <div IncludeInPage="{value: Wizard.Step == 1}">
                    <div DataContext="{value: First}">
                        <cl:ConfirmationModal ButtonsOnly="false"
                                              CheckboxText="Do you wish to enable next button?"
                                              ModalHeader="Next Button"
                                              ModalText="{value: ConfirmationMessage}"
                                              ModalVisible="{value: ShowConfirmationModal}"
                                              SubmitButtonCommand="{command: OnConfirmationSubmitClick()}" />
                        <bs:Card>
                            <FooterTemplate>
                                <footer class="blockquote-footer">Charles Dickens: <cite title="Source Title">A Tale of Two Cities</cite></footer>
                            </FooterTemplate>
                            <bs:CardBody>
                                <blockquote class="blockquote">
                                    <p class="mb-0">
                                        It was the best of times, it was the worst of times, it was the age of
                                        wisdom, it was the age of foolishness, it was the epoch of belief, it was
                                        the epoch of incredulity, it was the season of Light, it was the season of
                                        Darkness, it was the spring of hope, it was the winter of despair, we had
                                        everything before us, we had nothing before us, we were all going direct
                                        to Heaven, we were all going direct the other way—in short, the period
                                        was so far like the present period, that some of its noisiest authorities
                                        insisted on its being received, for good or for evil, in the superlative
                                        degree of comparison only.
                                    </p>
                                </blockquote>
                                <%--<bs:CheckBox Checked="{value: IsNextEnabled}" Changed="{command: OnContinueChanged()}" IsInline="true" Text="Continue" />--%>
                                <bs:Button Click="{command: OnConfirmationShowClick()}" IncludeInPage="{value: !ShowConfirmationModal}" Text="Confirm" />
                            </bs:CardBody>
                        </bs:Card>
                    </div>
                </div>
                <div IncludeInPage="{value: Wizard.Step == 2}">
                    <div DataContext="{value: Second}">
                        <bs:Card>
                            <FooterTemplate>
                                <footer class="blockquote-footer">Herman Melville: <cite title="Source Title">Moby Dick</cite></footer>
                            </FooterTemplate>
                            <bs:CardBody>
                                <blockquote class="blockquote">
                                    <p class="mb-0">
                                        Call me Ishmael. Some years ago—never mind how long precisely—having little or
                                        no money in my purse, and nothing particular to interest me on shore, I thought
                                        I would sail about a little and see the watery part of the world. It is a way
                                        I have of driving off the spleen and regulating the circulation. Whenever I
                                        find myself growing grim about the mouth; whenever it is a damp, drizzly
                                        November in my soul; whenever I find myself involuntarily pausing before
                                        coffin warehouses, and bringing up the rear of every funeral I meet; and
                                        especially whenever my hypos get such an upper hand of me, that it requires a
                                        strong moral principle to prevent me from deliberately stepping into the street,
                                        and methodically knocking people’s hats off—then, I account it high time to get
                                        to sea as soon as I can. This is my substitute for pistol and ball. With a
                                        philosophical flourish Cato throws himself upon his sword; I quietly take to the
                                        ship. There is nothing surprising in this. If they but knew it, almost all men
                                        in their degree, some time or other, cherish very nearly the same feelings
                                        towards the ocean with me.
                                    </p>
                                </blockquote>
                            </bs:CardBody>
                        </bs:Card>
                    </div>
                </div>
            </div>
        </div>
    </div>
</dot:Content>