Initial Website Setup

This commit is contained in:
Starystars67
2020-11-19 00:31:33 +00:00
parent a4e3a3c2bf
commit 530cfae94d
27 changed files with 30663 additions and 0 deletions

10214
static/css/servers-styles.css Normal file

File diff suppressed because it is too large Load Diff

631
static/css/styles.css Normal file
View File

@@ -0,0 +1,631 @@
/* --------- NAVBAR // GLOBAL --------- */
* {
font-family: "Fira Sans", "Helvetica", Arial, sans-serif, serif;
box-sizing: border-box;
padding: 0;
margin: 0;
}
.container {
padding: 0 20px;
}
.mobile-container {
width: 250px;
max-width: 480px;
margin: auto;
background-color: rgb(236, 188, 132);
max-height: 500px;
color: white;
border-radius: 10px;
overflow: hidden;
z-index: 1000;
}
/*.topnav {*/
/* overflow: hidden;*/
/* position: relative;*/
/*}*/
/*.topnav #links {*/
/* display: none;*/
/*}*/
/*.topnav a {*/
/* color: white;*/
/* padding: 14px 16px;*/
/* text-decoration: none;*/
/* font-size: 17px;*/
/* display: hidden;*/
/*}*/
/*.topnav a.icon {*/
/* display: hidden;*/
/* position: absolute;*/
/* right: 0;*/
/* top: 0;*/
/*}*/
.nav {
position: fixed;
z-index: 100;
height: 80px;
font-weight: 400px;
overflow: visable;
background-color: rgb(236, 188, 132);
width: 100%;
line-height: 1;
transition: box-shadow .2s ease;
}
.nav .links{
display: flex;
height: 100%;
float: right;
}
.nav a {
color: #161923;
text-decoration: none;
transition: background-color .2s ease;
}
.nav .links li {
height: 100%;
padding-top: 20px;
list-style: none;
font-size: 16px;
}
/* li{
display: list-item;
text-align: -webkit-match-parent;
padding: 10px;
} */
nav li {
display: list-item;
text-align: -webkit-match-parent;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
padding-inline-start: 40px;
}
.logo-link {
display: flex;
height: 100%;
margin-left: -15px;
padding: 20px 15px;
align-items: center;
align-content: center;
}
.topnav {
display: none;
overflow: hidden;
position: relative;
}
.topnav #burger-links {
display: hidden;
}
.topnav a {
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
display: hidden;
}
.topnav a.icon {
display: hidden;
position: fixed;
right: 0;
top: 0;
}
.logo-text {
font-size: 20px;
margin-left: 15px;
}
.logo-image {
width: 200px;
height: 200px;
/*border-radius: 50%;*/
margin-top: -57px;
}
.burger-menu {
display: none;
}
@media screen and (max-width: 990px) {
.navbar-links {
display: none;
}
.burger-menu {
display: block;
margin-top: 25px;
float: right;
}
/*.topnav {*/
/* display: block;*/
/* overflow: hidden;*/
/* position: relative;*/
/*}*/
/*.topnav #myLinks {*/
/* display: hidden;*/
/*}*/
/*.topnav a {*/
/* padding: 14px 16px;*/
/* text-decoration: none;*/
/* font-size: 17px;*/
/* display: block;*/
/*}*/
/*.topnav a.icon {*/
/* display: block;*/
/* position: absolute;*/
/* right: 0;*/
/* top: 0;*/
/*}*/
}
@media screen and (max-width: 575px) {
.burger-menu {
display: block;
margin-top: -25px;
float: right;
}
}
@media screen and (max-width: 360px) {
.burger-menu {
display: block;
margin-top: -43%;
float: right;
}
}
@media screen and (max-width: 411px) {
.burger-menu {
display: block;
margin-top: -38%;
float: right;
}
}
@media screen and (max-width: 320px) {
.burger-menu {
display: block;
margin-top: -50%;
float: right;
}
}
@media screen and (max-width: 375px) {
.burger-menu {
display: block;
margin-top: -42%;
float: right;
}
}
@media screen and (max-width: 414px) {
.burger-menu {
display: block;
margin-top: -37%;
float: right;
}
}
@media screen and (max-width: 375px) {
.burger-menu {
display: block;
margin-top: -41%;
float: right;
}
}
@media screen and (max-width: 767px) {
.text {
display: none;
}
.logo-link {
display: flex;
height: 100%;
align-items: center;
align-content: center;
}
.logo-text {
margin: 0 auto;
}
}
/* ----------- IMAGE AND DOWNLOAD ----------- */
.main-content {
display: flex;
position: relative;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 100%;
height: calc(100vh - 80px);
overflow: hidden;
background: linear-gradient(-45deg, rgba(22, 25, 35, 0.35) 0%, rgba(22, 25, 35, 0.95) 100%) center center/100%, url(../img/beamng-mp-landing.png) center top/cover;
color: #fefee1;
}
.main-content .introduction {
width: 100%;
position: absolute;
transition: transform .2s ease;
transform: translateX(0);
}
p {
display: block;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
color: #c8cdbb;
}
.main-content .lead {
font-size: 30px;
font-weight: 300;
font-family: verdana;
}
.middle-xs {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.center-xs {
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
}
.main-content .buttons-wrapper {
display: flex;
flex-direction: column;
align-items: flex-end;
align-content: flex-end;
}
.main-content .buttons-wrapper .buttons .download-client {
display: block;
position: relative;
padding: 15px 25px 15px 25px;
cursor: pointer;
color: #fefee1;
border: none;
text-shadow: 0 0 1px rgba(22, 25, 35, 0.5);
background: radial-gradient(circle, rgba(150, 204, 0, 0.8), rgba(150, 204, 0, 0.65)) center/100%;
transition: box-shadow .2s ease;
font-size: 27px;
font-weight: 300;
line-height: 1;
border-radius: 3px;
text-decoration: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
min-width: 260px;
}
.description {
display: block;
font-size: 12px;
font-weight: 200;
opacity: .9;
}
@media screen and (max-width: 600px) {
#button {
display: none;
}
}
/* --------- Features ---------*/
.features article.col-lg-3 {
padding: 0 35px;
}
.features article {
margin-top: 50px;
font-size: 15px;
color: #c8cdbb;
}
section {
padding-bottom: 50px;
}
/* @media only screen and {min-width: 75em}
.col-lg-3 {
-ms-flex-preferred-size: 25%;
flex-basis: 25%;
max-width: 25%;
}
@media only screen and {min-width: 75em}
.col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-offset-0, .col-lg-offset-1, .col-lg-offset-2, .col-lg-offset-3, .col-lg-offset-4, .col-lg-offset-5, .col-lg-offset-6, .col-lg-offset-7, .col-lg-offset-8, .col-lg-offset-9, .col-lg-offset-10, .col-lg-offset-11, .col-lg-offset-12 {
box-sizing: border-box;
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.5rem;
padding-left: 0.5rem;
}
@media only screen and {min-width: 64em}
.col-md-6 {
-ms-flex-preferred-size: 50%;
flex-basis: 50%;
max-width: 50%;
}
@media only screen and {min-width: 64em}
.col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md-offset-0, .col-md-offset-1, .col-md-offset-2, .col-md-offset-3, .col-md-offset-4, .col-md-offset-5, .col-md-offset-6, .col-md-offset-7, .col-md-offset-8, .col-md-offset-9, .col-md-offset-10, .col-md-offset-11, .col-md-offset-12 {
box-sizing: border-box;
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.5rem;
padding-left: 0.5rem;
}
@media only screen and {min-width: 48em}
.col-sm-6 {
-ms-flex-preferred-size: 50%;
flex-basis: 50%;
max-width: 50%;
}
@media only screen and {min-width: 48em}
.col-sm, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-offset-0, .col-sm-offset-1, .col-sm-offset-2, .col-sm-offset-3, .col-sm-offset-4, .col-sm-offset-5, .col-sm-offset-6, .col-sm-offset-7, .col-sm-offset-8, .col-sm-offset-9, .col-sm-offset-10, .col-sm-offset-11, .col-sm-offset-12 {
box-sizing: border-box;
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
padding-right: 0.5rem;
padding-left: 0.5rem;
} */
/* #features {
font-size: 16px;
font-weight: 300;
color: #fefee1;
background-color: #161923;
} */
body {
font-size: 16px;
font-weight: 300;
color: #fefee1;
background-color: #161923 !important;
}
/* --------- Bridge ---------- */
.container-fluid, .container {
margin-right: auto;
margin-left: auto;
}
hr {
margin-top: 50px;
border-top: 1px solid rgba(250, 255, 225, 0.15);
}
figure {
max-width: 100%;
}
img {
margin-left: 40%;
width: 572px;
height: 332px;
}
figure img {
max-width: 100%;
border-radius: 3px;
filter: contrast(0.75);
transition: filter .2s ease;
width: 572px;
height: 332px;
}
figure {
display: block;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 40px;
margin-inline-end: 40px;
}
@media only screen and (min-width: 75em)
.middle-lg {
-webkit-box-align: center;
align-items: center;
}
@media screen and (max-width: 600px) { /* Phones */
figure img {
width: 336px;
height: 189px;
}
img {
margin-left: 6%;
}
}
@media screen and (max-width: 768px) { /* Ipad */
img {
margin-left: 10%;
}
}
@media screen and (max-width: 1024px) { /* Ipad Pro */
img {
margin-left: 6%;
}
}
@media screen and (max-width: 1444px) { /* Responsive help */
img {
margin-left: 6%;
}
}
@media only screen and (min-width: 75em)
.col-lg-6 {
-ms-flex-preferred-size: 50%;
flex-basis: 50%;
max-width: 50%;
}
.user-features-list {
display: inline-block;
margin-top: 50px;
}
@media screen and (max-width: 500px) {
.user-features-list {
display: inline-block;
margin-top: 50px;
padding-left: 50px;
}
}
.user-features-list li {
text-align: left;
font-size: 30px;
font-weight: 200;
}
section ul li {
margin-bottom: 9.80392px;
color: #c8cdbb;
}
/* --------- FAQ ---------- */
#faq h1 {
text-align: center;
margin-top: 50px;
font-size: 40px;
font-weight: 100;
line-height: 1;
color: #fefee1;
}
.faq h3 {
position: relative;
margin: 25px 0 0 0;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
color: #fefee1;
}
h3 {
font-weight: 400;
font-size: 20px;
line-height: 1.2;
}
/* -------- FOOTER -------- */
footer {
min-height: 150px;
background-color: #403F4C;
padding-left: 25px;
}
.text-white {
color: #fff !important;
}
.row {
max-width: 100%;
}
/* .row {
display: flex;
flex-wrap: wrap;
margin-right: -15px;
margin-left: -15px;
} */
.text-right {
text-align: right !important;
}
.list-inline {
padding-left: 0;
list-style: none;
}
.py-5 {
padding-bottom: 3rem !important;
}
.row {
display: flex;
flex-wrap: wrap;
margin-right: -15px;
margin-left: -15px;
}
footer .container {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
footer .row {
width: 100%;
justify-content: space-around;
}
.row i {
font-size: 22px;
margin: 0 3px;
}
@media screen and (max-width: 600px) {
.container {
width: 100%;
}
footer .container {
width: 80%;
margin: 0 auto;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

BIN
static/img/beammp-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

BIN
static/img/bridgeimage.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

BIN
static/img/logo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 KiB

354
static/js/scripts.js Normal file
View File

@@ -0,0 +1,354 @@
$(function() {
$.getJSON("/servers-info", function( data ) {
$('#Servers-List').empty();
console.log("Data Received:")
console.log(data)
$.each(data, function(k, v) {
var v = data[k][Object.keys(data[k])[0]]
$('#Servers-List').append(`<tr><td>${getCountryName(v.location)}</td><td>${formatServerName(v.sname)}</td><td>${SmoothMapName(v.map)}</td><td>---</td><td>---</td><td>${v.players}/${v.maxplayers}</td></tr>`);
});
$('#dataTable').DataTable();
});
});
var styleMap = {
'^0': 'color:#000000',
'^1': 'color:#0000AA',
'^2': 'color:#00AA00',
'^3': 'color:#00AAAA',
'^4': 'color:#AA0000',
'^5': 'color:#AA00AA',
'^6': 'color:#FFAA00',
'^7': 'color:#AAAAAA',
'^8': 'color:#555555',
'^9': 'color:#5555FF',
'^a': 'color:#55FF55',
'^b': 'color:#55FFFF',
'^c': 'color:#FF5555',
'^d': 'color:#FF55FF',
'^e': 'color:#FFFF55',
'^f': 'color:#FFFFFF',
'^l': 'font-weight:bold',
'^m': 'text-decoration:line-through',
'^n': 'text-decoration:underline',
'^o': 'font-style:italic',
};
function applyCode(string, codes) {
var elem = document.createElement('span');
string = string.replace(/\x00*/g, '');
for(var i = 0, len = codes.length; i < len; i++) {
elem.style.cssText += styleMap[codes[i]] + ';';
}
elem.innerHTML = string;
return elem;
}
function formatServerName(string) {
var codes = string.match(/\^.{1}/g) || [],
indexes = [],
apply = [],
tmpStr,
deltaIndex,
noCode,
final = document.createDocumentFragment(),
i;
for(i = 0, len = codes.length; i < len; i++) {
indexes.push( string.indexOf(codes[i]) );
string = string.replace(codes[i], '\x00\x00');
}
if(indexes[0] !== 0) {
final.appendChild( applyCode( string.substring(0, indexes[0]), [] ) );
}
for(i = 0; i < len; i++) {
indexDelta = indexes[i + 1] - indexes[i];
if(indexDelta === 2) {
while(indexDelta === 2) {
apply.push ( codes[i] );
i++;
indexDelta = indexes[i + 1] - indexes[i];
}
apply.push ( codes[i] );
} else {
apply.push( codes[i] );
}
if( apply.lastIndexOf('^r') > -1) {
apply = apply.slice( apply.lastIndexOf('^r') + 1 );
}
tmpStr = string.substring( indexes[i], indexes[i + 1] );
final.appendChild( applyCode(tmpStr, apply) );
}
$('#TEMPAREA').html(final);
return $('#TEMPAREA').html();;
}
function SmoothMapName(map) {
if (map != "Any Map") {
map = map.replace("/info.json","")
map = map.split('/').pop().replace(/\s*/g,'')
map = map.replace(/_/g," ")
map = map.replace(/-/g," ")
map = toTitleCase(map)
}
return map
}
function toTitleCase(str) {
return str.replace(/\w\S*/g, function(txt){
return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();
});
}
var isoCountries = {
'AF' : 'Afghanistan',
'AX' : 'Aland Islands',
'AL' : 'Albania',
'DZ' : 'Algeria',
'AS' : 'American Samoa',
'AD' : 'Andorra',
'AO' : 'Angola',
'AI' : 'Anguilla',
'AQ' : 'Antarctica',
'AG' : 'Antigua And Barbuda',
'AR' : 'Argentina',
'AM' : 'Armenia',
'AW' : 'Aruba',
'AU' : 'Australia',
'AT' : 'Austria',
'AZ' : 'Azerbaijan',
'BS' : 'Bahamas',
'BH' : 'Bahrain',
'BD' : 'Bangladesh',
'BB' : 'Barbados',
'BY' : 'Belarus',
'BE' : 'Belgium',
'BZ' : 'Belize',
'BJ' : 'Benin',
'BM' : 'Bermuda',
'BT' : 'Bhutan',
'BO' : 'Bolivia',
'BA' : 'Bosnia And Herzegovina',
'BW' : 'Botswana',
'BV' : 'Bouvet Island',
'BR' : 'Brazil',
'IO' : 'British Indian Ocean Territory',
'BN' : 'Brunei Darussalam',
'BG' : 'Bulgaria',
'BF' : 'Burkina Faso',
'BI' : 'Burundi',
'KH' : 'Cambodia',
'CM' : 'Cameroon',
'CA' : 'Canada',
'CV' : 'Cape Verde',
'KY' : 'Cayman Islands',
'CF' : 'Central African Republic',
'TD' : 'Chad',
'CL' : 'Chile',
'CN' : 'China',
'CX' : 'Christmas Island',
'CC' : 'Cocos (Keeling) Islands',
'CO' : 'Colombia',
'KM' : 'Comoros',
'CG' : 'Congo',
'CD' : 'Congo, Democratic Republic',
'CK' : 'Cook Islands',
'CR' : 'Costa Rica',
'CI' : 'Cote D\'Ivoire',
'HR' : 'Croatia',
'CU' : 'Cuba',
'CY' : 'Cyprus',
'CZ' : 'Czech Republic',
'DK' : 'Denmark',
'DJ' : 'Djibouti',
'DM' : 'Dominica',
'DO' : 'Dominican Republic',
'EC' : 'Ecuador',
'EG' : 'Egypt',
'SV' : 'El Salvador',
'GQ' : 'Equatorial Guinea',
'ER' : 'Eritrea',
'EE' : 'Estonia',
'ET' : 'Ethiopia',
'FK' : 'Falkland Islands (Malvinas)',
'FO' : 'Faroe Islands',
'FJ' : 'Fiji',
'FI' : 'Finland',
'FR' : 'France',
'GF' : 'French Guiana',
'PF' : 'French Polynesia',
'TF' : 'French Southern Territories',
'GA' : 'Gabon',
'GM' : 'Gambia',
'GE' : 'Georgia',
'DE' : 'Germany',
'GH' : 'Ghana',
'GI' : 'Gibraltar',
'GR' : 'Greece',
'GL' : 'Greenland',
'GD' : 'Grenada',
'GP' : 'Guadeloupe',
'GU' : 'Guam',
'GT' : 'Guatemala',
'GG' : 'Guernsey',
'GN' : 'Guinea',
'GW' : 'Guinea-Bissau',
'GY' : 'Guyana',
'HT' : 'Haiti',
'HM' : 'Heard Island & Mcdonald Islands',
'VA' : 'Holy See (Vatican City State)',
'HN' : 'Honduras',
'HK' : 'Hong Kong',
'HU' : 'Hungary',
'IS' : 'Iceland',
'IN' : 'India',
'ID' : 'Indonesia',
'IR' : 'Iran, Islamic Republic Of',
'IQ' : 'Iraq',
'IE' : 'Ireland',
'IM' : 'Isle Of Man',
'IL' : 'Israel',
'IT' : 'Italy',
'JM' : 'Jamaica',
'JP' : 'Japan',
'JE' : 'Jersey',
'JO' : 'Jordan',
'KZ' : 'Kazakhstan',
'KE' : 'Kenya',
'KI' : 'Kiribati',
'KR' : 'Korea',
'KW' : 'Kuwait',
'KG' : 'Kyrgyzstan',
'LA' : 'Lao People\'s Democratic Republic',
'LV' : 'Latvia',
'LB' : 'Lebanon',
'LS' : 'Lesotho',
'LR' : 'Liberia',
'LY' : 'Libyan Arab Jamahiriya',
'LI' : 'Liechtenstein',
'LT' : 'Lithuania',
'LU' : 'Luxembourg',
'MO' : 'Macao',
'MK' : 'Macedonia',
'MG' : 'Madagascar',
'MW' : 'Malawi',
'MY' : 'Malaysia',
'MV' : 'Maldives',
'ML' : 'Mali',
'MT' : 'Malta',
'MH' : 'Marshall Islands',
'MQ' : 'Martinique',
'MR' : 'Mauritania',
'MU' : 'Mauritius',
'YT' : 'Mayotte',
'MX' : 'Mexico',
'FM' : 'Micronesia, Federated States Of',
'MD' : 'Moldova',
'MC' : 'Monaco',
'MN' : 'Mongolia',
'ME' : 'Montenegro',
'MS' : 'Montserrat',
'MA' : 'Morocco',
'MZ' : 'Mozambique',
'MM' : 'Myanmar',
'NA' : 'Namibia',
'NR' : 'Nauru',
'NP' : 'Nepal',
'NL' : 'Netherlands',
'AN' : 'Netherlands Antilles',
'NC' : 'New Caledonia',
'NZ' : 'New Zealand',
'NI' : 'Nicaragua',
'NE' : 'Niger',
'NG' : 'Nigeria',
'NU' : 'Niue',
'NF' : 'Norfolk Island',
'MP' : 'Northern Mariana Islands',
'NO' : 'Norway',
'OM' : 'Oman',
'PK' : 'Pakistan',
'PW' : 'Palau',
'PS' : 'Palestinian Territory, Occupied',
'PA' : 'Panama',
'PG' : 'Papua New Guinea',
'PY' : 'Paraguay',
'PE' : 'Peru',
'PH' : 'Philippines',
'PN' : 'Pitcairn',
'PL' : 'Poland',
'PT' : 'Portugal',
'PR' : 'Puerto Rico',
'QA' : 'Qatar',
'RE' : 'Reunion',
'RO' : 'Romania',
'RU' : 'Russian Federation',
'RW' : 'Rwanda',
'BL' : 'Saint Barthelemy',
'SH' : 'Saint Helena',
'KN' : 'Saint Kitts And Nevis',
'LC' : 'Saint Lucia',
'MF' : 'Saint Martin',
'PM' : 'Saint Pierre And Miquelon',
'VC' : 'Saint Vincent And Grenadines',
'WS' : 'Samoa',
'SM' : 'San Marino',
'ST' : 'Sao Tome And Principe',
'SA' : 'Saudi Arabia',
'SN' : 'Senegal',
'RS' : 'Serbia',
'SC' : 'Seychelles',
'SL' : 'Sierra Leone',
'SG' : 'Singapore',
'SK' : 'Slovakia',
'SI' : 'Slovenia',
'SB' : 'Solomon Islands',
'SO' : 'Somalia',
'ZA' : 'South Africa',
'GS' : 'South Georgia And Sandwich Isl.',
'ES' : 'Spain',
'LK' : 'Sri Lanka',
'SD' : 'Sudan',
'SR' : 'Suriname',
'SJ' : 'Svalbard And Jan Mayen',
'SZ' : 'Swaziland',
'SE' : 'Sweden',
'CH' : 'Switzerland',
'SY' : 'Syrian Arab Republic',
'TW' : 'Taiwan',
'TJ' : 'Tajikistan',
'TZ' : 'Tanzania',
'TH' : 'Thailand',
'TL' : 'Timor-Leste',
'TG' : 'Togo',
'TK' : 'Tokelau',
'TO' : 'Tonga',
'TT' : 'Trinidad And Tobago',
'TN' : 'Tunisia',
'TR' : 'Turkey',
'TM' : 'Turkmenistan',
'TC' : 'Turks And Caicos Islands',
'TV' : 'Tuvalu',
'UG' : 'Uganda',
'UA' : 'Ukraine',
'AE' : 'United Arab Emirates',
'GB' : 'United Kingdom',
'US' : 'United States',
'UM' : 'United States Outlying Islands',
'UY' : 'Uruguay',
'UZ' : 'Uzbekistan',
'VU' : 'Vanuatu',
'VE' : 'Venezuela',
'VN' : 'Viet Nam',
'VG' : 'Virgin Islands, British',
'VI' : 'Virgin Islands, U.S.',
'WF' : 'Wallis And Futuna',
'EH' : 'Western Sahara',
'YE' : 'Yemen',
'ZM' : 'Zambia',
'ZW' : 'Zimbabwe'
};
function getCountryName (countryCode) {
if (isoCountries.hasOwnProperty(countryCode)) {
return isoCountries[countryCode];
} else {
return countryCode;
}
}

5309
static/stylesheets/app.css Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

6722
static/stylesheets/bootstrap.css vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,24 @@
.text-red {
color: #c30000;
}
.font-weight-bold {
font-weight: bold;
}
div.dataTables_wrapper {
margin-top: 10px;
color: #d1ecfc;
}
div#Clients-Table_length {
margin-top: 5px;
}
label.col-md-4.control-label {
color: #a9c5d0;
}
.Print-Only {
display: none;
}

File diff suppressed because it is too large Load Diff