From: Joe W. <jo...@gm...> - 2012-10-10 12:59:43
|
Hi Loren, > I like the look of the table in the editorial-view. I am wonder how we would want to indicate the use of this style in the tables generated by our DocBook to HTML 5 conversion? > > <table class="table table-striped table-bordered table-hover"> I'm no DocBook expert, but I think @role is the generic attribute for indicating style on DocBook elements, so, for example, one could take the DocBook <table role="the-works"> and render it as your HTML <table class="table table-striped table-bordered table-hover">. But in this case, shall we just make it the default? (For others, what we're talking about is a new table view in the doc app I committed yesterday. If you update your doc app to trunk, package up your .xar, and deploy it, you'll see the page in question at http://localhost:8080/exist/apps/doc/editorial-view.html. I applied the bootstrap css styles to the tables, which you can also see at http://twitter.github.com/bootstrap/base-css.html#tables.) Joe |