projecto completo creo, me quedo bonito :3
This commit is contained in:
25
templates/500.qtpl
Normal file
25
templates/500.qtpl
Normal file
@@ -0,0 +1,25 @@
|
||||
{% code
|
||||
type Error500Page struct {
|
||||
Message string
|
||||
Error string
|
||||
}
|
||||
%}
|
||||
|
||||
{% func (p *Error500Page ) Title() %}
|
||||
500
|
||||
{% endfunc %}
|
||||
|
||||
{% func (p *Error500Page ) Stylesheets() %}
|
||||
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
|
||||
{% endfunc %}
|
||||
|
||||
{% func (p *Error500Page ) Scripts() %}
|
||||
{% endfunc %}
|
||||
|
||||
{% func (p *Error500Page ) Body() %}
|
||||
<div class="container">
|
||||
<h1>Error: 500</h1>
|
||||
<p>{%s p.Message %}</p>
|
||||
<p>{%s p.Error %}</p>
|
||||
</div>
|
||||
{% endfunc %}
|
||||
Reference in New Issue
Block a user