Skip to content

silexlabs/BackNode-prototype1

Repository files navigation

Build Status Dependency Status Stories in Ready Code Climate

BackNode

POC for CIFACOM Week project

BackNode is GPL

Webdesigner guide

This is how to make an HTML page editable by content writers and clients in BackNode.

First open the HTML file in a text editor.

Make text fields editable

For all the nodes which are texts and which you want to be editable in BackNode, add the css class backnode-text or the HTML attribute data-bn="text".

Make images editable

For all the nodes which are images and which you want to be editable in BackNode, add the css class backnode-image or the HTML attribute data-bn="image".

Make HTML pages with Silex

The HTML pages created with Silex website builder can also be edited in BackNode. The designer has to enter the advanced mode of Silex - tools > Apollo mode, and add the css classes provided above to the desired elements.

Developer guide

Clone and build the project

clone the project:

> git clone https://github.com/silexlabs/BackNode.git && cd BackNode

Ok it's done, you can now build the project and start to work !

Build the project

just enter make in your terminal :)

> make

this make command will install npm dependencies (express / unifile / grunt / etc..), but other if you want -> package.json launch grunt compilation and run the project (server.js)

The default port for BackNode is 8080, so now open the URL http://localhost:8080/ in a browser.

User Interface

BlackNote user interface BlackNote user interface BlackNote user interface BlackNote user interface

Keyword referencing

cms, content management system, free, easy, online, webapp, opensource, community, template, editable, duplicate, html content, edit, backnode, dynamic, tool, web tool, silexlabs, cifacom, cloud explorer

Technical attributes

  • data-bn="edit" : Edit your element
  • data-bn="template" : To repeat the sub items of the type repeate
  • data-bn="repeat" : Repeat element in a template.
<!doctype html>
<html>
<head>
		<title>BackNode</title>
</head>
<body>
	 <h2 data-bn="edit">BackNode</h2>

     <div data-bn="edit" >
         Aliquam placerat vel rhoncus placerat turpis! Cum vel ut? Porttitor parturient phasellus.
     </div>

     <img src="https://www.google.com/images/srpr/logo11w.png" data-bn="edit"/>

</body>
</html>

Contact