Comments (14)
good idea, i think we should add this
from espterm-firmware.
Client-side support added (for colored buttons): espterm/espterm-front-end@ce46ad7
from espterm-firmware.
kinda. i think this should be appended to the buttons update topic, it'll usually change together with the labels
from espterm-firmware.
Yeah you can just split each entry by \x02
or just have the array repeat again for the color values or something and have the color there (you do need a null value though)
Also, if we add a user CSS feature, we could also consider adding user JS as well (and also add an espterm
wrapper object or something in the global scope)
from espterm-firmware.
how about each button text field starts with the color (two words, like the bg and fg colors) followed by the text and terminated by 0x01?
I don't have storage for user CSS, the entire RW area is 2kB large and already half used (though i imagine it could be expanded if need be)
from espterm-firmware.
Sure, as long as it has a null color
from espterm-firmware.
null color? does that mean "use default"?
from espterm-firmware.
yes (null as in button.style.background = null
)
from espterm-firmware.
from espterm-firmware.
(what are you asking? xD)
from espterm-firmware.
still not sure what you mean by null background ...
from espterm-firmware.
I meant you set the style attribute's background to null such that it falls back to whatever you set in the stylesheet
from espterm-firmware.
...hmm
there can be nothing in the stylesheet, if we always send a color --- and support 24bit
from espterm-firmware.
from espterm-firmware.
Related Issues (20)
- possibility to have an image background HOT 4
- add MQTT
- Localize "Settings saved and applied" (generated by server)
- Lower number of buttons HOT 2
- Does not work with port redirection HOT 8
- Show tab stops in debug view
- Color preview for button color config boxes
- Improve mouse tracking & touch HOT 4
- Document double-line commands
- clone issue HOT 1
- ubuntu 14.04 resolved issues HOT 4
- automatic WiFi (de)activation via external button
- Compile flag to disable debug UART (repurpose GPIO2 for DIO) HOT 1
- connection to esp-AP laggy when looking for other network HOT 2
- Failed to clone / init submodules HOT 2
- How to adapt memory to 512K ESP01? HOT 4
- Information: ESPTerm wouldnt work with Arduino-Due-Client on RX0/TX0
- width and height adjustment HOT 1
- esp32 no AP appeards after flashing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espterm-firmware.