Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
a61ccd4a
Commit
a61ccd4a
authored
Dec 24, 2014
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
convert erb to haml
parent
e41dadcb
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
57 deletions
+37
-57
app/views/layouts/doorkeeper/admin.html.erb
app/views/layouts/doorkeeper/admin.html.erb
+0
-34
app/views/layouts/doorkeeper/admin.html.haml
app/views/layouts/doorkeeper/admin.html.haml
+22
-0
app/views/layouts/doorkeeper/application.html.erb
app/views/layouts/doorkeeper/application.html.erb
+0
-23
app/views/layouts/doorkeeper/application.html.haml
app/views/layouts/doorkeeper/application.html.haml
+15
-0
No files found.
app/views/layouts/doorkeeper/admin.html.erb
deleted
100644 → 0
View file @
e41dadcb
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
Doorkeeper
</title>
<%=
stylesheet_link_tag
"doorkeeper/admin/application"
%>
<%=
csrf_meta_tags
%>
</head>
<body>
<div
class=
"navbar navbar-inverse navbar-fixed-top"
role=
"navigation"
>
<div
class=
"container"
>
<div
class=
"navbar-header"
>
<%=
link_to
'OAuth2 Provider'
,
oauth_applications_path
,
class:
'navbar-brand'
%>
</div>
<ul
class=
"nav navbar-nav"
>
<%=
content_tag
:li
,
class:
"
#{
'active'
if
request
.
path
==
oauth_applications_path
}
"
do
%>
<%=
link_to
'Applications'
,
oauth_applications_path
%>
<%
end
%>
</ul>
</div>
</div>
<div
class=
"container"
>
<%-
if
flash
[
:notice
].
present?
%>
<div
class=
"alert alert-info"
>
<%=
flash
[
:notice
]
%>
</div>
<%
end
-%>
<%=
yield
%>
</div>
</body>
</html>
app/views/layouts/doorkeeper/admin.html.haml
0 → 100644
View file @
a61ccd4a
!!!
%html
%head
%meta
{
:charset
=>
"utf-8"
}
%meta
{
:content
=>
"IE=edge"
,
"http-equiv"
=>
"X-UA-Compatible"
}
%meta
{
:content
=>
"width=device-width, initial-scale=1.0"
,
:name
=>
"viewport"
}
%title
Doorkeeper
=
stylesheet_link_tag
"doorkeeper/admin/application"
=
csrf_meta_tags
%body
.navbar.navbar-inverse.navbar-fixed-top
{
:role
=>
"navigation"
}
.container
.navbar-header
=
link_to
'OAuth2 Provider'
,
oauth_applications_path
,
class:
'navbar-brand'
%ul
.nav.navbar-nav
=
content_tag
:li
,
class:
"
#{
'active'
if
request
.
path
==
oauth_applications_path
}
"
do
=
link_to
'Applications'
,
oauth_applications_path
.container
-
if
flash
[
:notice
].
present?
.alert.alert-info
=
flash
[
:notice
]
=
yield
\ No newline at end of file
app/views/layouts/doorkeeper/application.html.erb
deleted
100644 → 0
View file @
e41dadcb
<!DOCTYPE html>
<html>
<head>
<title>
OAuth authorize required
</title>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<%=
stylesheet_link_tag
"doorkeeper/application"
%>
<%=
csrf_meta_tags
%>
</head>
<body>
<div
id=
"container"
>
<%-
if
flash
[
:notice
].
present?
%>
<div
class=
"alert alert-info"
>
<%=
flash
[
:notice
]
%>
</div>
<%
end
-%>
<%=
yield
%>
</div>
</body>
</html>
app/views/layouts/doorkeeper/application.html.haml
0 → 100644
View file @
a61ccd4a
!!!
%html
%head
%title
OAuth authorize required
%meta
{
:charset
=>
"utf-8"
}
%meta
{
:content
=>
"IE=edge"
,
"http-equiv"
=>
"X-UA-Compatible"
}
%meta
{
:content
=>
"width=device-width, initial-scale=1.0"
,
:name
=>
"viewport"
}
=
stylesheet_link_tag
"doorkeeper/application"
=
csrf_meta_tags
%body
#container
-
if
flash
[
:notice
].
present?
.alert.alert-info
=
flash
[
:notice
]
=
yield
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment