Newer
Older
dmpopidor / app / views / layouts / application.html.erb
@Marta Ribeiro Marta Ribeiro on 3 Jun 2016 2 KB DMPonline4 - RAILS 4.0 (#4)
<!DOCTYPE html>
<html class="dmponline">
	<head>
	  <title><%= t('tool_title')%></title>
      <%= favicon_link_tag "favicon.ico" %>
		<!--[ if lte IE 9]>
			<script src="https://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
		   	<script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.js"></script>
		   	<style type="text/css"> 
		   		.navbar { 
		   			filter:none !important; 
		   		} 
		   	</style> 
		<![endif]-->
		  
		<!--[if gte IE 9]>
		  	<style type="text/css">
		    	.gradient {
		    	   	filter: none;
		    	}
		  	</style>
		<![endif]-->
                
		<%= stylesheet_link_tag   "application" %>
		<%= javascript_include_tag "application"%>
		
		<%= javascript_include_tag "jquery.tablesorter"%>
		<script>
			$(function() {	
				//function for sorting html tables
				$("#dmp_table").tablesorter({dateFormat: "uk"}); 
				$("#dmp_table_2").tablesorter({dateFormat: "uk"});
			});
            
		</script>

		<!--[if IE]>
			  	<script>
			  		$(function() {
					    // Invoke the plugin
					    $('input, textarea').placeholder();
					    $('input, iframe').placeholder();
					});    
				</script>
		<![endif]-->	

		<%= yield(:head) %>
		<%= csrf_meta_tags %>


		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		    
	</head>
	<body class="dmponline" >
		<!--p class="alert alert-danger">The DMPonline service will be down from 1600 BST (UTC+1) on Friday, 15th May 2015 to allow essential updates.  Please ensure you have saved your data and logged out before this time to avoid any problems.  We will be back again as soon as possible on Friday evening.</p-->
	    <!--p class="alert alert-success">Our essential updates have been completed, and DMPonline is up and running again. Many thanks for your patience.</p -->

	    <!-- header renedering -->
	    <%= render "layouts/dmponline_header" %>
	    
		<div class="main_page_container">
			<% if notice %>
  				<p class="alert alert-notice"><%= notice %></p>
				<% end %>
			<% if alert %>
 				<p class="alert alert-error"><%= alert %></p>
			<% end %>
			
		    <div class="main_page_content">
		    	<%= yield %>
		    </div>	
		</div>
		
		<!-- footer rendering -->
		<%= render "layouts/dmponline_footer" %>
			
	</body>
</html>