Removed background-width field, since it's auto-calculated

-- Also updated iandoug's Programmer's Keyboard sample
This commit is contained in:
Ian Prest 2015-08-03 18:15:03 -04:00
parent 354377f559
commit 3917a010b3
2 changed files with 4 additions and 15 deletions

13
kb.html
View file

@ -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>

View file

@ -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",