From 1a2d01df17fd99ad6faf4f41a28c7217b5da455e Mon Sep 17 00:00:00 2001 From: xiaoxiaoqiong Date: Tue, 5 Jul 2022 14:53:42 +0800 Subject: [PATCH] =?UTF-8?q?oauth2=20code=E6=8E=88=E6=9D=83=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E7=99=BB=E5=BD=95css?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../layouts/doorkeeper/application.html.erb | 141 ++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 app/views/layouts/doorkeeper/application.html.erb diff --git a/app/views/layouts/doorkeeper/application.html.erb b/app/views/layouts/doorkeeper/application.html.erb new file mode 100644 index 00000000..856bf468 --- /dev/null +++ b/app/views/layouts/doorkeeper/application.html.erb @@ -0,0 +1,141 @@ + + + + + GitLink oauth2 认证 + + + + <%= javascript_include_tag :application, 'data-turbolinks-track': 'reload'%> + <%= stylesheet_link_tag "doorkeeper/doorkeeper" %> + <%= csrf_meta_tags %> + <%= yield(:css) if content_for?(:css) %> + + + + + +
+ <%- if flash[:notice].present? %> +
+ <%= flash[:notice] %> +
+ <% end -%> + + <%= yield %> +
+ + + \ No newline at end of file