93 lines
3.7 KiB
Plaintext
93 lines
3.7 KiB
Plaintext
@model Model_Account
|
|
@inject SaxLocaliser Localiser
|
|
|
|
<div class="sax-panel-section ProfileSports sax-populating">
|
|
|
|
<div class="sax-panel-info">
|
|
|
|
<div class="sax-header">
|
|
<div class="row">
|
|
<div class="col"><div class="sax-caption">@Localiser["account.caption.profile.sports"]</div></div>
|
|
<div class="fixed">
|
|
<div class="sax-action sax-add"><img src="~/img/action/add24.png" alt="@(Localiser["label.add"])" title="@(Localiser["label.add"])" /></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="sax-content">
|
|
<div class="sax-panel-results ProfileSports">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="sax-panel-item-template">
|
|
<div class="sax-panel-item ProfileSport">
|
|
<div class="sax-header row">
|
|
<div class="col"><div class="SportName"></div></div>
|
|
<div class="fixed">
|
|
<div class="sax-action sax-edit"><img src="~/img/action/edit24.png" alt="@(Localiser["label.update"])" title="@(Localiser["label.update"])" /></div>
|
|
</div>
|
|
</div>
|
|
<div class="sax-content">
|
|
<div class="row">
|
|
<div class="col-sm-6 SportParticipation sax-note">@Localiser["label.participation"]: <span class="SportParticipationValue"></span></div>
|
|
<div class="col-sm-6 SportOfficiating sax-note">@Localiser["label.officiating"]: <span class="SportOfficiatingValue"></span></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@using (Html.BeginForm(FormMethod.Post, new { @id = "frmProfileSportId", @class = "sax-form", @onSubmit = "return false;" }))
|
|
{
|
|
@Html.HiddenFor(model => model.UserSportId, new { @id = "", @class = "UserSportId" })
|
|
}
|
|
|
|
<div id="dlgProfileSport" class="sax-dialog">
|
|
|
|
@using (Html.BeginForm(FormMethod.Post, new { @id = "frmProfileSport", @class = "sax-form", @onSubmit = "return false;" }))
|
|
{
|
|
<input type="hidden" class="UserSportId" name="UserSportId" />
|
|
<input type="hidden" class="ProfileSportExists" name="ProfileSportExists" />
|
|
|
|
@* Sport *@
|
|
<div class="sax-form-control ProfileSportId">
|
|
<div class="sax-label">
|
|
<label for="ifProfileSport"><span><span class="required">*</span> @Localiser["label.sport"]</span></label>
|
|
</div>
|
|
<div class="sax-control row">
|
|
<input type="hidden" id="ifProfileSportId" class="ProfileSportId" name="ProfileSportId" />
|
|
<div class="col"><input type="text" id="ifProfileSport" class="ProfileSport sax-input" name="ProfileSport" readonly="readonly" maxlength=128 /></div>
|
|
<div class="fixed"><button id="pbSelectSport" class="sax-button" style="min-width:auto;margin-left:4px;padding:4px 6px" onclick="sax.selectUserSport()">@Localiser["label.select"]</button></div>
|
|
</div>
|
|
<div class="sax-message"></div>
|
|
</div>
|
|
|
|
@* Sport Participation *@
|
|
<div class="sax-form-control ProfileSportParticipation">
|
|
<div class="sax-label">
|
|
<label for="cbProfileSportParticipation"><span><span class="required">*</span> @Localiser["label.participation"]</span></label>
|
|
</div>
|
|
<div class="sax-control">
|
|
@Html.DropDownListFor(model => model.ProfileSportParticipationCode, Model.SportParticipationCodesForSelect, "", new { @id = "cbProfileSportParticipation", @class = "ProfileSportParticipation sax-select" })
|
|
</div>
|
|
<div class="sax-message"></div>
|
|
</div>
|
|
|
|
@* Sport Officiating *@
|
|
<div class="sax-form-control ProfileSportOfficiating">
|
|
<div class="sax-label">
|
|
<label for="cbProfileSportOfficiating"><span><span class="required">*</span> @Localiser["label.officiating"]</span></label>
|
|
</div>
|
|
<div class="sax-control">
|
|
@Html.DropDownListFor(model => model.ProfileSportOfficiatingCode, Model.SportOfficiatingCodesForSelect, "", new { @id = "cbProfileSportOfficiating", @class = "ProfileSportOfficiating sax-select" })
|
|
</div>
|
|
<div class="sax-message"></div>
|
|
</div>
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
</div>
|