Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated more pages to handle wide logos, changed Register/Login page to ... #4

Merged
merged 1 commit into from May 20, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/apis/import.html.erb
Expand Up @@ -3,7 +3,7 @@

<h1>Import WADL</h1>

<a href="<%=@api.apidocurl%>" target="_new"><center><img src="<%= @api.imageurl %>" align="right" style="width:200px; height: 200px;"></center></a>
<a href="<%=@api.apidocurl%>" target="_new"><center><img src="<%= @api.imageurl %>" align="right" style="width:200px; height: auto;"></center></a>

<br />
<p>
Expand Down
2 changes: 1 addition & 1 deletion app/views/apis/show.html.erb
Expand Up @@ -19,7 +19,7 @@

<h1><%= @api.name %>
(<%= @api.category %>)</h1>
<h2>Registered by <%= link_to @api.user.username.capitalize, "/users/" + @api.user.username.downcase %></h2><br />
<h2>Registered by <%= link_to @api.user.username.downcase, "/users/" + @api.user.username.downcase %></h2><br />

<div class="alert alert-info"><%= @api.description %></div>

Expand Down
30 changes: 20 additions & 10 deletions app/views/static/login.html.erb
@@ -1,11 +1,21 @@
<h1>Private Corporate Logins</h1><br />

<br /><br />
<div class="row-fluid" style="height:600px;">
<div class="span1" >
<a href="/auth/github"><img src="/assets/githublogo.jpg" /></a>
<div class="hero-unit">
<center>
<h1>Individual Logins</h1><br/>
<div id="reqbutton" class="btn btn-success btn-large">
<img src="/assets/github-icon.png"> GitHub Login
</div>
<br/><br/>
<h1>Enterprise Logins</h1><br />
<br /><br />
<div class="row-fluid" style="height:600px;">
<div class="span1" >
<a href="/bechtel"><img src="/assets/bechtellogo.png" /></a>
</div>
</div>
</center>
</div>
<div class="span1" >
<a href="/bechtel"><img src="/assets/bechtellogo.png" /></a>
</div>
</div>
<script type="text/javascript">
$('#reqbutton').click(function() {
window.location.replace("/auth/github");
});
</script>
2 changes: 1 addition & 1 deletion app/views/users/show.html.erb
Expand Up @@ -46,7 +46,7 @@ end
(<%= @api.category %>)</h4><hr />
</td></tr>
<tr>
<td width="80" height="100" valign="top"><a href="/<%=@api.name%>"><img src="<%= @api.imageurl %>" style="width:60px; height: 60px; margin:5px;" align="left"></a></td>
<td width="80" height="100" valign="top"><a href="/<%=@api.name%>"><img src="<%= @api.imageurl %>" style="width:60px; height: auto; margin:5px;" align="left"></a></td>
<td valign="top">
<%= @api.description[0..140] %>
</td>
Expand Down