Commit Graph

94 Commits (master)

Author SHA1 Message Date
Ian Prest d79d1511f7 added FLAT profile 6 years ago
Ian Prest e6088da36c tweak css to allow keycap border-color changes 6 years ago
Ian Prest 0217f3911b reverted footer size change 6 years ago
Ivan Jonas 29d166a5c9 improve footer spacing 6 years ago
Ian Prest 8581b1a4f8 Reworked UI for the "tools"
-- Went with another tab, instead of the dialog, so you could better see the outcome of an action.
-- Replaced the "move legend pairs" buttons with an "align legends" function, which I think covers most of the cases, while also offering more possibilities.
9 years ago
Ian Prest 8bfbdac388 Merge branch 'master' of git://github.com/iandoug/keyboard-layout-editor into iandoug-master 9 years ago
Ian Prest 65947be7b8 Added rendering support for a 'CHICKLET' profile.
-- Updated the tooltip for the profile fields to list supported profiles.
-- Fixed a rendering issue that prevented 'keySpacing' from being utilized (it wasn't used for the existing profiles).
9 years ago
iandoug 4a49380d45 Added some table defs for the Tools dialogue 9 years ago
Ian Prest b40d3964af Merge branch 'webfont' of git://github.com/iandoug/keyboard-layout-editor into iandoug-webfont 9 years ago
iandoug 3449009df8 Not sure why Git needs this .... 9 years ago
iandoug d995147eb3 Hide Summary tab when printing 9 years ago
Ian Prest 962bd6ba78 A few tweaks to the switch summary display
-- Reverted to using lowercase "IDs" in switches.json (no need to
change, and would break existing files))
-- Now showing the "display name" of the switches in the summary
display.
9 years ago
Ian Prest 9a2987be25 Merge branch 'master' of git://github.com/iandoug/keyboard-layout-editor into iandoug-master
Conflicts:
	kb.html
9 years ago
iandoug 5add228fe4 Remove redundant class def 9 years ago
iandoug c1843d8fb0 Made the keycap and switch summary tables a little more presentable 9 years ago
Ian Prest 0d642dc06c Minor tweaks to styling of summary tab
-- moved content inside tab (looks better, plus doesn't render garbage
on page load)
-- got rid of extra border
9 years ago
iandoug fac321698d Found a way to make Combining Diacriticals behave as desired. 9 years ago
iandoug 8c6c0e0464 Implemented kbd-webfont and added to Character Picker. Restructed font-src folder to provide for 4thcoming Combining Diacritics folder. See comments 9 years ago
iandoug a56307d112 Now count keys by size and colour 9 years ago
iandoug 3efd78bfa0 Added initial Summary as first step to address #88 9 years ago
Ian Prest 5b972cf6f6 Misc changes, mostly for per-key switch type
-- Switches.json -> now using hash for "switches" for easy lookup
-- Serialization changed so that we use "" for default switch types, and
this round-trips properly.
-- Had to switch from <select> to bootstrap-style dropdowns; when I
started trying to handle the 'default' settings better (i.e., when the
per-key setting was blank), Angular was throwing errors using the
<select> element.
-- Changing switch mount blanks out brand/type, etc.
-- Now disabling switch mount/brand/type controls when appropriate
-- PNG rendering now only doing #keyboard-bg, which allows me to make
#keyboard full-width again.
9 years ago
Ian Prest 4d23305696 Added syntax-highlighting to the various text editors
-- Using ACE Editor, which was just a drop-in replacement for the
TEXTAREAs
-- Implements #22
9 years ago
Ian Prest ad24eadc87 Implemented keyboard 'decals'
-- Intended to put decorative labels (logos, etc.) on keyboard layouts.
-- They're basically just invisible keycaps; this works pretty well,
since there are already so many formatting options for text on keycaps,
and it saves us from having to manage a completely separate type of
thing.
-- Props to iandoug for the idea!

Also:
-- Disable x2,y2,width2,height2 on decals
-- Increase max keycap size to 18x18 (allows for really large decals)
9 years ago
Ian Prest 354377f559 Rejiggered the background-image dropdown & data
-- Also auto-calculating the keyboard width
9 years ago
Ian Prest 7724b33fc1 Merge branch 'backgrounds' of git://github.com/iandoug/keyboard-layout-editor into iandoug-backgrounds
Conflicts:
	kb.css
	kb.js
