harshanl 8 years ago
commit c8d9f7b4ac

@ -46,7 +46,7 @@
"keyStoreName" : "/repository/resources/security/wso2carbon.jks"
},
"generalConfig" : {
"host" : "%https.ip%",
"host" : "%http.ip%",
"companyName" : "WSO2 Enterprise Mobility Manager",
"browserTitle" : "WSO2 EMM",
"copyrightText" : "\u00A9 %date-year%, WSO2 Inc. (http://www.wso2.org) All Rights Reserved."

@ -43,25 +43,34 @@ under the License. --}}
{{defineZone "topJs"}}
</head>
<body>
<div class="container col-lg-12 col-md-12 col-sm-12">
<header>
<div class="row wr-global-header">
<header class="header header-default">
<div class="container-fluid ">
<div class="col-sm-8 app-logo">
{{defineZone "brand"}}
</div>
</div>
</header>
<div class="container c-both">
</header>
<div class="page-content-wrapper">
<div class="container-fluid ">
<div class="body-wrapper">
<div class="wr-head">
<h2>{{defineZone "headerTitle"}}</h2>
<h2>{{defineZone "headerTitle" }}</h2>
<hr>
</div>
<!-- start: zone-content-->
{{defineZone "content"}}
<!-- end: zone-content-->
</div>
{{!-- {{ defineZone "footer"}} --}}
</div>
</div>
</div>
<footer class="footer">
<div class="container-fluid">
{{defineZone "footer"}}
</div>
</footer>
{{defineZone "bottomJs" }}
</body>
</html>

@ -36,7 +36,7 @@ under the License. --}}
currentStepIndex = 0
}}
<div class="row">
<div class="container col-md-4 wr-text">
<div class="col-md-4 wr-text">
If you have not already enrolled this device with {{companyName}},
Download and install following EMM Agent to continue.
<div class="wr-buttons">

@ -23,7 +23,9 @@ function onRequest(context) {
var viewModel = {};
// setting android agent download URL
viewModel.agentDownloadURL = context.page.publicUri + "/asset/" + mdmProps["androidAgentApp"];
// Needs host=>http:9763 since self-signed certificates won't allow downloads in android
//TODO: try to retrieve page name from UUF
viewModel.agentDownloadURL = mdmProps["generalConfig"]["host"] + mdmProps["appContext"] + "public/mdm.page.enrollments.android.agent.download/asset/" + mdmProps["androidAgentApp"];
var companyProps = session.get("COMPANY_DETAILS");
if (!companyProps) {
viewModel.companyName = mdmProps.generalConfig.companyName;

@ -38,7 +38,7 @@ under the License. --}}
currentStepIndex = 0
}}
<div class="row">
<div class="container col-md-4 wr-text">
<div class="col-md-4 wr-text">
If you have not already enrolled this device with {{companyName}},
Install following EMM Certificate and Agent to continue.
<div class="wr-buttons">

@ -150,7 +150,7 @@ body {
font-size: 14px;
margin:0;
padding:0;
height: 100%;
/*height: 100%;*/
}
.container {
@ -262,10 +262,8 @@ header {
.footer {
height: 40px;
background-color: #222;
padding-top:5px;
color:#fff;
font-weight: 500;
padding-left:20px;
font-size:12px;
letter-spacing: 1px;
position:absolute;
@ -274,7 +272,6 @@ header {
}
.footer p {
padding-top: 5px;
margin: 0;
}

Loading…
Cancel
Save