VRFS-3784 added layout for jamtracks app viewing of corp pages
This commit is contained in:
parent
8c7c345859
commit
d6500449da
|
|
@ -3,7 +3,7 @@ class CorpsController < ApplicationController
|
|||
layout "corporate"
|
||||
|
||||
def about
|
||||
|
||||
render(layout: 'jtx') and return if request.params[:jtx]
|
||||
end
|
||||
|
||||
def news
|
||||
|
|
@ -51,11 +51,11 @@ class CorpsController < ApplicationController
|
|||
end
|
||||
|
||||
def privacy
|
||||
|
||||
render(layout: 'jtx') and return if request.params[:jtx]
|
||||
end
|
||||
|
||||
def terms
|
||||
|
||||
render(layout: 'jtx') and return if request.params[:jtx]
|
||||
end
|
||||
|
||||
def help
|
||||
|
|
@ -69,4 +69,4 @@ class CorpsController < ApplicationController
|
|||
def premium_accounts_path
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -0,0 +1,35 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title><%= full_title(yield(:title)) %></title>
|
||||
<style>
|
||||
body {
|
||||
color: #999;
|
||||
}
|
||||
a {
|
||||
color: #fc0;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
}
|
||||
h1 {
|
||||
font-weight: 200;
|
||||
font-size: 32px;
|
||||
margin-bottom: 10px;
|
||||
color: #fff;
|
||||
}
|
||||
.term {
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
}
|
||||
h2 {
|
||||
font-weight: 300;
|
||||
font-size: 20px;
|
||||
color: #fff;
|
||||
}
|
||||
</style>
|
||||
<%= csrf_meta_tags %>
|
||||
</head>
|
||||
<body bgcolor='#262626' style="font-family:Arial, Helvetica, sans-serif; a.color=#fc0">
|
||||
<%= yield %>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue