This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@() | |
@navbarContext = { | |
<li class="active"><a href="/">Home</a></li> | |
<li><a href="/about">About</a></li> | |
} | |
@sidebar = { | |
<div class="well sidebar-nav"> | |
<ul class="nav nav-list"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@(navbar: Html) | |
<div class="navbar navbar-fixed-top"> | |
<div class="navbar-inner"> | |
<div class="container-fluid"> | |
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@(title: String)(navbarContext: Html)(sidebar: Html)(content: Html) | |
@import tags._ | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content="RegPubFinder"> | |
<meta name="author" content="Rogelio Morrell"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package controllers | |
import play.api._ | |
import play.api.mvc._ | |
import play.api.libs.json._ | |
import services.RegPubServices | |
object Application extends Controller { | |
def index = Action { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rutas | |
# ~~~~ | |
# RegPubFinder | |
GET / controllers.Application.index | |
GET /about controllers.Application.about | |
GET /findByName/:searchText controllers.Application.findByName(searchText: String) | |
GET /typeahead/:searchText controllers.Application.typeahead(searchText: String) | |
GET /sa/:ficha controllers.Application.show(ficha: String) |
NewerOlder