mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-09-18 01:22:08 +00:00
SetItems working. Tesing
This commit is contained in:
66
res/app.js
66
res/app.js
@@ -1,26 +1,42 @@
|
||||
function val() {
|
||||
w = document.getElementById("w-select");
|
||||
w.value = '';
|
||||
w.required = "";
|
||||
}
|
||||
function val2() {
|
||||
a = document.getElementById("a-select");
|
||||
a.value = '';
|
||||
a.required = "";
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
$('.form-text').hide();
|
||||
$('.help').click(function () {
|
||||
$('.form-text').slideToggle();
|
||||
});
|
||||
|
||||
$('#op1').val(this.checked);
|
||||
$('#op1').change(function () {
|
||||
if (this.checked) {
|
||||
$('option[disabled="disabled"]').hide();
|
||||
} else {
|
||||
$('option[disabled="disabled"]').show();
|
||||
}
|
||||
});
|
||||
$(document).ready(function () {
|
||||
$('.form-text').hide();
|
||||
$('.help').click(function () {
|
||||
$('.form-text').slideToggle();
|
||||
});
|
||||
|
||||
$('#op1').val(this.checked);
|
||||
$('#op1').change(function () {
|
||||
if (this.checked) {
|
||||
$('option[disabled="disabled"]').hide();
|
||||
} else {
|
||||
$('option[disabled="disabled"]').show();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$('.w-select').change(function(){
|
||||
$('.a-select').each(function(i,v){
|
||||
v.value = '';
|
||||
v.required = '';
|
||||
});
|
||||
|
||||
x = $(this).find(':selected').text();
|
||||
y = document.getElementById('item');
|
||||
y.value = x;
|
||||
|
||||
});
|
||||
|
||||
$('.a-select').change(function(){
|
||||
$('.w-select').each(function(i,v){
|
||||
v.value = '';
|
||||
v.required = '';
|
||||
});
|
||||
|
||||
|
||||
x = $(this).find(':selected').text();
|
||||
y = document.getElementById('item');
|
||||
y.value = x;
|
||||
|
||||
|
||||
});
|
||||
});
|
200
res/style.css
200
res/style.css
@@ -1,100 +1,102 @@
|
||||
@font-face {
|
||||
font-family:"Exocet Light";
|
||||
src:url("/font/EXL_____.eot?") format("eot"),
|
||||
url("/font/EXL_____.woff") format("woff"),
|
||||
url("/font/EXL_____.ttf") format("truetype"),
|
||||
url("/font/EXL_____.svg#ExocetLight") format("svg");
|
||||
|
||||
font-weight:normal;
|
||||
font-style:normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Exocet';
|
||||
src: url('/font/ExocetHeavy.eot');
|
||||
src: local('Exocet Heavy'), local('ExocetHeavy'),
|
||||
url('/font/ExocetHeavy.eot?#iefix') format('embedded-opentype'),
|
||||
url('/font/ExocetHeavy.woff2') format('woff2'),
|
||||
url('/font/ExocetHeavy.woff') format('woff'),
|
||||
url('/font/ExocetHeavy.ttf') format('truetype'),
|
||||
url('/font/ExocetHeavy.svg#ExocetHeavy') format('svg');
|
||||
font-weight: 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Exocet';
|
||||
src: url('/font/ExocetLight.eot');
|
||||
src: local('Exocet Light'), local('ExocetLight'),
|
||||
url('/font/ExocetLight.eot?#iefix') format('embedded-opentype'),
|
||||
url('/font/ExocetLight.woff2') format('woff2'),
|
||||
url('/font/ExocetLight.woff') format('woff'),
|
||||
url('/font/ExocetLight.ttf') format('truetype'),
|
||||
url('/font/ExocetLight.svg#ExocetLight') format('svg');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
input {
|
||||
width: 108px;
|
||||
padding: 5px;
|
||||
margin: 5xp;
|
||||
text-align: center;
|
||||
border: 0px;
|
||||
background: #eef;
|
||||
}
|
||||
|
||||
.form-text,
|
||||
.help {
|
||||
font-size: 11px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.form-text {
|
||||
background: white;
|
||||
padding: 5px;
|
||||
border-radius: 4px;
|
||||
font-family: "Lato";
|
||||
font-weight: normal;
|
||||
|
||||
}
|
||||
|
||||
select,
|
||||
input,
|
||||
option {
|
||||
border: #ccc;
|
||||
}
|
||||
|
||||
.row {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
.col-2,
|
||||
.col-3,
|
||||
.col-4 {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.container-top {
|
||||
border: 1px solid #ddd;
|
||||
margin: 30px auto;
|
||||
padding: 10px;
|
||||
background: white;
|
||||
font-family: "Exocet";
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
body {
|
||||
background: black;
|
||||
|
||||
}
|
||||
|
||||
footer, .options {
|
||||
font-family: Lato !important;
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family:"Exocet Light";
|
||||
src:url("/font/EXL_____.eot?") format("eot"),
|
||||
url("/font/EXL_____.woff") format("woff"),
|
||||
url("/font/EXL_____.ttf") format("truetype"),
|
||||
url("/font/EXL_____.svg#ExocetLight") format("svg");
|
||||
|
||||
font-weight:normal;
|
||||
font-style:normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Exocet';
|
||||
src: url('/font/ExocetHeavy.eot');
|
||||
src: local('Exocet Heavy'), local('ExocetHeavy'),
|
||||
url('/font/ExocetHeavy.eot?#iefix') format('embedded-opentype'),
|
||||
url('/font/ExocetHeavy.woff2') format('woff2'),
|
||||
url('/font/ExocetHeavy.woff') format('woff'),
|
||||
url('/font/ExocetHeavy.ttf') format('truetype'),
|
||||
url('/font/ExocetHeavy.svg#ExocetHeavy') format('svg');
|
||||
font-weight: 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Exocet';
|
||||
src: url('/font/ExocetLight.eot');
|
||||
src: local('Exocet Light'), local('ExocetLight'),
|
||||
url('/font/ExocetLight.eot?#iefix') format('embedded-opentype'),
|
||||
url('/font/ExocetLight.woff2') format('woff2'),
|
||||
url('/font/ExocetLight.woff') format('woff'),
|
||||
url('/font/ExocetLight.ttf') format('truetype'),
|
||||
url('/font/ExocetLight.svg#ExocetLight') format('svg');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
|
||||
ul {
|
||||
font-family: Lato;
|
||||
}
|
||||
|
||||
input {
|
||||
width: 108px;
|
||||
padding: 5px;
|
||||
margin: 5xp;
|
||||
text-align: center;
|
||||
border: 0px;
|
||||
background: #eef;
|
||||
}
|
||||
|
||||
.form-text,
|
||||
.help {
|
||||
font-size: 0.9rem;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.form-text {
|
||||
background: white;
|
||||
padding: 5px;
|
||||
border-radius: 4px;
|
||||
font-family: "Lato";
|
||||
font-weight: normal;
|
||||
|
||||
}
|
||||
|
||||
select,
|
||||
input,
|
||||
option {
|
||||
border: #ccc;
|
||||
}
|
||||
|
||||
.row {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.col-2,
|
||||
.col-3,
|
||||
.col-4 {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.container-top {
|
||||
border: 1px solid #ddd;
|
||||
margin: 30px auto;
|
||||
padding: 10px;
|
||||
background: white;
|
||||
font-family: "Exocet";
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
body {
|
||||
background: black;
|
||||
|
||||
}
|
||||
|
||||
footer, .options, ul *, li * {
|
||||
font-family: Lato !important;
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user