https://github.com/loopmode/problema-v2
javascript based remake of the problema website
https://github.com/loopmode/problema-v2
Last synced: 7 months ago
JSON representation
javascript based remake of the problema website
- Host: GitHub
- URL: https://github.com/loopmode/problema-v2
- Owner: loopmode
- Created: 2014-02-20T22:57:59.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-16T00:23:06.000Z (over 11 years ago)
- Last Synced: 2025-01-08T16:26:21.340Z (about 1 year ago)
- Language: PHP
- Size: 2.66 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# content pages
## conventions
- Each content page should have a separate folder inside `/pages`, named by its route and id, e.g. 'home'
- The page folder should contain an `index.html` and a `content.html` template file
- The `index.html` file should present the entire page, including html header and footer, while the `content.html` file should present only the bare contents of the page.
- Initial hits will load the entire page via `index.html`, while further navigation will be handled via AJAX, loading only `content.html` and replacing the contents on the client.
## data
If a page needs additional data for rendering, a `data.json` file should be placed within the page folder. It will be provided to the h2o template automatically.
# libraries
## php
- http://www.h2o-template.org
- https://github.com/oyejorge/less.php
## javascript
- https://github.com/rstacruz/jquery.transit
## less
- http://lesscss.org/
- http://lessprefixer.com/