customAutoLoad UI : minor prettify+

install-with-shinobicctv-user-instead-of-root
Moe 2020-08-10 21:31:27 -07:00
parent a200b41fc6
commit 299f3c1923
3 changed files with 17 additions and 4 deletions

View File

@ -0,0 +1,12 @@
#customAutoLoadList [package-name] .card-body{
min-height:auto
}
#customAutoLoadList [package-name] .install-output-stdout,
#customAutoLoadList [package-name] .install-output-stderr
{
max-height: 300px;
background: ##f7f7f7;
border-radius: 15px;
padding: 5px;
margin:0;
}

View File

@ -15,7 +15,7 @@ $(document).ready(function(){
listElement.append(`
<div class="col-md-6">
<div class="card" package-name="${module.name}">
<div class="card-body" style="min-height:auto">
<div class="card-body">
<div><h4 class="title mt-0">${humanName}</h4></div>
<div class="mb-2">
${!module.isIgnitor ? `
@ -28,8 +28,8 @@ $(document).ready(function(){
</div>
<div class="pl-2 pr-2">
<div class="install-output row">
<code class="col-md-6 pr-2"><pre class="install-output-stdout" style="max-height: 300px;"></pre></code>
<code class="col-md-6 pl-2"><pre class="install-output-stderr" style="max-height: 300px;"></pre></code>
<div class="col-md-6 pr-2"><pre class="install-output-stdout"></pre></div>
<div class="col-md-6 pl-2"><pre class="install-output-stderr"></pre></div>
</div>
</div>
</div>

View File

@ -1,4 +1,5 @@
<form class="form-group-group red" id="downloadNewModule">
<link rel="stylesheet" href="<%-window.libURL%>libs/css/super.customAutoLoad.css">
<form class="form-group-group red pt-4" id="downloadNewModule">
<div class="form-group">
<input type="text" placeholder="Download URL for Module" class="form-control" name="downloadUrl" />
</div>