projecto completo creo, me quedo bonito :3

This commit is contained in:
Daniel Cortés
2019-04-17 12:36:31 -04:00
commit 3c55ad2713
17 changed files with 1356 additions and 0 deletions

25
templates/500.qtpl Normal file
View 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 %}