Compare commits

..

7 Commits

Author SHA1 Message Date
50b3f61ba6 Revert "changed things?#"
This reverts commit d07c8b132b.
2022-03-31 10:37:05 +02:00
691806c1de Revert "Merge branch 'main' of https://git.james-things.com/James/TTT_Role_Overview"
This reverts commit 3aacd78f4f, reversing
changes made to d07c8b132b.
2022-03-31 10:37:03 +02:00
1f5fe4bb46 Revert "Revert "Merge branch 'main' of https://git.james-things.com/James/TTT_Role_Overview""
This reverts commit 83775a13c6.
2022-03-31 10:37:01 +02:00
ae96e20eef Revert "Revert "changed things?#""
This reverts commit 17f971e996.
2022-03-31 10:36:59 +02:00
59f8d1902e Revert "fixing things :)"
This reverts commit b688f95e38.
2022-03-31 10:36:57 +02:00
c40925bec9 Revert "fixed a broken thing"
This reverts commit 9bc61019ea.
2022-03-31 10:36:51 +02:00
7e753b1ab7 Revert "moved the script"
This reverts commit f97835b156.
2022-03-31 10:36:30 +02:00

View File

@ -23,39 +23,6 @@
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection" />
<!--My Custom Stylesheet-->
<link rel="stylesheet" href="css/styles.css">
<!-- Updatescript -->
<script>
function updateName() {
document.getElementById("cardname").innerHTML = $('#name').val();
}
function updateHowToPlay() {
document.getElementById("thowtoplay").innerHTML = $('#howtoplay').val();
}
function createMenuItem(name) {
let li = document.createElement('li');
li.textContent = name;
return li;
}
function updateGoodRoles() {
goodRoles = $('#goodRoles').val();
goodRoles.forEach(element => document.getElementById("tplaysbestwith").appendChild(createMenuItem(element)); )
);
}
function updateDescription() {
document.getElementById("carddescription").innerHTML = $('#description').val();
}
function updateColor() {
document.getElementById("rolecard").className = "card " + $('#rolecolor').val() +" "+ $('#modifier').val() +"-"+ $('#strength').val() + " " + $('#tcolor').val();
}
</script>
</head>
<body>
<div class="row">
@ -172,16 +139,6 @@
<label for="convars">Paste your role specific convars</label>
</div>
</div>
<div class="row">
<div class="input-field col s6">
<textarea id="csteamurl" class="materialize-textarea"></textarea>
<label for="csteamurl">Steam URL</label>
</div>
<div class="input-field col s6">
<textarea id="gitUrl" class="materialize-textarea"></textarea>
<label for="gitUrl">Github Source</label>
</div>
</div>
</form>
<button class="btn waves-effect waves-light" type="submit" name="action">Submit <i class="material-icons right">send</i>
</button>
@ -256,6 +213,37 @@
</div>
</div>
<!-- Updatescript -->
<script>
function updateName() {
document.getElementById("cardname").innerHTML = $('#name').val();
}
function updateHowToPlay() {
document.getElementById("thowtoplay").innerHTML = $('#howtoplay').val();
}
function createMenuItem(name) {
let li = document.createElement('li');
li.textContent = name;
return li;
}
function updateGoodRoles() {
goodRoles = $('#goodRoles').val();
goodRoles.forEach(element => document.getElementById("tplaysbestwith").appendChild(createMenuItem(element)); )
);
}
function updateDescription() {
document.getElementById("carddescription").innerHTML = $('#description').val();
}
function updateColor() {
document.getElementById("rolecard").className = "card " + $('#rolecolor').val() +" "+ $('#modifier').val() +"-"+ $('#strength').val() + " " + $('#tcolor').val();
}
</script>
<!-- Start Tab init -->
@ -271,5 +259,3 @@
<script type="text/javascript" src="js/materialize.min.js"></script>
</body>
</html>
<<<<<<< HEAD
>>>>>>> c902a448acdd3bfd8feeb633d1aa52c4b24e15f4