SPB Git

spb/drive Public

SPB Drive — self-hosted personal cloud drive (files, previews, sharing) on the MacLustr cluster.

JavaScript 82.7% CSS 10.6% Nunjucks 3.6% Shell 1.8% SQL 1.3%
1.0 KB · 24 lines jinja
Raw Blame History
1{#2  ─────────────────────────────────────────────3   SPB Drive — Personal Cloud Drive4  ─────────────────────────────────────────────5   Author  : Simon-Pierre Boucher6   Contact : contact@spboucher.ai7   File    : src/web/views/error.njk8   Purpose : Custom 404/500 error pages in the design system9   License : MIT © Simon-Pierre Boucher10  ─────────────────────────────────────────────11#}12{% extends "base.njk" %}13{% block title %}{{ code }} · SPB Drive{% endblock %}14{% block body %}15<div class="center-page">16  <div>17    <div class="big">{{ code }}</div>18    <h1>{% if code == 404 %}Page not found{% else %}Something went wrong{% endif %}</h1>19    <p>{{ message }}</p>20    <a class="btn primary" href="/app">Back to drive</a>21  </div>22</div>23{% endblock %}24