codenautas/backend-plus

View on GitHub
examples/fichero/client/admin.jade

Summary

Maintainability
Test Coverage
doctype html
html(lang="en")
  head
    title index
    link(rel='stylesheet', href='dialog-promise.css')
    link(rel='stylesheet', href='my-things.css')
    link(rel='stylesheet', href='my-tables.css')
    link(rel='stylesheet', href='admin.css')
  body
    div#main_layout
      div#barra_superior
        button.link#index index
        if isAdmin || isUser
          button.tables(id-table="fichas") fichas
          button.tables(id-table="medios") medios
          button.tables(id-table="autores") autores
          button.tables(id-table="tipos_medios") tipos de medios
          button.tables(id-table="apariciones") apariciones
          if isAdmin
            button.tables(id-table="users") usuarios
        button.link#chpass cambio clave
        button.link#logout salir
      div#table_layout
    pre#status
    script(src='js-yaml.js')
    script(src='require-bro.js')
    script(src='best-globals.js')
    script(src='json4all.js')
    script(src='dialog-promise.js')
    script(src='js-to-html.js')
    script(src='typed-controls.js')
    script(src='ajax-best-promise.js')
    script(src='my-things.js')
    script(src='my-tables.js')
    script(src='my-inform-net-status.js')
    script(src='cliente-en-castellano.js') 
    script(src='admin.js')