Skip to content

justgage/Kdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Kdown Kyani download interface

Created: December 2013 By: Gage Peterson (@justgage on github / twitter)

status: Beta.

To Do

  • make individual file page.
  • test for ajax errors.

#How-to

##Where is everything located?

  • kdown.js the place where the bulk of the application is held
  • index.php the main page that includes all the javascript librarys that is needed and kdown.js.
  • api.php my mock api for looking up files.
  • console_fix.js fixes the console errors in IE.
  • dl.css some styles needed for the page (including css3 animations for sidebar / search bar.)
  • libs/ all the JS librarys are held.
  • files/ all additional files like images and some json files.
  • files/market_lang.json this is a standardised way (stole form front website) to associate the name of a market / language with it's locale code.

#Terms

  • cat refers to the categories in the left hand tabs.
  • market is the Kyani market (usually a country but not always).

#How is the application structured?

The downloads page is made of different parts.

  • API - this is the object that works with the API.

  • Hash - This deals with the hash in the URL.

  • Page - anything that relates to the view

    • Sidebar - The place at the left where the categories are held and the "all categories / search link." This is handled by the page.sidebar object.
    • Main - the center part of the page that's usually occupied by the table but also home to messages such as "no files are found" and such.
      • table_normal this is the normal category view of the table.
      • table_search this is another table that is filtered when there's a search term.
      • none_found a message saying there's no files found in a category (displayed when the table_normal is passed a empty array)
      • ajax this is the Ajax error having a button that allows you to reload the page.
    • File Pane - this is the slide out drawer that is displayed when you click on a file's name in the table.
    • Search - this is the search bar and also houses the search text.

About

Kyani download page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published