Skip to content

MaybeNotABob/photoboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Photoboard

Display an organisation's personnel in a structured hierarchy tree (single branch supported currently).  Photographs of staff members are accompanied by their role/title and name.

              +---------+              
              |         |              
              |         |              
              |         |              
              |         |              
              +---------+              
                 BOSS                  
               JANE DOE                                                               
+---------+   +---------+   +---------+
|         |   |         |   |         |
|         |   |         |   |         |
|         |   |         |   |         |
|         |   |         |   |         |
+---------+   +---------+   +---------+
   I.T.          CARGO         SALES   
 JOHN DOO       JILL GROW     JACK WOE 

Screenshot of a possible org chart

CSV File

The first two rows of the CSV file aid in displaying the output.
Row 1 (first three values) is the header, which is formatted like so: Position, Name, Image URL and ignored when parsing Row 2 (value 4 - 6) contains the default image URL/Path in the event row 3 through n are unassigned.

Position,Name,Image URL
default,image,imgs/emotion_unknown.png

Example:

CEO,James Smith,imgs/emotion_amazing.png

TODO:

  • Add line break for individaul's role.
  • Add support for multiple branches

Credits & Attribution

FatCow Icons
../imgs/
The emoji icons/images are licensed under the Creative Commons Attribution 3.0 (CC BY 3.0 US) and provided by fatcow.com/free-icons.
 
Papa Parse
../jsv/papaparse.min.js
Is provided by (Matt Holt) papaparse.com && github.com/mholt/PapaParse and licensed under MIT License.

About

Organisational structure tree-branch photoboard.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published