- ID de l'analyse :
- d55e9b90-f9fc-408a-b068-5aa936694d8dTerminée
- URL soumise :
- https://pafwa.cyberasol.com/
- Fin du rapport :
Liens : 1 trouvé(s)
Liens sortants identifiés à partir de la page
Lien | texte |
---|---|
https://www.youtube.com/watch?v=RYDoXGWci78 |
Variables JavaScript : 32 trouvée(s)
Les variables JavaScript globales chargées dans l'objet fenêtre d'une page sont des variables déclarées en dehors des fonctions et accessibles depuis n'importe quel endroit du code au sein du champ d'application actuel
Nom | Type |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
cclickApp | object |
$ | function |
jQuery | function |
Popper | function |
bootstrap | object |
BaseURL | string |
AjaxGenericMethod | function |
Messages de journal de console : 1 trouvé(s)
Messages consignés dans la console web
Type | Catégorie | Enregistrement |
---|---|---|
verbose | dom |
|
HTML
Le corps HTML de la page en données brutes
<!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 = '638702853169602533';
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>