-
- <%= link_to( image_tag("dcc_logo.png", alt: 'Digital Curation Centre'), "http://www.dcc.ac.uk/", title: "Digital Curation Centre") %><%= link_to( image_tag("uc3_logo.jpg", class: "footer_logo", alt: 'University of California Curation Center'),"http://www.cdlib.org/uc3/", title: "University of California Curation Center", id: "footer_right_uc3", ) %>
-
diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb
index a0cb493..569a37c 100644
--- a/app/views/layouts/_header.html.erb
+++ b/app/views/layouts/_header.html.erb
@@ -1,25 +1,9 @@
-
- <% if user_signed_in? && !current_user.org.nil? && current_user.org.logo.present? %>
-
- <%= link_to(image_tag(current_user.org.logo.thumb('100x100%').url, alt: current_user.org.name), current_user.org.target_url) %>
-
- <% else %>
-
- <%= link_to(image_tag("logo.png", alt: "#{Rails.configuration.branding[:application][:name]} #{_('logo')}"), root_path, title: Rails.configuration.branding[:application][:name]) %>
-
- <% end %>
+
+ <%= render partial: "layouts/navigation" %>
-
-
-
Placeholder text to help visual column layout
- <%= render "layouts/branding" %>
-
-
-
- <%= render "layouts/navigation" %>
-
-
-
- <%= render "layouts/signin_signout" %>
+
+ <% if user_signed_in? && !current_user.org.nil? %>
+ <%= render partial: "layouts/branding" %>
+ <% end %>
diff --git a/app/views/layouts/_navigation.html.erb b/app/views/layouts/_navigation.html.erb
index 04d047e..0006037 100644
--- a/app/views/layouts/_navigation.html.erb
+++ b/app/views/layouts/_navigation.html.erb
@@ -1,84 +1,66 @@
-
+
- -
- <%= link_to _('My Dashboard'), plans_path %>
-
-
- <%
- if current_user.can_org_admin? && !current_user.org_id.nil? && !action_name.include?("admin_")
- link = nil
-
- if current_user.can_modify_org_details? && current_user.org.abbreviation.blank?
- link = admin_edit_org_path(current_user.org_id)
- elsif current_user.can_modify_templates?
- link = admin_index_template_path(current_user.org_id)
- elsif current_user.can_modify_guidance?
- link = admin_index_guidance_path(current_user.org_id)
- elsif current_user.can_modify_org_details?
- link = admin_edit_org_path(current_user.org_id)
- elsif current_user.can_grant_permissions?
- link = admin_index_users_path
- end
- end
- %>
- <% unless link.nil? %>
- -
- <%= link_to _('Admin'), link %>
-
- <% end %>
- <% end %>
-
diff --git a/app/views/layouts/_signin_signout.html.erb b/app/views/layouts/_signin_signout.html.erb
index 062ed85..22f189c 100644
--- a/app/views/layouts/_signin_signout.html.erb
+++ b/app/views/layouts/_signin_signout.html.erb
@@ -1,34 +1,48 @@
+
+<% if MANY_LANGUAGES %>
+
+
+
+
+<% end %>
+
<% if user_signed_in? %>
-
- <%= _('Signed in as') %> <%= current_user.name(false) %>
-
-
|
-
- <%= link_to _('Logout'), destroy_user_session_path, method: :delete, class: "left-indent right-indent" %>
-
|
-
+
+
+
+
+
<% else %>
<% if !isActivePage(root_path) %>
-
-
|
+
+
+
+ <%= _('Sign in') %>
+
+
+ <%= render partial: 'shared/login_form', layout: 'shared/modal', locals: { id: "header-signin", title: _('Sign in')} %>
+
<% end %>
<% end %>
-
-<% if MANY_LANGUAGES %>
-
-
- <%= _('Choose your language') %>
-
-
- <% LANGUAGES.each do |l| %>
- - >
- <%= link_to l.name, locale_path(l.abbreviation), method: :patch, class: "main_nav lang-dropdown-link" %>
-
- <% end %>
-
-<% end %>
-
-<% if !user_signed_in? && !isActivePage(root_path) then %>
- <%= render partial: 'shared/login_form', layout: 'shared/modal', locals: { id: "header-signin", title: _('Sign in') } %>
-<% end %>
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index bc4213e..7c33b7d 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -1,5 +1,6 @@
-
+
<%= _('%{application_name}') % { :application_name => Rails.configuration.branding[:application][:name] } %>
@@ -8,13 +9,13 @@
-
+
<%= stylesheet_link_tag "application" %>
-
+
<%= javascript_include_tag "application"%>
-
+
-
+
<%= yield(:head) %>
<%= csrf_meta_tags %>
@@ -49,44 +50,45 @@
-
+
-
+
-
+
diff --git a/app/views/shared/_login_form.html.erb b/app/views/shared/_login_form.html.erb
index fb56a41..e080c2a 100644
--- a/app/views/shared/_login_form.html.erb
+++ b/app/views/shared/_login_form.html.erb
@@ -12,42 +12,42 @@
<%= _('Your Institution') %>
<%else%>
<%= f.hidden_field :shibboleth_id, :value => session[:shibboleth_data][:uid] %>
- <%end%>
+ <%end%>
-
+
<% end %>
-
-
+
+
-
+
-
+
<%= render partial: 'shared/accessible_submit_button',
- locals: {id: 'sign-in-button',
- val: _('Sign In'),
+ locals: {id: 'sign-in-button',
+ val: _('Sign In'),
disabled_initially: true,
classes: 'small-input-button left-indent',
tooltip: _('Enter your email and password.')} %>
@@ -57,4 +57,4 @@
-<% end %>
\ No newline at end of file
+<% end %>
diff --git a/lib/assets/stylesheets/dmproadmap.scss b/lib/assets/stylesheets/dmproadmap.scss
index 0ca9017..e93ebeb 100644
--- a/lib/assets/stylesheets/dmproadmap.scss
+++ b/lib/assets/stylesheets/dmproadmap.scss
@@ -1,11 +1,12 @@
/**** font configuration ****/
-/*
+
@font-face {
font-family: 'GillSansLight';
src: font-url('GillSansLight.ttf') format('truetype');
font-weight: normal;
}
+/*
$black: #000;
$white: #FFF;
$highlight-color: $black;
@@ -36,11 +37,66 @@
$header-logo-width: 165px;
$header-background: $white;
$header-text-color: $black;
+$header-background: linear-gradient(#ED6406, #F59503);
*/
-/* $header-background: linear-gradient(#ED6406, #F59503); */
+
+#main-navbar {
+ border-radius: 0px;
+ height: 50px;
+}
+
+#org-navbar {
+ border-radius: 0px;
+ margin-top: -20px;
+ height: 100px;
+}
+
+@media (min-width: 768px) {
+ #navbar2 .navbar-nav li a {
+ line-height: 100px;
+ height: 100px;
+ padding-top: 0;
+ }
+}
+
+@media (min-width: 768px) {
+ #admin-dropdown ul li a, #super-admin-dropdown ul li a {
+ line-height: 26px !important;
+ height: 26px !important;
+ margin-top: 3px !important;
+ }
+}
+
+.inverse-dropdown {
+ background-color: #222 !important;
+ border-color: #080808 !important;
+ & > li > a {
+ color: #999 !important;
+ &:hover {
+ color: #fff !important;
+ background-color: #000 !important;
+ }
+ }
+ .active a {
+ color: #fff !important;
+ background-color: #000 !important;
+ }
+}
+
+/* FOOTER STYLING */
+ #footer-navbar {
+ margin-bottom: 0px;
+ position: absolute;
+ bottom: 0;
+ width: 100%;
+ border-radius:0px;
+ ul {
+ padding-right:15px;
+ }
+ }
/* HEADER LOGO POSITIONING */
/*
$header-logo-top-margin: 20px;
$header-logo-left-margin: 10px;
-*/
\ No newline at end of file
+*/