Compare commits
No commits in common. "50b3f61ba6d413992e0ad0db706ca2de58ace707" and "f97835b156bfe148849b39f8c8da6c7fda084577" have entirely different histories.
50b3f61ba6
...
f97835b156
76
create.php
76
create.php
@ -23,6 +23,39 @@
|
|||||||
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection" />
|
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection" />
|
||||||
<!--My Custom Stylesheet-->
|
<!--My Custom Stylesheet-->
|
||||||
<link rel="stylesheet" href="css/styles.css">
|
<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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@ -139,6 +172,16 @@
|
|||||||
<label for="convars">Paste your role specific convars</label>
|
<label for="convars">Paste your role specific convars</label>
|
||||||
</div>
|
</div>
|
||||||
</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>
|
</form>
|
||||||
<button class="btn waves-effect waves-light" type="submit" name="action">Submit <i class="material-icons right">send</i>
|
<button class="btn waves-effect waves-light" type="submit" name="action">Submit <i class="material-icons right">send</i>
|
||||||
</button>
|
</button>
|
||||||
@ -213,37 +256,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</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 -->
|
<!-- Start Tab init -->
|
||||||
@ -259,3 +271,5 @@
|
|||||||
<script type="text/javascript" src="js/materialize.min.js"></script>
|
<script type="text/javascript" src="js/materialize.min.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
<<<<<<< HEAD
|
||||||
|
>>>>>>> c902a448acdd3bfd8feeb633d1aa52c4b24e15f4
|
||||||
|
Loading…
Reference in New Issue
Block a user