New library dialog content overruns the edges of the dialog (#323)
Closes #303 This fix is a clean up fix - will review functionality for 1.8.0
This commit is contained in:
@@ -1,12 +1,7 @@
|
|||||||
<div style="padding-top: 5px;">
|
<table style="width: 98%; margin-top: 15px; margin-bottom: 15px;">
|
||||||
<strong>New Library</strong>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="width: 300px;">
|
|
||||||
<table style="width: 98%; margin-top: 15px; margin-bottom: 15px;">
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th style="width: 20%;">Name</th>
|
||||||
<td><input type="text" id="newlibrary_name" style="width: 95%;" /></td>
|
<td style="width: 80%;"><input type="text" id="newlibrary_name" style="width: 98%;" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Default Platform</th>
|
<th>Default Platform</th>
|
||||||
@@ -14,21 +9,22 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Path</th>
|
<th>Path</th>
|
||||||
<td><input type="text" id="newlibrary_path" style="width: 95%;" /></td>
|
<td><input type="text" id="newlibrary_path" style="width: 98%;" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<div style="width: 100%; text-align: right;">
|
<div style="width: 100%; text-align: right; margin-top: 160px;">
|
||||||
<div style="display: inline-block; margin-right: 20px;">
|
<div style="display: inline-block; margin-right: 20px;">
|
||||||
<button value="OK" onclick="newLibrary();">OK</button>
|
<button value="OK" onclick="newLibrary();">OK</button>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: inline-block;">
|
<div style="display: inline-block;">
|
||||||
<button value="Cancel" onclick="closeSubDialog();">Cancel</button>
|
<button value="Cancel" onclick="closeDialog();">Cancel</button>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
document.getElementById('modal-heading').innerHTML = "New Library";
|
||||||
|
|
||||||
$('#newlibrary_defaultplatform').select2({
|
$('#newlibrary_defaultplatform').select2({
|
||||||
minimumInputLength: 3,
|
minimumInputLength: 3,
|
||||||
ajax: {
|
ajax: {
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
<table id="settings_libraries" class="romtable" style="width: 100%;" cellspacing="0">
|
<table id="settings_libraries" class="romtable" style="width: 100%;" cellspacing="0">
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
<div style="text-align: right;"><button id="settings_newlibrary" onclick="showSubDialog('librarynew');">New Library</button></div>
|
<div style="text-align: right;"><button id="settings_newlibrary" onclick="showDialog('librarynew');">New Library</button></div>
|
||||||
|
|
||||||
<h2>Advanced Settings</h2>
|
<h2>Advanced Settings</h2>
|
||||||
<p><strong>Warning</strong> Do not modify the below settings unless you know what you're doing.</p>
|
<p><strong>Warning</strong> Do not modify the below settings unless you know what you're doing.</p>
|
||||||
|
Reference in New Issue
Block a user