gitbucket.core.admin.html.dbviewer.template.scala Maven / Gradle / Ivy
The newest version!
package gitbucket.core.admin.html
import _root_.play.twirl.api.TwirlFeatureImports._
import _root_.play.twirl.api.TwirlHelperImports._
import _root_.play.twirl.api.Html
import _root_.play.twirl.api.JavaScript
import _root_.play.twirl.api.Txt
import _root_.play.twirl.api.Xml
object dbviewer extends _root_.play.twirl.api.BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable,_root_.play.twirl.api.Format[play.twirl.api.HtmlFormat.Appendable]](play.twirl.api.HtmlFormat) with _root_.play.twirl.api.Template2[Seq[gitbucket.core.controller.Table],gitbucket.core.controller.Context,play.twirl.api.HtmlFormat.Appendable] {
/**/
def apply/*1.2*/(tables: Seq[gitbucket.core.controller.Table])(implicit context: gitbucket.core.controller.Context):play.twirl.api.HtmlFormat.Appendable = {
_display_ {
{
/*2.2*/import gitbucket.core.view.helpers
Seq[Any](_display_(/*3.2*/gitbucket/*3.11*/.core.html.main("Database viewer")/*3.45*/ {_display_(Seq[Any](format.raw/*3.47*/("""
"""),_display_(/*4.4*/gitbucket/*4.13*/.core.admin.html.menu("dbviewer")/*4.46*/ {_display_(Seq[Any](format.raw/*4.48*/("""
"""),format.raw/*5.5*/("""
"""),_display_(/*9.12*/tables/*9.18*/.map/*9.22*/ { table =>_display_(Seq[Any](format.raw/*9.33*/("""
"""),format.raw/*10.13*/("""- """),_display_(/*10.113*/table/*10.118*/.name),format.raw/*10.123*/("""
"""),format.raw/*11.15*/("""
"""),_display_(/*12.16*/table/*12.21*/.columns.map/*12.33*/ { column =>_display_(Seq[Any](format.raw/*12.45*/("""
"""),format.raw/*13.17*/("""-
"""),_display_(/*14.20*/column/*14.26*/.name),format.raw/*14.31*/(""" """),_display_(if(column.primaryKey)/*14.54*/{_display_(Seq[Any](format.raw/*14.55*/(""" """),format.raw/*14.56*/("""(PK) """)))} else {null} ),format.raw/*14.62*/("""
"""),format.raw/*15.17*/("""
""")))}),format.raw/*16.16*/("""
"""),format.raw/*17.15*/("""
""")))}),format.raw/*19.12*/("""
"""),format.raw/*20.11*/("""
""")))}),format.raw/*35.4*/("""
""")))}),format.raw/*36.2*/("""
"""),format.raw/*37.1*/("""
"""))
}
}
}
def render(tables:Seq[gitbucket.core.controller.Table],context:gitbucket.core.controller.Context): play.twirl.api.HtmlFormat.Appendable = apply(tables)(context)
def f:((Seq[gitbucket.core.controller.Table]) => (gitbucket.core.controller.Context) => play.twirl.api.HtmlFormat.Appendable) = (tables) => (context) => apply(tables)(context)
def ref: this.type = this
}
/*
-- GENERATED --
SOURCE: src/main/twirl/gitbucket/core/admin/dbviewer.scala.html
HASH: bf77097b725d97a9d970ab9f79f219d97ccab176
MATRIX: 648->1|820->102|883->138|900->147|942->181|981->183|1010->187|1027->196|1068->229|1107->231|1138->236|1273->345|1287->351|1299->355|1347->366|1388->379|1433->396|1462->397|1498->406|1514->413|1540->418|1600->450|1629->451|1672->466|1687->471|1714->476|1745->479|1760->484|1787->489|1830->504|1877->524|1891->529|1912->541|1962->553|2007->570|2052->587|2081->588|2117->597|2133->604|2159->609|2220->642|2249->643|2292->658|2307->663|2334->668|2378->684|2394->690|2421->695|2470->717|2485->723|2511->728|2561->751|2600->752|2629->753|2679->759|2724->776|2776->797|2819->812|2885->847|2924->858|3494->1398|3526->1400|3554->1401|3595->1415|3611->1422|3662->1452|3754->1517|3770->1524|3844->1577|3952->1658|3968->1665|4058->1733|4138->1785|4167->1786|4197->1789|4317->1881|4346->1882|4378->1887|4456->1938|4484->1939|4514->1942|4574->1975|4602->1976|4631->1978|4671->1990|4700->1991|4730->1994|5012->2248|5041->2249|5073->2254|5167->2320|5196->2321|5230->2328|5286->2356|5315->2357|5351->2366|5476->2464|5504->2465|5532->2466|5592->2498|5621->2499|5657->2508|5751->2575|5779->2576|5813->2583|5873->2615|5902->2616|5938->2625|5996->2656|6024->2657|6056->2662|6084->2663|6112->2664|6145->2669|6174->2670|6208->2677|6368->2809|6397->2810|6433->2819|6705->3063|6734->3064|6773->3075|6823->3098|6852->3099|6886->3106|6914->3107|6948->3114|7004->3142|7033->3143|7069->3152|7175->3231|7203->3232|7231->3233|7291->3265|7320->3266|7356->3275|7461->3353|7489->3354|7521->3359|7549->3360|7581->3365|7626->3383|7654->3384|7722->3424|7751->3425|7783->3430|7833->3453|7861->3454|7927->3492|7956->3493|7988->3498|8122->3605|8138->3612|8164->3617|8217->3642|8246->3643|8275->3644|8365->3705|8395->3706|8445->3728|8474->3729|8510->3738|8562->3762|8591->3763|8630->3774|8824->3939|8854->3940|8896->3953|8974->4002|9004->4003|9168->4138|9198->4139|9240->4152|9342->4225|9372->4226|9416->4241|9497->4293|9527->4294|9599->4337|9629->4338|9746->4427|9776->4428|9806->4429|9865->4459|9895->4460|9935->4471|10054->4562|10084->4563|10114->4564|10172->4593|10202->4594|10242->4605|10353->4688|10383->4689|10418->4696|10447->4697|10480->4702|10513->4707|10542->4708|10573->4711|10602->4712
LINES: 14->1|17->2|20->3|20->3|20->3|20->3|21->4|21->4|21->4|21->4|22->5|26->9|26->9|26->9|26->9|27->10|27->10|27->10|27->10|27->10|27->10|27->10|27->10|27->10|27->10|27->10|27->10|27->10|27->10|28->11|29->12|29->12|29->12|29->12|30->13|30->13|30->13|30->13|30->13|30->13|30->13|30->13|30->13|30->13|30->13|30->13|30->13|30->13|31->14|31->14|31->14|31->14|31->14|31->14|31->14|32->15|33->16|34->17|36->19|37->20|52->35|53->36|54->37|54->37|54->37|54->37|55->38|55->38|55->38|56->39|56->39|56->39|58->41|58->41|59->42|61->44|61->44|62->45|63->46|63->46|64->47|65->48|65->48|67->50|67->50|67->50|68->51|75->58|75->58|76->59|76->59|76->59|77->60|77->60|77->60|78->61|79->62|79->62|79->62|79->62|79->62|80->63|81->64|81->64|82->65|82->65|82->65|83->66|84->67|84->67|85->68|85->68|85->68|85->68|85->68|86->69|89->72|89->72|90->73|92->75|92->75|93->76|94->77|94->77|95->78|95->78|96->79|96->79|96->79|97->80|98->81|98->81|98->81|98->81|98->81|99->82|100->83|100->83|101->84|101->84|102->85|103->86|103->86|105->88|105->88|106->89|107->90|107->90|109->92|109->92|110->93|112->95|112->95|112->95|112->95|112->95|112->95|112->95|112->95|113->96|113->96|114->97|114->97|114->97|115->98|118->101|118->101|119->102|120->103|120->103|124->107|124->107|125->108|126->109|126->109|127->110|128->111|128->111|130->113|130->113|135->118|135->118|135->118|135->118|135->118|136->119|138->121|138->121|138->121|138->121|138->121|139->122|140->123|140->123|141->124|141->124|142->125|143->126|143->126|144->127|144->127
-- GENERATED --
*/