Commit 88b3ee4341511583465a75d6b7cfb9186b0ea26b

Authored by Utkarsh Singh
1 parent e96dda06

Committed code. refs: #15245, 15885

400-SOURCECODE/AIAHTML5.Web/index.html
... ... @@ -1164,6 +1164,57 @@
1164 1164 </div>
1165 1165 </div>
1166 1166  
  1167 + <!--Admin Form (Under Process)-->
  1168 + <div class="modal fade ui-draggable in" id="adminModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" style="padding-left: 17px; ">
  1169 + <div class="modal-dialog" role="document">
  1170 + <div class="modal-content">
  1171 + <div class="modal-header ui-draggable-handle" style="color: #e5e5e5;"> <!--bg-primary-->
  1172 + <button type="button" class="close" data-dismiss="modal" aria-label="Close" id="btnCloseAAModal" ng-click="CloseAAModal()"><span aria-hidden="true">×</span></button>
  1173 + <h5 class="text-left lhgt19 padd5" style="color:red; text-align:left;">*This module is not yet available to use, please fill in the form with complete details, a support request will be submitted to ADAM Education Sales and Support team. If needed someone from ADAM team will contact you ASAP.</h5>
  1174 + </div>
  1175 + <div class="modal-body">
  1176 + <div class="panel-body">
  1177 + <!-- form -->
  1178 + <form class="form-horizontal" name="adminAccessRequestForm">
  1179 + <div class="form-group">
  1180 + <label for="inputEmail3" class="col-sm-3 control-label">First Name :</label>
  1181 + <div class="col-sm-8">
  1182 + <input class="form-control" id="adminfName" placeholder="" ng-model=" userinfo.firstname" ng-readonly="true">
  1183 + </div>
  1184 + </div>
  1185 + <div class="form-group">
  1186 + <label for="inputPassword3" class="col-sm-3 control-label">Last Name :</label>
  1187 + <div class="col-sm-8">
  1188 + <input class="form-control" id="adminlName" placeholder="" type="text" ng-model="userInfo.lastName" ng-readonly="true">
  1189 + </div>
  1190 + </div>
  1191 + <div class="form-group">
  1192 + <label for="inputPassword3" class="col-sm-3 control-label">Email Id <span class="red">*</span> :</label>
  1193 + <div class="col-sm-8">
  1194 + <input class="form-control" id="adminEmailId" placeholder="" type="text" ng-model="userInfo.emailId" ng-readonly="true">
  1195 + </div>
  1196 + </div>
  1197 + <div class="form-group">
  1198 + <label for="inputPassword3" class="col-sm-3 control-label">Message <span class="red">*</span> :</label>
  1199 + <div class="col-sm-8">
  1200 + <textarea name="adminAccessTextArea" class="form-control" rows="3" placeholder="Message" ng-model="userInfo.userMessage" required></textarea> <!--ng-show="!adminRequestTextArea.length-->
  1201 + <span id="spnError" style="color: maroon; font-weight:bold" ng-show="adminAccessRequestForm.adminAccessTextArea.$invalid">Message required.</span>
  1202 + </div>
  1203 + </div>
  1204 + <div class="form-group">
  1205 + <div class="col-sm-offset-3 col-sm-8 mar-top17">
  1206 + <button type="button" class="btn btn-primary btn-sm" ng-click="adminAccessRequestForm.$valid && SendAdminAccessRequestMail(userInfo)" data-toggle="modal" data-target="#mymodal"><i class="fa fa-check"></i> Submit</button>
  1207 + </div>
  1208 +
  1209 + </div>
  1210 + </form>
  1211 + </div>
  1212 + </div>
  1213 +
  1214 + </div>
  1215 + </div>
  1216 + </div>
  1217 +
1167 1218 <script>
1168 1219  
1169 1220 function enableDisableFillOption() {
... ... @@ -1293,6 +1344,7 @@
1293 1344 <script src="app/controllers/HomeController.js"></script>
1294 1345 <script src="app/controllers/LinkController.js"></script>
1295 1346 <script src="app/services/AuthenticationService.js"></script>
  1347 + <script src="app/services/AdminService.js"></script>
1296 1348  
1297 1349 <script src="app/services/DataService.js"></script>
1298 1350 <script src="libs/jquery/jquery_plugin/jqueryui.js"></script>
... ...