Comments (11)
Isn't number 2 already the case? I'm not sure about fonts but I opened a now-closed issue a few days ago specifically to address that point. If there are online fonts being used that should be changed.
from linux-dash.
#2 -- Never mind. Happy to know!!!
from linux-dash.
I just checked, there are a few font dependencies. I'm guessing the browser'll just fall back to a default but we should get rid of it anyway.
from linux-dash.
What type of script do you wish to add to the index file? I would like to keep the index file HTML but am always open to suggestions. Maybe we can find a way to accommodate your intent without going to back-end file format like PHP.
from linux-dash.
While using pure HTML may be good for some users (if they don't have PHP
installed), it may be good to offer the option to have the index file
also as PHP.
Here are the scripts that I added to the index file. This provides me
with additional useful information:
Server '.$_SERVER["SERVER_SOFTWARE"].'
PHP ' . phpversion().'
'.OPENSSL_VERSION_TEXT; ?>
This is just an example. I am using this in my highly customised NGINX
server that has some extra variables.
I am using this on my intranet with local DNS server.
But this is a good illustration of what can be useful.
On 2014-02-10 10:41, Afaq Tariq wrote:
What type of script do you wish to add to the index file? I would like
to keep the index file HTML but am always open to suggestions. Maybe
we can find a way to accommodate your intent without going to back-end
file format like PHP.—
Reply to this email directly or view it on GitHub
#95 (comment).
from linux-dash.
Ok, I am using the latest version now. The page still loads resources from the internet, like the fonts, bootstrap and other stuff.
from linux-dash.
I can see the font-awesome fonts being loaded external (which we will remove) but I did not see any other css/js/asset being loaded externally, except the github "fork me" banner.
Could you point me to which "bootstrap and other stuff" files are being loaded externally? I'd like to remove those dependencies.
from linux-dash.
@peterkahl - Your scripting needs for data from PHP seem to fit solution architecture the application has for the widget data: separate, modularized PHP files in the sh directory which the dashboard.js retrieves info from via AJAX and loads into DOM. This helps keep the application structured, easy to debug, and easy to contribute to horizontally or vertically (widget vs. application).
from linux-dash.
Scripting. Makes sense. Now looking for having the information on which versions of various packages installed. Thanks.
from linux-dash.
The file
css/google-fonts.css
has links to
https://themes.googleusercontent.com/
The file index.html
sources image externally
This should be local image.
That's all I was able to find.
from linux-dash.
Addressed both issues in a push. Thanks, @peterkahl .
from linux-dash.
Related Issues (20)
- Docker container with linux dash HOT 2
- Limited data is shown when used on photonos HOT 4
- Dash displays same information as the demo HOT 1
- Incorporate APCups
- Json parse error HOT 1
- Python 3 support HOT 2
- Pi Raspbian issue linux_json_api-sh HOT 2
- injection vulnerabilities HOT 2
- Data loading for even in first starting server in node, but in the second starting server,Data display ( Delay display data in dash board) HOT 2
- any way to remove certain widgets? HOT 1
- module not found error HOT 1
- Total RAM capacity & usage incorrect HOT 1
- Recent Logins section and empty strings
- Literally nothing works except cpu usage HOT 5
- Getting JSON error in node enviroment HOT 7
- Is this project active?
- cpu temp displayed but graph blank HOT 1
- OpenBSD 7.2 issue HOT 1
- linux_json_api.sh no such file or directory with go HOT 1
- Remove Linux-Dash HOT 2
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 linux-dash.