gitbucket.core.html.main.template.scala Maven / Gradle / Ivy
The newest version!
package gitbucket.core.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 main 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.Template5[String,Option[gitbucket.core.service.RepositoryService.RepositoryInfo],String,Html,gitbucket.core.controller.Context,play.twirl.api.HtmlFormat.Appendable] {
/**/
def apply/*1.2*/(title: String, repository: Option[gitbucket.core.service.RepositoryService.RepositoryInfo] = None, highlighterTheme: String = "github-v2")(body: Html)(implicit context: gitbucket.core.controller.Context):play.twirl.api.HtmlFormat.Appendable = {
_display_ {
{
/*2.2*/import gitbucket.core.plugin.PluginRegistry
/*3.2*/import gitbucket.core.view.helpers
Seq[Any](format.raw/*4.1*/("""
"""),_display_(/*10.13*/title),format.raw/*10.18*/("""
"""),_display_(if(repository.isEmpty)/*14.28*/{_display_(Seq[Any](format.raw/*14.29*/("""
"""),format.raw/*15.7*/("""
""")))} else {null} ),format.raw/*16.6*/("""
"""),_display_(/*17.6*/repository/*17.16*/.map/*17.20*/{ r =>_display_(Seq[Any](format.raw/*17.26*/("""
"""),format.raw/*18.7*/("""
"""),_display_(/*19.8*/r/*19.9*/.repository.description.map/*19.36*/{ desc =>_display_(Seq[Any](format.raw/*19.45*/("""
"""),format.raw/*20.9*/("""
""")))}),format.raw/*21.8*/("""
""")))}),format.raw/*22.6*/("""
"""),format.raw/*23.5*/("""
"""),_display_(/*56.6*/repository/*56.16*/.map/*56.20*/ { repository =>_display_(Seq[Any](format.raw/*56.36*/("""
"""),format.raw/*57.7*/("""
""")))}),format.raw/*58.6*/("""
"""),format.raw/*59.5*/("""
"""),_display_(/*60.6*/context/*60.13*/.settings.userDefinedCss.map/*60.41*/ { css =>_display_(Seq[Any](format.raw/*60.50*/("""
"""),format.raw/*61.7*/("""
""")))}),format.raw/*62.6*/("""
"""),format.raw/*63.3*/("""
GitBucket
"""),_display_(/*141.8*/body),format.raw/*141.12*/("""
"""),format.raw/*142.5*/("""
"""),_display_(/*157.6*/PluginRegistry()/*157.22*/.getJavaScript(context.request.getRequestURI).map/*157.71*/ { script =>_display_(Seq[Any](format.raw/*157.83*/("""
"""),format.raw/*158.7*/("""
""")))}),format.raw/*161.6*/("""
"""),format.raw/*162.3*/("""
"""))
}
}
}
def render(title:String,repository:Option[gitbucket.core.service.RepositoryService.RepositoryInfo],highlighterTheme:String,body:Html,context:gitbucket.core.controller.Context): play.twirl.api.HtmlFormat.Appendable = apply(title,repository,highlighterTheme)(body)(context)
def f:((String,Option[gitbucket.core.service.RepositoryService.RepositoryInfo],String) => (Html) => (gitbucket.core.controller.Context) => play.twirl.api.HtmlFormat.Appendable) = (title,repository,highlighterTheme) => (body) => (context) => apply(title,repository,highlighterTheme)(body)(context)
def ref: this.type = this
}
/*
-- GENERATED --
SOURCE: src/main/twirl/gitbucket/core/main.scala.html
HASH: ee657f5c54f1004ff5912af1d494dd46126591e9
MATRIX: 684->1|961->207|1012->252|1075->287|1372->557|1398->562|1474->611|1500->616|1619->708|1635->715|1678->737|1737->769|1776->770|1810->777|1873->813|1889->820|1918->828|2010->877|2042->883|2061->893|2074->897|2118->903|2152->910|2215->946|2231->953|2260->961|2289->963|2299->964|2326->970|2372->990|2381->991|2417->1018|2464->1027|2500->1036|2569->1078|2594->1082|2636->1094|2672->1100|2704->1105|2755->1129|2771->1136|2831->1175|2987->1304|3003->1311|3080->1367|3144->1404|3160->1411|3238->1468|3302->1505|3318->1512|3390->1563|3454->1600|3470->1607|3581->1696|3645->1733|3661->1740|3747->1805|3811->1842|3827->1849|3935->1935|4016->1989|4032->1996|4092->2035|4157->2073|4173->2080|4249->2135|4313->2172|4329->2179|4433->2261|4497->2298|4513->2305|4597->2368|4661->2405|4677->2412|4745->2459|4809->2496|4825->2503|4903->2560|4967->2597|4983->2604|5057->2657|5121->2694|5137->2701|5194->2737|5258->2774|5274->2781|5332->2818|5397->2856|5413->2863|5480->2909|5537->2939|5553->2946|5620->2992|5677->3022|5693->3029|5758->3073|5815->3103|5831->3110|5887->3145|5944->3175|5960->3182|6015->3216|6072->3246|6088->3253|6164->3308|6221->3338|6237->3345|6326->3413|6383->3443|6399->3450|6489->3519|6546->3549|6562->3556|6671->3643|6728->3673|6744->3680|6828->3743|6885->3773|6901->3780|6974->3832|7031->3862|7047->3869|7120->3921|7177->3951|7193->3958|7252->3996|7309->4026|7325->4033|7398->4085|7455->4115|7471->4122|7564->4194|7621->4224|7637->4231|7698->4271|7741->4288|7760->4298|7773->4302|7827->4318|7861->4325|7921->4358|7937->4365|7997->4404|8026->4406|8045->4416|8073->4422|8103->4424|8123->4434|8150->4439|8180->4440|8213->4445|8233->4455|8263->4463|8303->4473|8335->4478|8376->4492|8392->4499|8466->4552|8532->4592|8548->4599|8585->4627|8632->4636|8666->4643|8717->4667|8741->4670|8785->4684|8815->4687|8866->4711|8882->4718|8921->4736|8950->4737|9033->4793|9073->4794|9131->4807|9188->4836|9228->4837|9290->4854|9399->4936|9415->4943|9441->4948|9530->5010|9546->5017|9606->5056|9717->5140|9733->5147|9793->5186|10093->5459|10133->5461|10174->5474|10407->5663|10538->5766|10579->5768|10620->5781|10674->5808|10690->5815|10716->5820|11114->6191|11130->6198|11156->6203|11252->6272|11268->6279|11294->6284|11371->6334|11389->6343|11446->6391|11494->6401|11539->6419|11561->6432|11574->6436|11622->6446|11669->6465|11710->6479|11726->6486|11752->6491|11781->6493|11794->6497|11820->6502|11850->6505|11863->6509|11890->6515|11948->6542|11995->6558|12036->6571|12097->6588|12136->6599|12285->6721|12324->6722|12370->6739|12987->7327|13028->7328|13084->7355|13126->7369|13143->7376|13170->7381|13270->7436|13324->7461|13366->7475|13383->7482|13410->7487|13777->7825|13795->7832|13844->7858|13896->7882|13913->7889|13981->7935|14286->8212|14303->8219|14364->8258|14454->8320|14471->8327|14532->8366|14655->8461|14695->8462|14751->8489|14793->8503|14810->8510|14837->8515|14952->8585|15006->8610|15048->8624|15065->8631|15092->8636|15259->8785|15299->8786|15345->8803|15406->8836|15423->8843|15450->8848|15496->8866|15513->8873|15566->8904|15680->8986|15722->8999|15810->9060|15836->9064|15869->9069|15936->9107|15966->9108|16004->9254|16084->9306|16124->9307|16164->9318|16237->9362|16267->9363|16309->9376|16346->9385|16363->9392|16390->9397|16439->9417|16469->9418|16499->9419|16579->9469|16610->9470|16652->9483|16682->9484|16739->9496|16774->9503|16803->9504|16852->9526|16878->9542|16937->9591|16988->9603|17023->9610|17069->9628|17103->9640|17138->9647|17184->9662|17215->9665
LINES: 14->1|17->2|18->3|21->4|27->10|27->10|28->11|28->11|30->13|30->13|30->13|31->14|31->14|32->15|32->15|32->15|32->15|33->16|34->17|34->17|34->17|34->17|35->18|35->18|35->18|35->18|35->18|35->18|35->18|36->19|36->19|36->19|36->19|37->20|37->20|37->20|38->21|39->22|40->23|40->23|40->23|40->23|42->25|42->25|42->25|43->26|43->26|43->26|44->27|44->27|44->27|45->28|45->28|45->28|46->29|46->29|46->29|47->30|47->30|47->30|48->31|48->31|48->31|49->32|49->32|49->32|50->33|50->33|50->33|51->34|51->34|51->34|52->35|52->35|52->35|53->36|53->36|53->36|54->37|54->37|54->37|55->38|55->38|55->38|56->39|56->39|56->39|57->40|57->40|57->40|58->41|58->41|58->41|59->42|59->42|59->42|60->43|60->43|60->43|61->44|61->44|61->44|62->45|62->45|62->45|63->46|63->46|63->46|64->47|64->47|64->47|65->48|65->48|65->48|66->49|66->49|66->49|67->50|67->50|67->50|68->51|68->51|68->51|69->52|69->52|69->52|70->53|70->53|70->53|71->54|71->54|71->54|72->55|72->55|72->55|73->56|73->56|73->56|73->56|74->57|74->57|74->57|74->57|74->57|74->57|74->57|74->57|74->57|74->57|74->57|74->57|74->57|74->57|75->58|76->59|76->59|76->59|76->59|77->60|77->60|77->60|77->60|78->61|78->61|78->61|79->62|80->63|81->64|81->64|81->64|81->64|81->64|81->64|81->64|81->64|81->64|81->64|84->67|84->67|84->67|85->68|85->68|85->68|87->70|87->70|87->70|93->76|93->76|94->77|97->80|98->81|98->81|99->82|99->82|99->82|99->82|105->88|105->88|105->88|106->89|106->89|106->89|107->90|107->90|107->90|107->90|108->91|108->91|108->91|108->91|109->92|109->92|109->92|109->92|109->92|109->92|109->92|109->92|109->92|109->92|110->93|111->94|112->95|113->96|114->97|116->99|116->99|117->100|124->107|124->107|125->108|125->108|125->108|125->108|126->109|127->110|127->110|127->110|127->110|133->116|133->116|133->116|134->117|134->117|134->117|139->122|139->122|139->122|140->123|140->123|140->123|141->124|141->124|142->125|142->125|142->125|142->125|143->126|144->127|144->127|144->127|144->127|149->132|149->132|150->133|151->134|151->134|151->134|151->134|151->134|151->134|153->136|154->137|158->141|158->141|159->142|161->144|161->144|162->149|163->150|163->150|164->151|164->151|164->151|165->152|165->152|165->152|165->152|165->152|165->152|165->152|165->152|165->152|166->153|166->153|167->154|168->155|168->155|170->157|170->157|170->157|170->157|171->158|172->159|172->159|173->160|174->161|175->162
-- GENERATED --
*/