Comments (7)
You don't need Ruby/HAML to get it working.
Use the JS and CSS file inside the dist/
folder and take a look at http://semu.github.io/timesheet.js/
from timesheet.js.
I am confused... there has to be some html, right?
I can get grunt running, that's no problem. But trying to process the haml files - which should work, right? - is, where I am stuck. Also, using the grunt-contrib-haml plugin throws an error:
Exception on line 14: undefined method `javascript_include_tag' for #Object:0x007ffb8a3dd6e0
Use --trace for backtrace.
Any help would really be appreciated! Thanks!
from timesheet.js.
try
bundle install
middleman
or
bundle install
middleman build
After that you have the site available at http://semu.github.io/timesheet.js, but that's not needed for using Timesheet.js. All HTML code is generated for you using JavaScript …
from timesheet.js.
Thank you, that worked!
Are the websocket and swf reference included by the ruby-live-reload-thingy? And why is the actual html not saved anywhere?
No offense, but for a newcomer, this is all vey confusing... I really think such a nice project should provide more info on how to get it running and also generate the HTML output (which must be somewhere... not everything is in the JS, right?)
Sorry for the critique - it is a wonderful script that you share here. It would be even greater if it was more "accessible" :-)
BTW: why don't you use grunt's haml module? That would keep things consistent and within one "technology frame"...
All the best and thanks again!
Robert
from timesheet.js.
No offense
none taken ;)
Are the websocket and swf reference included by the ruby-live-reload-thingy?
yes.
which must be somewhere... not everything is in the JS, right?
That's the idea behind Timesheet.js. You do not have to create HTML structure for your data. Just include the JavaScript file, provide a structured set of data and everything is generated for you.
why don't you use grunt's haml module?
Because HAML/ruby/middleman is only needed to generate the GitHub info page.
from timesheet.js.
:-) Yes, for the data (the .timesheet section). But you provide more than that with your example here. It is just my feeling that a project transports a sense of completeness, if the show case can be duplicated.
I am a somewhat tenacious, maybe even stubborn character as you might have guessed by now already ;-) So I'd like to give it one more try to ask you whether it is possible to convince you to provide a grunt haml solution the get the html processed, too??
Would be great - but I do understand that this is of course your product and I still could forge it...
Million thanks for your help and patience!
Robert
from timesheet.js.
It is just my feeling that a project transports a sense of completeness, if the show case can be duplicated
Jep, you're are right on that. But Timesheet.js is work-in-progress and not something to be considered a failsafe 1.0 release. And as mentioned before, you can easily run the showcase with bundle install && middleman
…
provide a grunt haml solution the get the html processed
I don't see that in the near future, I'm sorry. But I will keep it on the list for a rainy sunday :)
from timesheet.js.
Related Issues (20)
- Error in class sit/set HOT 1
- Horizontal and Vertical orientation HOT 1
- Lack of scrolling cuts off longer text. HOT 3
- Install via Bower HOT 7
- Auto-resize DIV or sections HOT 3
- Feature Request: Add simple example project that can be used for testing during development. HOT 2
- Why is it not responsive ? HOT 1
- I did a new style for your Git gh_page HOT 3
- Available via cdnjs HOT 2
- What is the 4th column? HOT 2
- Why 5400 stars ?? HOT 1
- Add tags for each version
- whats the 39 for ? HOT 1
- Years section misaligned HOT 1
- About the version tag HOT 2
- Add @types support
- Not issue, just fixed columns width...
- Is it possible to put all of time line into one line? HOT 1
- timesheet-white.min.css not working HOT 1
- Handle years less than 100. (Y2k bug) HOT 1
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 timesheet.js.