Adding resource category edit abilities

This commit is contained in:
2014-02-14 00:02:11 -07:00
parent 3f5a7012bd
commit 3d97e92eb7
19 changed files with 173 additions and 37 deletions

View File

@@ -16,6 +16,7 @@
<div id="header">
<a id="home_nav_link" href="/" title="Home"><img src="/assets/logo.png" id="logo" /></a>
<%= link_to 'People', users_path if can? :read, User %>
<%= link_to 'Tools & Resources', resources_path if can? :read, Resource %>
<%= link_to 'Access Cards', cards_path if can? :manage, Card %>
<% if can? :create, UserCertification %>
<%= link_to 'Cert Classes', certifications_path if can? :read, Certification %>

View File

@@ -10,6 +10,23 @@
<link href="/bootstrap/css/bootstrap-theme.min.css" type="text/css" rel="stylesheet" />
<script src="/bootstrap/js/bootstrap.min.js" type="text/javascript" ></script>
<style>
.thumbnail { height: 150px; position: relative; }
.thumbnail .ownership,
.thumbnail .disposed
{ position: absolute; top: 1px;
text-shadow:
-1px -1px 0 #fff,
1px -1px 0 #fff,
-1px 1px 0 #fff,
1px 1px 0 #fff;
font-weight: bold; left: 10px; }
.thumbnail .disposed { color: red; }
.thumbnail h4 { position: absolute; bottom: 1px; margin-bottom: 1px; }
</style>
<style>
#logo {
height: 40px;