Sha256: c2f5f4117aa0d82f15a06a7c41fbe09044e118cc78a7270e8dbb0c8e0bf1de73

Contents?: true

Size: 585 Bytes

Versions: 1

Compression:

Stored size: 585 Bytes

Contents

# @cjsx

Rev.Content.TopBar = React.createClass
  mixins: [Rev.Content.EditModeListener]

  render: ->
    if Rev.Content.inEditMode
      <nav className="topBar">
        <ul className="inline-list right">
          <a href={ "#{Rev.Content.base_path}contents" }><li><span className="icon-loop2"></span>History</li></a>
        </ul>
        <div className="topBar-container">
          <div className="topBar-items"><span className="icon-warning"></span>
            You're in edit mode - Don't screw anything up!
          </div>
        </div>
      </nav>
    else
      <span />

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
revelry_content-1.0.0 app/assets/javascripts/revelry_content/components/TopBar.js.cjsx