init push - laying out the project
This commit is contained in:
19
portal/app/views/layouts/application.html.erb
Normal file
19
portal/app/views/layouts/application.html.erb
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>betbeast : taking a bit out of arbitrage</title>
|
||||
<link href="<%= asset_path("favicon.png") %>" rel="shortcut icon"></link>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<!-- End Google Tag Manager -->
|
||||
<%= csrf_meta_tags %>
|
||||
<%= csp_meta_tag %>
|
||||
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
|
||||
<%= stylesheet_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id='app'><%= yield %></div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
0
portal/app/views/pages/index.html.erb
Normal file
0
portal/app/views/pages/index.html.erb
Normal file
@ -0,0 +1,11 @@
|
||||
<% @activities_hash.except(:all_activities).each do |k, activities| %>
|
||||
<% if k.starts_with?('project_asks.') %>
|
||||
<div style="border: 1px solid #eee; padding: 15px; margin-bottom: 15px;border-radius: 15px; background: #f3f3f3">
|
||||
<h3 style="margin: 0 0 15px;">Activities</h3>
|
||||
|
||||
<% activities.each do |activity| %>
|
||||
<%= render partial: 'partials/project_ask_digest', locals: { activity: activity } %>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
Reference in New Issue
Block a user