Mise à jour terminée. Pour connaître les apports de la version 13.8.4 par rapport à notre ancienne version vous pouvez lire les "Release Notes" suivantes :
https://about.gitlab.com/releases/2021/02/11/security-release-gitlab-13-8-4-released/
https://about.gitlab.com/releases/2021/02/05/gitlab-13-8-3-released/

Commit cf4dcd1a authored by Marc Duez's avatar Marc Duez

server: add help view controller

parent 71e14050
......@@ -21,6 +21,13 @@ def index():
response.flash = T("Welcome to Vidjil!")
return dict(message=T('hello world'))
def help():
if request.env.http_origin:
response.headers['Access-Control-Allow-Origin'] = request.env.http_origin
response.headers['Access-Control-Allow-Credentials'] = 'true'
response.headers['Access-Control-Max-Age'] = 86400
return dict(message=T('help i\'m lost'))
def run_request():
import gluon.contrib.simplejson
......
......@@ -6,6 +6,8 @@
- - -
<a class="button" onclick="db.call('group/index');">groups</a>
<a class="button" onclick="db.call('user/index');">users</a>
- - -
<a class="button" onclick="db.call('default/help');">help</a>
</div>
<div id="db_auth">
......
{{extend 'db_layout.html'}}
<h2>{{=T( request.args(0).replace('_',' ').capitalize() )}}</h2>
<div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment