- 扫描 ID:
- 6def421f-842e-4e3d-8986-238c530f2c8d已完成
- 提交的 URL:
- https://pafwa.cyberasol.com/
- 报告完成时间:
链接 · 找到 1 个
从页面中识别出的传出链接
链接 | 文本 |
---|---|
https://www.youtube.com/watch?v=RYDoXGWci78 |
JavaScript 变量 · 找到 32 个
在页面窗口对象上加载的全局 JavaScript 变量是在函数外部声明的变量,可以从当前范围内的代码中的任何位置访问
名称 | 类型 |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
cclickApp | object |
$ | function |
jQuery | function |
Popper | function |
bootstrap | object |
BaseURL | string |
AjaxGenericMethod | function |
控制台日志消息 · 找到 1 条
记录到 Web 控制台的消息
类型 | 类别 | 记录 |
---|---|---|
verbose | dom |
|
HTML
页面的原始 HTML 正文
<!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" href="/NewContent/assets/images/favicon-32x32.png" type="image/x-icon">
<title>PAFWA</title>
<link href="/NewContent/assets/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- add icon link -->
<link href="/NewContent/assets/css/glightbox.min.css" rel="stylesheet">
<link href="/NewContent/assets/css/app.css" rel="stylesheet">
<meta http-equiv="Content-Security-Policy" content="form-action 'self';">
</head>
<body class="bimage1">
<script>
window.cclickApp = {};
cclickApp.ApiURL = 'https://pafwaapi.cyberasol.com/api/';
cclickApp.Company = '';
cclickApp.Webroot = '/';
cclickApp.AjaxTimeOut = 600000; // 10 Minutes in mili seconds , 1000 = 1 Sescond
cclickApp.VersionNumber = '638704754610747309';
cclickApp.Token = "";
</script>
<main class="main-wrapper">
<section class="login-section">
<div class="container-fluid">
<div class="row">
<div class="col-lg-4">
</div>
<div class="col-lg-8">
<form class="row form-setting">
<div class="offset-lg-1 col-lg-10 offset-lg-1">
<div class="form-title-wrapper">
<h4>School Management Software</h4>
<p>Login Page</p>
</div>
</div>
<div class="offset-lg-1 col-lg-10 offset-lg-1">
<div class="omrs-input-group">
<label class="omrs-input-underlined">
<input type="text" required="" class="txtUserName" value="">
<span class="omrs-input-label">Username</span>
<!--?xml version="1.0" encoding="UTF-8" standalone="no" ?-->
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" id="svg10" version="1.1" viewBox="0 0 25 25" height="25" width="25">
<metadata id="metadata14">
<rdf:rdf>
<cc:work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"></dc:type>
</cc:work>
</rdf:rdf>
</metadata>
<defs id="defs4">
<style id="style2">
.a {
fill: #323232;
fill-rule: evenodd;
}
</style>
</defs>
<g id="g8" transform="translate(0 -4.5)">
<path id="path6" d="M2.083,29.5A2.04,2.04,0,0,1,0,27.417c0-2.083,2.083-8.333,12.5-8.333S25,25.333,25,27.417A2.04,2.04,0,0,1,22.917,29.5ZM12.5,17a6.25,6.25,0,1,0-6.25-6.25A6.25,6.25,0,0,0,12.5,17Z" class="person-here"></path>
</g>
</svg>
</label>
</div>
</div>
<div class="offset-lg-1 col-lg-10 offset-lg-1">
<div class="omrs-input-group">
<label class="omrs-input-underlined">
<input type="password" required="" id="password-field" class="txtPassword" value="">
<span class="omrs-input-label">Password</span>
<div class="eye-img">
<span toggle="#password-field" class="fa fa-fw fa-eye field-icon toggle-password"></span>
</div>
<!--?xml version="1.0" encoding="UTF-8" standalone="no" ?-->
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" id="svg12" version="1.1" viewBox="0 0 19.795 26.994" height="26.994" width="19.795">
<metadata id="metadata16">
<rdf:rdf>
<cc:work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"></dc:type>
</cc:work>
</rdf:rdf>
</metadata>
<defs id="defs4">
<style id="style2">
.lock-here {
fill: #323232;
}
.b {
fill: #fff;
}
</style>
</defs>
<g id="g10" transform="translate(-1481 -823)">
<path id="path6" transform="translate(1475.375 821.875)" d="M21.821,11.023h-9.9v-4.5a3.6,3.6,0,1,1,7.2,0,.9.9,0,0,0,1.8,0,5.4,5.4,0,1,0-10.8,0v4.5h-.9a3.6,3.6,0,0,0-3.6,3.6v9.9a3.6,3.6,0,0,0,3.6,3.6h12.6a3.6,3.6,0,0,0,3.6-3.6v-9.9A3.6,3.6,0,0,0,21.821,11.023Z" class="lock-here"></path>
<circle id="circle8" transform="translate(1488.706 839.381)" r="2.307" cy="2.307" cx="2.307" class="b"></circle>
</g>
</svg>
</label>
</div>
</div>
<div class="offset-lg-1 col-lg-10 offset-lg-1">
<div class="login-btn">
<a href="javacsript:void(0)" onclick="return ValidateEntityCode()">Login</a>
</div>
</div>
<div style="position: absolute; top: 10px;right: 10px;">
<a class="btn-player btn-primary-play btn-round-play btn-ripple-play align-middle d-inline-block glightbox3" href="https://www.youtube.com/watch?v=RYDoXGWci78"> <i class="fa fa-play"></i></a>
<div class="align-middle d-inline-block">
<h5 style="margin-bottom: 0px; margin-top: 0px; font-size:14px;">How Login Works</h5>
<p style="margin-bottom: 0px; margin-top: 3px;">00:10 Sec</p>
</div>
</div>
</form>
</div>
</div>
<div class="side-img-main">
<img src="/NewContent/assets/images/login-imgs/left-side-img-2.png" class="img-fluid">
</div>
</div>
</section>
<div class="footer-wrapper">
<div class="footer-postion-holder">
<div class="footer-logo">
<img src="/NewContent/assets/images/login-imgs/CAS Logo.svg" class="img-fluid">
</div>
<div class="footer-content">
<h6>Cyber Advance Solutions (PVT.) LTD.</h6>
<p><span><i class="fa fa-envelope"></i></span>[email protected]</p>
</div>
</div>
</div>
</main>
<div class="modal fade" id="AssignSchoolsListModel" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="cam-shadow modal-content modelcontentctrl">
<div class="modal-header modelheaderctrl">
<h5 class="modal-title modeltitlectrl" id="exampleModalLongTitle">Schools</h5>
<button type="button" class="close modelclosectrl" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body modelbodyctrl">
<div class="row">
<div class="col-lg-12">
<div class="form-group grpctrl chosenValid">
<label class="labelctrl">Schools</label>
<select id="ddlSchools" class="form-control chosen ddlssctrl ddlSchools cursor">
<option value="0"> Select School</option>
</select>
</div>
</div>
</div>
</div>
<div class="modal-footer modelfooterctrl">
<button type="button" id="btnSave" class="btn btn-primary modelsavebtnctrl" onclick="return Login();">Login</button>
<button type="button" class="btn btn-secondary modelclosebtnctrl" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="AssignSchoolsListModel2" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="cam-shadow modal-content modelcontentctrl">
<div class="modal-header modelheaderctrl">
<h5 class="modal-title modeltitlectrl" id="exampleModalLongTitle">Schools</h5>
<button type="button" class="close modelclosectrl" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body modelbodyctrl">
<div class="row">
<div class="col-lg-12">
<div class="form-group grpctrl chosenValid">
<label class="labelctrl">Schools</label>
<select id="ddlAssignedSchools" class="form-control ddlssctrl ddlAssignedSchools">
<option value="0"> Select School</option>
</select>
</div>
</div>
</div>
</div>
<div class="modal-footer modelfooterctrl">
<button type="button" id="btnSave" class="btn btn-primary modelsavebtnctrl" onclick="return Login();">Login</button>
<button type="button" class="btn btn-secondary modelclosebtnctrl" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script src="/NewContent/assets/js/jquery.min.js"></script>
<script src="/NewContent/assets/js/popper.min.js"></script>
<script src="/NewContent/assets/js/bootstrap.min.js"></script>
<script src="/JsCss/common/commonjs.js"></script>
<script src="/NewContent/assets/js/glightbox.min.js">
</script>
<script type="text/javascript">
$(".toggle-password").click(function () {
$(this).toggleClass("fa-eye fa-eye-slash");
var input = $($(this).attr("toggle"));
if (input.attr("type") == "password") {
input.attr("type", "text");
} else {
input.attr("type", "password");
}
});
function ValidateEntityCode()
{
var EntityCode = $('.txtEntityCode').val();
var UserId = $('.txtUserName').val();
var Password = $('.txtPassword').val();
var RememberMe = $('#rememberMe').is(":checked");
var UserIdentification = {};
UserIdentification.UserId = UserId;
UserIdentification.Password = Password;
UserIdentification.EntityCode = EntityCode;
UserIdentification.RememberMe = RememberMe;
$.ajax({
url: cclickApp.Webroot + 'Home/ValidateEntityCode',
type: 'POST',
data: JSON.stringify(UserIdentification),
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (data)
{
debugger;
var Id = data.Id;
if ($.isNumeric(Id) && parseInt(Id) > 0)
{
var school = data.Schools;
var options = '';
if (data.Schools != null && data.Schools != "")
{
$.each(data.Schools, function (key, item) {
var schoolId = item.SchoolId;
var schoolName = item.SchoolTypeName;
options += '<option value="' + schoolId + '">' + schoolName + '</option>';
});
$('#ddlSchools').html('');
$('#ddlSchools').append('<option value="0"> Select School</option>');
$('#ddlSchools').append(options);
$('#AssignSchoolsListModel').modal('show');
options = '';
}
}
else
{
alert('Invalid User Name/Password/Code');
}
},
failure: function (response) {
alert(response.responseText);
},
error: function (response) {
alert(response.responseText);
}
});
}
function AuthenticateUserCall() {
var UserName = $('.txtUserName').val();
var Password = $('.txtPassword').val();
var EntityCode = $('.txtEntityCode').val();
var CompanyName = cclickApp.Company;
var UserIdentification = {};
UserIdentification.UserId = UserName;
UserIdentification.Password = Password;
UserIdentification.EntityCode = EntityCode;
UserIdentification.UC_CompanyName = CompanyName;
AjaxGenericMethod('AuthenticateUser', 'Common', UserIdentification).then(
function (data, status) {
// console.log('this will run if succeeds');
// alert(JSON.stringify(data));
// alert(JSON.stringify(status));
// alert(JSON.stringify(response));
var UserFullName = data.UC_UserFullName;
var User = data.UC_User;
var Id = data.UC_LoginUserId;
var UserPrivileges = data.UserPrivileges;
var isAdminUser = data.UC_isAdminUser;
if ($.isNumeric(Id) && parseInt(Id) > 0)
{
var webUserCredential = {};
webUserCredential.UserFullName = UserFullName;
webUserCredential.UserIdentity = User;
webUserCredential.Id = Id;
webUserCredential.UserPrivileges = UserPrivileges;
webUserCredential.isAdminUser = isAdminUser;
UpdateSession(webUserCredential);
}
else {
alert('Invalid User Name/Password/Code');
}
}, function () {
console.log('this will run if fails');
}, function () {
console.log('this will run if the deferred generates a progress update');
}
);
}
function UpdateSession(webUserCredential) {
//alert('here');
jQuery.ajax({
url: cclickApp.Webroot + 'Home/UpdateSession',
data: webUserCredential,
type: 'POST',
success: function (data)
{
// webUserCredential.ConnectionString = data.ConnectionString ;
}
}).then(
function ()
{
GetAssignedSchools(webUserCredential);
});
}
function GetAssignedSchools(webUserCredential) {
var CMS_EmployeeSchool_VM = {};
CMS_EmployeeSchool_VM.EmployeeId = webUserCredential.Id;
CMS_EmployeeSchool_VM.UC_User = webUserCredential.UserIdentity;
CMS_EmployeeSchool_VM.UC_DBConnectionString = webUserCredential.ConnectionString;
alert(webUserCredential.ConnectionString);
jQuery.ajax({
url: cclickApp.ApiURL + 'School/GetSchoolListByEmpID',
data: CMS_EmployeeSchool_VM,
type: 'POST',
success: function (data) {
var options = '';
if (data.EmployeeSchoolList != null && data.EmployeeSchoolList != "")
{
$.each(data.EmployeeSchoolList, function (key, item) {
if (item.EmployeeId > 0) {
var schoolId = item.SchoolId;
var schoolName = item.SchoolTypeName + ' - (' + item.SchoolCode + ')';
options += '<option value="' + schoolId + '">' + schoolName + '</option>';
}
});
$('#ddlSchools').html('');
$('#ddlSchools').append('<option value="0"> Select School</option>');
$('#ddlSchools').append(options);
$('#AssignSchoolsListModel').modal('show');
options = '';
}
else {
ShowErrorMessage(data.UC_Message);
}
}
});
}
function Login() {
var SchoolId = $('#ddlSchools').val();
var SchoolType = $('#ddlSchools :selected').text();
if (SchoolId > 0)
{
var url = '/Home/Dashboard' + '?Id=' + SchoolId + "&&schoolType=" + SchoolType;
window.location.href = url;
}
else
{
$('#ddlSchools').css("border","1px solid red");
}
}
</script>
<script>
var lightbox = GLightbox();
var lightboxVideo = GLightbox({
selector: '.glightbox3'
});
lightboxVideo.on('slide_changed', ({ prev, current }) => {
console.log('Prev slide', prev);
console.log('Current slide', current);
const { slideIndex, slideNode, slideConfig, player } = current;
if (player) {
if (!player.ready) {
player.on('ready', (event) => {
});
}
player.on('play', (event) => {
console.log('Started play');
});
player.on('volumechange', (event) => {
console.log('Volume change');
});
player.on('ended', (event) => {
console.log('Video ended');
});
}
});
</script>
</body></html>