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