commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
f29cdc9fe6f0f77f9c71fefa1daa1cd6f67071fa | templates/post.html.erb | templates/post.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- For viewing the page on mobile devices -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>Thoughts of an Eaten Sun</title>
<link rel="stylesheet" href="/style.css">
</head>
<body>
<header>
... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- For viewing the page on mobile devices -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>Thoughts of an Eaten Sun</title>
<link rel="stylesheet" href="/style.css">
</head>
<body>
<header>
... | Add google analytics script to posts | Add google analytics script to posts
| HTML+ERB | mit | kyletolle/everything-blog,kyletolle/everything-blog |
3033e7748c17020fce4fac8398681168c772180e | lib/domgen/gwt/templates/app_module.xml.erb | lib/domgen/gwt/templates/app_module.xml.erb | <?xml version="1.0" encoding="UTF-8"?>
<!-- DO NOT EDIT: File is auto-generated -->
<module>
<inherits name="com.google.gwt.inject.Inject"/>
<inherits name="org.realityforge.gwt.lognice.Lognice"/>
<inherits name="com.google.gwt.logging.LoggingDisabled"/>
<% if repository.appcache? -%>
<inherits name="org.realit... | <?xml version="1.0" encoding="UTF-8"?>
<!-- DO NOT EDIT: File is auto-generated -->
<module>
<inherits name="com.google.gwt.inject.Inject"/>
<inherits name="org.realityforge.gwt.lognice.Lognice"/>
<% if repository.appcache? -%>
<inherits name="org.realityforge.gwt.appcache.Appcache"/>
<% end -%>
<set-configura... | Remove inherits for LoggingDisabled as Logniec already adds an inherit for that module | Remove inherits for LoggingDisabled as Logniec already adds an inherit for that module
| HTML+ERB | apache-2.0 | realityforge/domgen,realityforge/domgen,icaughley/domgen,icaughley/domgen |
7698220e80513d6baeb089cdeb986f6890fbb049 | app/views/challenges/show.html.erb | app/views/challenges/show.html.erb | <div class="challenge_body">
<%= javascript_tag do %>
window.destinationLat = '<%= @challenge.lat %>';
window.destinationLon = '<%= @challenge.lon %>';
<% end %>
<% if @total_points %>
<h4 class="text-muted"> Your Score: <%= @total_points %></h4>
<% end %>
<div class="col-md-8 pull-left" id="chall... | <%= javascript_tag do %>
window.destinationLat = '<%= @challenge.lat %>';
window.destinationLon = '<%= @challenge.lon %>';
<% end %>
<% if @total_points %>
<h4 class="text-muted"> Your Score: <%= @total_points %></h4>
<% end %>
<div class="col-md-8 pull-left" id="challenge_media">
<%= image_tag(@challenge.photo... | Remove outer div for ajax and add remote true to the form. Re-indent to account for div removal | Remove outer div for ajax and add remote true to the form. Re-indent to account for div removal
| HTML+ERB | mit | tmartyny/sonoma_state_hunt,tmartyny/sonoma_state_hunt,tmartyny/sonoma_state_hunt |
74faf80d86d0ea6286df6b29de86a60f8e73755b | app/views/welcome/_header.html.erb | app/views/welcome/_header.html.erb | <% if current_budget&.accepting? %>
<div class="expanded jumbo budget-home text-center">
<div class="row">
<div class="small-12 medium-9 column small-centered">
<span class="tiny-title"><%= t("welcome.header_budget.label") %></span>
<p class="lead-title margin-top"><%= t("welcome.header_budg... | <% if current_budget %>
<div class="expanded jumbo budget-home text-center">
<div class="row">
<div class="small-12 medium-9 column small-centered">
<span class="tiny-title"><%= t("welcome.header_budget.label") %></span>
<p class="lead-title margin-top"><%= t("welcome.header_budget.title") %... | Revert "Homepage hotfix to hide button to create investments" | Revert "Homepage hotfix to hide button to create investments"
This reverts commit 1e6fdcdb1c400171456c522c380ef91e73942983.
| HTML+ERB | agpl-3.0 | AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul |
995f5fb44da03f4588461a4756572dd43b457779 | app/views/layouts/nav/_help_dropdown.html.erb | app/views/layouts/nav/_help_dropdown.html.erb | <li class="dropdown" title="Help" >
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-question-circle"></i><span id="help-nav-text" class="hidden-sm"> Help</span><span class="caret"></span>
</a>
<ul class="dropdown-menu">
<... | <li class="dropdown" title="Help" >
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-question-circle"></i><span class="hidden-sm hidden-sm-nav"> Help</span><span class="caret"></span>
</a>
<ul class="dropdown-menu">
<%= na... | Use class instead of id on help | Use class instead of id on help
| HTML+ERB | mit | OSC/ood-dashboard,OSC/ood-dashboard,OSC/ood-dashboard |
c34684d9470820a360008799c028589a0cddcc27 | app/views/root/_footer_support_links.html.erb | app/views/root/_footer_support_links.html.erb | <h2 class="visuallyhidden">Support links</h2>
<ul>
<li><a href="/help">Help</a></li>
<li><a href="/help/cookies">Cookies</a></li>
<li><a href="/contact">Contact</a></li>
<li><a href="/cymraeg">Cynnwys Cymraeg</a></li>
<li>Built by the <a href="https://www.gov.uk/government/organisations/government-digital-ser... | <h2 class="visuallyhidden">Support links</h2>
<ul>
<li><a href="/help">Help</a></li>
<li><a href="/help/cookies">Cookies</a></li>
<li><a href="/contact">Contact</a></li>
<li><a href="/cymraeg">Cymraeg</a></li>
<li>Built by the <a href="https://www.gov.uk/government/organisations/government-digital-service">Go... | Revert "Change Cymraeg link label" | Revert "Change Cymraeg link label"
| HTML+ERB | mit | alphagov/static,tadast/static,tadast/static,alphagov/static,kalleth/static,kalleth/static,robinwhittleton/static,alphagov/static,tadast/static,kalleth/static,robinwhittleton/static,tadast/static,robinwhittleton/static,kalleth/static,robinwhittleton/static |
1352174143336404c77922d0c8b798cf33862010 | app/views/root/_publication_metadata.html.erb | app/views/root/_publication_metadata.html.erb | <div class="meta-data group">
<div class="inner">
<% if publication.updated_at %>
<p class="modified-date">Last updated: <%= publication.updated_at.to_formatted_s(:short_ordinal) %></p>
<% end %>
<% if [:programme].include? publication.type.to_sym %>
<p class="print-link"><%= link_to "Print th... | <div class="meta-data group">
<div class="inner">
<% if publication.updated_at %>
<p class="modified-date">Last updated: <%= publication.updated_at.to_formatted_s(:short_ordinal) %></p>
<% end %>
<% if [:programme].include? publication.type.to_sym %>
<p class="print-link"><%= link_to "Print th... | Use the correct block name to put the new headers in | Use the correct block name to put the new headers in
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
64a0741d9dbd04709930d762a987f3c2d830a67e | app/views/root/_publication_metadata.html.erb | app/views/root/_publication_metadata.html.erb | <div class="meta-data group">
<div class="inner">
<% if publication.updated_at %>
<p class="modified-date">Last updated: <%= publication.updated_at.to_formatted_s(:short_ordinal) %></p>
<% end %>
<% if [:programme].include? publication.type.to_sym %>
<p class="print-link"><%= link_to "Print th... | <div class="meta-data group">
<div class="inner">
<% if publication.updated_at %>
<p class="modified-date">Last updated: <%= publication.updated_at.to_formatted_s(:short_ordinal) %></p>
<% end %>
<% if [:programme].include? publication.type.to_sym %>
<p class="print-link"><%= link_to "Print th... | Make related items show up again. | Make related items show up again.
The excess close div was causing slimmer to get confused.
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
94725b5221594c295faf2a651649520c9c58cc20 | app/views/devise/confirmations/new.html.erb | app/views/devise/confirmations/new.html.erb | <h2><%= t('.resend_confirmation_instructions', default: 'Resend confirmation instructions') %></h2>
<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %>
<%= devise_error_messages! %>
<div>
<%= f.label :email %><br />
<%= f.email_field :email, ... | <h2><%= t('.resend_confirmation_instructions', default: 'Resend confirmation instructions') %></h2>
<%= simple_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %>
<%= f.error_notification class: 'alert alert-danger' %>
<div class="form-inputs">
<%= f... | Make confirmations view bootstrap 3 compatible | Make confirmations view bootstrap 3 compatible
| HTML+ERB | mit | maximalink/devise-i18n-bootstrap,maximalink/devise-i18n-bootstrap |
e9b14cc82ef179c91dcde4700ba93aa99f36ba34 | app/views/home/index.html.erb | app/views/home/index.html.erb | <div class="home">
<%= render "photo_row",
photo: @photo,
most_recent_event_with_recent_result: @most_recent_event_with_recent_result,
weeks_of_recent_results: @home.weeks_of_recent_results %>
<div class="row">
<div class="col-sm-6">
<%= render_page "home/upcoming_events", upcomin... | <div class="home">
<% cache [ @photo, @most_recent_event_with_recent_result, @home.weeks_of_recent_results, @today ] do %>
<%= render "photo_row",
photo: @photo,
most_recent_event_with_recent_result: @most_recent_event_with_recent_result,
weeks_of_recent_results: @home.weeks_of_recent_resu... | Add fragment caching for homepage | Add fragment caching for homepage
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
1243c71642e6ae1eb1422e7de1c0cf8d0b252b21 | app/views/home/index.html.erb | app/views/home/index.html.erb | <div class ="container-fluid">
<h1 class="landing-title">Welcome to Prayerly</h1>
<%= link_to "All prayer categories", categories_path %>
<div class="video-container">
<!-- <video autoplay loop muted>
<source src="lit_candle.mp4" type="video/mp4">
<source src="lit_candle.webm" type="video/webm">
<... | <div class="container-fluid">
<h1 class="landing-title">Welcome to Prayerly</h1>
<%= button_to "Enter", categories_path, :method => :get, id: "enter_button" class: "btn btn-primary" %>
<div class="video-container">
<!-- <video autoplay loop muted>
<source src="lit_candle.mp4" type="video/mp4">
<source... | Make a link_to into a button to get to categories index | Make a link_to into a button to get to categories index
| HTML+ERB | mit | cloverharvest/prayerly,cloverharvest/prayerly,cloverharvest/prayerly |
7d1b217a072481ac8d6badbc2592951506a0669f | app/views/devise/sessions/new.html.erb | app/views/devise/sessions/new.html.erb | <h1>Sign in</h1>
<% if Date.today >= Date.new(2014,03,12) && Date.today < Date.new(2014,03,17) %>
<br/>
<div class="alert alert-block">
<h2>
<p>The GOV.UK Infrastructure Team will be doing planned maintenance from 6pm GMT on Tue, 25 Mar 2014 until 9am GMT on Wed, 26 Mar 2014. You will be unable to use Si... | <h1>Sign in</h1>
<%= form_for(resource, as: resource_name, url: session_path(resource_name), html: { class: 'well', autocomplete: 'on' }) do |f| %>
<%= f.label :email %>
<%= f.email_field :email, class: 'span6', autofocus: 'autofocus' %>
<%= f.label :password, "Passphrase" %>
<%= f.password_field :password, ... | Remove migration warning code from login view. | Remove migration warning code from login view.
The dates have passed, so this is now redundant.
| HTML+ERB | mit | alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2 |
eb5030d6ef08a5d4e8373c429d4d9f31c9d7bb31 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>I will travel</title>
<%= stylesheet_link_tag "blueprint/screen", :media => "screen,
projection" %>
<%= stylesheet_link_tag "blueprint/print", :media => "print" %>
<!--[if lt IE 8]>
<%= stylesheet_link_tag "blueprint/ie", :media => "screen,
projection" %>
<... | <!DOCTYPE html>
<html>
<head>
<title>I will travel</title>
<link rel="stylesheet" type="text/css" href="/css/blueprint/screen.css">
<link rel="stylesheet" type="text/css" href="/css/iwilltravel.css">
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<div class="container">
<d... | Use css directly and not with asset pipeline. | Use css directly and not with asset pipeline.
| HTML+ERB | agpl-3.0 | cornelius/iwilltravel,cornelius/iwilltravel |
9ae3710b06aeece019c3cf6923acdef376f9d800 | app/views/notifications/index.html.erb | app/views/notifications/index.html.erb | <div class="masonry">
<% if @notifications.empty? %>
<div class="box sorry">
<div class="inner-box">
There aren't any notifications for you. <br />You live alone, don't you?
</div>
</div>
<% else %>
<% @notifications.each do |notification| %>
<div class="box notification">
<div cl... | <div class="masonry">
<% if @notifications.empty? %>
<div class="box sorry">
<div class="inner-box">
There aren't any notifications for you. <br />You live alone, don't you?
</div>
</div>
<% else %>
<% @notifications.each do |notification| %>
<div class="box notification">
<div cl... | Add indicators for read / unread status of notifications | Add indicators for read / unread status of notifications
| HTML+ERB | mit | dhahn/r13-team-45,dhahn/r13-team-45 |
020e0996d699207e55c1900fe74eabe984550091 | app/views/blogs/index.html.erb | app/views/blogs/index.html.erb | <h1>Listing blogs</h1>
<table>
<tr>
<td>Blog Entry</td>
</tr>
<% @blogs.each do |blog| %>
<tr>
<td><%= blog.title %></td>
<td><%= link_to 'Show', blog %></td>
<td><%= link_to 'Edit', edit_blog_path(blog) %></td>
</tr>
<% end %>
</table>
<br />
<%= link_to 'New blog entry', new_blog_path %>
| <h1>Listing blogs</h1>
Remember that this is not the official blog. For that please go <a href="http://the-most-boring-blog-in-the-west.blogspot.com/">here</a>.
<table>
<tr>
<td>Blog Entry</td>
</tr>
<% @blogs.each do |blog| %>
<tr>
<td><%= blog.title %></td>
<td><%= link_to 'Show', blog %></td>
... | Make sure we link across to my 'official' blog. | Make sure we link across to my 'official' blog.
| HTML+ERB | mit | leenookx/semantix,leenookx/semantix,leenookx/semantix |
516c37e0ba6abc85899f0c579544537f3d97bc08 | app/views/events/show.html.erb | app/views/events/show.html.erb | <h2><%= @event.location %></h2>
<ul>
<li>Event Creator: <%= @sitter.first_name %></li>
<li>Start Date: <%= date_time_helper(@event.start_date_time) %></li>
<li>End Date: <%= date_time_helper(@event.end_date_time) %></li><br>
<% if current_user.tokens >= 1 %>
<%= link_to 'Book Now!', book_event_path(@event)... | <h2><%= @event.location %></h2>
<ul>
<li>Event Creator: <%= @sitter.first_name %></li>
<li>Start Date: <%= date_time_helper(@event.start_date_time) %></li>
<li>End Date: <%= date_time_helper(@event.end_date_time) %></li><br>
<% if user_signed_in? && current_user.tokens >= 1 %>
<%= link_to 'Book Now!', book... | Change logic in events show. If a user is not logged in, they can no longer access the purchase tokens or book event links in the event show page | Change logic in events show. If a user is not logged in, they can no longer access the purchase tokens or book event links in the event show page
| HTML+ERB | mit | sd-pocket-gophers-2017/swappaws,sd-pocket-gophers-2017/swappaws,sd-pocket-gophers-2017/swappaws |
c1d57eac2c7650f1b53fdea06d0d81428df9bc20 | app/views/reports/new.html.erb | app/views/reports/new.html.erb | <h1>Report request: <%= @info_request.title %></h1>
<% if @info_request.attention_requested %>
<p><%= _("This request has already been reported for administrator attention") %></p>
<% else %>
<p>
Reporting a request notifies the site administrators. They will respond as soon as possible.
</p>
<p>Why specif... | <h1>Report request: <%= @info_request.title %></h1>
<% if @info_request.attention_requested %>
<p><%= _("This request has already been reported for administrator attention") %></p>
<% else %>
<p>
<%= _("Reporting a request notifies the site administrators. They will respond as soon as possible.") %>
</p>
<... | Mark up some more text for translation. | Mark up some more text for translation.
| HTML+ERB | agpl-3.0 | petterreinholdtsen/alaveteli,datauy/alaveteli,andreicristianpetcu/alaveteli_old,obshtestvo/alaveteli-bulgaria,codeforcroatia/alaveteli,andreicristianpetcu/alaveteli,nzherald/alaveteli,obshtestvo/alaveteli-bulgaria,TEDICpy/QueremoSaber,andreicristianpetcu/alaveteli_old,codeforcroatia/alaveteli,Br3nda/alaveteli,obshtestv... |
e9b3f0f39f515d3c2bc1e9eddcf76e30df0683db | app/views/events/show_quiz.html.erb | app/views/events/show_quiz.html.erb | <h2>Tasting</h2>
<%= form_for @tasting do |f| %>
<% if @wine.color == 'red' %>
<%= render 'red_wine' %>
<% else %>
<%= render 'white_wine' %>
<% end %>
<%= hidden_field_tag :event_wine_id, @event_wine.id %>
<%= f.submit %>
<% end %>
| <h2>Tasting</h2>
<%= form_for @tasting do |f| %>
<% if @wine.color == 'red' %>
<%= render 'red_wine' %>
<% else %>
<%= render 'white_wine' %>
<% end %>
<%= hidden_field_tag :event_wine_id, @event_wine.id %>
<%= f.submit "Submit" %>
<% end %>
| Change text on button to Submit | Change text on button to Submit
| HTML+ERB | mit | mud-turtles-2014/palate,mud-turtles-2014/palate |
4fb58ead0703a73fe5b377f79b29c83d7f5ba10d | app/views/families/_form_fields.erb | app/views/families/_form_fields.erb | <%= form.label :name, 'Family Name' %> <%= form.text_field :name %> <em>John Doe</em> or <em>John & Jane Doe</em><br/>
<%= form.label :last_name, 'Family Last Name' %> <%= form.text_field :last_name %> <em>Doe</em><br/>
<%= form.label :home_phone %> <%= form.phone_field :home_phone %><b... | <%= form.label :name, 'Family Name' %> <%= form.text_field :name %> <em>John Doe</em> or <em>John & Jane Doe</em><br/>
<%= form.label :last_name, 'Family Last Name' %> <%= form.text_field :last_name %> <em>Doe</em><br/>
<%= form.label :home_phone %> <%= form.phone_field :home_phone %><b... | Make State field larger (Ben Hudson). | Make State field larger (Ben Hudson).
| HTML+ERB | agpl-3.0 | powerchurch/onebody,seethemhigh/onebody,moss-zc/sns_shop,calsaviour/onebody,dorman/onebody,fadiwissa/onebody,acbilimoria/onebody,cessien/onebody,klarkc/onebody,ebennaga/onebody,fadiwissa/onebody,powerchurch/onebody,ebennaga/onebody,samuels410/church-portal,cessien/onebody,hooray4me/onebody2,calsaviour/onebody,Capriatto... |
6b71add39f8333d3da3a4b697c47362eb30af427 | app/views/partials/_all_tickets.erb | app/views/partials/_all_tickets.erb | <% @tickets.each do |ticket| %>
<div class="oneTicket">
<p><span class="label">Category:</span> <%= ticket.category %></p>
<p><span class="label">Description: </span><%=ticket.description %></p>
<% if ticket.resolved == true %>
<p><span class="label">Resolved:</span> Yes</p>
<% else %>
<p><sp... | <% @tickets.each do |ticket| %>
<div class="oneTicket">
<p><span class="label">Category:</span> <%= ticket.category %></p>
<p><span class="label">Description: </span><%=ticket.description %></p>
<% if ticket.resolved == true %>
<p><span class="label">Resolved:</span> Yes</p>
<% else %>
<p><sp... | Add View For Ticket Age | Add View For Ticket Age
| HTML+ERB | mit | krauzer/fist_of_five_group_project,krauzer/fist_of_five_group_project,krauzer/fist_of_five_group_project |
1e2ada556f3343624c143dfa4765d30d0ab5509e | app/views/purchases/_modal.html.erb | app/views/purchases/_modal.html.erb | <div id="firstModal" class="reveal-modal" data-reveal aria-labelledby="firstModalTitle" aria-hidden="true" role="dialog">
<h2 id="firstModalTitle">Enter the name and amount of your purchase!</h2>
<%= render "purchases/form" %>
<a class="close-reveal-modal" aria-label="Close">×</a>
</div> | Add modal wrapper for purchase form | Add modal wrapper for purchase form
| HTML+ERB | mit | nyc-cicadas-2015/Can-I-Afford-This,nyc-cicadas-2015/Can-I-Afford-This,nyc-cicadas-2015/Can-I-Afford-This | |
dcfe6041ace75e90a1ef50f6e093e204ada707bf | app/views/smart_answers/_collapsed_question.html.erb | app/views/smart_answers/_collapsed_question.html.erb | <% question_page.questions.each_with_index do |question, question_index|%>
<tr class="section">
<td class="previous-question-title"><%= question.title %></td>
<%- if question.multiple_responses? -%>
<td class="previous-question-body"><ul>
<%- question.response_labels(@presenter.accepted_responses[... | <% question = question_page.questions.first; question_index = 0; begin %>
<tr class="section">
<td class="previous-question-title"><%= question.title %></td>
<%- if question.multiple_responses? -%>
<td class="previous-question-body"><ul>
<%- question.response_labels(@presenter.accepted_responses[n... | Remove multiple Q-per-pg support collapsed_question partial | Remove multiple Q-per-pg support collapsed_question partial
We no longer support multiple questions per page and so we can simplify the
code in this partial. I've chosen to replace `each_with_index do/end` with a
`begin/end` to make the diff clearer. I plan to simplify this further in a
subsequent commit.
| HTML+ERB | mit | alphagov/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers |
d2280085080985f41a5d47985111c756e0f007c2 | lib/render/boards.html.erb | lib/render/boards.html.erb | <style>
.boards-container {
display: inline-flex;
}
.error-text {
color: #d9534f;
}
.boom-text {
margin-top: 20px;
}
.title {
color: #b4bcc2;
text-align: left;
font-family: Arial, Helvetica, sans-serif;
font-size: 9pt;
}
.board {
margin: 0 15px;
}
</style>
<% i... | <style>
.boards-container {
display: inline-flex;
}
.error-text {
color: #d9534f;
}
.boom-text {
margin-top: 20px;
}
.title {
color: #b4bcc2;
text-align: left;
font-family: Arial, Helvetica, sans-serif;
font-size: 9pt;
}
.board {
margin: 0 15px;
}
</style>
<% i... | Hide head only in expected board | Hide head only in expected board
| HTML+ERB | mit | mumuki/mumuki-gobstones-runner,mumuki/mumuki-gobstones-runner,mumuki/mumuki-gobstones-runner,mumuki/mumuki-gobstones-runner |
58f3379d441832697e2deb708b385e86504fd40e | jobs/revok/templates/pre-start.erb | jobs/revok/templates/pre-start.erb | #!/bin/bash
set -e
chmod 0400 /var/vcap/jobs/revok/config/github_private_key
chown vcap:vcap /var/vcap/jobs/revok/config/github_private_key
chmod 0400 /var/vcap/jobs/revok/config/private_key
chown vcap:vcap /var/vcap/jobs/revok/config/private_key
chmod 0400 /var/vcap/jobs/revok/config/mysql_private_key
chown vcap:v... | #!/bin/bash
set -e
chmod 0400 /var/vcap/jobs/revok/config/github_private_key
chown vcap:vcap /var/vcap/jobs/revok/config/github_private_key
chmod 0400 /var/vcap/jobs/revok/config/private_key
chown vcap:vcap /var/vcap/jobs/revok/config/private_key
chmod 0400 /var/vcap/jobs/revok/config/mysql_private_key
chown vcap:v... | Set revok ulimit high enough. | Set revok ulimit high enough.
- we observed previous limit of 1024 was not high enough
[#144633749]
Signed-off-by: Can Berk Güder <ed1dfb86e8d469f3acf95218f1ef796e19057d0f@pivotal.io>
| HTML+ERB | apache-2.0 | pivotal-cf/cred-alert,pivotal-cf/cred-alert |
de6a1a67666f3228ea10c8b7d5149e23f329aa8a | app/views/startups/edit.html.erb | app/views/startups/edit.html.erb | <div class='container'>
<div class='row-fluid'>
<h1>Editing startup</h1>
<%= render 'form' %>
<%= link_to 'Delete', @startup, :method => :delete, :confirm => "Are you sure you want to delete #{@startup.name}?" %>
</div>
</div> | <div class='container'>
<div class='row-fluid'>
<h1>Editing '<%= @startup.name %>' Startup</h1>
<%= render 'form' %>
<%= link_to 'Delete', @startup, :method => :delete, :confirm => "Are you sure you want to delete #{@startup.name}?" %>
</div>
</div> | Update header to better reflect current startup being edited | Update header to better reflect current startup being edited
| HTML+ERB | mit | SoPR/sopr-platform,SoPR/sopr-platform |
32c1d98764dce7c1fd9b48632090ea6f1976967e | cookbooks/dns/templates/default/dns-check.erb | cookbooks/dns/templates/default/dns-check.erb | #!/bin/sh
export RSYNC_PASSWORD="<%= @passwords["rsync"] %>"
export GEODNS_SERVERS="<%= @geoservers.join(" ") %>"
export PINGDOM_USERNAME="pingdom@openstreetmap.org"
export PINGDOM_PASSWORD="<%= @passwords["pingdom"] %>"
export STATUSCAKE_USERNAME="OpenStreetMap"
export STATUSCAKE_APIKEY="<%= @passwords["statuscake"] ... | #!/bin/sh
export RSYNC_PASSWORD="<%= @passwords["rsync"] %>"
export GEODNS_SERVERS="<%= @geoservers.join(" ") %>"
export PINGDOM_USERNAME="pingdom@openstreetmap.org"
export PINGDOM_PASSWORD="<%= @passwords["pingdom"] %>"
export STATUSCAKE_USERNAME="OpenStreetMap"
export STATUSCAKE_APIKEY="<%= @passwords["statuscake"] ... | Make sure periodic DNS updates rebuild all geo maps | Make sure periodic DNS updates rebuild all geo maps
| HTML+ERB | apache-2.0 | tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,... |
3cedbf4007a7f087b0f319002d46a4cb5e7c642c | app/views/valentines/_archive_links.html.erb | app/views/valentines/_archive_links.html.erb | <p class="archives">View your Valentines from: <%= link_to("2008", valentines_path) %> | <%= link_to("2007", valentine_path(2007)) %></p>
| <p class="archives">View your Valentines from: <%= link_to("This year", valentines_path) %> | <%= link_to("2007", valentine_path(2007)) %></p>
| Change wording of archive links | Change wording of archive links
git-svn-id: 801577a2cbccabf54a3a609152c727abd26e524a@1241 a18515e9-6cfd-0310-9624-afb4ebaee84e
| HTML+ERB | agpl-3.0 | chrismear/bunnylove,chrismear/bunnylove,chrismear/bunnylove |
96df717932adc87cd2f65f6af35aa729eb4ed45e | lib/lapidary/templates/Gemfile.erb | lib/lapidary/templates/Gemfile.erb | source "http://rubygems.org"
# Add dependencies required to use your gem here.
# Example:
# gem "activesupport", ">= 2.3.5"
# Add dependencies to develop your gem here.
# Include everything needed to run rake, tests, features, etc.
group :development do
gem "rspec", "~> 2.12.0"
gem "yard", "~> 0.8.3"
gem "re... | source "https://rubygems.org"
# Add dependencies required to use your gem here.
# Example:
# gem "activesupport", ">= 2.3.5"
# Add dependencies to develop your gem here.
# Include everything needed to run rake, tests, features, etc.
group :development do
gem "rspec", ">= 2.12.0"
gem "yard", ">= 0.8.3"
gem "r... | Use latest gems in template library | Use latest gems in template library
| HTML+ERB | mit | haracane/lapidary |
a4266a2421816a87e89fcf34b0cf48080e64ba61 | app/views/user/shared/_sharing_buttons.html.erb | app/views/user/shared/_sharing_buttons.html.erb | <div class="social_share_container">
<a class="social_share twitter"
data-share-network="twitter"
target="_blank"
href="https://twitter.com/intent/tweet?text=<%= URI.encode(text) %>&url=<%= url %>">
<i class="fab fa-twitter"></i> Twitter
</a>
<a class="social_share facebook"
data-share-... | <div class="social_share_container">
<a class="social_share twitter"
data-share-network="twitter"
target="_blank"
href="https://twitter.com/intent/tweet?text=<%= CGI.escape(text) %>&url=<%= url %>">
<i class="fab fa-twitter"></i> Twitter
</a>
<a class="social_share facebook"
data-share-... | Remove warning by replacing URI.encode, which is obsolete | Remove warning by replacing URI.encode, which is obsolete
| HTML+ERB | agpl-3.0 | PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto |
603c744a503818b6fc52b78be58ac5646a13cda7 | config/supervisor/static_site_deployer.conf.erb | config/supervisor/static_site_deployer.conf.erb | [program:<%= deploy_name %>-static_site_deployer]
; Run 1 worker.
numprocs=1
directory=<%=current_path %>
environment=USER=api-umbrella-deployer,HOME=/home/api-umbrella-deployer,PATH=/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin,RAILS_ENV=<%= rails_env %>
command=/opt/rbe... | [program:<%= deploy_name %>-static_site_deployer]
; Run 1 worker.
numprocs=1
directory=<%=current_path %>
environment=USER=api-umbrella-deployer,HOME=/home/api-umbrella-deployer,PATH=/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin,RAILS_ENV=<%= rails_env %>
command=/opt/rbe... | Disable static site deployer, since we're not currently using it. | Disable static site deployer, since we're not currently using it.
| HTML+ERB | mit | NREL/api-umbrella-web,johan--/api-umbrella-web,NREL/api-umbrella,johan--/api-umbrella-web,NREL/api-umbrella-web,NREL/api-umbrella,cmc333333/api-umbrella-web,cmc333333/api-umbrella-web,NREL/api-umbrella-web,cmc333333/api-umbrella-web,apinf/api-umbrella,NREL/api-umbrella,johan--/api-umbrella-web,NREL/api-umbrella-web,api... |
91111c6f05f400e378a408784afe847e21c997ec | app/views/schedules/show.html.erb | app/views/schedules/show.html.erb | <div class="container">
<div class="row">
<div class="col-md-12">
<h1 class="page-header"><%= @schedule.semester.name %> Semester</h1>
<% @schedule.courses.each do |c| %>
<h3><%= c.number %>.<%= c.section %> - <%= c.name %></h3>
<p><%= c.credits %> credits</p>
<% if c.start_tim... | <div class="container">
<div class="row">
<div class="col-md-12">
<h1 class="page-header"><%= @schedule.semester.name %> Semester</h1>
<% @schedule.courses.each do |c| %>
<h3><%= c.number %>.<%= c.section %> - <%= c.name %></h3>
<table class="table">
<thead>
<tr>... | Put class info in a table | Put class info in a table
| HTML+ERB | mit | simplyianm/classtime,simplyianm/classtime,simplyianm/classtime |
e9fab4bf86ad6b51d2ef278b7281f57e45237e4b | app/views/admin/policy_groups/index.html.erb | app/views/admin/policy_groups/index.html.erb | <% page_title "Groups" %>
<section>
<nav class="actions">
<%= link_to "Create group", new_admin_policy_group_path, class: "btn new_resource", title: "Create a group" %>
</nav>
<h1>Groups</h1>
<table class="policy_groups table table-striped">
<thead>
<tr>
<th width="30%">Name</th>
... | <% page_title "Groups" %>
<section>
<nav class="actions">
<%= link_to "Create group", new_admin_policy_group_path, class: "btn new_resource", title: "Create a group" %>
<p class="warning">Do not create groups without consulting GDS.</p>
</nav>
<h1>Groups</h1>
<table class="policy_groups table table-st... | Add warning to group admin page. | Add warning to group admin page.
https://www.pivotaltracker.com/story/show/69439794
| HTML+ERB | mit | alphagov/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,alphagov/whitehall,hotvulcan/whitehall,ggoral/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,ggoral/whitehall,robinwhittleton/whitehall,askl56/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,ggoral/whitehall,askl56/whitehall,askl56/whitehall,r... |
3b713fb4de872cc4f3f4d88d2f25e473d47afde9 | source/layouts/application.erb | source/layouts/application.erb | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title><%= current_page.data.title || "Unboxed" %></title>
<%= favicon_tag "favicon.ico" %>
<link href='http://fonts.googleapis.com... | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title><%= current_page.data.title || "Unboxed" %></title>
<%= favicon_tag "favicon.ico" %>
<link href='http://fonts.googleapis.com... | Remove automatic page classes to avoid conflicting CSS names | Remove automatic page classes to avoid conflicting CSS names
| HTML+ERB | mit | unboxed/ubxd_web_refresh,unboxed/ubxd_web_refresh,unboxed/unboxed.co,unboxed/ubxd_web_refresh,unboxed/unboxed.co,unboxed/unboxed.co |
f6eacb9ce2587456f3393a244df792e094619952 | lib/app/views/account.erb | lib/app/views/account.erb | <h2>Get the gem</h2>
<pre>
$ gem install exercism
</pre>
<h3>Login</h3>
<p>Your credentials get saved in a config file in your home directory: <kbd>.exercism</kbd>.</p>
<pre>
$ exercism login
Your GitHub username: <%= current_user.username %>
Your exercism.io API key: <%= current_user.key %>
What is your e... | <p>Update your <%= gravatar_tag current_user.email, :size => 20 %> <a href="http://www.gravatar.com/">Gravatar</a></p>
<h2>Get the gem</h2>
<pre>
$ gem install exercism
</pre>
<h3>Login</h3>
<p>Your credentials get saved in a config file in your home directory: <kbd>.exercism</kbd>.</p>
<pre>
$ exercism login
... | Add link to update gravatar | Add link to update gravatar
| HTML+ERB | agpl-3.0 | kangkyu/exercism.io,IanDCarroll/exercism.io,beni55/exercism.io,hanumakanthvvn/exercism.io,nathanbwright/exercism.io,nathanbwright/exercism.io,emilyforst/exercism.io,chinaowl/exercism.io,beni55/exercism.io,mhelmetag/exercism.io,kizerxl/exercism.io,RaptorRCX/exercism.io,Tonkpils/exercism.io,hanumakanthvvn/exercism.io,msc... |
4218488ed9b55d0bb16c6614f89645fb47d2d120 | app/views/gobierto_admin/shared/_save_widget.html.erb | app/views/gobierto_admin/shared/_save_widget.html.erb | <div class="pure-u-1 pure-u-md-1-4 ">
<div class="widget_save stick_in_parent">
<% if levels.any? %>
<div class="form_item person-visibility-level-radio-buttons">
<div class="options compact">
<%= f.collection_radio_buttons(:visibility_level, levels, :first, :first) do |b| %>
... | <div class="pure-u-1 pure-u-md-1-4 ">
<div class="stick_in_parent">
<div class="widget_save">
<% if levels.any? %>
<div class="form_item person-visibility-level-radio-buttons">
<div class="options compact">
<%= f.collection_radio_buttons(:visibility_level, levels, :first, :... | Allow save widget to include yielded content | Allow save widget to include yielded content
| HTML+ERB | agpl-3.0 | PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev |
b3cdc15c124b46fe707dbc4d962d691c816b3850 | app/views/assignment_repos/show.html.erb | app/views/assignment_repos/show.html.erb | <% view = AssignmentRepoView.new(assignment_repo: @assignment_repo) %>
<div class='group-assignment-repo-list-item'>
<div>
<div style='display: flex;'>
<div>
<%= image_tag @assignment_repo.github_user.github_avatar_url(96), height: 48, width: 48, class: 'avatar avatar-large', alt: "@#{@assignment_r... | <% view = AssignmentRepoView.new(assignment_repo: @assignment_repo) %>
<div class='group-assignment-repo-list-item'>
<div>
<div style='display: flex;'>
<%= link_to "https://github.com/#{@assignment_repo.github_user.login}", class: "tooltipped tooltipped-n #{view.disabled_class}", target: '_blank', 'aria-la... | Make logo a link, add tooltip | Make logo a link, add tooltip
| HTML+ERB | mit | BelieveC/classroom,BelieveC/classroom,BelieveC/classroom,BelieveC/classroom |
6f64c3b82bfb34ef76c364335ed28c597d2e2da0 | app/views/authentication/status.html.erb | app/views/authentication/status.html.erb | <h3>Authenticate with Stack Exchange</h3>
<p>Associate your metasmoke account with your Stack Exchange account to provide feedback through the API.</p>
<% if current_user.api_token.nil? %>
<%= link_to "Authenticate", identify_auth_url, class: "btn btn-success" %>
<% else %>
<p class="text-muted">(you have already ... | <h3>Authenticate with Stack Exchange</h3>
<p>Associate your metasmoke account with your Stack Exchange account to provide feedback through the API.</p>
<% if current_user.stack_exchange_account_id.nil? %>
<%= link_to "Authenticate", identify_auth_url, class: "btn btn-success" %>
<% else %>
<p class="text-muted">(y... | Check SE account ID instead of API token | Check SE account ID instead of API token
| HTML+ERB | cc0-1.0 | j-f1/forked-metasmoke,j-f1/forked-metasmoke,SulphurDioxide/metasmoke,Charcoal-SE/metasmoke,j-f1/forked-metasmoke,SulphurDioxide/metasmoke,SulphurDioxide/metasmoke,Charcoal-SE/metasmoke,j-f1/forked-metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke,angussidney/metasmoke,angussidney/metasmoke,angussidney/metasmoke,Cha... |
6a870c1ea1e879eb0c7268bdc02fedceb586351b | app/views/delayed/web/jobs/show.html.erb | app/views/delayed/web/jobs/show.html.erb | <% title "#{t('delayed/web.views.job')} ##{job.id}" %>
<div class="page-header">
<h1>
<%= link_to t('delayed/web.views.jobs'), jobs_path %> / <%= title %>
</h1>
<div class="btn-group">
<% if job.can_queue? %>
<%= button_to t('delayed/web.views.buttons.run_next'), queue_job_path(job), method: :put, ... | <% title "#{t('delayed/web.views.job')} ##{job.id}" %>
<div class="page-header">
<h1>
<%= link_to t('delayed/web.views.jobs'), jobs_path %> / <%= title %>
</h1>
<div class="btn-group">
<% if job.can_queue? %>
<%= button_to t('delayed/web.views.buttons.run_next'), queue_job_path(job), method: :put, ... | Add job status information in show view | Add job status information in show view
| HTML+ERB | mit | thebestday/delayed-web,thebestday/delayed-web,thebestday/delayed-web |
5f92ce57fe9de0929987cd19e7b9b581bb5a537e | app/views/galleryhomepage/index.html.erb | app/views/galleryhomepage/index.html.erb | <div ng-controller="ModalSignupCtrl">
<script type="text/ng-template" id="myModalContent.html">
<div class="modal-header">
<h3 class="modal-title">Sign Up</h3>
</div>
<div class="modal-body">
<div ng-repeat="item in items">
<button class="btn btn-d... | <div ng-controller="ModalSignupCtrl">
<script type="text/ng-template" id="myModalContent.html">
<div class="modal-header">
<h3 class="modal-title">Sign Up</h3>
</div>
<div class="modal-body">
<div ng-repeat="item in items">
<a class="btn btn-defaul... | Add working sign up modal | Add working sign up modal
| HTML+ERB | mit | ajdlp/Scene,ajdlp/Scene,ormaechea/Scene,atp1o2/Scene,ormaechea/Scene,atp1o2/Scene,atp1o2/Scene,Thrashmandicoot/Scene,ormaechea/Scene,Thrashmandicoot/Scene,ajdlp/Scene,Thrashmandicoot/Scene |
5c39433d1b0b133bf9ea8fd7e928fad46b633b83 | app/views/includes/_main_footer.html.erb | app/views/includes/_main_footer.html.erb | <div class="wrap">
<!-- <div class="contact">
<nav class="social">
<a href="#"><%= icon("facebook") %></a>
<a href="#"><%= icon("twitter") %></a>
<a href="#"><%= icon("linkedin") %></a>
<a href="#"><%= icon("github") %></a>
<a href="#"><%= icon("envelope") %></a>
</nav>
</di... | <div class="wrap">
<!-- <div class="contact">
<nav class="social">
<a href="#"><%= icon("facebook") %></a>
<a href="#"><%= icon("twitter") %></a>
<a href="#"><%= icon("linkedin") %></a>
<a href="#"><%= icon("github") %></a>
<a href="#"><%= icon("envelope") %></a>
</nav>
</di... | Add link to CTTI citation policy in footer | aact-337: Add link to CTTI citation policy in footer | HTML+ERB | mit | tibbs001/aact-1,ctti-clinicaltrials/aact,tibbs001/aact-1,tibbs001/aact-1,ctti-clinicaltrials/aact,ctti-clinicaltrials/aact |
a6c4d4f487dd10fe3024f6a4c2386778f903198f | app/views/manual_documents/edit.html.erb | app/views/manual_documents/edit.html.erb | <% content_for :breadcrumbs do %>
<li><%= link_to "Your manuals", manuals_path %></li>
<li><%= link_to manual.title, manual_path(manual) %></li>
<li><%= link_to document.title, manual_document_path(manual, document) %></li>
<li class='active'>Edit section</li>
<% end %>
<h1 class="page-header">Edit section</h1... | <% content_for :breadcrumbs do %>
<li><%= link_to "Your manuals", manuals_path %></li>
<li><%= link_to manual.title, manual_path(manual) %></li>
<li><%= link_to document.title, manual_document_path(manual, document) %></li>
<li class='active'>Edit section</li>
<% end %>
<h1 class="page-header">Edit section</h1... | Fix padding on edit document section form | Fix padding on edit document section form
- remove double <div class='row'...>
| HTML+ERB | mit | alphagov/specialist-publisher,ministryofjustice/specialist-publisher,ministryofjustice/specialist-publisher,alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher-rebuild,alphagov/manuals-publisher,ministryofjustice/specialist-publisher,alphagov/manuals-publisher,alphagov/manuals-publisher,alphagov/special... |
76fa5d545954af6dbaa1fe4a130681c937408a05 | app/views/blocks/profile_info_actions/_enterprise.html.erb | app/views/blocks/profile_info_actions/_enterprise.html.erb | <ul>
<%if logged_in? %>
<%if !user.favorite_enterprises.include?(profile) %>
<li><%= button(:add, _('Add as favorite'), { :profile => user.identifier, :controller => 'favorite_enterprises', :action => 'add', :id => profile.id }, :title => _('Add enterprise as favorite')) %></li>
<% end %>
<% end %>
... | <ul>
<%if logged_in? %>
<%if !user.favorite_enterprises.include?(profile) %>
<li><%= button(:love, _('Add as favorite'), { :profile => user.identifier, :controller => 'favorite_enterprises', :action => 'add', :id => profile.id }, :title => _('Add enterprise as favorite')) %></li>
<% end %>
<% end %>
... | Add 'love' icon to favorite SSE enterprise | Add 'love' icon to favorite SSE enterprise | HTML+ERB | agpl-3.0 | blogoosfero/noosfero,samasti/noosfero,coletivoEITA/noosfero-ecosol,EcoAlternative/noosfero-ecosol,coletivoEITA/noosfero-ecosol,CIRANDAS/noosfero-ecosol,CIRANDAS/noosfero-ecosol,EcoAlternative/noosfero-ecosol,samasti/noosfero,blogoosfero/noosfero,samasti/noosfero,samasti/noosfero,blogoosfero/noosfero,blogoosfero/noosfer... |
fec689b02c448904531e429ca234b1e2d22aa1f2 | app/views/organisations/alphabetical.html.erb | app/views/organisations/alphabetical.html.erb | <% page_title "Departments & agencies" %>
<div class="g3f">
<section class="page_header organisation">
<h1 class="page_title">Departments & agencies</h1>
</section>
<section class="page_detail">
<div class="g3">
<nav class="organisations_type_links">
<p>You can also <%= link_to "view depart... | <% page_title "Departments & agencies" %>
<div class="g3f">
<section class="page_header organisation">
<h1 class="page_title">Departments & agencies</h1>
</section>
<section class="page_detail">
<div class="g3">
<nav class="organisations_type_links">
<p>You can also <%= link_to "view de... | Fix markup issue - should use entity ref not bare & | Fix markup issue - should use entity ref not bare &
| HTML+ERB | mit | robinwhittleton/whitehall,robinwhittleton/whitehall,ggoral/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,askl56/whitehall,hotvulcan/whitehall,alphagov/whitehall,alphagov/whitehall,askl56/whitehall,hotvulc... |
057775fbd15d891bffea5abb0555e866491224db | app/views/shared/forms/_comment_form.html.erb | app/views/shared/forms/_comment_form.html.erb | <%= label_tag "Name" %>
<%= text_field_tag "name" %>
<%= label_tag "Comment" %>
<%= text_area_tag "body" %>
<%= hidden_field_tag "article_id", article_id %>
<%= submit_tag %>
| <%= label_tag "Name" %>
<%= text_field_tag "name" %>
<%= label_tag "Comment" %>
<%= text_area_tag "body", nil, rows: 15 %>
<%= hidden_field_tag "article_id", article_id %>
<%= submit_tag %>
| Set height of the comment textarea | Set height of the comment textarea
| HTML+ERB | apache-2.0 | NigoroJr/nigorojr.com,NigoroJr/nigorojr.com |
80788b27cb7342b20f6b18db65ce85c6d15f1c95 | app/views/booking_requests/completed.html.erb | app/views/booking_requests/completed.html.erb | <% content_for(:page_title, t('service.title', page_title: 'We’ve received your booking request')) %>
<div class="l-grid-row">
<div class="l-column-two-thirds">
<div class="govuk-box-highlight">
<h1 class="bold-large govuk-box-highlight__header">We’ve received<br>your booking request</h1>
</div>
<h... | <% content_for(:page_title, t('service.title', page_title: 'We’ve received your booking request')) %>
<div class="l-grid-row">
<div class="l-column-two-thirds">
<div class="govuk-box-highlight">
<h1 class="bold-large govuk-box-highlight__header">We’ve received<br>your booking request</h1>
</div>
<h... | Include temporary new year confirmation | Include temporary new year confirmation
Lets the customer know not to expect a response until the new year when
placing a booking.
| HTML+ERB | mit | guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance |
0c05d2eb8be5d70ba573e427bf3c62f723cf1f07 | app/views/adonis/_form.html.erb | app/views/adonis/_form.html.erb | <%= form_for adonis ||= Adonis.new do |f| %>
<% if adonis.id %>
<%= f.label :id %>
<%= f.text_field :id, disabled: true %>
<% end %>
<%= f.label :hostname %>
<%= f.text_field :hostname %>
<%= f.label :identifier %>
<%= f.text_field :identifier %>
<%= f.label :inventory_num... | <%= form_for adonis ||= Adonis.new do |f| %>
<% if adonis.id %>
<%= f.label :id %>
<%= f.text_field :id, disabled: true %>
<% end %>
<%= f.label :hostname %>
<%= f.text_field :hostname %>
<%= f.label :identifier %>
<%= f.text_field :identifier %>
<%= f.label :inventory_num... | Fix select in Adonis' form | Fix select in Adonis' form
The form for Adonis servers has two drop down menus, one each for the server's model and status. The select tag has been extended to:
a) preselect the current model and status of the server
b) allow blank as an option
| HTML+ERB | apache-2.0 | KittyPass/kitty_pass,KittyPass/kitty_pass,KittyPass/kitty_pass,jdno/kitty_pass,jdno/kitty_pass,jdno/kitty_pass |
6629556e67eb97a64e90d2699013d021c4aa297d | app/views/quotes/_form.html.erb | app/views/quotes/_form.html.erb | <%= form_for @quote, remote: true, html: { id: "quote-#{@quote.id}" } do |f| %>
<div>
<%= f.text_area :raw_quote, rows: 10, cols: 70 %>
</div>
<div>
<%= f.label :description, 'Optional description:' %>
<%= f.text_area :description, rows: 2, cols: 70 %>
</div>
<div>
<%= f.submit 'Save' %>
</div>
<% end %>
| <%= form_for @quote, remote: true, html: { id: "quote-#{@quote.id}" } do |f| %>
<div>
<%= f.text_area :raw_quote, rows: 10, cols: 70 %>
</div>
<div>
<%= f.label :description, 'Optional description:' %>
<%= f.text_area :description, rows: 2, cols: 70 %>
</div>
<div>
<%= f.submit 'Save' %>
<%= button_to_functio... | Add cancel button to edit form | Add cancel button to edit form
| HTML+ERB | mit | skyshaper/satq,skyshaper/satq,skyshaper/satq,skyshaper/satq |
28dc0304b28cc261969b5c23b6db6ea5aa9cf3e1 | templates/ubuntu/etc/init/margarine.conf.erb | templates/ubuntu/etc/init/margarine.conf.erb | description "Margarine Daemon: <%= @service %>"
author "Alex Brandt <alunduil@alunduil.com>"
setuid <%= node['margarine']['user'] %>
setgid <%= node['margarine']['group'] %>
console log
start on ((
started network-interface
or started network-manager
or started networking)
and started rsyslog)
stop on run... | description "Margarine Daemon: <%= @service %>"
author "Alex Brandt <alunduil@alunduil.com>"
setuid <%= node['margarine']['user'] %>
setgid <%= node['margarine']['group'] %>
console log
start on (
(
started network-services
or started networking
)
and started rsyslog
)
stop on (
stopping netwo... | Simplify the start on and stop on event handlers. | Simplify the start on and stop on event handlers.
After looking through the upstart documentation for a few minutes I've
been able to simplify the event handlers for our upstart jobs to only
require networking and logging. When networking stops we stop our
service (it will restart when networking is started again).
| HTML+ERB | mit | alunduil/margarine-chef,alunduil/margarine-chef |
d17905dd4ced1cd59bb326c864cc73d501d7f730 | jobs/rabbitmq-server/templates/plugins.sh.erb | jobs/rabbitmq-server/templates/plugins.sh.erb | #!/bin/sh
set -e
(
RABBITMQ_PLUGINS=/var/vcap/packages/rabbitmq-server/bin/rabbitmq-plugins
PATH=$RABBITMQ_HOME/bin:$ERLANG_HOME/bin:/var/vcap/packages/ruby/bin:$PATH
for plugin in $($RABBITMQ_PLUGINS list -m -E)
do \
$RABBITMQ_PLUGINS disable ${plugin}
done
$RABBITMQ_PLUGINS enable rabbitmq_clust... | #!/bin/sh
set -e
(
RABBITMQ_PLUGINS=/var/vcap/packages/rabbitmq-server/bin/rabbitmq-plugins
PATH=$RABBITMQ_HOME/bin:$ERLANG_HOME/bin:/var/vcap/packages/ruby/bin:$PATH
# This is shorthand to disable all plugins
$RABBITMQ_PLUGINS set
$RABBITMQ_PLUGINS enable rabbitmq_clusterer
PLUGINS="$($RABBITMQ_PLUGIN... | Disable every plugin enabled, not just those listed | Disable every plugin enabled, not just those listed
[#110987822]
| HTML+ERB | apache-2.0 | pivotal-cf/cf-rabbitmq-release,pivotal-cf/cf-rabbitmq-release,pivotal-cf/cf-rabbitmq-release,pivotal-cf/cf-rabbitmq-release |
791b2e12f7575e96763b5f280c815bd0cf451438 | app/views/layouts/_common_head.html.erb | app/views/layouts/_common_head.html.erb | <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title><%= content_for?(:title) ? yield(:title) : default_title %></title>
<% if rtl? %>
<%= stylesheet_link_tag "application-rtl" %>
<% else %>
<%= stylesheet_li... | <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="generator" content="Zurb Foundation for Sites 6" class="foundation-mq">
<title><%= content_for?(:title) ? yield(:title) : default_title %></title>
<% if r... | Fix invalid HTML introduced by Foundation | Fix invalid HTML introduced by Foundation
See foundation/foundation-sites issue 12167, which was fixed in
Foundation 6.7.1. However, since Foundation 6.7 requires Node 12 and the
foundation-rails gem hasn't been maintained for a year and a half, we're
not updating for now.
| HTML+ERB | agpl-3.0 | consul/consul,consul/consul,consul/consul,consul/consul,consul/consul |
6bb036b3a740833c956e0bbc25ec8939acfb6dda | app/views/shared/objects/_collage_print.html.erb | app/views/shared/objects/_collage_print.html.erb | <% if collage.present? -%>
<div class="collage-content" id="collage<%= collage.id %>" data-id="<%= collage.id %>">
<div class="article">
<% cache(["printable-content", collage.annotatable], :expires_in => 2.weeks, :compress => H2O_CACHE_COMPRESSION) do %>
<%= raw collage.printable_content %>
<% end -%>
... | <% if collage.present? -%>
<div class="collage-content" id="collage<%= collage.id %>" data-id="<%= collage.id %>">
<div class="article">
<% cache(["printable-content", collage.annotatable], :expires_in => 2.weeks, :compress => H2O_CACHE_COMPRESSION) do %>
<%= raw collage.printable_content %>
<% end -%>
... | Add undefined check around export_functions.initiate_collage_data | Add undefined check around export_functions.initiate_collage_data
| HTML+ERB | agpl-3.0 | emmalemma/h2o,harvard-lil/h2o,emmalemma/h2o,emmalemma/h2o,harvard-lil/h2o,harvard-lil/h2o,emmalemma/h2o,harvard-lil/h2o |
d2bb8c75aef0c8e86066dfd0c8f40d9c5bf15753 | app/views/shared/_welcome_navigation.html.erb | app/views/shared/_welcome_navigation.html.erb | <div class="welcome-navigation row-fluid">
<div class="welcome-container span3">
<span class="welcome-text">Welcome, <%= current_user.name %>!</span>
</div>
<div class="user-navigation-container span9">
<a href="<%= edit_club_path(club) %>"
class="club-link <%= 'selected' if controller_name == 'cl... | <div class="welcome-navigation row-fluid">
<div class="welcome-container span5">
<span class="welcome-text">Welcome, <%= current_user.name %>!</span>
</div>
<div class="user-navigation-container span7">
<a href="<%= edit_club_path(club) %>"
class="club-link <%= 'selected' if controller_name == 'cl... | Update Welcome Navigation for Spacing | Update Welcome Navigation for Spacing
Update the welcome navigation screen to ensure there is adequate spacing
for the User's name.
| HTML+ERB | mit | jekhokie/IfSimply,jekhokie/IfSimply,jekhokie/IfSimply |
1531c88309b7c0a50342fe50b0c9e16cd6b6b4f6 | source/layouts/layout.erb | source/layouts/layout.erb | <!doctype html>
<html>
<head>
<meta content="IE=edge;chrome=1" http-equiv="X-UA-Compatible">
<meta charset="utf-8">
<meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport">
<!-- Use title if it's in the page YAML frontmatter -->
<t... | ---
links:
- Sign up
- About
- How to Get Started
- Contact Us
---
<!doctype html>
<html>
<head>
<meta content="IE=edge;chrome=1" http-equiv="X-UA-Compatible">
<meta charset="utf-8">
<meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="vi... | Add template data varialbes for page navigation links | Add template data varialbes for page navigation links
| HTML+ERB | mit | tejas-rawal/e_rive_website,tejas-rawal/e_rive_website,tejas-rawal/e_rive_website |
485ddef862143e425627270260be2e6a01c6b2d5 | jobs/nfsbrokerpush/templates/manifest.yml.erb | jobs/nfsbrokerpush/templates/manifest.yml.erb | ---
applications:
- name: "<%= p('nfsbrokerpush.app_name') %>"
buildpacks:
- binary_buildpack
routes:
- "<%= p('nfsbrokerpush.app_name') + '.' + p('nfsbrokerpush.app_domain') %>"
memory: "<%= p('nfsbrokerpush.memory_in_mb') %>M"
env:
USERNAME: "<%= p('nfsbrokerpush.username') %>"
PASSWORD: "<%= p('n... | ---
applications:
- name: "<%= p('nfsbrokerpush.app_name') %>"
buildpacks:
- binary_buildpack
routes:
- route: "<%= p('nfsbrokerpush.app_name') + '.' + p('nfsbrokerpush.app_domain') %>"
memory: "<%= p('nfsbrokerpush.memory_in_mb') %>M"
env:
USERNAME: "<%= p('nfsbrokerpush.username') %>"
PASSWORD: "<... | Add route key to routes in nfsbroker app manifest | Add route key to routes in nfsbroker app manifest
[#162679007](https://www.pivotaltracker.com/story/show/162679007)
Co-authored-by: Paul Warren <381ebbe39e97b92332c450533d9eabb9a873db86@dell.com>
| HTML+ERB | apache-2.0 | cloudfoundry-incubator/nfs-volume-release,cloudfoundry-incubator/nfs-volume-release,cloudfoundry-incubator/nfs-volume-release |
a050c945b7807da150ad5bdbe52b031548a1f2ed | lib/ssh_config.erb | lib/ssh_config.erb | ### BEGIN AUTOGENERATED GRID'5000 CONFIGURATION (simsim) ###
Host <%= @sites.keys.sort.join(' ') %>
ProxyCommand ssh access.<%= @access_site %>.grid5000.fr nc -w120 %h.grid5000.fr %p 2> /dev/null
% @sites.keys.sort.each do |site|
Host <%= @sites[site].sort.map { |c| c + '-*' }.join(' ') %>
ProxyCommand ssh <%= si... | ### BEGIN AUTOGENERATED GRID'5000 CONFIGURATION (simsim) ###
Host <%= @sites.keys.sort.join(' ') %>
ProxyCommand ssh access.<%= @access_site %>.grid5000.fr nc -w 120 %h.grid5000.fr %p 2> /dev/null
% @sites.keys.sort.each do |site|
Host <%= @sites[site].sort.map { |c| c + '-*' }.join(' ') %>
ProxyCommand ssh acces... | Change the ProxyCommand to connect directly from access to compute nodes | Change the ProxyCommand to connect directly from access to compute nodes
| HTML+ERB | mit | priteau/simsim |
bbda26151e3aa78d38bea18809f78af0f5a87ef6 | ubuntu/templates/default/etc_hosts.erb | ubuntu/templates/default/etc_hosts.erb | 127.0.0.1 localhost
<% if @node[:chef][:roles].include?('vagrant') %>
127.0.0.1 <%= @node[:fqdn] %> vagrant
<% end %>
<% if @node[:chef][:roles].include?('app') %>
127.0.0.1 app.fr2.ec2.internal app
<% end %>
# auto generated for internal usage
<% node[:ubuntu][:servers].each do |server| %>
<%= server[:ip] %> <%= se... | 127.0.0.1 localhost
<% if @node[:chef][:roles].include?('vagrant') %>
127.0.0.1 <%= @node[:fqdn] %> vagrant
<% end %>
# auto generated for internal usage
<% node[:ubuntu][:app_servers].each do |server| %>
<%= server[:ip] %> <%= server[:fqdn] %> <%= server[:alias] %>
<% end %>
<% node[:ubuntu][:my_fr2_servers].each... | Create an etc/host entry for every server | Create an etc/host entry for every server | HTML+ERB | apache-2.0 | criticaljuncture/cookbooks,criticaljuncture/cookbooks,criticaljuncture/cookbooks |
afba4178e537f1142eb1b25989d62e3b673b3a7c | app/views/orders/_tabs.html.erb | app/views/orders/_tabs.html.erb | <div class="row">
<div class="col-xs-6">
<ul class="nav nav-pills">
<%= tab("Open Orders", orders_path, params[:controller] == "orders" && params[:action] == "index") %>
<%= tab("Closed Orders", closed_orders_path, params[:controller] == "orders" && params[:action] == "closed") %>
<%= tab("Rej... | Create tabs for order states | Create tabs for order states
| HTML+ERB | mit | on-site/StockAid,on-site/StockAid,on-site/StockAid | |
c3e997e95904ecb67a65acfdd8dae1bc8090797b | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <script src="https://cdn.auth0.com/js/lock-7.9.min.js"></script>
<script type="text/javascript">
var lock = new Auth0Lock('WuwkvmO3lwnNQO0u7LMQrhYkiKlTjLGW', 'nghborly.auth0.com');
var url = (document.location.origin + "/auth/auth0/callback")
function signin() {
lock.show({
callbackURL: url
, ... | <script src="https://cdn.auth0.com/js/lock-7.9.min.js"></script>
<script type="text/javascript">
var lock = new Auth0Lock('WuwkvmO3lwnNQO0u7LMQrhYkiKlTjLGW', 'nghborly.auth0.com');
var url = (document.location.origin + "/auth/auth0/callback")
function signin() {
lock.show({
callbackURL: url
, ... | Add placeholder links instead of foundation filler material | Add placeholder links instead of foundation filler material
| HTML+ERB | mit | nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly |
c9aaae14bbd3f157f0e9fa9b8e7da9eec4f817bd | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <h1>Sessions#new</h1>
<p>Find me in app/views/sessions/new.html.erb</p>
| <h1>Log in</h1>
<div class="row">
<%= form_for(:session, url: login_path) do |f| %>
<%= f.label :email %>
<%= f.email_field :email, class: 'form-control' %>
<%= f.label :password %>
<%= f.password_field :password, class: 'form-control' %>
<%= f.submit "Log in"%>
<% end %>
... | Add Login form to Views directory | Add Login form to Views directory
| HTML+ERB | mit | Thrashmandicoot/Scene,ajdlp/Scene,ajdlp/Scene,ormaechea/Scene,atp1o2/Scene,ormaechea/Scene,atp1o2/Scene,atp1o2/Scene,ormaechea/Scene,ajdlp/Scene,Thrashmandicoot/Scene,Thrashmandicoot/Scene |
fad3bd867899297495237e86a2d22a68e83bfac1 | app/views/skills/_form.html.erb | app/views/skills/_form.html.erb | <%= form_for @skill, :html => { :class => 'form-horizontal' } do |f| %>
<div class="form-group">
<%= f.label :name, :class => 'control-label col-md-2' %>
<div class="col-md-10">
<%= f.text_field :name, :class => 'text_field form-control' %>
</div>
</div>
<div class="form-group">
<%= f.label ... | <%= form_for @skill, :html => { :class => 'form-horizontal' } do |f| %>
<div class="form-group">
<%= f.label :name, :class => 'control-label col-md-2' %>
<div class="col-md-10">
<%= f.text_field :name, :class => 'text_field form-control' %>
</div>
</div>
<div class="form-group">
<%= f.label ... | Change skill_category_id field to collection_select from text_field | Change skill_category_id field to collection_select from text_field
Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
| HTML+ERB | apache-2.0 | maxfierke/resumis,maxfierke/resumis,maxfierke/resumis,maxfierke/resumis |
01e1ed104d9e61aaa7ae28316a026ff49a457339 | app/views/categories/_categorize_form.html.erb | app/views/categories/_categorize_form.html.erb | <span class="icon-stack">
<i class="icon-circle icon-stack-base"></i>
<i class="icon-info icon-light"></i>
</span>
<p class="info"><%=t('categories.info')%></p>
<div class="actions-clone">
<% categories = subject_categories(current_subject, {:scope => :me, :limit => 0}) %>
<% categories_array = categories.map... | <span class="icon-stack">
<i class="icon-circle icon-stack-base"></i>
<i class="icon-info icon-light"></i>
</span>
<p class="info"><%=t('categories.info')%></p>
<div class="actions-clone">
<% categories = subject_categories(current_subject, {:scope => :me, :limit => 0}) %>
<% if categories.empty? %>
<a c... | Add category option if no categories | Add category option if no categories
| HTML+ERB | agpl-3.0 | rogervaas/vish,suec78/vish_storyrobin,agordillo/vish,ging/vish,ging/vish_orange,agordillo/vish,ging/vish_orange,ging/vish,rogervaas/vish,rogervaas/vish,suec78/vish_storyrobin,ging/vish_orange,agordillo/vish,ging/vish,ging/vish_orange,suec78/vish_storyrobin,agordillo/vish,ging/vish,rogervaas/vish,suec78/vish_storyrobin,... |
33140a6d76dc2788d67ceb5e89fc120391e4f102 | jobs/riak/templates/join_cluster.sh.erb | jobs/riak/templates/join_cluster.sh.erb | #!/bin/bash
/var/vcap/packages/riak/rel/bin/riak-admin cluster join riak@<%= properties.riak.seed_node || "127.0.0.1" %>
ready="`/var/vcap/packages/riak/rel/bin/riak-admin ringready`"
is_ready=false
while [ !is_ready ]
do
if [[ $ready == *"TRUE"* ]]
then
is_ready=true
else
sleep 1
fi
done | #!/bin/bash
LOG_FILE=/var/vcap/sys/log/riak/join_cluster.log
ERR_FILE=/var/vcap/sys/log/riak/join_cluster.err.log
SEED_NODE=<%= properties.riak.seed_node || "127.0.0.1" %>
function log_position() {
message="$(date +%Y-%m-%dT%H:%M:%S%z): line $LINENO"
if [ -n "$1" ]
then
message="$message: $1"
fi
echo "$... | Fix join_cluster script to avoid infinite looping and add logging. | Fix join_cluster script to avoid infinite looping and add logging.
| HTML+ERB | apache-2.0 | BrianMMcClain/riak-release,BrianMMcClain/riak-release |
76ac1d7a0769b17e898d4f0410fedd1e90e950de | app/views/favourites/index.html.erb | app/views/favourites/index.html.erb | <%= content_for :search_bar do %>
<%= render 'shared/search_bar' %>
<% end %>
<%= content_for :filter_menu do %>
<%= render 'shared/filter_menu' %>
<% end %>
<article id="monster-list" class="pt5 mt5">
<%= render 'monsters/empty', empty: false %>
</article>
<script type="text/javascript">
if (localStorage.... | <%= content_for :search_bar do %>
<%= render 'shared/search_bar' %>
<% end %>
<%= content_for :filter_menu do %>
<%= render 'shared/filter_menu' %>
<% end %>
<article id="monster-list" class="pt5 mt5">
<%= render 'monsters/empty', empty: false %>
</article>
<script type="text/javascript">
if (localStorage.... | Initialize filter on favourites index with crxp map. | Initialize filter on favourites index with crxp map.
| HTML+ERB | mit | evangillespie/monsterCards,evangillespie/monsterCards,evangillespie/monsterCards |
d159c2bfec29a41a315e7acc2011cee6800b933a | app/views/root_taxons/show.html.erb | app/views/root_taxons/show.html.erb | <%= display_header title: @content_item.title,
breadcrumbs: [:root_taxons, @content_item.title] %>
<p>
Taxonomy branches:
<% GovukTaxonomy::Branches.new.all.each do |root_taxon| %>
<% if root_taxon['content_id'] == @content_item.content_id %>
<strong><%= root_taxon['title'] %></strong>
<% e... | <%= display_header title: @content_item.title,
breadcrumbs: [:root_taxons, @content_item.title] do %>
<% %w[bubbles].each do |viz| %>
<a href="<%= root_taxon_path(params[:id], viz: viz) %>"
class="btn btn-lg <%= viz == params[:viz] ? 'btn-primary' : 'btn-default' %>"
role="button... | Add buttons to the root taxon page for visualisations | Add buttons to the root taxon page for visualisations
| HTML+ERB | mit | alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger |
b3484f8c0144b88d75bf996d43c9c70c9b177cae | app/views/results/_source_events.html.erb | app/views/results/_source_events.html.erb | <% if source_events.present? %>
<div class="row event_info">
<table class="source_events">
<% source_events.sort.each do |source_event| -%>
<tr>
<% if source_event.any_results_including_children? %>
<td class="date"><%= link_to source_event.date.strftime('%A, %B %-d'), event_results_path(source_ev... | <% if source_events.present? %>
<div class="row event_info">
<table class="source_events">
<% source_events.sort.each do |source_event| -%>
<tr>
<% if source_event.any_results_including_children? %>
<td class="date"><%= link_to source_event.date_range_long_s, event_results_path(source_event) %></t... | Use date ranges for source event dates | Use date ranges for source event dates
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
57dbb8a5424decec5c7eeb6ef6d4e06bc585d04f | app/views/teams/leaderboard.html.erb | app/views/teams/leaderboard.html.erb | <p id="notice"><%= notice %></p>
<h1>Leaderboard</h1>
<table>
<thead>
<tr>
<th>Name</th>
<th>Score</th>
</tr>
</thead>
<tbody>
<% @teams.each do |team| %>
<tr>
<td><%= link_to team.name, team %></td>
<td><%= team.score %></td>
</tr>
<% end %>
</tbody>
</... | <p id="notice"><%= notice %></p>
<h1>Leaderboard</h1>
<table>
<thead>
<tr>
<th>Name</th>
<th>Score</th>
</tr>
</thead>
<tbody>
<% @teams.each do |team| %>
<tr>
<td><%= link_to team.name, team %></td>
<td><%= team.score %></td>
</tr>
<% end %>
</tbody>
</... | Add link to New Bill on Team Dashboard | Add link to New Bill on Team Dashboard
| HTML+ERB | mit | codeforboston/cambridge_energy_app,codeforboston/cambridge_energy_app,codeforboston/cambridge_energy_app |
4d7880e00317b9c3ca94b8fd752232adab7f35cd | app/views/data_interactive/_transform_measures.html.erb | app/views/data_interactive/_transform_measures.html.erb | <h3>Add Measures</h3>
<textarea class="form-control" name="measures" id="measures_data" rows="8"></textarea><br>
<br>
<button type="button" class="btn btn-default start"
id="js-submit-query" data-loading-text="Processing...">
Analyse Data
</button>
<span class="help-block">
<h3> Sample Body </h3>
<pre... | <h3>Add Measures</h3>
<textarea class="form-control" name="measures" id="measures_data" rows="8"></textarea><br>
<br>
<button type="button" class="btn btn-default start"
id="js-submit-query" data-loading-text="Processing...">
Analyse Data
</button>
<br>
<blockquote>
<h4>Please close Graph and Table v... | Add message requesting user to close graph and table view | Add message requesting user to close graph and table view
Running a new query without closing them leads to a crash many times.
| HTML+ERB | mit | concord-consortium/Data-Analytics-Log-Manager,apeeyush/Data-Analytics-Log-Manager,concord-consortium/Data-Analytics-Log-Manager,concord-consortium/Data-Analytics-Log-Manager,concord-consortium/Data-Analytics-Log-Manager,apeeyush/Data-Analytics-Log-Manager,apeeyush/Data-Analytics-Log-Manager |
07fab578a01a4957251925685457557dc02db305 | app/views/posts/_form.html.erb | app/views/posts/_form.html.erb | <%= form_for @post do |f| %>
<div class="form-group">
<%= f.text_field :title, class: 'form-control', placeholder: 'Title' %>
</div>
<div class="form-group">
<%= f.text_area :body, class: 'form-control',
placeholder: 'Write your story here ...', rows: 30 %>
</div>
<div class="form-group">
... | <%= form_for @post do |f| %>
<div class="form-group">
<%= f.text_field :title, class: 'form-control', placeholder: 'Title' %>
</div>
<div class="form-group">
<%= f.text_area :body, class: 'form-control',
placeholder: 'Write your story here ...', rows: 30 %>
</div>
<div class="form-group">
... | Update CSS styles for publish button | Update CSS styles for publish button
| HTML+ERB | mit | dev-warner/Revinyl-Product,aamin005/Firdowsspace,kenny-hibino/stories,kenny-hibino/stories,aamin005/Firdowsspace,dev-warner/Revinyl-Product,aamin005/Firdowsspace,kenny-hibino/stories,dev-warner/Revinyl-Product |
c59ee270ad969ae60d34867583def088560f4bfb | app/views/taxons/show.html.erb | app/views/taxons/show.html.erb | <% content_for :title, taxon.title %>
<% content_for :page_class, "taxon-page" %>
<%= render partial: 'page_header', locals: {
taxon: taxon,
parent_taxon: taxon.parent_taxon
} %>
<% if taxon.has_grandchildren? %>
<%= render partial: 'child_taxons_grid',
locals: { child_taxons: taxon.child_taxons } %>
<%=... | <% content_for :title, taxon.title %>
<% content_for :page_class, "taxon-page" %>
<%= render partial: 'page_header', locals: {
taxon: taxon,
parent_taxon: taxon.parent_taxon
} %>
<% content_for :breadcrumbs do %>
<%= render partial: 'govuk_component/breadcrumbs',
locals: @navigation_helpers.taxon_breadcrumb... | Fix the taxonomy breadcrumbs for taxon pages | Fix the taxonomy breadcrumbs for taxon pages
The taxonomy breadcrumbs use a different method from the navigation
helpers and therefore can't rely on the default breadcrumb data.
This commit re-adds the taxonomy breadcrumbs.
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
005c1e43a077bd10c8cf09d4c9f131959581c87f | views/index.erb | views/index.erb | <h1>Apply to CalFresh (food assistance) in San Francisco</h1>
<br>
<br>
<form name="apply" action="applications" method="post">
Name: <input type="text" name="name"><br>
Address: <input type="text" name="home_address"><br>
City: San Francisco, CA<br>
<input type="hidden" name="home_city" value="San Francisco">
<input t... | <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<!--[if lt IE 9]>
<script type="text/javascript" src="js/flashcanvas.js"></script>
<![endif]-->
<script src="js/jSignature.min.js"></script>
<script>
$(document).ready(function() {
$("#signature_area").jSignature()
// Magic mo... | Implement signature capture with form submission | Implement signature capture with form submission
| HTML+ERB | mit | fureigh/change-my-record,fureigh/change-my-record,codeforamerica/clean,codeforamerica/clean,codeforamerica/clean,fureigh/medi-cal-fresh-and-so-clean |
bf80c87dab2cd8e200e41b6bda46384357a4dd14 | app/views/documents/_iframe_embed_code.html.erb | app/views/documents/_iframe_embed_code.html.erb | <div class="embed-container" style="position:relative;padding-bottom:<%= options[:document].inverted_aspect_ratio * 100 %>%;height:0;overflow:hidden;max-width:100%;">
<%= content_tag :iframe, nil, {
src: options[:document].iframe_embed_src_url(data),
title: "Document “#{options[:document].title}” ho... | <div style="position:relative;padding-bottom:<%= options[:document].inverted_aspect_ratio * 100 %>%;height:0;overflow:hidden;max-width:100%;">
<%= content_tag :iframe, nil, {
src: options[:document].iframe_embed_src_url(data),
title: "Document “#{options[:document].title}” hosted by DocumentCloud", ... | Remove unused class on responsive iframe wrapper | Remove unused class on responsive iframe wrapper
| HTML+ERB | mit | documentcloud/documentcloud,documentcloud/documentcloud,documentcloud/documentcloud,documentcloud/documentcloud |
5b61a1916f545ec3ca204d543a80d6846f82cc9f | app/views/courses/_sidebar.html.erb | app/views/courses/_sidebar.html.erb | <div class="col-md-3 sidebar">
<ul class="nav sidenav" id="sidebar">
<li><h4>Actions</h4></li>
<hr>
<% if current_user.is_admin_or_convenor? %>
<li class="sidebar-item"><%= link_to 'New course', new_course_path %></li>
<% end %>
<li class="sidebar-item"><%= link_to 'View Assignments', assign... | <div class="col-md-3 sidebar">
<ul class="nav sidenav" id="sidebar">
<li><h4>Actions</h4></li>
<hr>
<% if current_user.is_admin_or_convenor? %>
<li class="sidebar-item"><a href="/courses/new"><span class="glyphicon glyphicon-plus"></span>New course</a></li>
<% end %>
<li class="sidebar-item"... | Add glyphicons to course index sidebar | Add glyphicons to course index sidebar
| HTML+ERB | mit | frankzhao/SubmissionApp2,frankzhao/SubmissionApp2,frankzhao/SubmissionApp2,frankzhao/SubmissionApp2 |
6bbad3b5f2a2f44be203da7d94f3cbdfe57deca1 | app/views/shared/_metadata.html.erb | app/views/shared/_metadata.html.erb | <% if publication.draft? %>
<%= semantic_bootstrap_nested_form_for(@artefact, :html => { :class => 'artefact', :id => 'edit_artefact'}) do |f| %>
<div class="row">
<div class="col-md-12">
<%= f.input :id, as: :hidden, input_html: { value: @artefact.id } %>
<%= f.input :slug, :input_html => {... | <% if publication.draft? %>
<%= semantic_bootstrap_nested_form_for(@artefact, :html => { :class => 'artefact', :id => 'edit_artefact'}) do |f| %>
<div class="row">
<div class="col-md-12">
<%= f.input :id, as: :hidden, input_html: { value: @artefact.id } %>
<%= f.input :slug, :input_html => {... | Remove link to content tagger to edit links/user needs | Remove link to content tagger to edit links/user needs
The functionality to add or edit links and user needs now exists in the
tagging tab.
| HTML+ERB | mit | alphagov/publisher,alphagov/publisher,alphagov/publisher |
4149a91965c97c90fd318d47de75f37643a4540f | clipp/tests/ironbee.config.erb | clipp/tests/ironbee.config.erb | LogLevel notice
SensorId 215e7620-7783-012f-86c5-001f5b320164
SensorName ClippTests
SensorHostname clipp.tests
ModuleBasePath "<%= BUILDDIR %>/../../modules/.libs"
LoadModule "ibmod_htp.so"
LoadModule "ibmod_pcre.so"
LoadModule "ibmod_radix.so"
LoadModule "ibmod_ac.so"
LoadModule "ibmod_rules.so"
LoadModule "ibmod_us... | LogLevel <%= config[:log_level] || "info" %>
SensorId 215e7620-7783-012f-86c5-001f5b320164
SensorName ClippTests
SensorHostname clipp.tests
ModuleBasePath "<%= BUILDDIR %>/../../modules/.libs"
LoadModule "ibmod_htp.so"
LoadModule "ibmod_pcre.so"
LoadModule "ibmod_radix.so"
LoadModule "ibmod_ac.so"
LoadModule "ibmod_r... | Add rule tracing and debug log control to clipp tests. | clipp: Add rule tracing and debug log control to clipp tests.
| HTML+ERB | apache-2.0 | ironbee/ironbee,ironbee/ironbee,ironbee/ironbee,b1v1r/ironbee,ironbee/ironbee,b1v1r/ironbee,ironbee/ironbee,ironbee/ironbee,b1v1r/ironbee,ironbee/ironbee,b1v1r/ironbee,b1v1r/ironbee,b1v1r/ironbee,ironbee/ironbee,b1v1r/ironbee,b1v1r/ironbee,b1v1r/ironbee,ironbee/ironbee,b1v1r/ironbee,ironbee/ironbee,b1v1r/ironbee,ironbe... |
8c8d4a20353401cb935f91b19f7c5b5062eed0a5 | snippets/auth_ecr.erb | snippets/auth_ecr.erb | auth_ecr() {
$(aws ecr get-login --region us-east-1 --no-include-email)
}
worked=1
for attempt in {1..200}; do
[[ $worked != 0 ]] || break
auth_ecr && worked=0 || (log "ecr auth: attempt $attempt failed, sleeping 30"; sleep 30)
done
[[ $worked != 0 ]] && fatal "failed to auth to ecr"
log "ecr auth: successfully ... | auth_ecr() {
$(aws ecr get-login --region us-east-1 --no-include-email)
}
worked=1
for attempt in {1..10}; do
[[ $worked != 0 ]] || break
auth_ecr && worked=0 || (log "ecr auth: attempt $attempt failed, sleeping 30"; sleep 30)
done
[[ $worked != 0 ]] && fatal "failed to auth to ecr"
log "ecr auth: successfully a... | Cut wait time for ECR auth to 5 minutes | Cut wait time for ECR auth to 5 minutes
| HTML+ERB | mit | swipely/dockly,swipely/dockly |
97f87a510573ca53ca0c7bfeeaead981a01d5422 | app/views/user_mailer/activation_code.text.erb | app/views/user_mailer/activation_code.text.erb | <%= _('Hi, %{recipient}!') % { :recipient => @recipient } %>
<%= word_wrap(_('Welcome to %{environment}! To activate your account, follow the link: %{activation_url}') % { :environment => @environment.name, :activation_url => @url + url_for(:controller => :account, :action => :activate, :activation_code => @activation... | <%= _('Hi, %{recipient}!') % { :recipient => @recipient } %>
<%= word_wrap(_('Welcome to %{environment}! To activate your account, follow the link: %{activation_url}') % { :environment => @environment.name, :activation_url => url_for(:controller => :account, :action => :activate, :activation_code => @activation_code, ... | Fix URL in new user activation code email | Fix URL in new user activation code email
| HTML+ERB | agpl-3.0 | AlessandroCaetano/noosfero,AlessandroCaetano/noosfero,evandrojr/noosfero,evandrojr/noosfero,macartur/noosfero,samasti/noosfero,marcosronaldo/noosfero,LuisBelo/tccnoosfero,alexandreab/noosfero,samasti/noosfero,tallysmartins/noosfero,marcosronaldo/noosfero,AlessandroCaetano/noosfero,blogoosfero/noosfero,macartur/noosfero... |
3bf2779805eeb2fff9fdda563e9188814c0859cf | cookbooks/dns/templates/default/creds.json.erb | cookbooks/dns/templates/default/creds.json.erb | {
"gandi_v5": {
"apikey": "<%= @passwords["gandi"] %>",
"sharing_id": "7028b616-ba65-11e7-8343-00163ec31f40"
},
"cloudflare": {
"accountid": "049c95aba02c95fc1e78a9d255282e0f",
"accountname": "OpenStreetMap",
"apitoken": "<%= @passwords["cloudflare"] %>"
}
}
| {
"gandi_v5": {
"TYPE": "GANDI_V5",
"apikey": "<%= @passwords["gandi"] %>",
"sharing_id": "7028b616-ba65-11e7-8343-00163ec31f40"
},
"cloudflare": {
"TYPE": "CLOUDFLAREAPI",
"accountid": "049c95aba02c95fc1e78a9d255282e0f",
"accountname": "OpenStreetMap",
"apitoken": "<%= @passwords["clo... | Update dnscontrol auth to v3.16+ syntax | Update dnscontrol auth to v3.16+ syntax
https://stackexchange.github.io/dnscontrol/creds-json#missing
| HTML+ERB | apache-2.0 | tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tom... |
bdd04f20045e28e5965b7e8659566ae1c6e3ccc2 | app/views/issues/index.html.erb | app/views/issues/index.html.erb | <h1><%= Issue.model_name.human(count: 2).capitalize %></h1>
<br>
<p><%= link_to t('app.issues.edit.new'), new_issue_path, class: 'btn btn-primary' %></p>
<br>
<div class="row-fluid">
<div class="tabbable">
<ul class="nav nav-tabs">
<% Issue::STATUSES.each do |status| %>
<li class="span4 <%= 'activ... | <h1><%= Issue.model_name.human(count: 2).capitalize %></h1>
<br>
<p><%= link_to t('app.issues.edit.new'), new_issue_path, class: 'btn btn-primary' %></p>
<br>
<div class="row-fluid">
<div class="tabbable">
<ul class="nav nav-tabs">
<% Issue::STATUSES.each do |status| %>
<li class="span4 <%= 'activ... | Handle 0 issues for a given status. | Handle 0 issues for a given status.
| HTML+ERB | bsd-3-clause | holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site |
3a7c7d92306ef8bd8806f18d527f537f68aba1cb | pipeline/app/views/layouts/application.html.erb | pipeline/app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Pipeline</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>Pipeline</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>
<ng-view>
</ng-view>
<%= yield %>
</body>
</html... | Add ng-view to the body | Add ng-view to the body
| HTML+ERB | mit | aattsai/Pathway,aattsai/Pathway,aattsai/Pathway |
499126a015492039f861d4a3e8bf6fce8fab839a | yard/default/layout/html/footer.erb | yard/default/layout/html/footer.erb | <div id="footer">
Generated on <%= Time.now.strftime("%c") %> by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
<%= YARD::VERSION %> (ruby-<%= RUBY_VERSION %>).
</div>
| <div id="footer">
Generated on <%= Time.now.strftime("%c") %> by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
<%= YARD::VERSION %> (ruby-<%= RUBY_VERSION %>).
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[... | Add analytics to the YARD documentation | Add analytics to the YARD documentation
| HTML+ERB | mit | mikaspell/sass-site-rus,mikaspell/sass-site-rus,sass/sass-site,sass/sass-site,sass/sass-site,mikaspell/sass-site-rus |
a9a83c7753e5fe1451e0aa7f7b6dab96c88a4c36 | cookbooks/chef/templates/default/server.rb.erb | cookbooks/chef/templates/default/server.rb.erb | # DO NOT EDIT - This file is being maintained by Chef
nginx['enable_non_ssl'] = true
nginx['non_ssl_port'] = 4000
nginx['ssl_port'] = 4443
nginx['server_name'] = "chef.openstreetmap.org"
nginx['url'] = "http://chef.openstreetmap.org:4000"
bookshelf['url'] = "https://chef.openstreetmap.org:443"
bookshelf['vip'] = "chef... | # DO NOT EDIT - This file is being maintained by Chef
nginx['enable_non_ssl'] = true
nginx['non_ssl_port'] = 4000
nginx['ssl_port'] = 4443
nginx['server_name'] = "chef.openstreetmap.org"
nginx['url'] = "http://chef.openstreetmap.org:4000"
bookshelf['url'] = "https://chef.openstreetmap.org:443"
bookshelf['vip'] = "chef... | Set erchef['base_resource_url'] in chef service configuration | Set erchef['base_resource_url'] in chef service configuration
| HTML+ERB | apache-2.0 | tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,gravitystorm/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,gravitystorm/chef,Firefishy/chef,tomhughes/openstreetmap-chef,Firefishy/chef,zerebub... |
9e66e2533f3dd5b6fb0fe3eaa33167bddb419f2e | palate/app/views/users/show.html.erb | palate/app/views/users/show.html.erb | <h1> Welcome to your Profile <%= @user.username %> </h1>
<h2> Want to create a new Recipe? Select a course.</h2>
<%= button_to "Appetizer", new_recipe_path %>
<%= button_to "Salad", new_recipe_path %>
<%= button_to "Entree", new_recipe_path %>
<%= button_to "Dessert", new_recipe_path %>
<strong>User Recipes:</strong>... | <h1> Welcome to your Profile <%= @user.username %> </h1>
<h2> Want to create a new Recipe? Select a course.</h2>
<%= button_to "Appetizer", new_recipe_path, method: :get %>
<%= button_to "Salad", new_recipe_path, method: :get %>
<%= button_to "Entree", new_recipe_path, method: :get %>
<%= button_to "Dessert", new_reci... | Edit form buttons to handle get method | Edit form buttons to handle get method
| HTML+ERB | mit | sf-fireflies-2017/Palate,sf-fireflies-2017/Palate,sf-fireflies-2017/Palate |
dbde66245e7c019cdeb4d06273e9ccfb3199b82a | app/views/styleguide/pages_home.html.erb | app/views/styleguide/pages_home.html.erb | <%= render 'shared/homepage_feature',
strapline: t('home.show.strapline'),
items: t('home.show.featured') %>
<%= render 'shared/home_contact',
title: t('home.show.contact.title'),
introduction: t('home.show.contact.introduction_html'),
details: t('... | <%= render 'shared/homepage_feature',
strapline: t('home.show.strapline'),
items: t('home.show.featured') %>
<%= render 'shared/home_promoted', items: t('home.show.promoted') %>
<%= render 'shared/contact' %>
| Remove the old contact box from the homepage demo | Remove the old contact box from the homepage demo
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
52365b6bf5bf91cdc69236847e38ff2f0925de71 | app/views/home/onboarding.html.erb | app/views/home/onboarding.html.erb | <h1>Welcome to District Housing</h1>
<%= link_to "Get started!", apply_path %>
| <h1>Before you begin</h1>
<p>The application process is lengthy. You may want to gather as much of the following documentation as you can.</p>
<ul>
<li>Demographic information about the applicant, including social security numbers and driver license/ID numbers</li>
<li>Up to date contact information where the ap... | Add copy to onboarding page | Add copy to onboarding page
Fixes #103.
Adds Sarah's copy to the page the user sees after signing up.
| HTML+ERB | mit | codefordc/districthousing,codefordc/districthousing,dclegalhackers/districthousing,codefordc/districthousing,uncompiled/districthousing,dmjurg/districthousing,jrunningen/districthousing,MetricMike/districthousing,meiao/districthousing,lankyfrenchman/dchousing-apps,uncompiled/districthousing,adelevie/districthousing,jru... |
4b060ce7173bcf287f96ab2f0fb1b83a5074dab2 | app/views/styleguide/css_article_demo.html.erb | app/views/styleguide/css_article_demo.html.erb | <div class="editorial">
<%= render 'styleguide/shared/guide' %>
<%= render 'styleguide/shared/action_plan' %>
</div> | <div class="editorial">
<%= render 'styleguide/shared/guide' %>
<%= render 'styleguide/shared/action_plan' %>
<%= render 'styleguide/shared/static' %>
</div> | Add static partial to article demo | Add static partial to article demo | HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
a199145ef6f68f12bfa34308290814f5fa850ae9 | app/views/spree/admin/schweine/images/new.html.erb | app/views/spree/admin/schweine/images/new.html.erb | <% content_for :page_actions do %>
<li><%= button_link_to t(:back_to_images), admin_schwein_images_path(@schwein), :icon => 'icon-arrow-left' %></li>
<% end %>
<%= form_for [:admin, @schwein, @image], :url => admin_schwein_images_path(@schwein, @image), :html => { :multipart => true } do |f| %>
<fieldset data-hoo... | <% content_for :page_title do %>
<%= t(:editing_schwein) %> “<%= @schwein.name %>”
<% end %>
<% content_for :page_actions do %>
<li><%= button_link_to t(:back_to_images), admin_schwein_images_path(@schwein), :icon => 'icon-arrow-left' %></li>
<% end %>
<%= form_for [:admin, @schwein, @image], :url =>... | Add Schweine name to image upload admin page. | Add Schweine name to image upload admin page. | HTML+ERB | bsd-3-clause | meinekleinefarm/spree_mkf_theme,meinekleinefarm/spree_mkf_theme,meinekleinefarm/spree_mkf_theme |
758cf6a891fd226a9932d2148536d5e9fbe8bd67 | app/views/pulitzer/partial_types/_form.html.erb | app/views/pulitzer/partial_types/_form.html.erb | <div class="pulitzer-row">
<div class="pulitzer-span margin"><h5><%= partial_type.label %></h5></div>
<div class="pulitzer-span right">
<%= render partial: '/pulitzer/shared/drag_handle' %>
</div>
</div>
<%= render 'pulitzer/shared/error_messages', object: partial_type %>
<%= form_for partial_type, html: ajax... | <div class="pulitzer-row">
<div class="pulitzer-span margin"><h5><%= partial_type.label %></h5></div>
<div class="pulitzer-span match-h5"><%= partial_type.folder_path %>/</div>
<div class="pulitzer-span margin match-h5"><%= partial_type.template_path %></div>
<div class="pulitzer-span right">
<%= render par... | Add partial name/template to edit view | Add partial name/template to edit view | HTML+ERB | mit | edraut/pulitzer,edraut/pulitzer,edraut/pulitzer |
9f3ef45b86a3e888b0e8a358419864cbced7082f | cookbooks/monit/templates/default/ssh.conf.erb | cookbooks/monit/templates/default/ssh.conf.erb | # managed by chef, changes will be overwritten
CHECK PROCESS sshd WITH PIDFILE /var/run/sshd.pid
START PROGRAM "/usr/sbin/service ssh start"
STOP PROGRAM "/usr/sbin/service ssh stop"
# under load a check may fail intermittently, so give it a few tries before restarting
IF FAILED PORT 22 PROTOCOL ssh 4 TIMES WIT... | # managed by chef, changes will be overwritten
CHECK PROCESS sshd WITH PIDFILE /var/run/sshd.pid
START PROGRAM "/usr/sbin/service ssh start"
STOP PROGRAM "/usr/sbin/service ssh stop"
# under load a check may fail intermittently, so give it a few tries before restarting
IF FAILED PORT 22022 PROTOCOL ssh 4 TIMES ... | Change ssh port to 22022. | Change ssh port to 22022.
| HTML+ERB | apache-2.0 | meinekleinefarm/chef-recipes,meinekleinefarm/chef-recipes,meinekleinefarm/chef-recipes,meinekleinefarm/chef-recipes |
cc5549b5f3f4267cf6b2ee594fbbd7f796235d32 | personal_website/app/views/blogs/show.html.erb | personal_website/app/views/blogs/show.html.erb | <div class = "blog-show">
<h1> <%= @Blog.title %> </h1>
<p> <%= simple_format(@Blog.body) %>
</div> | <div class = "blog-show">
<h1> <%= @Blog.title %> </h1>
<p> <%= simple_format(@Blog.body) %>
<%= link_to "Back", blogs_path %>
</div> | Add Back button to blog show | Add Back button to blog show
| HTML+ERB | mit | Bigless27/Personal-Website-2.0,Bigless27/Personal-Website-2.0,Bigless27/Personal-Website-2.0 |
1f023da8ec84b8470bc1d6bf9bbb4b0956226d0b | app/views/shared/_analytics.html.erb | app/views/shared/_analytics.html.erb | <% unless ua.blank? %>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '<%= ua %>']);
_gaq.push(['_setDomainName', 'cartodb.com']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setCustomVar', 1, 'Member Type', '<%= stringified_member_type %>', 1]... | <% unless ua.blank? %>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '<%= ua %>']);
_gaq.push(['_setDomainName', '<%= Rails.env.staging? ? "cartodb-staging.com" : "cartodb.com" %>']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setCustomVar', ... | Change domain name on staging google analytics | Change domain name on staging google analytics
| HTML+ERB | bsd-3-clause | nyimbi/cartodb,splashblot/dronedb,splashblot/dronedb,dbirchak/cartodb,DigitalCoder/cartodb,CartoDB/cartodb,splashblot/dronedb,codeandtheory/cartodb,dbirchak/cartodb,thorncp/cartodb,UCL-ShippingGroup/cartodb-1,nuxcode/cartodb,CartoDB/cartodb,DigitalCoder/cartodb,UCL-ShippingGroup/cartodb-1,future-analytics/cartodb,bloom... |
b6a0b93f7233653de246b26dc6d3f3dee4904160 | templates/default/opsmatic-agent.conf.erb | templates/default/opsmatic-agent.conf.erb | # automatically generated by chef cookbook opsmatic-cookbook
# additional info -> https://opsmatic.com/app/docs/agent-configuration
<% if node["opsmatic"]["host_alias"] && !node["opsmatic"]["host_alias"].empty? %>
# Host Alias
host_alias = "<%= node["opsmatic"]["host_alias"] %>"
<% end %>
<% if node["opsmatic"]["group... | # automatically generated by chef cookbook opsmatic-cookbook
# additional info -> https://opsmatic.com/app/docs/agent-configuration
<% if node["opsmatic"]["host_alias"] %>
# Host Alias
host_alias = "<%= node["opsmatic"]["host_alias"] %>"
<% end %>
<% if node["opsmatic"]["groups"] && !node["opsmatic"]["groups"].empty? ... | Remove pointless boolean check for empty values...should just keep going | Remove pointless boolean check for empty values...should just keep going
| HTML+ERB | mit | opsmatic/opsmatic-cookbook,opsmatic/opsmatic-cookbook,archsaber/opsmatic-cookbook,archsaber/opsmatic-cookbook,archsaber/opsmatic-cookbook,opsmatic/opsmatic-cookbook |
77b10eb1e0b9e2419d225da811d707c715e5b903 | app/views/bookmarks/new.html.erb | app/views/bookmarks/new.html.erb | <h1>Add new bookmark</h1>
<h5>Please enter the following fields to create a new bookmark</h5>
<table>
<%= form_tag :action => "create" do %>
<%= hidden_field_tag("topic_id", @topic.id) %>
<p>
<%= label_tag 'Title' %><br/>
<%= text_field_tag :title %><br/><br/>
<%= label_tag 'Url' %><br/>
... | <h1>Add new bookmark</h1>
<h5>Please enter the following fields to create a new bookmark</h5>
<table>
<%= form_tag :action => "create" do %>
<%= hidden_field_tag("topic_id", @topic.id) %>
<p>
<%= label_tag 'Title' %><br/>
<%= text_field_tag :title, params[:title], :required => true %><br/><br/>
... | Check that all text fields in new bookmark form present | Check that all text fields in new bookmark form present
| HTML+ERB | mit | expertiza/expertiza,expertiza/expertiza,expertiza/expertiza,expertiza/expertiza |
ac823baeb46b190f2faaa3b837de79a938458c8f | app/views/layouts/_head.html.erb | app/views/layouts/_head.html.erb | <title>Aqueous | Groove Rock <%= "| #{@title}" if @title %></title>
<%= csrf_meta_tags %>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="keywords" content="Aqueous, Band, Aqueous Band, Buffalo, New York, Rock, Jamband, Progessive" />
<meta name="description" conten... | <title>Aqueous | Groove Rock <%= "| #{@title}" if @title %></title>
<%= csrf_meta_tags %>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="keywords" content="Aqueous, Band, Aqueous Band, Buffalo, New York, Rock, Jamband, Progessive" />
<meta name="description" conten... | Change the og:image to the band photo | Change the og:image to the band photo
| HTML+ERB | mit | qrush/skyway,qrush/skyway,qrush/skyway,qrush/skyway |
d9d2fa0d33c01cfb286797a233124c0b525994fc | app/views/weights/_form.html.erb | app/views/weights/_form.html.erb | <%= myp_text_field(f, :amount, "myplaceonline.weights.amount", obj.amount, autofocus) %>
<%= myp_select(f, :amount_type, "myplaceonline.weights.amount_type", Myp.translate_options(Myp::WEIGHTS), obj.amount_type) %>
<%= myp_date_field(f, :measure_date, "myplaceonline.weights.measure_date", obj.measure_date) %>
<%= myp_t... | <%= myp_text_field(f, :amount, "myplaceonline.weights.amount", obj.amount, autofocus) %>
<%= myp_select(f, :amount_type, "myplaceonline.weights.amount_type", Myp.translate_options(Myp::WEIGHTS), obj.amount_type) %>
<%= myp_date_field(f, :measure_date, "myplaceonline.weights.measure_date", obj.measure_date) %>
<%= myp_t... | Add auto-complete for weight measurement source | Add auto-complete for weight measurement source
| HTML+ERB | agpl-3.0 | myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails |
9abb272b1ebb0e55d81c08c63610338ba2b2fa55 | templates/default/init.d.sh.erb | templates/default/init.d.sh.erb | #!/bin/sh
#
# chkconfig: 35 99 99
# description: For the puma app in <%= @working_dir %>
# load some init.d helper functions
. /etc/rc.d/init.d/functions
APPNAME="<%= @name %>"
USERNAME="<%= @owner %>"
APP_DIR="<%= @directory %>"
PUMA_DIR="$APP_DIR/shared/puma"
PIDFILE="$APP_DIR/shared/pids/$APPNAME.pid"
STARTUP="$... | #!/bin/sh
#
# chkconfig: 35 99 99
# description: For the puma app in <%= @working_dir %>
# load some init.d helper functions
. /etc/rc.d/init.d/functions
APPNAME="<%= @name %>"
APP_DIR="<%= @directory %>"
PUMA_DIR="$APP_DIR/shared/puma"
PIDFILE="$APP_DIR/shared/pids/$APPNAME.pid"
STARTUP="$PUMA_DIR/puma_start.sh"
c... | Stop specifying the user since this can't run as deploy | Stop specifying the user since this can't run as deploy
| HTML+ERB | mit | sportngin-cookbooks/opsworks-puma,sportngin-cookbooks/opsworks-puma,sportngin-cookbooks/opsworks-puma |
7e74c5274886c0066002b08f409cd2bd8618c425 | mock_cdn_config/modules/varnish/templates/default.vcl.erb | mock_cdn_config/modules/varnish/templates/default.vcl.erb | backend default {
.host = "<%= @ipaddress_vmhost -%>";
.port = "8080";
}
# Please add the minimal amount of code required to implement/mimic the
# functionality you need to test. This shouldn't match our real config
# line-by-line, otherwise we'll have trouble maintaining parity.
acl purge {
"192.168.0.1";
}
s... | backend default {
.host = "<%= @ipaddress_vmhost -%>";
.port = "8080";
}
# Please add the minimal amount of code required to implement/mimic the
# functionality you need to test. This shouldn't match our real config
# line-by-line, otherwise we'll have trouble maintaining parity.
acl purge {
"192.168.0.1";
}
s... | Add mock VCL to emulate X-Cache-Hits behaviour | Add mock VCL to emulate X-Cache-Hits behaviour
| HTML+ERB | mit | mikepea/cdn-acceptance-tests,mikepea/cdn-acceptance-tests,alphagov/cdn-acceptance-tests,alphagov/cdn-acceptance-tests,mikepea/cdn-acceptance-tests,alphagov/cdn-acceptance-tests,alphagov/cdn-acceptance-tests,mikepea/cdn-acceptance-tests |
e73dad176d4db470a00172ae1ebd2e87053b9fb1 | app/views/admin/content/_article_list.html.erb | app/views/admin/content/_article_list.html.erb | <%- if @articles.empty? %>
<tr>
<td colspan="7">
<%= t(".no_articles") %>
</td>
</tr>
<%- end %>
<% for article in @articles %>
<tr>
<td>
<%- if article.published %>
<%= link_to_permalink(article, article.title, nil, 'published')%>
<%- else %>
<%= link_to(article.title, {controller: '/art... | <%- if @articles.empty? %>
<tr>
<td colspan="7">
<%= t(".no_articles") %>
</td>
</tr>
<%- end %>
<% for article in @articles %>
<tr>
<td>
<%- if article.published %>
<%= link_to_permalink(article, article.title, nil, 'published')%>
<%- else %>
<strong class="label label-info">Draft:</stro... | Make draft articles a bit easier to recognise in the article list. | Make draft articles a bit easier to recognise in the article list.
| HTML+ERB | mit | moneyadviceservice/publify,moneyadviceservice/publify,moneyadviceservice/publify,moneyadviceservice/publify |
3f1ff60b43c6a1c0ab808fca74f5decb49dc31e1 | cookbooks/wt_storm/templates/default/config.properties.erb | cookbooks/wt_storm/templates/default/config.properties.erb | datacenter=<%= @datacenter %>
pod=<%= @pod %>
topology=<%= @topology %>
kafka.host=<%= @streaming_data_mover %>
geo.host=<%= @netacuity %>
cd.url=<%= @config_distrib %>
sapi.host=<%= @sapi %>
debug=<%= @debug %>
cam.url=<%= @cam %>/cam/dcsid
dcsid.whitelist=<%= @dcsid_whitelist %>
hbase.pool.size=10
hbase.zookeeper.quo... | datacenter=<%= @datacenter %>
pod=<%= @pod %>
topology=<%= @topology %>
kafka.host=<%= @streaming_data_mover %>
geo.host=<%= @netacuity %>
cd.url=<%= @config_distrib %>
sapi.host=<%= @sapi %>
debug=<%= @debug %>
cam.url=<%= @cam %>/cam/dcsid
dcsid.whitelist=<%= @dcsid_whitelist %>
hbase.pool.size=10
hbase.zookeeper.quo... | Fix a bad template that preventing wt_storm from deploying | Fix a bad template that preventing wt_storm from deploying
Former-commit-id: 0a26f316c175249ae08a175b5a38e5fb6a60aab7 [formerly 64dbb8f99f66026888fead6d3b07789b471da3fe] [formerly 03b1366b81b1318d14a5f6901a12fa0fab777726 [formerly 9182a903473ffe8f6a6827273c9968d447aa2f30]]
Former-commit-id: 402bd9e0a4d251bf27fdf8351d... | HTML+ERB | apache-2.0 | edwlarkey/rundeck,marthag8/rundeck,tas50/rundeck,ronabop/rundeck,ARentz07/rundeck,marthag8/rundeck,marthag8/rundeck,ARentz07/rundeck,edwlarkey/rundeck,edwlarkey/rundeck,tas50/rundeck,ARentz07/rundeck,ronabop/rundeck,ronabop/rundeck,tas50/rundeck |
e17d365ffd834a9346535b1da665567af3cf23f3 | lib/views/general/_popup_banner.html.erb | lib/views/general/_popup_banner.html.erb | <% if Date.today == Date.new(2016,9,28) %>
It's International Right To Know Day.
Do your friends know they have a right to information?
<strong>Let them know</strong>.
Share on <a href="https://www.facebook.com/sharer/sharer.php?u=https://www.righttoknow.org.au/">Facebook</a>
or <a href="https://twitter.com/h... | <%#- anything you put here will appear in a green bar on the top of every screen in Alaveteli -%>
| Revert "Add a banner for Right To Know Day 2016" | Revert "Add a banner for Right To Know Day 2016"
This reverts commit 869eeef3cd898e7e074edd5618dfeafbb4fd3ed7.
| HTML+ERB | mit | openaustralia/righttoknow,openaustralia/righttoknow,openaustralia/righttoknow |
64fb8826e6e491c7235dba2c54d05c2076be209d | app/views/coronavirus_landing_page/_topic_section.html.erb | app/views/coronavirus_landing_page/_topic_section.html.erb | <h2 class="govuk-heading-l">
<%= t("coronavirus_landing_page.topic_section.header") %>
</h2>
<h2 class="govuk-body-m">
<%= t("coronavirus_landing_page.topic_section.text") %>
</h2>
<% t("coronavirus_landing_page.topic_section.links").each do | link | %>
<h2 class="govuk-body-m">
<%= link_to link[:label].html_... | <%= render "govuk_publishing_components/components/heading", {
text: t("coronavirus_landing_page.topic_section.header"),
padding: true,
border_top: 2
} %>
<p class="govuk-body-m">
<%= t("coronavirus_landing_page.topic_section.text") %>
</p>
<ul class="govuk-list">
<% t("coronavirus_landing_page.topic_section... | Tidy topic section of coronavirus landing page | Tidy topic section of coronavirus landing page
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.