9 years ago
Ian Prest b9b84feb06 Fix some CSS lint errors 9 years ago
Ian Prest 73da7aecc9 Disable save button if user not signed in 9 years ago
iandoug 5012215b9c Cleaned up code and data for backgrounds, converted background-acknowledge to md format and linked from README 9 years ago
Ian Prest 1f71ce495a Added user menu & logout command 9 years ago
Ian Prest 443de95437 Added glyph-set for combining diacritical marks. 9 years ago
Ian Prest 04447b9eaf Using angular-ui-bootstrap for tooltip on character picker
-- Needed to escape the scrolling div, which wasn't possible with
hint.css.
-- Couldn't switch everywhere, unfortunately, because
angular-ui-bootstrap tooltips have some nasty bugs dealing with disabled
input fields where the tooltips wouldn't go away.
9 years ago
Ian Prest 50393a4f05 Scroll the character-picker list if too long 9 years ago
Ian Prest 7ecf4d55a4 Initial character-picker implementation
-- Very similar to the color palettes
9 years ago
Ian Prest 9b2af5eff8 Added a button to swap primary & secondary keycap rectangles
-- sizes & positions are swapped so that the overall shape of the key is
maintained, but the labels will shift positions since they are always
rendered on the primary rectangle.
9 years ago
iandoug 6797c23937 Added code and data for supporting the backgrounds 9 years ago
Ian Prest 3f19d7f758 Merge branch 'master' into custom-css
Conflicts:
	css/kb.css.map
	kb.css
	kb.html
9 years ago
Ian Prest 602ce2e55a Added a custom-styles editor
-- Similar to the raw-data editor.
-- Styles are parsed, modified so that they can only affect keycaps,
then applied to the page.
-- Modified the VIC-20 sample to demonstrate; it now has a
FontAwesome-style stylesheet, for the C64ProMono font, and is using
those custom styles for all the PETSCII glyphs.
9 years ago
Ian Prest 966bb05663 Changed "no color" to render as a little 'x' instead of red stripes 9 years ago
Ian Prest c2b1e4ab7a Fix front-printed text on DSA-profile caps 9 years ago
Ian Prest 3e6bbf61e7 Tweak CSS for fully-generic legend text
-- legends will be in order (left-to-right, top-to-bottom), and there
will now be 12 of them in total
9 years ago
Ian Prest f5cbfa3555 Tweak to formatting for front-printed labels on SA/DSA profiles.
-- New rendering pushed the text down, so we move it back up.
-- Other profiles were already moved up by a pixel.
9 years ago
Ian Prest 2dd5109bfc Fix swatches display; was shifted right on webkit browsers 9 years ago
Ian Prest a8922eaf47 Fix homing nub rendering. 9 years ago
Ian Prest 824707f776 Major refactoring of the keycap rendering to HTML
-- Generating HTML with a doT.js template function; hopefully easier to
maintain.
-- More of the parameters refactored into the JS code, rather than
relying on being in the CSS; benefit => those parameters are available
when I do SVG rendering.
-- Also, now using Stylus to compile & minify CSS, and auto-inline small
images (Sublime project describes how to compile).
9 years ago
Ian Prest 552bb150e5 Small CSS tweak to make keys look better
-- Wasn't very obvious at 100%, but if you zoomed in, you could tell
that the border was getting clipped by a background <div> that was on
top of it.
9 years ago
Ian Prest 2edec9d375 Updated "profile" CSS styles
-- New OEM profile (renders same as DCS)
-- SA tweaked to sit a bit higher than DSA
-- Now showing a homing nub on all profiles (other than SA/DSA)
-- DSA/SA deep-dish made (slightly) more visible
9 years ago
Ian Prest f290d0517f Show kbd name & author on the actual layout.
-- Linked to the rendered metadata screen.
9 years ago
Ian Prest 6c8e583c3a Prevent wrapping color-swatch tooltips
-- also deleted some unused CSS rules
9 years ago
Ian Prest b8fb293a02 Added markdown rendering support for the 'notes'
-- Switched from plain bootstrap to angular-ui-bootstrap (to fix some
interaction problems); this necessitated a number of markup changes for
the modals and dropdowns.
-- Can now "cancel" the options dialog.
-- Sprinkled the markup with ng-cloak to prevent early rendering
problems.
-- Fixed some copy/paste issues with previous form changes (labels were
incorrect)
9 years ago
Ian Prest 3b11c8b9f6 Added metadata fields for "author" and "notes". 9 years ago