mirror of
https://github.com/ijprest/keyboard-layout-editor.git
synced 2026-04-09 01:30:49 -07:00
Removed background-width field, since it's auto-calculated
-- Also updated iandoug's Programmer's Keyboard sample
This commit is contained in:
parent
354377f559
commit
3917a010b3
2 changed files with 4 additions and 15 deletions
13
kb.html
13
kb.html
|
|
@ -564,19 +564,6 @@ Nav Bar / Header
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Keyboard background image width-->
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="control-label col-md-2 col-lg-1 text-nowrap" for="kbdbackgroundimagewidtheditor">Case Width:</label>
|
||||
|
||||
<div class="col-md-1 col-lg-1 form-outdent hint--top hint--rounded"
|
||||
data-hint="Specify the width for the background image for this keyboard layout.">
|
||||
<input id="kbdbackgroundimagewidtheditor" class="form-control input-sm" type='number' min="1" max="2000" step="1"
|
||||
ng-model="meta.backgroundimagewidth"
|
||||
ng-change="updateMeta('backgroundimagewidth')"
|
||||
ng-blur="validateMeta('backgroundimagewidth')">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Keyboard background image corners radii-->
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="control-label col-md-2 col-lg-1 text-nowrap" for="kbdbackgroundradii">Case Radii:</label>
|
||||
|
|
|
|||
|
|
@ -2,8 +2,10 @@
|
|||
{
|
||||
"name": "Programmer's Keyboard 1.90",
|
||||
"author": "Ian Douglas",
|
||||
"backgroundimage": "bg/wood/Red_Mahogany_Wood.jpg",
|
||||
"backgroundimagewidth": 1300,
|
||||
"background": {
|
||||
"name": "Mahogany Red",
|
||||
"style" : "background-image: url('/bg/wood/Red_Mahogany_Wood.jpg');"
|
||||
},
|
||||
"backgroundradii": "30px 30px 50% 50%",
|
||||
"defaultkeyswitchstyle": "CherryMX",
|
||||
"defaultkeyswitchbrand": "Cherry",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue