or
<
div
data-role
=
"modalview"
id
=
"popup-window"
data-width
=
"900"
data-height
=
"600"
data-modal
=
"false"
>
<
iframe
src
=
"http://www.apple.com"
style
=
"width:900px;height:600px"
></
iframe
>
</
div
>
<
ul
data-role
=
"listview"
data-type
=
"group"
id
=
"itemListView"
data-click
=
"listViewClick"
data-style
=
"inset"
>
<
li
><
label
class
=
"km-listview-label"
><
textarea
id=${idval}
onfocus
=
"clearArea(this);"
style
=
"width:100%;height: 100px;"
maxlength
=
"150"
>input answer</
textarea
></
label
></
li
>
<
li
><
label
class
=
"km-listview-label"
><
textarea
id=${idval}
onfocus
=
"clearArea(this);"
style
=
"width:100%;height: 100px;"
maxlength
=
"150"
>input answer</
textarea
></
label
></
li
>
<
li
><
label
class
=
"km-listview-label"
><
textarea
id=${idval}
onfocus
=
"clearArea(this);"
style
=
"width:100%;height: 100px;"
maxlength
=
"150"
>input answer</
textarea
></
label
></
li
>
<
li
><
label
class
=
"km-listview-label"
><
textarea
id=${idval}
onfocus
=
"clearArea(this);"
style
=
"width:100%;height: 100px;"
maxlength
=
"150"
>input answer</
textarea
></
label
></
li
>
<
li
><
label
class
=
"km-listview-label"
><
textarea
id=${idval}
onfocus
=
"clearArea(this);"
style
=
"width:100%;height: 100px;"
maxlength
=
"150"
>input answer</
textarea
></
label
></
li
>
<
li
><
label
class
=
"km-listview-label"
><
textarea
id=${idval}
onfocus
=
"clearArea(this);"
style
=
"width:100%;height: 100px;"
maxlength
=
"150"
>input answer</
textarea
></
label
></
li
>
</
ul
>
<
div
data-role
=
"modalview"
id
=
"submitDialog"
style
=
"width: 40%; height: 13em;"
>
<
div
data-role
=
"header"
class
=
"navbarStyle"
>
<
div
data-role
=
"navbar"
><
h3
>info</
h3
></
div
>
</
div
>
<
div
style
=
"margin:.5em auto; text-align: center;font-size: 1.6em;"
id
=
"subcontent"
>submit ok</
div
>
<
div
style
=
"margin:0 auto; text-align: center;font-size: 1.3em; padding-top:0.5em;"
>
<
a
data-click
=
"closeSubmitDialog"
type
=
"button"
data-role
=
"button"
style
=
"width:8em;background-color:#06b375;color:#ffffff;"
>Enter</
a
>
</
div
>
</
div
>
function
openSubmitDailog(msg){
if
(MYAPP.dialogOPEN==
false
){
MYAPP.dialogOPEN=
true
;
var
modalView=$(
"#submitDialog"
).data(
"kendoMobileModalView"
);
modalView.open();
if
(msg)
$(
"#subcontent"
).html(msg);
}
}
function
closeSubmitDialog(){
//setTimeout(function(){
var
modalView=$(
"#submitDialog"
).data(
"kendoMobileModalView"
);
modalView.close();
MYAPP.dialogOPEN=
false
;
if
(MYAPP.status==8){
init();
}
else
if
(MYAPP.status==4){
MYAPP.app.navigate(
"#loginpage"
);
}
//return;
//},100);
}
function
dataHide(e) {
var
div = $(
'#'
+ e.view.content.context.id);
if
(div) div.remove();
e.view.destroy();
}
<
div
data-role
=
"modalview"
id
=
"MessageBeforeEnteringWebRes"
style
=
"padding:0.25em 1em 1em 1em;min-height:5em;max-height:20em;height:auto;"
>
<
div
data-role
=
"header"
style
=
"border-bottom:1px solid #ccc"
class
=
"marginbottom1"
><
span
>@Model.CurrentContext.Club.ClubName</
span
></
div
>
<
div
style
=
"overflow:scroll; -webkit-overflow-scrolling:touch; max-height:8em;"
class
=
"marginbottom1"
>
@MvcHtmlString.Create(Model.CurrentContext.Club.MessagesSettings.MessageBeforeEnteringWebRes)
</
div
>
@if (Model.CurrentContext.Club.MessagesSettings.AllowUserToDisableMessagesBeforeEnteringWebRes.ToString().ToLower() == "true")
{
<
div
id
=
"UserEditDisableMessage"
style
=
"padding-left:0.5em;"
class
=
"marginbottom1"
>
<
label
for
=
"DoNotDisplayMessage"
><
input
type
=
"checkbox"
id
=
"DoNotDisplayMessage"
style
=
"padding-right: 0.5em"
/>Disable messages for future visits.</
label
>
</
div
>
}
<
div
class
=
"center marginbottom1"
><
input
value
=
"OK"
id
=
"btnDoNotDisplayMessage"
onclick
=
"onOKDoNotDisplayMessage()"
class
=
"button button1"
type
=
"button"
style
=
"width:5em"
/></
div
>
</
div
>
<
div
style
=
"overflow:scroll; -webkit-overflow-scrolling:touch; max-height:8em;"
class
=
"marginbottom1"
>
@MvcHtmlString.Create(Model.CurrentContext.Club.MessagesSettings.MessageBeforeEnteringWebRes)
</
div
>