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 |
|---|---|---|---|---|---|---|---|---|---|
e4514667abe75961068c251e76993fbb8ff98433 | app/views/users/show.html.erb | app/views/users/show.html.erb | <%= title('Dashboard') %>
<div class="container tmp-container-spacer">
<div class= 'col-lg-8 offset-lg-2'>
<h1 class="page-heading-title">My Dashboard</h1>
<div class="card-main profile-card">
<%= render User::AvatarComponent.new(current_user: current_user, classes: ' w-24') %>
<h2 class="profil... | <%= title('Dashboard') %>
<div class="container tmp-container-spacer">
<div class= 'col-lg-8 offset-lg-2'>
<h1 class="page-heading-title">Dashboard</h1>
<div class="card-main profile-card">
<%= render User::AvatarComponent.new(current_user: current_user, classes: ' w-24') %>
<h2 class="profile-c... | Change Dashboard Page Title to Just "Dashboard" | Feature: Change Dashboard Page Title to Just "Dashboard"
Because:
* It looks cleaner and reads better.
This commit:
* Remove "My" from dashboard page title.
| HTML+ERB | mit | TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject |
00e2ac7381150b99cb380d53c11528ee6a656e2d | app/views/coronavirus_pages/_announcements.html.erb | app/views/coronavirus_pages/_announcements.html.erb | <% announcements =
@coronavirus_page.announcements.order(:position).map do |announcement|
{
id: announcement.id,
field: announcement.title,
edit: { href: coronavirus_page_path(@coronavirus_page.slug) },
delete: {
href: coronavirus_page_path(@coronavirus_page.slug),
data_attributes:... | <% announcements =
@coronavirus_page.announcements.order(:position).map do |announcement|
{
id: announcement.id,
field: announcement.title,
edit: { href: coronavirus_page_path(@coronavirus_page.slug) },
delete: {
href: coronavirus_page_path(@coronavirus_page.slug),
data_attributes:... | Change path on add announcement button | Change path on add announcement button
Button redirects to the new announcement path instead of refreshing landing page
Co-authored-by: Rosa Fox <7730dfe70100dfd32d4a03b4b554258d5d0f44a0@digital.cabinet-office.gov.uk>
| HTML+ERB | mit | alphagov/collections-publisher,alphagov/collections-publisher,alphagov/collections-publisher |
483bea648a07df61c95411744c53db1c560abc9d | app/views/dashboard/index.html.erb | app/views/dashboard/index.html.erb | <%= javascript_include_tag "ping" %>
<%= javascript_tag do %>
$("#ping").click(function() {
$("#ping_result_lag_ms").val("");
$("#ping_result_ping_progress").html("");
Pinger.measure("<%= path_to_javascript "ping" %>",
function(lag){$("#ping_result_ping_progress").append(" " + lag);},
function... | <%= javascript_include_tag "ping" %>
<%= javascript_tag do %>
$("#ping").click(function() {
$("#ping_result_lag_ms").val("");
$("#ping_result_ping_progress").html("");
Pinger.measure("<%= path_to_javascript "ping" %>",
function(lag){$("#ping_result_ping_progress").append(" " + lag);},
function... | Improve list of this app in other regions | Improve list of this app in other regions
| HTML+ERB | mit | zunda/ping,zunda/ping,zunda/ping |
95a29b50e643df7963b8e89a0ebb20d11cbe1701 | app/views/snippets/new.html.erb | app/views/snippets/new.html.erb | <%= form_for(:snippet, url: snippets_path) do |f| %>
<legend>Submit a new snippet</legend>
<%= f.text_area :content, size: "35x10" %><br>
<%= f.submit "Submit" %>
</fieldset>
<% end %>
| <%= form_for(:snippet, url: snippets_path) do |f| %>
<legend>Submit a new snippet</legend>
<%= f.label :content%>
<%= f.text_area :content, size: "35x10" %><br>
<%= f.submit "Submit" %>
</fieldset>
<% end %>
| Add label to content for new snippet | Add label to content for new snippet
| HTML+ERB | mit | mxngyn/StoryVine,mxngyn/StoryVine,pearlshin/StoryVine,mxngyn/StoryVine,SputterPuttRedux/storyvine_clone,pearlshin/StoryVine,SputterPuttRedux/storyvine_clone,pearlshin/StoryVine,SputterPuttRedux/storyvine_clone |
f75ccb62273148da5f0219e2cd71632d554bcebc | source/layouts/manual_layout.html.erb | source/layouts/manual_layout.html.erb | <% html = yield %>
<% content_for :page_description, Snippet.generate(html) %>
<% content_for :sidebar do %>
<a href='/manual.html'>‹ Manual</a>
<%= table_of_contents html, max_level: 3 %>
<% end %>
<% wrap_layout :layout_with_sidebar do %>
<% if current_page.data.section == "Icinga alerts" %>
<div ... | <% html = "<h1 id='header'>#{current_page.data.title}</h1>#{yield}" %>
<% content_for :page_description, Snippet.generate(html) %>
<% content_for :sidebar do %>
<a href='/manual.html'>‹ Manual</a>
<%= table_of_contents html, max_level: 3 %>
<% end %>
<% wrap_layout :layout_with_sidebar do %>
<% if curre... | Add page title to layout | Add page title to layout
This means we don't have to add the title to the page as well as the
frontmatter.
| HTML+ERB | mit | alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs |
b0eee4111f7b000cf99b4871e8caf73988f11222 | data/domtrix-lb/templates/haproxy.cfg.erb | data/domtrix-lb/templates/haproxy.cfg.erb | # Brightbox loadbalancer
# Generated config
# <%= Time.now.asctime %>
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
maxconn 16384
user haproxy
group haproxy
defaults
log global
option dontlognull
retries 3
option redispatch
... | # Brightbox loadbalancer
# Generated config
# <%= Time.now.asctime %>
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
maxconn 16384
user haproxy
group haproxy
defaults
log global
option dontlognull
retries 3
option redispatch
... | Add healthcheck configuration to ERB template | Add healthcheck configuration to ERB template
| HTML+ERB | agpl-3.0 | NeilW/domtrix-packaging,NeilW/domtrix,NeilW/domtrix,NeilW/domtrix-packaging,NeilW/domtrix-packaging |
278cb95a0839b53f31bb0af4db5dbebc8504abb7 | app/views/projects/_table.html.erb | app/views/projects/_table.html.erb | <table class="table table-bordered table-striped table-responsive">
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>Description</th>
<th>Website</th>
<th>License</th>
<th>Added By</th>
<th>%Achieved</th>
<th>Badge</th>
</tr>
</thead>
<tbody>
<% projects.each... | <table class="table table-bordered table-striped table-responsive">
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>Description</th>
<th>Website</th>
<th>License</th>
<th>Owner</th>
<th>%Achieved</th>
<th>Badge</th>
</tr>
</thead>
<tbody>
<% projects.each do... | Change 'Added by' to 'Owner' in project list | Change 'Added by' to 'Owner' in project list
Sometimes the current owner isn't the one who added the badge entry.
The application doesn't have a way to change the owners, but
we (the administrators) can do this via SQL, and we've already done it
more than once.
In particular, I just modified the OpenSSL SQL... | HTML+ERB | mit | linuxfoundation/cii-best-practices-badge,wanganyv/cii-best-practices-badge,yannickmoy/cii-best-practices-badge,taylorcoursey/cii-best-practices-badge,dwvisser/cii-best-practices-badge,jdossett/cii-best-practices-badge,jdossett/cii-best-practices-badge,jdossett/cii-best-practices-badge,taylorcoursey/cii-best-practices-b... |
ceb2800c4d95052ce65052d8e45c15eb7c5aad84 | app/views/users/show_init.html.erb | app/views/users/show_init.html.erb | <div id="page-header">
<h1>Create Initial User</h1>
</div>
<%= form_for @user, :url=>:init do |f| %>
Email:<br/>
<%= f.text_field :email %><br/>
Password:<br/>
<%= f.password_field :password %><br/>
Password confirmation:<br/>
<%= f.password_field :password_confirmation %><br/>
<%= f.submit "Create" %>
<% end %... | Add required page for creating first user | Add required page for creating first user
| HTML+ERB | agpl-3.0 | rideconnection/ridepilot,rideconnection/ridepilot,camsys/ridepilot,camsys/ridepilot,camsys/ridepilot,rideconnection/ridepilot | |
226e18cc54f86d5065e32a69b44e21cd5aabf1bd | lib/domgen/jws/templates/service.erb | lib/domgen/jws/templates/service.erb | /* DO NOT EDIT: File is auto-generated */
package <%= service.data_module.jws.service_package %>;
<%= description_javadoc_for(service, "") %>@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
@javax.jws.WebService( name = "<%= service.jws.service_name %>" )
public interface... | /* DO NOT EDIT: File is auto-generated */
package <%= service.data_module.jws.service_package %>;
<%= description_javadoc_for(service, "") %>@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
@javax.jws.WebService
public interface <%= service.jws.service_name %>
extends j... | Remove paameter to annotation that are seeminingly unused | Remove paameter to annotation that are seeminingly unused
| HTML+ERB | apache-2.0 | realityforge/domgen,icaughley/domgen,william-ml-leslie/domgen,realityforge/domgen,icaughley/domgen |
ca7a2abada240a7cdc00e010110e561a624460e6 | lib/travis/lite/views/repository.erb | lib/travis/lite/views/repository.erb | <h1><%= @slug %></h1>
<% @builds.each do |build| %>
<h2>Build #<%= build[:number] %> — <%= build[:status] %></h2>
<% end %>
| <h1><%= @slug %></h1>
<ul>
<% @builds.each do |build| %>
<li>Build #<%= build[:number] %> — <%= build[:status] %></li>
<% end %>
</ul>
| Make build list an unordered list | Make build list an unordered list
| HTML+ERB | mit | henrikhodne/travis-lite,rkh/travis-lite,henrikhodne/travis-lite,henrikhodne/travis-lite,rkh/travis-lite,rkh/travis-lite |
2afee11c50627085a8940f792b9d3e7dc7105ee2 | app/views/metrics/completeness/details.html.erb | app/views/metrics/completeness/details.html.erb | <% provide(:metric, 'Completeness') %>
<% content_for :content do %>
<table class="table">
<thead>
<tr>
<th>Field</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<% @properties.each do |key| %>
<tr>
<td><%= key %></td>
<td></td>
</tr>
... | <% provide(:metric, 'Completeness') %>
<% content_for :content do %>
<table class="table">
<thead>
<tr>
<th>Field</th>
<th>Subfield</th>
<th>Best Record</th>
<th>Worst Record</th>
</tr>
</thead>
<tbody>
<% @properties.each do |key| %>
<% if key.is_... | Add ERB code for displaying associative arrays | Add ERB code for displaying associative arrays
I have extended the template in order to present the CKAN schema fields
and the records with the best and worst completeness metric result.
Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>
| HTML+ERB | mit | platzhirsch/metadata-census |
1cc2480fe34363902a51131bc4cef7ac0567b99d | app/views/orders/status/select_ship_to.html.erb | app/views/orders/status/select_ship_to.html.erb | <% content_for :title, "Select Shipping Address" %>
<% content_for :content do %>
<%= form_for @order, method: :patch, data: { live_guarded: true } do |f| %>
<div class="row">
<div class="col-xs-12">
<div class="form-group">
<%= f.label 'Ship to name:' %>
<%= f.text_field :ship_... | <% content_for :title, "Select Shipping Address" %>
<% content_for :content do %>
<%= form_for @order, method: :patch, data: { live_guarded: true } do |f| %>
<div class="row">
<div class="col-xs-6">
<div class="form-group">
<%= f.label 'Ship to name:' %>
<%= f.text_field :ship_t... | Add suggested address buttons to select ship to page | Add suggested address buttons to select ship to page
| HTML+ERB | mit | icodeclean/StockAid,on-site/StockAid,on-site/StockAid,icodeclean/StockAid,icodeclean/StockAid,on-site/StockAid |
1cc1928f58db3115d1a7dcf0654242cbd35573e9 | app/views/countries/show.html.erb | app/views/countries/show.html.erb | <div class="g2 first">
<h1 class="country page_title"><%= @country.name %></h1>
</div>
<div class="g1 secondary">
<%= render partial: "documents/international_priorities", object: @international_priorities %>
<%= render partial: "documents/news_articles", object: @news_articles %>
<%= render partial: "document... | <div class="g2">
<h1 class="country page_title"><%= @country.name %></h1>
</div>
<div class="g1 secondary">
<%= render partial: "documents/international_priorities", object: @international_priorities %>
<%= render partial: "documents/news_articles", object: @news_articles %>
<%= render partial: "documents/spee... | Remove misused .first class on country page | Remove misused .first class on country page
| HTML+ERB | mit | alphagov/whitehall,ggoral/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,hotvulcan/whitehall,alphagov/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,askl56/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whiteha... |
a1387746cb76c8b27df968d1ef29b5c106ead454 | app/views/editions/index.html.erb | app/views/editions/index.html.erb | <%= render 'header_with_navigation', edition: @guide.latest_edition, guide: @guide %>
<table class='table table-bordered'>
<thead>
<tr class='table-header'>
<th></th>
<th>Updated by</th>
<th>State</th>
<th>Updated at</th>
</tr>
</thead>
<tbody>
<% @editions.each do |edition| %... | <%= render 'header_with_navigation', edition: @guide.latest_edition, guide: @guide %>
<table class='table table-bordered'>
<thead>
<tr class='table-header'>
<th></th>
<th></th>
<th>Updated by</th>
<th>State</th>
<th>Updated at</th>
</tr>
</thead>
<tbody>
<% @editions.eac... | Add links to see changes in past editions | Add links to see changes in past editions
| HTML+ERB | mit | alphagov/service-manual-publisher,alphagov/service-manual-publisher,alphagov/service-manual-publisher |
e2d588a2857bf6050ddf2e09771fa923c2172179 | app/views/factoids/index.html.erb | app/views/factoids/index.html.erb | <div class="emph-frame">
<div id="not-me">
<h1>Not About Me</h1>
<% quote_display = "<p class='quote-box'>\"#{@quote.excerpt}\"</p> <h4 class='quote-source'>#{@quote.source} <br><span class='byline'> by #{@quote.author}</span></h4>".html_safe %>
<ul>
<% if @flip == 0 %>
<li><%= quote_disp... | <div id="factoid-display">
<div class="emph-frame">
<div id="not-me">
<h1>Not About Me</h1>
<% quote_display = "<p class='quote-box'>\"#{@quote.excerpt}\"</p> <h4 class='quote-source'>#{@quote.source} <br><span class='byline'> by #{@quote.author}</span></h4>".html_safe %>
<ul>
<% if @... | Adjust layout of factoid index. | Adjust layout of factoid index.
| HTML+ERB | mit | lukert33/about_luke_thomas,lukert33/about_luke_thomas,lukert33/about_luke_thomas |
1c9d1f0e4050788a3e22085a07332d6503e7df4d | app/views/shared/_errors.html.erb | app/views/shared/_errors.html.erb | <% if @errors %>
<% @errors.full_messages.each do |e| %>
<p><%= e %></p>
<% end %>
<% end %>
| <% if @errors %>
<% @errors.full_messages.each do |e| %>
<div class="error"><%= e %></div>
<% end %>
<% end %>
| Add class to errors for styling | Add class to errors for styling
| HTML+ERB | mit | chi-fiddler-crabs-2015/yesand,chi-fiddler-crabs-2015/yesand,chi-fiddler-crabs-2015/yesand |
c2776ce13a9df067a71bf688424b3702a3899349 | app/views/stacks/_header.html.erb | app/views/stacks/_header.html.erb | <% content_for :page_title do %>
<span><%= stack.repo_owner %></span>
<h1><%= stack.repo_name %> <%= stack.environment %></h1>
<% end %>
<% content_for :primary_navigation do %>
<%= link_to 'Refresh statuses & commits', stack_refresh_path(@stack), method: 'post', class: "btn" %>
<% @stack.task_definitions.eac... | <% content_for :page_title do %>
<span><%= stack.repo_owner %></span>
<h1><%= stack.repo_name %> <%= stack.environment %></h1>
<% end %>
<% content_for :primary_navigation do %>
<%= link_to 'Refresh statuses & commits', stack_refresh_path(@stack), method: 'post', class: "btn" %>
<% @stack.task_definitions.eac... | Replace the URL in the header by 'View website' | Replace the URL in the header by 'View website'
| HTML+ERB | mit | Shopify/shipit-engine,ershad/shipit-engine,perobertson/shipit-engine,Shopify/shipit-engine,ershad/shipit-engine,Shopify/shipit-engine,perobertson/shipit-engine,perobertson/shipit-engine,ershad/shipit-engine,Shopify/shipit-engine,ershad/shipit-engine,perobertson/shipit-engine,perobertson/shipit-engine,Shopify/shipit-eng... |
9afa0ce0f5778aea3f7cf80cd991513a46ee3015 | templates/default/hobbit-client.erb | templates/default/hobbit-client.erb | # Configure the Hobbit client settings.
# You MUST set the list of Hobbit servers that this
# client reports to.
# It is good to use IP-adresses here instead of DNS
# names - DNS might not work if there's a problem.
# (Internally this will be translated to BBDISP and BBDISPLAYS
# variables in /var/run/hobbit/bb... | # Configure the Hobbit client settings.
# You MUST set the list of Hobbit servers that this
# client reports to.
# It is good to use IP-adresses here instead of DNS
# names - DNS might not work if there's a problem.
# (Internally this will be translated to BBDISP and BBDISPLAYS
# variables in /var/run/hobbit/bb... | Use the hostname rather than the fqn when reporting to xymon | Use the hostname rather than the fqn when reporting to xymon
| HTML+ERB | apache-2.0 | realityforge/chef-xymon,realityforge/chef-xymon |
6a7fee8365141059db2e9e6faf2d4fa93618fc6c | app/views/storytime/dashboard/media/_gallery.html.erb | app/views/storytime/dashboard/media/_gallery.html.erb | <div id="media_gallery">
<% @media.in_groups_of(5, false) do |media_row| %>
<div class="row">
<% media_row.each do |media| %>
<%= render partial: "storytime/dashboard/media/media.html.erb", locals: { media: media } %>
<% end %>
</div>
<% end %>
<%= paginate @media, remote: true, para... | <div id="media_gallery">
<% if @media.any? %>
<% @media.in_groups_of(5, false) do |media_row| %>
<div class="row">
<% media_row.each do |media| %>
<%= render partial: "storytime/dashboard/media/media.html.erb", locals: { media: media } %>
<% end %>
</div>
<% end %>
<... | Add nil check to media gallery | Add nil check to media gallery
| HTML+ERB | mit | braindeaf/storytime,hoanghiep90/storytime,CultivateLabs/storytime,hoanghiep90/storytime,harrykiselev/storytime,harrykiselev/storytime,FlyoverWorks/storytime,bidah/storytime-manentail,braindeaf/storytime,braindeaf/storytime,harrykiselev/storytime,CultivateLabs/storytime,bidah/storytime-manentail,matiasgarcia/storytime,F... |
747c7bc260aab88d8520e410a8554bde63f25a24 | app/views/noisy_workflow/request_fact_check.text.erb | app/views/noisy_workflow/request_fact_check.text.erb | Hello,
The following piece of mainstream GOV.UK content is ready to be checked for factual accuracy:
Title: <%= @edition.title %>
<%= "#{Plek.current.find("private-frontend")}/#{@edition.slug}?edition=#{@edition.version_number}" %>
You will need your GOV.UK user name and password to preview the content.
If you or y... | Hello.
The following piece of mainstream GOV.UK content needs to be fact checked because
Title: <%= @edition.title %>
<%= "#{Plek.current.find("private-frontend")}/#{@edition.slug}?edition=#{@edition.version_number}" %>
You'll need your GOV.UK user name and password to view the content.
Please reply to this email a... | Clean up email to match GOV.UK style and clarity | Clean up email to match GOV.UK style and clarity
Number of amends to make the email cleaner and simpler, hopefully providing clearer instructions to fact checkers. | HTML+ERB | mit | leftees/publisher,leftees/publisher,alphagov/publisher,telekomatrix/publisher,leftees/publisher,telekomatrix/publisher,telekomatrix/publisher,leftees/publisher,alphagov/publisher,telekomatrix/publisher,alphagov/publisher |
500fe0c7238cab03ebc00ce4351116e3cb375c1a | templates/docker.conf.erb | templates/docker.conf.erb | [Service]
Environment="DOCKER_OPTS=--insecure-registry docker-registry.ne.cloud.epfl.ch:5000 --ipv6"
| [Service]
Environment="DOCKER_OPTS=--insecure-registry registry.ne.consul:5000 --ipv6"
| Update DNS name for Docker registry | Update DNS name for Docker registry
Praise be to Consul!
| HTML+ERB | mit | epfl-sti/cluster.coreos.puppet,epfl-sti/cluster.coreos.puppet,epfl-sti/cluster.coreos.puppet |
0fc2893b43fb3ac2da3cf73ecd18c28252e93e51 | views/config.erb | views/config.erb | <h3>Configuration</h3>
<form action="/v1/config/save" method="post">
<table>
<% $intrigue_config.each do |k,v| %>
<tr><td><%= k %>:</td><td><input type="text" name="<%=k%>" value="<%=v%>"></td></tr>
<% end %>
<tr><td><input type="submit"></td><td></td></tr>
</table>
</form>
| <h3>Configuration</h3>
<form action="/v1/config/save" method="post">
<table>
<% $intrigue_config.each do |k,v| %>
<tr><td><%= k %>:</td><td><input class="form-control" type="text" name="<%=k%>" value="<%=v%>"></td></tr>
<% end %>
<tr><td><input type="submit"></td><td></td></tr>
</table>
</form>
| Add class 'form-control' to <input> in Configurations | Add class 'form-control' to <input> in Configurations
| HTML+ERB | bsd-3-clause | onedal88/intrigue-core,liorvh/intrigue-core,firebitsbr/intrigue-core,tdr130/intrigue-core,CaledoniaProject/intrigue-core,firebitsbr/intrigue-core,onedal88/intrigue-core,tdr130/intrigue-core,onedal88/intrigue-core,nahamsec/intrigue-core,liorvh/intrigue-core,nahamsec/intrigue-core,tdr130/intrigue-core,onedal88/intrigue-c... |
e1307533588eaca1b14e33b357f5bb685d2fb235 | views/stream.erb | views/stream.erb | <% if is_streaming %>
<p>pup is currently streaming.</p>
<iframe src="https://player.twitch.tv/?channel=duckinatorr&autoplay=false" frameborder="0" scrolling="no" height="378" width="620"></iframe>
<p><a href="https://www.twitch.tv/duckinatorr?tt_medium=live_embed&tt_content=text_link">Watch live video from duckin... | <% if is_streaming %>
<p>pup is currently streaming.</p>
<iframe src="https://player.twitch.tv/?channel=duckinatorr&autoplay=false" frameborder="0" scrolling="no" height="378" width="620"></iframe>
<p><a href="https://www.twitch.tv/duckinatorr?tt_medium=live_embed&tt_content=text_link">Watch live video from duckin... | Add note about where people can subscribe to watch Streams. | Add note about where people can subscribe to watch Streams.
| HTML+ERB | mit | duckinator/puppy.run,duckinator/puppy.run |
5f260968308fc5d6b4ca229eb36c341a9f002daa | app/views/dashboard/_published_assets.html.erb | app/views/dashboard/_published_assets.html.erb | <%= panel('Asset accessibility', type: 'panel-default dashboard-panel most-activity') do %>
<canvas id="published-canvas"></canvas>
<% end %>
<% assets = @project ? @project.assets : Seek::Util.asset_types.map(&:all).flatten %>
<% published_count = assets.count { |a| a.is_published? } %>
<% private_count = assets.co... | <%= panel('Asset accessibility', type: 'panel-default dashboard-panel') do %>
<canvas id="published-canvas"></canvas>
<% end %>
<% assets = @project ? @project.assets : Seek::Util.asset_types.map(&:all).flatten %>
<% published_count = assets.count { |a| a.is_published? } %>
<% private_count = assets.count { |a| a.pr... | Move pie chart legend to the right | Move pie chart legend to the right
| HTML+ERB | bsd-3-clause | HITS-SDBV/seek,HITS-SDBV/seek,HITS-SDBV/seek,HITS-SDBV/seek |
6e70f67d09eacdb2f0b47b9691b1be1eb636ee04 | app/views/static_pages/criteria.html.erb | app/views/static_pages/criteria.html.erb | <div class="center jumbotron">
<p>
<a href='https://github.com/linuxfoundation/cii-best-practices-badge/blob/master/doc/criteria.md'>Criteria information is on GitHub</a>.</p>
</div>
| <div class="center jumbotron">
<h1>Criteria</h1>
<!-- This page quickly shows some information about the Criteria. -->
<p>
<a href='https://github.com/linuxfoundation/cii-best-practices-badge/blob/master/doc/criteria.md'>Criteria information is on GitHub</a>.</p>
<p>
<%
active_criteria = Criteria.all.se... | Add statistics display to "/criteria" | Add statistics display to "/criteria"
Add display of some statistics to the /criteria page.
This makes it easy to get some basic statistics.
At this time it reports:
Current number of criteria: 66 (active) + 8 (future) = 74 (total)
Among active criteria, there are 42 MUST, 10 SHOULD,
and 14 SUGGESTED crit... | HTML+ERB | mit | coreinfrastructure/best-practices-badge,linuxfoundation/cii-best-practices-badge,yannickmoy/cii-best-practices-badge,wanganyv/cii-best-practices-badge,dwvisser/cii-best-practices-badge,dwvisser/cii-best-practices-badge,yannickmoy/cii-best-practices-badge,jdossett/cii-best-practices-badge,jdossett/cii-best-practices-bad... |
34cbc4e784e5a4f07e362867b097543d4ca57ac0 | app/views/devise/sessions/new.html.erb | app/views/devise/sessions/new.html.erb | <% content_for :title, "Sign in to GOV.UK" %>
<div class="govuk-grid-row">
<div class="govuk-grid-column-one-half">
<%= form_for(resource, as: resource_name, url: session_path(resource_name), html: { autocomplete: 'on' }) do |f| %>
<%= render "govuk_publishing_components/components/input", {
label:... | <% content_for :title, "Sign in to GOV.UK" %>
<div class="govuk-grid-row">
<div class="govuk-grid-column-one-half">
<%= form_for(resource, as: resource_name, url: session_path(resource_name), html: { autocomplete: 'on' }) do |f| %>
<%= render "govuk_publishing_components/components/input", {
label:... | Add autofocus on login page | Add autofocus on login page
| HTML+ERB | mit | alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2 |
35dc1b3cbb7813be60382f15f9f1e15ab1034e57 | app/views/search/_search_form.html.erb | app/views/search/_search_form.html.erb |
<div class='search-form'>
<%= form_tag( { :controller => 'search', :action => @asset ? @asset : 'index', :asset => nil, :category_path => ( @category ? @category.path : nil ) },
:method => 'get', :class => 'search_form' ) do %>
<div id='search-header'>
<h1><% _('Searches') %></h1>
<%... |
<div class='search-form'>
<%= form_tag( { :controller => 'search', :action => @asset ? @asset : 'index', :asset => nil, :category_path => ( @category ? @category.path : nil ) },
:method => 'get', :class => 'search_form' ) do %>
<div id='search-header'>
<h1><%= _('Searches') %></h1>
<... | Add title for search page header 3 | Add title for search page header 3 | HTML+ERB | agpl-3.0 | samasti/noosfero,samasti/noosfero,CIRANDAS/noosfero-ecosol,EcoAlternative/noosfero-ecosol,blogoosfero/noosfero,samasti/noosfero,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,CIRANDAS/noosfero-ecosol,EcoAlternative/noosfero-ecosol,EcoAlternative/noosfero-ecosol,blogoosfero/noosfero,coletivoEITA/noosfero-ecosol,blo... |
fbb4fa298352c86e92de74764fe4da9f2e6b4b8a | app/views/admin/page/_preview_button.html.erb | app/views/admin/page/_preview_button.html.erb | <p class="preview-link">
<script type="text/javascript" charset="utf-8">
function preview_html(html_text){
preview_window = window.open('', 'page_preview', 'resizable=yes,status=yes');
preview_doc = preview_window.document;
preview_doc.open();
preview_doc.write(html_text);
pre... | <p class="preview-link">
<script type="text/javascript" charset="utf-8">
function preview_html(html_text){
preview_window = window.open('', 'page_preview', 'resizable=yes,status=yes,scrollbars=yes');
preview_doc = preview_window.document;
preview_doc.open();
preview_doc.write(html_te... | Add scrollbars to pop up | Add scrollbars to pop up
| HTML+ERB | mit | saturnflyer/radiant_page_preview_extension |
8e555f4259fa7a2ce6f78dee0bbda3d764319554 | app/views/notifications/_notifications_table.html.erb | app/views/notifications/_notifications_table.html.erb | <table id="notifications" class="generic_datatable table table-striped table-bordered">
<% if defined? title %>
<caption><h3><%= title %></h3></caption>
<% end %>
<thead>
<tr>
<th>Status</th>
<th>Event</th>
<th>Start at</th>
<th>Channels</th>
<th colspan="1"></th>
</tr>
... | <table id="notifications" class="generic_datatable table table-striped table-bordered">
<% if defined? title %>
<caption><h3><%= title %></h3></caption>
<% end %>
<thead>
<tr>
<th>Status</th>
<th>Event</th>
<th>Start at</th>
<th>Channels</th>
<th colspan="1"></th>
</tr>
... | Make TODO note into a comment | Make TODO note into a comment
| HTML+ERB | agpl-3.0 | ReadyResponder/ReadyResponder,kgf/lims,dusty-wil/ReadyResponder,houhoulis/ReadyResponder,kgf/lims,pcai/lims,houhoulis/ReadyResponder,ReadyResponder/ReadyResponder,pcai/lims,ReadyResponder/ReadyResponder,pcai/lims,ReadyResponder/ReadyResponder,kgf/lims,houhoulis/ReadyResponder,kgf/lims,dusty-wil/ReadyResponder,houhoulis... |
feef4b71b95c75d13c1ebbe09667ab7ffe8dfa5a | lib/moyashi/spectrum_renderers/default.html.erb | lib/moyashi/spectrum_renderers/default.html.erb | <%# = Default spectrum rendere %>
<%# Each render is called as partial template. %>
<%# Also a variable which is named spectrum will be passed %>
<%
spectrum.inspect
%> | <%# = Default spectrum rendere %>
<%# Each render is called as partial template. %>
<%# Also a variable which is named spectrum will be passed. %>
<div id="spectrum_chart" style="width:1000px; height:400px;"></div>
<div>
* You need Internet connection to draw this chart.
</div>
<script type="text/javascript" src=... | Change the default renderer to new one using GoogleCharts. | Change the default renderer to new one using GoogleCharts.
| HTML+ERB | mit | akchan/moyashi,akchan/moyashi,akchan/moyashi |
f2e50754c4aeb48ed8203cc3aa329231646e4d43 | app/views/users/edit.html.erb | app/views/users/edit.html.erb | <%= form_for @user, :html => {:class => "pure-form"} do |f| %>
<%= f.text_field :name, placeholder: "Name" %>
<%= f.text_field :email, placeholder: "Email" %>
<%= f.password_field :password, placeholder: "New Password" %>
<%= f.password_field :password_confirmation, placeholder: "Confirm Password" %>
<%= f.su... | <%= form_for @user, :html => {:class => "pure-form"} do |f| %>
<%= f.text_field :name, placeholder: "Name" %>
<%= f.text_field :email, placeholder: "Email" %>
<%= f.password_field :password, placeholder: "New Password" %>
<%= f.password_field :password_confirmation, placeholder: "Confirm Password" %>
<%= f.su... | Change Delete Account button to link to make it less tempting | Change Delete Account button to link to make it less tempting
| HTML+ERB | mit | mud-turtles-2014/palate,mud-turtles-2014/palate |
65e28797413e22e123128c3958b9c8698719b0e0 | app/views/users/show.html.erb | app/views/users/show.html.erb | <h1> User Profile Page </h1>
Welcome <%= @user.first_name %>
<%= @user.last_name %><br><br>
email: <%= @user.email %><br>
<h2> Questions you posted </h2>
<% if @user.queries.any? %>
<% @user.queries.each do |query| %>
<%= link_to query.title, query_path(query) %><br>
<% end %>
<% else %>
You have not poste... | <h1> Your Profile </h1>
Welcome <%= @user.first_name %>
<%= @user.last_name %><br><br>
email: <%= @user.email %><br>
<h2> Questions you posted </h2>
<% if @user.queries.any? %>
<% @user.queries.each do |query| %>
<%= link_to query.title, query_path(query) %><br>
<% end %>
<% else %>
You have not posted any... | Change from User Profile Page to Your Profile | Change from User Profile Page to Your Profile
| HTML+ERB | mit | red-spotted-newts-2014/translateYo,red-spotted-newts-2014/translateYo |
8fd7b737512de209920b1c9207688393a47a67bd | app/views/ingredients/_found.html.erb | app/views/ingredients/_found.html.erb | <h4> <%= !@beer || @ingredient.beers.count > 1 ? "Also found in:" : "#{@beer.name} is our only beer with this ingredient." %> </h4>
<% @ingredient.beers.each do |beer| %>
<% if beer != @beer %>
<%= render partial: 'beers/beer', locals: {beer: beer} %>
<% end %>
<% end %>
| <h4>
<% if @ingredient.beers.count > 0 %>
<% if @beer %>
<%= @ingredient.beers.count > 1 ? "Also found in:" : "#{@beer.name} is our only beer with this ingredient." %>
<% else %>
<%= "Found in:" %>
<% end %>
<% else %>
<%= "None of our current beers use this ingredient." %>
<% end %>
... | Modify other beers shown on Ingredient show page | Modify other beers shown on Ingredient show page
| HTML+ERB | mit | szeidman/brewery,szeidman/brewery,szeidman/brewery |
938cdc5b8083d4b4f5260d7dda307ef7b6dc288b | app/views/layouts/_login_links.html.erb | app/views/layouts/_login_links.html.erb |
<li class="dropdown">
<%= link_to "Help", '#', :class => "dropdown-toggle", data: { toggle: "dropdown" } %>
<ul class="dropdown-menu">
<li><%= link_to 'Contact Support', help_path %></li>
<% if user_signed_in? %>
<li><%= link_to "Release Notes", release_notes_path %></li>
<% end %>
</ul>
</li>... |
<li class="dropdown">
<%= link_to "Help", '#', :class => "dropdown-toggle", data: { toggle: "dropdown" } %>
<ul class="dropdown-menu">
<li><%= link_to 'Contact Support', help_path %></li>
<% if user_signed_in? %>
<li><%= link_to "Release Notes", release_notes_path %></li>
<% end %>
</ul>
</li>... | Add link to edit user profile. | Add link to edit user profile.
| HTML+ERB | mit | safetymonkey/asq,safetymonkey/asq,Marchex/asq,safetymonkey/asq,Marchex/asq,Marchex/asq,Marchex/asq |
8f6377e0db79e07a6a0e9406b353c1ab8a5862b1 | templates/default/etc_chef_client.rb.erb | templates/default/etc_chef_client.rb.erb | <%= template_header -%>
node_name '<%= node['fqdn'] %>'
chef_server_url '<%= @server_url %>'
client_key '<%= @client_key %>'
<% if @trusted_certs_dir -%>
trusted_certs_dir '<%= @trusted_certs_dir %>'
<% end -%>
<%- if @verify_ssl == 'all' -%>
# Verify all HTTPS connections
ssl_verify_mode :verify_peer
... | <%= template_header -%>
<%- nodename = @node_name || node['fqdn'] -%>
<%- if nodename
node_name '<%= nodename %>'
<%- end -%>
chef_server_url '<%= @server_url %>'
client_key '<%= @client_key %>'
<% if @trusted_certs_dir -%>
trusted_certs_dir '<%= @trusted_certs_dir %>'
<% end -%>
<%- if @verify_ssl == ... | Make node name configurable and catch empty node['fqdn'] | Make node name configurable and catch empty node['fqdn']
| HTML+ERB | apache-2.0 | GSI-HPC/sys-chef-cookbook,GSI-HPC/sys-chef-cookbook,GSI-HPC/sys-chef-cookbook |
b3ea7b31706eea59d726521e45f91fc5236a339e | templates/vhost/vhost_location_empty.erb | templates/vhost/vhost_location_empty.erb | location <%= location %> {
<% location_custom_cfg.each do |key,value| -%>
<%= key %> <%= value %>;
<% end -%>
}
| location <%= location %> {
<% location_custom_cfg.sort_by {|k,v| k}.each do |key,value| -%>
<%= key %> <%= value %>;
<% end -%>
}
| Sort location_custom-cfg hash to prevent random ordering | Sort location_custom-cfg hash to prevent random ordering
| HTML+ERB | mit | jhoblitt/puppet-nginx,jd-daniels/puppet-nginx,blackcobra1973/puppet-nginx,bulletproofnetworks/puppet-nginx,kwolf/puppet-nginx,erikanderson/puppet-nginx,cwood/puppet-nginx,MelanieGault/puppet-nginx,kwolf/puppet-nginx,DSI-Ville-Noumea/puppet-nginx,jfryman/puppet-nginx,Yelp/puppet-nginx,bastelfreak/puppet-nginx,kronos-pbr... |
4ccdd5f6630c4eeb6bd61980811f596861651325 | app/views/kiteboard/_meter.html.erb | app/views/kiteboard/_meter.html.erb | <% background_color ||= '#A333C8' %>
<div class="widget widget-meter" style="background-color: <%= background_color %>">
<h1 class="title"><%= title %></h1>
<input type="text" data-fgColor="#fff" data-bgColor="#662B4C" data-angleoffset="-125" data-anglearc="250" data-readonly="true" data-min="<%= min %>" data-max... | <% background_color ||= '#A333C8' %>
<% bgColor ||= '#662B4c' %>
<% angleoffset ||= '-125' %>
<% anglearc ||= '250' %>
<% fgColor ||= '#fff' %>
<% thickness ||= '' %>
<% width ||= '' %>
<% rotation ||= '' %>
<div class="widget widget-meter" style="background-color: <%= background_color %>">
<h1 class="title"><%= tit... | Add more options for the meter widget | Add more options for the meter widget
| HTML+ERB | mit | Mbuckley0/kiteboard,Mbuckley0/kiteboard,Mbuckley0/kiteboard,Mbuckley0/kiteboard |
a336760e5466ab4107d9b3e9e5beaf0a6f952588 | app/views/servers/_heading.html.erb | app/views/servers/_heading.html.erb | <div class="heading">
<%= link_to "Server list", root_path %>
<h1>Server: <%= server.name %></h1>
<ul class="nav nav-tabs">
<li class="<%= "active" if tab == "apps" %>"><%= link_to "Apps", server_apps_path(server) %>
<li class="<%= "active" if tab == "services" %>"><%= link_to "Services", server_services_... | <div class="heading">
<h1>Server: <%= server.name %></h1>
<ul class="nav nav-tabs">
<li><%= link_to "#{icon("chevron-left")} Server list".html_safe, root_path %></li>
<li class="<%= "active" if tab == "apps" %>"><%= link_to "Apps", server_apps_path(server) %></li>
<li class="<%= "active" if tab == "serv... | Move the server list link | Move the server list link
Signed-off-by: Jeroen van Baarsen <2e488d5cebaf6d2832884be70e328933bd4c80ab@gmail.com>
| HTML+ERB | mit | jvanbaarsen/intercity-next,intercity/intercity-next,jvanbaarsen/intercity-next,intercity/intercity-next,jvanbaarsen/intercity-next,intercity/intercity-next,jvanbaarsen/intercity-next,intercity/intercity-next |
6887bd69aa0264bcddef629a7b09809bc5b12512 | source/_videos.erb | source/_videos.erb | <div class="see-support">See your support in action</div>
<div class="outer-info video-wrapper" id="video-top">
<button class="video inner-info" href="https://www.youtube.com/watch?v=Td4NJgWJmMo">Watch Now</button>
</div>
<div class="watch-more">
<a href="#">Watch more videos <i class="fa fa-chevron-right"></i></a>... | <div class="see-support">See your support in action</div>
<div class="outer-info video-wrapper" id="video-top">
<button class="video inner-info" href="https://www.youtube.com/watch?v=Td4NJgWJmMo">Watch Now</button>
</div>
<div class="watch-more">
<a href="http://www.texastribune.org/multimedia/video/">Watch more vi... | Update link for watch more videos | Update link for watch more videos
| HTML+ERB | mit | texastribune/donations-app,texastribune/donations-app,texastribune/donations-app,texastribune/donations-app |
e30dab2a4512b02398e1863cf548a282a0b52ba6 | app/views/shared/_navigation.html.erb | app/views/shared/_navigation.html.erb | <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<div class="container-inner">
<div class="logo icon">
<a class="brand" href="/">
<span class="logo-if">i</span>
<span class="logo-simply">S</span>
</a>
... | <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<div class="container-inner">
<div class="logo icon">
<a class="brand" href="/">
<span class="logo-if">i</span>
<span class="logo-simply">S</span>
</a>
... | Add Login/Edit/Logout Options for Navbar | Add Login/Edit/Logout Options for Navbar
Update the navbar partial to include login, edit account and logout
capabilities.
| HTML+ERB | mit | jekhokie/IfSimply,jekhokie/IfSimply,jekhokie/IfSimply |
6f7af00d76dcf71987fe5d1c7fd0f1b9113e4a05 | app/views/users/dinners/show.html.erb | app/views/users/dinners/show.html.erb | <div class="well well-lg col-md-10 col-md-offset-1 text-center">
<div class="btn btn-primary edit-dinner-details">
<% if current_user == @dinner.host %>
<%= link_to edit_user_dinner_path(current_user, @dinner) do %>
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
<% end %>
... | <div class="well well-lg col-md-10 col-md-offset-1 text-center">
<% if current_user == @dinner.host %>
<div class="btn btn-primary edit-dinner-details">
<%= link_to edit_user_dinner_path(current_user, @dinner) do %>
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
<% end %>
... | Adjust conditional visibility of edit dinner button. | Adjust conditional visibility of edit dinner button.
| HTML+ERB | mit | jeremysklarsky/dinnerly,jeremysklarsky/dinnerly,jeremysklarsky/dinnerly |
0fb5d96b44f8a6e89586ad8b6bfdff70e3e4a243 | app/views/mailer/request_user_message.html.erb | app/views/mailer/request_user_message.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
Hi <%= @first_name %>,<br />
<br />
Below user requested to sign up. Review by going to 'Manage/Users/Review Requested Users'.<br />
<br />
Name: <%= @user.name %><br />
<br />
<hr>
This message has be... | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
Hi <%= @first_name %>,<br />
<br />
Below user requested to sign up. Review by going to <A HREF="http://expertiza.ncsu.edu/users/list_pending_requested">Expertiza</A>.<br />
<br />
Name: <%= @user.name %... | Change the Email content for super-admins when new user requests to join | Change the Email content for super-admins when new user requests to join
| HTML+ERB | mit | KunmiaoYang/expertiza,akshayjain114/expertiza,rmmaily/expertiza,urmilparikh95/expertiza,sid5788/expertiza,sid5788/expertiza,arpitashekhar/expertiza,ApertureScienceInnovators/expertiza,rmmaily/expertiza,michaelamoran/expertiza,ApertureScienceInnovators/expertiza,arpitashekhar/expertiza,michaelamoran/expertiza,mhhassan/e... |
68fee9e06a3f8350bb05878f9af69a649a7224f6 | auth/app/views/spree/shared/_login_bar.html.erb | auth/app/views/spree/shared/_login_bar.html.erb | <% if current_user %>
<li><%= link_to t(:my_account), spree.account_path %></li>
<li><%= link_to t(:logout), spree.destroy_user_session_path, :method => :delete %></li>
<% else %>
<li id="link-to-login"><%= link_to t(:login), spree.login_path %></li>
<% end %>
| <% if current_user %>
<li><%= link_to t(:my_account), spree.account_path %></li>
<li><%= link_to t(:logout), spree.destroy_user_session_path %></li>
<% else %>
<li id="link-to-login"><%= link_to t(:login), spree.login_path %></li>
<% end %>
| Revert "[auth] Make logout link now use a DELETE request" | Revert "[auth] Make logout link now use a DELETE request"
This reverts commit af10fb6d9b4a38f8cc1d134df7dd362f9114df46.
| HTML+ERB | bsd-3-clause | bricesanchez/spree,omarsar/spree,HealthWave/spree,urimikhli/spree,PhoenixTeam/spree_phoenix,JDutil/spree,delphsoft/spree-store-ballchair,ayb/spree,assembledbrands/spree,CiscoCloud/spree,ahmetabdi/spree,yiqing95/spree,robodisco/spree,abhishekjain16/spree,shioyama/spree,calvinl/spree,yushine/spree,moneyspyder/spree,jsurd... |
26d32c81bda5ca3d469840ef12d2b3452a8c880d | GoogleIt/app/views/forms/index.html.erb | GoogleIt/app/views/forms/index.html.erb | <p id="notice"><%= notice %></p>
<h1>Listing Forms</h1>
<table>
<thead>
<tr>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @forms.each do |form| %>
<tr>
<td><%= form.title %></td>
<td><%= link_to 'Show', form %></td>
<% if current_user && current_user.admin %>
... | <p id="notice"><%= notice %></p>
<h1>Listing Forms</h1>
<table>
<thead>
<tr>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @forms.each do |form| %>
<tr>
<td><%= form.title %></td>
<td><%= link_to 'Show', form %></td>
<% if current_user && current_user.admin %>
... | Add link to profile page in forms index | Add link to profile page in forms index
| HTML+ERB | apache-2.0 | BRusinov/GoogleIt,BRusinov/GoogleIt,BRusinov/GoogleIt,BRusinov/GoogleIt |
cd8441e2704095ec7494edda7189d1a02aa10a00 | BHCDatabase/app/views/users/show.html.erb | BHCDatabase/app/views/users/show.html.erb | <% provide(:title, @user.name) %>
<div id="initiative">
<div class="stdcontainer">
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<div align="left">
<h2>
Name: <%= @user.name %><br>
</h2>
<h2>
Telephone... | <% provide(:title, @user.name) %>
<div id="initiative">
<h1>User<h1>
<div class="stdcontainer">
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<div align="left">
<h2>
Name: <%= @user.name %><br>
</h2>
<h2>
... | Add title to user page. | Add title to user page.
| HTML+ERB | mit | DaBrown95/BHCDatabase,DaBrown95/BHCDatabase,DaBrown95/BHCDatabase |
5d4cd96da6ef9360ab7076ac3b8265a5f6ec4e45 | views/result.erb | views/result.erb | <html>
<head>
<title>TicTacToe</title>
</head>
<body>
<h1>Result</h1>
<h1> <%= session[:result] %></h1>
<h1> <%= @result %> </h1>
</body>
</html>
| <html>
<head>
<title>TicTacToe</title>
</head>
<body>
<h1>Result</h1>
<h1> <%= session[:result] %></h1>
<h1> <%= @result %> </h1>
<a href="/">Play Again</a>
</body>
</html>
| Add link to play again | Add link to play again
| HTML+ERB | mit | portatlas/tictactoe,portatlas/tictactoe |
42cfac0ea43ba3c097e90dcf81f31fb7c8335141 | modules/performanceplatform/templates/assets-vhost.erb | modules/performanceplatform/templates/assets-vhost.erb | # Spotlight serves assets from the public directory
# of the currently deployed version of the app.
location /spotlight/ {
expires 5m;
rewrite ^/spotlight(.*)$ $1 break;
root /opt/spotlight/current/public;
gzip on;
gzip_types application/x-javascript application/javascript application/json text/css;
gzip_pr... | # Spotlight serves assets from the public directory
# of the currently deployed version of the app.
location /spotlight/ {
expires 1d;
rewrite ^/spotlight(.*)$ $1 break;
root /opt/spotlight/current/public;
gzip on;
gzip_types application/x-javascript application/javascript application/json text/css;
gzip_pr... | Increase cache duration for Spotlight assets | Increase cache duration for Spotlight assets
I'd like to increase the Expires header as an indication that I'm more
confident in our ability to cachebust than I was previously.
Currently the only assets that won't be cachebusted are images in stylesheets
and the govuk_template - the govuk_template will be cachebusted... | HTML+ERB | mit | alphagov/pp-puppet,alphagov/pp-puppet,alphagov/pp-puppet,alphagov/pp-puppet |
9d458f3d2db10daabcdb2ef15f7837c68055d1f9 | app/views/piwik_analytics/piwik_tracking_tag.html.erb | app/views/piwik_analytics/piwik_tracking_tag.html.erb | <!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://<%= url %>/" : "http://<%= url %>/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
... | <!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://<%= url %>/" : "http://<%= url %>/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
... | Add Piwik image tracker to non-async code | Add Piwik image tracker to non-async code
| HTML+ERB | mit | halfdan/piwik-ruby-tracking,halfdan/piwik-ruby-tracking |
a7b0b820319bb62996548b5a284f80838d41efb7 | app/views/spam_domains/_domain.html.erb | app/views/spam_domains/_domain.html.erb | <%
counts_summary = %i[all tp fp naa].map do |t|
[t, Post.joins(spam_domains: :domain_tags).where(spam_domains: {id: domain.id}).distinct.send(t).count]
end.to_h
%>
<span class="spam-domain">
<% if occurances && counts_summary[:all] > 0 %>
<% if counts_summary[:tp] == 0 %>
<span class="text-da... | <%
counts_summary = %i[all tp fp naa].map do |t|
[t, Post.joins(spam_domains: :domain_tags).where(spam_domains: {id: domain.id}).distinct.send(t).count]
end.to_h
occurances ||= false
%>
<span class="spam-domain">
<% if occurances && counts_summary[:all] > 0 %>
<% if counts_summary[:tp] == 0 %>
... | Fix a little bug on viewing domain groups | Fix a little bug on viewing domain groups
| HTML+ERB | cc0-1.0 | Charcoal-SE/metasmoke,Charcoal-SE/metasmoke,Charcoal-SE/metasmoke,Charcoal-SE/metasmoke |
1f17aa44f8b97ddf922c571d7b4890dddad78d1c | source/index.html.erb | source/index.html.erb | <h1>Maxwell Holder</h1>
<section>
<h1>About</h1>
<%= image_tag 'max.jpg', alt: 'Max', height: 240, width: 240 %>
<p>
Howdy! My name is Maxwell Holder, but you can call me Max.
</p>
<p>
I'm a Ruby on Rails developer in Durham, NC.
</p>
<p>
I like linguistics, programming, coffee, cooking, and e... | <h1>Maxwell Holder</h1>
<section>
<h1>About</h1>
<%= image_tag 'max.jpg', alt: 'Max', height: 240, width: 240 %>
<p>
Howdy! My name is Maxwell Holder, but you can call me Max.
</p>
<p>
I'm a Ruby on Rails developer in Durham, NC.
</p>
<p>
I like linguistics, programming, coffee, cooking, and e... | Include date in links to blog posts | Include date in links to blog posts
| HTML+ERB | mit | mxhold/maxwellholder.com,mxhold/maxwellholder.com,mxhold/maxwellholder.com,mxhold/maxwellholder.com |
d1a5e4a4f85f4500c6535701e9d6b3a474fb0cc1 | lib/tech404logs/views/search_form.erb | lib/tech404logs/views/search_form.erb | <form action="<%= url('/search') %>" method="get" class="search">
<input class="u-full-width" name="q" type="search" placeholder="Search…">
</form>
| <form action="<%= url('/search') %>" method="get" class="search">
<input
class="u-full-width"
name="q"
type="search"
placeholder="Search…"
value="<%= params[:q] %>">
</form>
| Make search query stay in input | Make search query stay in input
| HTML+ERB | mit | zacstewart/tech404logs,zacstewart/tech404logs,zacstewart/tech404logs,zacstewart/tech404-search,zacstewart/tech404-search,zacstewart/tech404-search |
053b56a33fe1f68757810d3e3ebb3d201667e88d | frontend/app/views/spree/shared/_search.html.erb | frontend/app/views/spree/shared/_search.html.erb | <% @taxons = @taxon && @taxon.parent ? @taxon.parent.children : Spree::Taxon.roots %>
<%= form_tag spree.products_path, method: :get, class: "form-inline d-flex" do %>
<div class="form-group">
<% cache [I18n.locale, @taxons] do %>
<%= select_tag :taxon,
options_for_select([[Spree.t(:all_departme... | <% @taxons = @taxon && @taxon.parent ? @taxon.parent.children : Spree::Taxon.roots %>
<%= form_tag spree.products_path, method: :get, class: "ml-2 form-inline d-flex" do %>
<div class="form-group">
<% cache [I18n.locale, @taxons] do %>
<%= select_tag :taxon,
options_for_select([[Spree.t(:all_dep... | Add padding to search form | Add padding to search form
| HTML+ERB | bsd-3-clause | ayb/spree,ayb/spree,ayb/spree,imella/spree,ayb/spree,imella/spree,imella/spree |
f0dd1f3f51b77f626ca6f83440057545125cb936 | app/views/admin/event_logs/index.html.erb | app/views/admin/event_logs/index.html.erb | <% content_for :title, "Account access log" %>
<ol class="breadcrumb">
<li><%= link_to @user.name, admin_user_path(@user) %> <span class="divider">/</span> </li>
<li class="active">Account access log</li>
</ol>
<div class="page-header">
<h1>Account access log</h1>
</div>
<table class="table table-bordered table... | <% content_for :title, "Account access log" %>
<ol class="breadcrumb">
<li><%= link_to @user.name, admin_user_path(@user) %></li>
<li class="active">Account access log</li>
</ol>
<div class="page-title">
<h1>Account access log</h1>
</div>
<% if @logs.any? %>
<table class="table table-bordered table-striped">... | Tidy up account log view | Tidy up account log view
* Update breadcrumb to bootstrap 3, divider elements aren’t necessary
any more
* Add tbody and thead to table, and distinguish table header
* Add a no content box and message when there’s no activity
| HTML+ERB | mit | alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2 |
74a371c64250e6ad7351aa3441e9506ce99fa38b | app/views/verblog/archives/index.html.erb | app/views/verblog/archives/index.html.erb | <% @PAGE_TITLE = "Archives"%>
<% @PAGE_IDENT = :archives %>
<h1>Archives</h1>
<p>
It's been a long journey. Since the first post went up on this site in November 1998,
there have been <%= number_with_delimiter @count-1 %> more to follow it.
</p>
<div id="archives">
<%= render :partial => "archive_year",... | <% @PAGE_TITLE = "Archives"%>
<% @PAGE_IDENT = :archives %>
<h1>Archives</h1>
<div id="archives">
<%= render :partial => "archive_year", :collection => @archives %>
</div>
| Remove EWR's text from the archives page | Remove EWR's text from the archives page
| HTML+ERB | mit | ewr/verblog,ewr/verblog,ewr/verblog |
7886a9acfecd2a000a15254db5c0935f2c3e7087 | lib/generators/active_admin/install/templates/admin_user.rb.erb | lib/generators/active_admin/install/templates/admin_user.rb.erb | ActiveAdmin.register <%= @user_class %> do
index do
column :email
column :current_sign_in_at
column :last_sign_in_at
column :sign_in_count
default_actions
end ... | ActiveAdmin.register <%= @user_class %> do
index do
column :email
column :current_sign_in_at
column :last_sign_in_at
column :sign_in_count
default_actions
end ... | Fix deprecation. f.buttons is deprecated in favour of f.actions | Fix deprecation. f.buttons is deprecated in favour of f.actions | HTML+ERB | mit | dalegregory/activeadmin,bolshakov/activeadmin,iuriandreazza/activeadmin,buren/activeadmin,artofhuman/activeadmin,deivid-rodriguez/activeadmin,beyondthestory/activeadmin,mediebruket/activeadmin,scarver2/activeadmin,ampinog/activeadmin,dannyshafer/activeadmin,dannyshafer/activeadmin,saiqulhaq/activeadmin,SoftSwiss/active... |
49cdedc0ce979be97df5f6379495ccf8144a1e12 | lib/generators/bbl_admin/scaffold_controller/templates/views/erb/index.html.erb.erb | lib/generators/bbl_admin/scaffold_controller/templates/views/erb/index.html.erb.erb | <%%= page_header '<%= plural_table_name.humanize.capitalize %>' %>
<%%= new_link(<%= class_name %>) %>
<br /><br />
<table class="table table-striped table-bordered">
<thead>
<tr>
<% attributes.reject(&:password_digest?).each do |attribute| -%>
<th><%= attribute.human_name %></th>
<% end -%>
<th clas... | <%%= page_header '<%= plural_table_name.humanize.capitalize %>' %>
<%%= new_link(<%= class_name %>) %>
<br /><br />
<table class="table table-striped table-bordered">
<thead>
<tr>
<% attributes.reject(&:password_digest?).each do |attribute| -%>
<th><%= attribute.human_name %></th>
<% end -%>
<th clas... | Replace td_delete with long html version of delete | Replace td_delete with long html version of delete
This closes issue #10.
| HTML+ERB | mit | joshuapaling/bbl_admin,joshuapaling/bbl_admin,joshuapaling/bbl_admin |
2956c8ba546a7aefa4af050eb64d83bef12dad09 | app/views/pages/sky_color_test.html.erb | app/views/pages/sky_color_test.html.erb | <% @times.each do |hours| %>
<div style="float:left;display:inline-block;padding:0 0.5em;width:<%= 100 / @times.to_a.length.to_f %>%;font-size:0.01em;height:10vh;"><%= hours %></div>
<% end %>
<script>
$("div").each(function() {
var thisDiv = this;
$.ajax({
url:"/api/sky_color?hours=" + thisDiv.inner... | <% @times.each do |hours| %>
<div style="float:left;display:inline-block;padding:0 0.5em;width:<%= 100 / @times.to_a.length.to_f %>%;font-size:0.01em;height:10vh;"><%= hours %></div>
<% end %>
<script>
var hours = 0.0;
$("div").each(function() {
var thisDiv = this;
$.ajax({
url:"/api/sky_color?hou... | Add range slider for hours to sky_color_test | Add range slider for hours to sky_color_test
| HTML+ERB | mit | thomas-profitt/tiny_harvest_dashboard,thomas-profitt/tiny_harvest_dashboard,thomas-profitt/tiny_harvest_dashboard |
63357beee26d54316ff36c3f46a433a07d1886aa | app/views/field_test/experiments/_experiments.html.erb | app/views/field_test/experiments/_experiments.html.erb | <% experiments.each do |experiment| %>
<% results = experiment.results %>
<h2>
<%= experiment.name %>
<small><%= link_to "Details", experiment_path(experiment.id) %></small>
</h2>
<% if experiment.description %>
<p class="description"><%= experiment.description %></p>
<% end %>
<table>
<... | <% experiments.each do |experiment| %>
<% results = experiment.results %>
<h2>
<%= experiment.name %>
<small><%= link_to "Details", experiment_path(experiment.id) %></small>
</h2>
<% if experiment.description %>
<p class="description"><%= experiment.description %></p>
<% end %>
<table>
<... | Use < 1% when winning probability is low | Use < 1% when winning probability is low
| HTML+ERB | mit | ankane/field_test,ankane/field_test,ankane/field_test |
28ddb5f882b6fce1cdfc8a3f7fa7c14473272a26 | app/views/articles/_object.html.erb | app/views/articles/_object.html.erb | <div class="list-group-item">
<%= content_tag(:big, link_with_query(object.title.t,
object.show_link_args)) %>
<br>
<%= content_tag(:small, object.created_at.web_time) %>:
<%= user_link(object.user) %>
<br>
<%= truncate(strip_tags(object.body), length: 80).tpl %>
</div>
| <div class="list-group-item">
<%= content_tag(
:big,
link_to(object.title.t, article_path(object, q: get_query_param))
) %>
<br>
<%= content_tag(:small, object.created_at.web_time) %>:
<%= user_link(object.user) %>
<br>
<%= truncate(strip_tags(object.body), length: 80).tpl %>
</div>
| Fix Articles _object partial link to :show | Fix Articles _object partial link to :show
| HTML+ERB | mit | MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,Mu... |
dcd2a7e1238012eb02f72835a4922c5bf01f3bed | app/views/discover/updates.html.erb | app/views/discover/updates.html.erb | <% title 'Updates' %>
<% activate_nav! :platform_updates %>
<%= render 'shared/navbar' %>
<style>
body {
background-color: #F4F4F5;
}
</style>
<div class="mx-auto">
<div class="clearfix py2">
<div class="col sm-col-2"> </div>
<div class="col sm-col-8">
<%= react_component 'NewsFeed', new... | <% title 'Updates' %>
<% activate_nav! :platform_updates %>
<%= render 'shared/navbar' %>
<style>
body {
background-color: #F4F4F5;
}
</style>
<div class="container">
<div class="clearfix py2">
<div class="col sm-col-2"> </div>
<div class="col sm-col-8">
<%= react_component 'NewsFeed', n... | Revert responsive behavior on column. | Revert responsive behavior on column.
| HTML+ERB | agpl-3.0 | assemblymade/meta,assemblymade/meta,lachlanjc/meta,lachlanjc/meta,assemblymade/meta,lachlanjc/meta,lachlanjc/meta,assemblymade/meta |
3335a335797621001bec33701f820fb92ac6e345 | app/views/events/show_quiz.html.erb | app/views/events/show_quiz.html.erb | <h1><%= @wine_bringer %>'s Wine</h1>
<%= form_for @tasting do |f| %>
<h3>Observations</h3>
<% if @wine.color == 'red' %>
<%= render 'red_wine' %>
<% else %>
<%= render 'white_wine' %>
<% end %>
<div class="card">
<label for="tasting_notes">Tasting Notes</label><br>
<textarea ... | <h1><%= @wine_bringer %>'s Wine</h1>
<%= form_for @tasting do |f| %>
<h3>Observations</h3>
<% if @wine.color == 'red' %>
<%= render 'red_wine' %>
<% else %>
<%= render 'white_wine' %>
<% end %>
<div class="card">
<h3>Tasting Notes</h3><br>
<textarea name="tasting_notes" rows=... | Add header tag to tasting notes | Add header tag to tasting notes
| HTML+ERB | mit | mud-turtles-2014/palate,mud-turtles-2014/palate |
6c1caced5d3ac4988512a8ea4c52fce9b0aaa72c | app/views/layouts/_sidebar.html.erb | app/views/layouts/_sidebar.html.erb | <ul class="sidebar-menu">
<li>
<%= link_to dashboard_path do %>
<%= dashboard_icon %> <span class="link-title">Dashboard</span>
<% end %>
</li>
<li class="sidebar-divider"></li>
<li class="sidebar-header">Benchmark</li>
<li>
<%= link_to benchmark_definitions_path do %>
<%= definit... | <ul class="sidebar-menu">
<li>
<%= link_to dashboard_path do %>
<%= dashboard_icon %> <span class="link-title">Dashboard</span>
<% end %>
</li>
<li class="sidebar-divider"></li>
<li class="sidebar-header">Benchmark</li>
<li>
<%= link_to benchmark_definitions_path do %>
<%= definit... | Remove active schedule badge in sidebar | Remove active schedule badge in sidebar
| HTML+ERB | apache-2.0 | sealuzh/cloud-workbench,sealuzh/cloud-workbench,sealuzh/cloud-workbench |
87290bc29e47f17c50654e112b324969604701af | app/views/partials/_navBar.html.erb | app/views/partials/_navBar.html.erb | <div class="navBar">
<h1 class="title"><a href="/">Mathio Party</a></h1>
<% if current_user %>
<%= link_to "Logout, #{current_user.username} ", destroy_user_session_path, method: :delete %>
<% if !player2_logged_in? %>
<%= link_to 'Player 2 Login', players_new_path %>
<% else %>
<%= link_to "Logou... | <div class="navBar">
<h1 class="title"><a href="/">Mathio Party</a></h1>
<% if current_user %>
<%= link_to "Logout, #{current_user.username} ", destroy_user_session_path, method: :delete %>
<% if !player2_logged_in? %>
<%= link_to 'Player 2 Login', players_new_path %>
<% else %>
<%= link_to "Logou... | Add username for player 2 | Add username for player 2
| HTML+ERB | mit | kaydenwilliams7/mathio-party,kaydenwilliams7/mathio-party,kaydenwilliams7/mathio-party |
7ac0feb60a3a5d131028dda475d0e2e264eec0f2 | app/views/shared/_products.html.erb | app/views/shared/_products.html.erb | <% paginated_products = Spree::Config.searcher.products || products %>
<% if params[:keywords] %>
<h3><%= t(:search_results, :keywords => h(params[:keywords])) %></h3>
<% end %>
<% if products.empty? %>
<%= t(:no_products_found) %>
<% end %>
<ul class="product-listing">
<% products.each do |product| %>
<% if Sp... | <% paginated_products = Spree::Config.searcher.products || products %>
<% if params[:keywords] %>
<h3><%= t(:search_results, :keywords => h(params[:keywords])) %></h3>
<% end %>
<% if products.empty? %>
<%= t(:no_products_found) %>
<% end %>
<ul class="product-listing">
<% products.each do |product| %>
<% if Sp... | Clean params before call will_paginate. | Clean params before call will_paginate.
[#928 state:resolved]
| HTML+ERB | bsd-3-clause | kewaunited/spree,NerdsvilleCEO/spree,biagidp/spree,reinaris/spree,codesavvy/sandbox,yushine/spree,lsirivong/solidus,cutefrank/spree,Ropeney/spree,omarsar/spree,locomotivapro/spree,PhoenixTeam/spree_phoenix,TimurTarasenko/spree,radarseesradar/spree,kewaunited/spree,FadliKun/spree,pervino/spree,softr8/spree,dotandbo/spre... |
ba4f78d9e993db17ad779f2e699f24fc281e7088 | vcloud/index.html.md.erb | vcloud/index.html.md.erb | ---
title: Deploying Cloud Foundry on vCloud Air or vCloud Director
---
<strong><%= modified_date %></strong>
## Environment Setup ##
* Configure a [virtual datacenter](setup_vcloud.html) for the installation. This configuration will also instruct you to deploy a jump box in your virtual datacenter from which you wi... | ---
title: Deploying Cloud Foundry on vCloud Air or vCloud Director
---
<strong><%= modified_date %></strong>
## Environment Setup ##
* Configure a [virtual datacenter](setup_vcloud.html) for the installation. This configuration will also instruct you to deploy a jump box in your virtual datacenter from which you wi... | Revert "Typo broke hyperlink. Fixed." | Revert "Typo broke hyperlink. Fixed."
| HTML+ERB | apache-2.0 | cloudfoundry/docs-deploying-cf |
9666c83a06ba4e1807a5cc9a27749406bf755614 | app/views/francis_cms/links/show.json.erb | app/views/francis_cms/links/show.json.erb | {
"type": "entry",
"author": {
"type": "card",
"name": "<%= francis_cms_config.user_name %>",
"url": "<%= francis_cms_config.site_url %>",
"photo": "<%= asset_url francis_cms_config.user_avatar %>"
},
"name": "<%= @link.title %>",
"url": "<%= link_url @link %>",
"bookmark-of": "<%= @link.url %>",
<%- if ... | {
"type": "entry",
"author": {
"type": "card",
"name": "<%= francis_cms_config.user_name %>",
"url": "<%= francis_cms_config.site_url %>",
"photo": "<%= asset_url francis_cms_config.user_avatar %>"
},
"name": "<%= @link.title %>",
"url": "<%= link_url @link %>",
"bookmark-of": "<%= @link.url %>",
<%- if ... | Check for link.body? before converting to JSON. | Check for link.body? before converting to JSON.
| HTML+ERB | mit | jgarber623/FrancisCMS,jgarber623/FrancisCMS,FrancisCMS/FrancisCMS,FrancisCMS/FrancisCMS,FrancisCMS/FrancisCMS |
3c22e9755fb6c9cadd24cc9432444936165ec9e6 | app/views/lights/_slider_actions.html.erb | app/views/lights/_slider_actions.html.erb | <div id='slider-actions' class="column small-12 actions end top-level-container">
<div class="column small-12" id="wrapper">
<%= label_tag "Saturation (of color)"%>
<div class="sat-show slider-bg range-slider">
<%= range_field_tag :sat_range, 254, in: 0..254, class: 'update clicked'%>
</div>
</div... | <div id='slider-actions' class="column small-12 actions end top-level-container">
<div class="column small-12" id="wrapper">
<%= label_tag "Saturation (of color)"%>
<div class="sat-show slider-bg range-slider">
<%= range_field_tag :sat_range, 134, in: 0..254, class: 'update clicked'%>
</div>
</div... | Add better initial values for the sliders | Add better initial values for the sliders
| HTML+ERB | mit | cthit/HueIT-Rails,cthit/HueIT-Rails,cthit/HueIT-Rails,cthit/HueIT-Rails |
0e4412423004e153e7ac0285795d6c987d084de2 | app/views/shared/_share_petition.html.erb | app/views/shared/_share_petition.html.erb | <h2>Share this petition</h2>
<% title = petition.title + " - e-petitions" -%>
<ul class="petition-share">
<li>
<%= link_to "http://www.facebook.com/sharer.php?t=#{URI.escape(title)}&u=#{URI.escape(petition_url(petition))}" do %>
<span class="icon icon-share-facebook"></span>
Facebook
<% end %>
<... | <h2>Share this petition</h2>
<% title = petition.title + " - e-petitions" -%>
<ul class="petition-share">
<li>
<%= link_to "http://www.facebook.com/sharer.php?t=#{URI.escape(title)}&u=#{URI.escape(petition_url(petition))}" do %>
<span class="icon icon-share-facebook" aria-hidden="true"></span>
Faceboo... | Hide icons from ARIA compliant browsers | Hide icons from ARIA compliant browsers
Ensure that the icons are not read by accessible screen readers
| HTML+ERB | mit | alphagov/e-petitions,telekomatrix/e-petitions,oskarpearson/e-petitions,telekomatrix/e-petitions,joelanman/e-petitions,StatesOfJersey/e-petitions,oskarpearson/e-petitions,alphagov/e-petitions,joelanman/e-petitions,StatesOfJersey/e-petitions,joelanman/e-petitions,unboxed/e-petitions,alphagov/e-petitions,ansonK/e-petition... |
687b0e783fbbe2c1cfd123b723fd8a43d7977d9c | lib/views/user/signchangecompanyincdate.html.erb | lib/views/user/signchangecompanyincdate.html.erb | <% @title = _('Change your company incorporation date used on {{site_name}}', :site_name => site_name) %>
<% raise _('internal error') if not @user %>
<div id="change_company_incdate">
<%= form_tag({:action => "signchangecompanyincdate"}, {:id => "signchangecompanyincdate_form"}) do %>
<%= foi_error_messages_for... | <%= render :partial => 'general/localised_datepicker' %>
<% @title = _('Change your company incorporation date used on {{site_name}}', :site_name => site_name) %>
<% raise _('internal error') if not @user %>
<div id="change_company_incdate">
<%= form_tag({:action => "signchangecompanyincdate"}, {:id => "signchange... | Use the core datepicker for changing the incorporation date | Use the core datepicker for changing the incorporation date
| HTML+ERB | mit | mysociety/panama-theme,mysociety/panama-theme,mysociety/panama-theme,mysociety/panama-theme |
6b0064c08458081cc40e5188cb23d3c377cb4685 | app/views/categories/show.html.erb | app/views/categories/show.html.erb | <div id="content">
<section>
<h1><%= category.title %></h1>
<p id="description"><%= category.description %></p>
<% category.contents.each do |subcategory| %>
<article>
<h2><%= link_to subcategory.title, subcategory.path %></h2>
<% if subcategory.contents.present? %>
<ul>
... | <div id="content">
<section>
<h1><%= title category.title %></h1>
<p id="description"><%= category.description %></p>
<% category.contents.each do |subcategory| %>
<article>
<h2><%= link_to subcategory.title, subcategory.path %></h2>
<% if subcategory.contents.present? %>
... | Set page title on category page | Set page title on category page
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
696b8262274e6ed0d00388bf43a337af5de80869 | app/views/dashboards/show.html.erb | app/views/dashboards/show.html.erb | <section class="stats">
<header>
<h2>Your Stats</h2>
<%= link_to new_deed_path, class: 'add' do %>
<%= fa_icon 'plus' %>
<% end %>
</header>
<section class="trash_bags">
<div class="count">
<%= pluralize(
current_user.total_trash_bags,
User.human_attribute_name(:trash_... | <section class="stats">
<header>
<h2>Your Stats</h2>
<%= link_to new_deed_path, class: 'add' do %>
<%= fa_icon 'plus' %>
<% end %>
</header>
<section class="trash_bags">
<div class="count">
<%= pluralize(
current_user.total_trash_bags,
User.human_attribute_name(:trash_... | Fix nesting issue from previous commit... whoops | Fix nesting issue from previous commit... whoops
| HTML+ERB | mit | crawfoal/greensteps,crawfoal/greensteps,crawfoal/greensteps |
afc18d0fbb0ed97b5e9fff1e7a595010d522d42e | app/views/exercises/index.html.erb | app/views/exercises/index.html.erb | <%= provide(:header, "Seus exercícios") %>
<%= link_to "Criar novo exercício", new_exercise_path, class: "btn btn-primary pull-right" %>
<br></br>
<br></br>
<% @exercises.each do |exercise| %>
<div class="box box-solid box-default">
<div class="box-header">
<h3 class="box-title"><%= exercise.title %></h><... | <%= provide(:header, "Seus exercícios") %>
<%= provide(:description, "Preview") %>
<%= link_to "Criar novo exercício", new_exercise_path, class: "btn btn-primary pull-right" %>
<br></br>
<br></br>
<% @exercises.each do |exercise| %>
<div class="box box-solid box-default">
<div class="box-header">
<h3 clas... | Make display markdown in index view and add a link to edit the exercise | Make display markdown in index view and add a link to edit the exercise
| HTML+ERB | mit | rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn |
923caf7f7255f3b2425215d8275990af76c039d3 | app/views/layouts/_header.html.erb | app/views/layouts/_header.html.erb | <% if current_user %>
Welcome <%= current_user.name %>!
<%= link_to "Sign Out", signout_path %>
<% else %>
<%= link_to "Sign In", signin_path %>
<% end %>
| <% if current_user %>
Welcome <%= current_user.name %>!
<%= link_to "Sign Out", signout_path %>
<% else %>
<%= link_to "Sign In", signin_path %>
<% end %>
<hr />
| Add a hr at the bottom of the header | Add a hr at the bottom of the header
| HTML+ERB | mit | jugisahunk/techlahoma,jugisahunk/techlahoma,jugisahunk/techlahoma,proidiot/techlahoma,proidiot/techlahoma |
a1885a968f1f23cd16f2c5f91fd33e05db71af49 | app/views/sequences/index.html.erb | app/views/sequences/index.html.erb | <%= title("Sequences ‧ #{@current_workspace.name}") %>
<div class="col-sm-3"></div>
<div class="col-sm-6">
<% if @sequences.empty? %>
<div class="row">
<div class="col-sm-7 center">
<div class="alert alert-warning text-center", role="alert">
<p>This workspace is empty.</p><br>
<... | <%= title("Sequences ‧ #{@current_workspace.name}") %>
<div class="col-sm-2"></div>
<div class="col-sm-8">
<% if @sequences.empty? %>
<div class="row">
<div class="col-sm-7 center">
<div class="alert alert-warning text-center", role="alert">
<p>This workspace is empty.</p><br>
<... | Add the information of the number of parents | Add the information of the number of parents
| HTML+ERB | mit | higene/higene,higene/higene,higene/higene,higene/higene |
79e751c8ae56b69df9f61e81935a14d8ba3bf859 | app/views/polls/_follow_up_option_fields.html.erb | app/views/polls/_follow_up_option_fields.html.erb | <div class="nested-fields">
<fieldset>
<%= f.input :value %>
<%= f.input :text %>
<%= link_to_remove_association "remove option", f %>
<%= f.simple_fields_for :follow_up do |followup| %>
<%= render 'question_fields', :f => followup %>
<% end %>
</fieldset>
</div> | <div class="nested-fields">
<fieldset>
<%= f.input :text, :label => 'Option label' %>
<%= f.input :value, :label => 'Option value' %>
<%= link_to_remove_association "Remove option", f %>
<%= f.simple_fields_for :follow_up do |followup| %>
<%= render 'question_fields', :f => followup %>
<% en... | Fix followup option label names | Fix followup option label names
| HTML+ERB | bsd-3-clause | codeforamerica/textizen,codeforamerica/textizen,codeforamerica/textizen |
572da95f594378eeaed5eded54a667bfc950eacd | app/views/shared/objects/_case_obj_print.html.erb | app/views/shared/objects/_case_obj_print.html.erb | <p>Decision date: <%= case_obj.decision_date %></p>
<% unless case_obj.author.blank? -%>
<p>Author: <%= case_obj.author %></p>
<% end -%>
<% unless case_obj.case_citations.blank? -%>
<p>Citations: <%= case_obj.case_citations.collect{|cc| cc.display_name}.join(', ') %></p>
<% end -%>
<% unless case_obj.case_docket_numb... | <div class="article">
<%= raw case_obj.printable_content %>
</div>
| Remove everything but printable_content from case print partial | Remove everything but printable_content from case print partial
| HTML+ERB | agpl-3.0 | emmalemma/h2o,harvard-lil/h2o,harvard-lil/h2o,emmalemma/h2o,emmalemma/h2o,emmalemma/h2o,harvard-lil/h2o,harvard-lil/h2o |
d36a4f1a7c058f098446c99eca197f83c06d8b9d | app/views/books/_form.html.erb | app/views/books/_form.html.erb | <%= simple_form_for @book do |f| %>
<%= f.input :isbn %>
<%= f.input :title %>
<%= f.input :authors %>
<%= f.input :image_link %>
<%= f.input :quantity %>
<%= f.submit %>
<% end %>
| <%= simple_form_for @book do |f| %>
<%= f.input :isbn, autofocus: true %>
<%= f.input :title %>
<%= f.input :authors %>
<%= f.input :image_link %>
<%= f.input :quantity %>
<%= f.submit %>
<% end %>
| Add autofocus to book form. | Add autofocus to book form.
| HTML+ERB | mit | dmitryrck/books_app,dmitryrck/books_app,dmitryrck/books_app |
ac867d2ea403159e9d83d1fefb6e790b105cb1cf | app/views/_answers.erb | app/views/_answers.erb | <% if @question.answers %>
<% @question.answers.each do |answer| %>
<table>
<tr>
<td>
<form method="post" action="/questions/<%= @question.id %>/answers/<%= answer.id %>/vote" class="inline" question="<%= @question.id %>" answer="<%= answer.id %>">
<% if current_user %>
... | Create partial for answers list | Create partial for answers list
| HTML+ERB | mit | nyc-bumblebees-2017/therealbumblebees-stackoverflow,nyc-bumblebees-2017/therealbumblebees-stackoverflow,nyc-bumblebees-2017/therealbumblebees-stackoverflow | |
ebad7d4605e7e019a36d998a244990c236fff0c4 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= full_title(yield(:title)) %></title>
<%= stylesheet_link_tag "application", media: "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<%= render 'layouts/shim' %>
</head>
<body>
<%= render 'layouts/header' %>
<div clas... | <!DOCTYPE html>
<html>
<head>
<title><%= full_title(yield(:title)) %></title>
<%= stylesheet_link_tag "application", media: "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<%= render 'layouts/shim' %>
</head>
<body>
<%= render 'layouts/header' %>
<div clas... | Make "fork me on github" fixed and not absolute | Make "fork me on github" fixed and not absolute
That make it follow the header in case of scrolling
| HTML+ERB | agpl-3.0 | blegat/openvoc,blegat/openvoc,blegat/openvoc |
726cab82ee58aed589f8fa2bf00e95534d017ea9 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>StackOverphil</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<h2>stackOverphil</h2>
<ul>
<% if logged_in? %>
<li><%= link_to current_user.username, user_path(current_user.id... | <!DOCTYPE html>
<html>
<head>
<title>StackOverphil</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<h2><%= link_to "stackOverphil", root_path %></h2>
<ul>
<% if logged_in? %>
<li><%= link_to current_user.usernam... | Add link to title so it redirects back to homepage | Add link to title so it redirects back to homepage
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil |
d3c400106a317f1bf55b67223377683a96b1227d | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Gov</title>
<link rel="icon" type="image/png" href="/favicon.png">
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'modernizr' %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
<%= javascript_include_tag 'application' %>
</body>
</h... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="icon" type="image/png" href="/favicon.png">
<title>Общество - модерни, технологични подходи за България ... | Move meta and other head tags | Move meta and other head tags | HTML+ERB | mit | AlexVPopov/gov,obshtestvo/gov,obshtestvo/gov,obshtestvo/gov,AlexVPopov/gov |
98032755922f0f7636d0ebe4484c4869bf0ac006 | app/views/application/_newsitem.html.erb | app/views/application/_newsitem.html.erb | <div class="well well-large widget widget-transparent feed">
<h3><%= link_to item.title, item.permalink, target: "_blank" %></h3>
<div class="feed-content">
<%= summary(item).html_safe %>
</div>
<div class="small text-right">
<%= item.published.to_date %>
</div>
</div>
| <div class="well well-large widget widget-transparent feed">
<h3><%= link_to item.title, feed_newsitem_path(item.feed, item), target: "_blank" %></h3>
<div class="feed-content">
<%= summary(item).html_safe %>
</div>
<div class="small text-right">
<%= item.published.to_date %>
</div>
</div>
| Move newsitem title link to feed_newsitem_path | Move newsitem title link to feed_newsitem_path
| HTML+ERB | mit | fudanchii/shreds,fudanchii/shreds,fudanchii/shreds |
002000fa179f1963095285c317be500835593582 | app/views/articles/show.html.erb | app/views/articles/show.html.erb | <div class="page-header">
<h1><%= @article.title %></h1>
</div>
<div class="well col-xs-8 col-xs-offset-2">
<ul class="listing">
<div class="row">
<div class="col-md-4 col-md-offset-4 text-center">
<li>Created by: <%= link_to @article.user.username, @article.user %></li>
<li><%= link_to g... | <div class="page-header">
<h1><%= @article.title %></h1>
</div>
<div class="well col-xs-8 col-xs-offset-2">
<ul class="listing">
<div class="row">
<div class="col-md-4 col-md-offset-4 text-center">
<li>Created by: <%= link_to @article.user.username, @article.user %></li>
<li><%= link_to g... | Edit / Delete links only there for article owner. | Edit / Delete links only there for article owner.
| HTML+ERB | mit | JulianNicholls/Alpha-Blog,JulianNicholls/Alpha-Blog,JulianNicholls/Alpha-Blog |
632e47b464e48c2893f38cc2ab1a85016a5c7810 | app/views/devise/passwords/edit.html.erb | app/views/devise/passwords/edit.html.erb | export S3_KEY=AKIAJLKECAUO2ZFL5GSQ
export S3_SECRET=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
export S3_REGION=us-west-2
export S3_BUCKET_NAME=CFK_Quiz
export S3_ASSET_URL=https://s3-eu-west-1.amazonaws.com
| <div class="login-screen">
<div class="center-block text-center v-center">
<div class="content">
<div class="container">
<div class="row" style="margin-top:20px">
<%= image_tag('logo-white-text.png', height: '60px;') %>
<h2>Change your password</h2>
<div class="col-xs... | Fix Edit View for Password | Fix Edit View for Password
| HTML+ERB | mit | CodeForKids/quizzer,CodeForKids/quizzer,CodeForKids/quizzer |
4c71b5676d93a578deaf07fe32b216013727b574 | app/views/manual_documents/show.html.erb | app/views/manual_documents/show.html.erb | <h3><%= link_to "← #{manual.title}".html_safe, manual_path(manual) %></h3>
<div class="manual-header">
<p>Document title</p>
<h1 class="page-header">
<%= document.title %>
</h1>
<div class="actions">
<%= link_to("Edit Section", edit_manual_document_path(manual, document), class: 'btn btn-primary')... | <h3><%= link_to "← #{manual.title}".html_safe, manual_path(manual) %></h3>
<div class="manual-header">
<p>Section title</p>
<h1 class="page-header">
<%= document.title %>
</h1>
<div class="actions">
<%= link_to("Edit Section", edit_manual_document_path(manual, document), class: 'btn btn-primary') ... | Change of document to section in Frontend | Change of document to section in Frontend
Documents are referred to as sections in the frontend. This changes the
last visible instance of the words 'Documents' to the user.
| HTML+ERB | mit | ministryofjustice/specialist-publisher,alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher,alphagov/manuals-publisher,alphagov/specialist-publisher-rebuild,ministryofjustice/specialist-publisher,alphagov/manuals-publisher,alphagov/specialist-publisher,alphagov/speci... |
5352d13371a0f5339b111e2be8ef6886e62fa767 | app/views/authors/_form.html.erb | app/views/authors/_form.html.erb | <div class="form-group">
<%= f.label :first_name%>
<%= f.text_field :first_name, class: "form-control"%>
</div>
<div class="form-group">
<%= f.label :last_name%>
<%= f.text_field :last_name, class: "form-control"%>
</div>
<div class="form-group">
<%= f.label :born%>
<%= f.date_select :born, class: "form-control"%... | <div class="form-group">
<%= f.label :first_name%>
<%= f.text_field :first_name, class: "form-control"%>
</div>
<div class="form-group">
<%= f.label :last_name%>
<%= f.text_field :last_name, class: "form-control"%>
</div>
<div class="form-group">
<%= f.label :born%>
<%= f.date_field :born, placeholder: "mm-dd-yyy... | Revert to date_field, add placehloder | Revert to date_field, add placehloder
| HTML+ERB | mit | kevinladkins/rails-library,kevinladkins/rails-library,kevinladkins/rails-library |
1f96663333497814f842ff22646097f52da9ec2c | app/views/sessions/_login_items.html.erb | app/views/sessions/_login_items.html.erb | <% unless current_user %>
<li><%= link_to 'Login', new_sessions_path %></li>
<li><%= link_to 'Register' new_user_path %></li>
<% else %>
<li><%= link_to "#{current_user.name}", user_path(current_user) %></li>
<li><%= link_to 'Logout', session_path(current_user), method: :delete %></li>
<% end %>
| <% unless current_user %>
<li><%= link_to 'Login', new_sessions_path %></li>
<li><%= link_to 'Register' new_user_path %></li>
<% else %>
<li><%= link_to "#{current_user.username}", user_path(current_user) %></li>
<li><%= link_to 'Logout', session_path(current_user), method: :delete %></li>
<% end %>
| Update _login to reflect username over name. | Update _login to reflect username over name.
| HTML+ERB | mit | pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever |
fd2fa8a45c9046e86a26bf0c8cabd96d774a2791 | app/views/spree/shared/_reviews.html.erb | app/views/spree/shared/_reviews.html.erb | <div id="reviews">
<h6 class="product-section-title"><%= Spree.t(:reviews) %></h6>
<% if Spree::Reviews::Config[:include_unapproved_reviews] == false and @product.reviews.approved.count == 0 %>
<p class="reviews-none"><%= Spree.t('no_reviews_available') %></p>
<% else %>
<%= render 'spree/shared/rating', ... | <div id="reviews">
<h6 class="product-section-title"><%= Spree.t(:reviews) %></h6>
<% if Spree::Reviews::Config[:include_unapproved_reviews] == false and @product.reviews.approved.count == 0 %>
<p class="reviews-none"><%= Spree.t('no_reviews_available') %></p>
<% else %>
<%= render 'spree/shared/rating', ... | Remove 'noindex' from rel attr | Remove 'noindex' from rel attr
Closes #125
| HTML+ERB | bsd-3-clause | Hates/spree_reviews,Hates/spree_reviews,Hates/spree_reviews |
7ccb036253e478be163b1a6b55a57eabc97e7364 | app/views/feeds/_search.html.erb | app/views/feeds/_search.html.erb | <%= form_tag({controller: "feeds", action: "search"}, remote: true, autocomplete: 'off', class: 'modal-form', data: { behavior: 'feeds_search'}) do %>
<label for="q">+ Add</label><%= text_field_tag(:q, query, placeholder: 'Feed or Website URL', class: error.present? ? 'error' : '', data: { behavior: 'feeds_search_f... | <%= form_tag({controller: "feeds", action: "search"}, remote: true, autocomplete: 'off', class: 'modal-form', data: { behavior: 'feeds_search'}) do %>
<label for="q">+ Add</label><%= text_field_tag(:q, query, placeholder: 'Feed or Website URL', class: error.present? ? 'error' : '', autocomplete: "off", autocorrect:... | Disable input helpers on feed add. | Disable input helpers on feed add.
| HTML+ERB | mit | brendanlong/feedbin,feedbin/feedbin,brendanlong/feedbin,feedbin/feedbin,brendanlong/feedbin,feedbin/feedbin,feedbin/feedbin |
8f5cd993da72d34a6582c31c6e40adea4c041088 | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | <div class="imgsplash">
<%= image_tag('logo-dark.svg') %>
</div>
<div class="splashsearchcontainer"><center>
<%= form_tag bathrooms_path, :method => :get do %>
<%= text_field_tag :search, params[:search], :style => "width: 50%;" %> <br>
<%= submit_tag "Search", :type => 'button', :name => nil, :class=> "btn btn... | <div class="imgsplash">
<%= image_tag('logo-dark.svg') %>
</div>
<div class="splashsearchcontainer"><center>
<%= form_tag bathrooms_path, :method => :get do %>
<%= text_field_tag :search, params[:search], :style => "width: 50%;" %> <br>
<%= submit_tag "Search", :type => 'button', :name => nil, :class=> "btn btn... | Fix typo in about page | Fix typo in about page
| HTML+ERB | agpl-3.0 | RefugeRestrooms/refugerestrooms,mathonsunday/welcomehome,cllns/refugerestrooms,azelma/refugerestrooms,valeriecodes/refugerestrooms,azelma/refugerestrooms,mathonsunday/welcomehome,cllns/refugerestrooms,azelma/refugerestrooms,valeriecodes/refugerestrooms,RefugeRestrooms/refugerestrooms,cllns/refugerestrooms,valeriecodes/... |
2dd4a0bec817abeab78ed92f63d40f6fb5b1b46a | backend/app/views/spree/admin/promotion_categories/_form.html.erb | backend/app/views/spree/admin/promotion_categories/_form.html.erb | <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @promotion } %>
<div class='row'>
<div class='alpha six columns'>
<%= f.field_container :name do %>
<%= f.label :name %>
<%= f.text_field :name, :class => 'fullwidth' %>
<% end %>
<%= f.field_container :code do %>
... | <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @promotion } %>
<div class='row'>
<div class='col-xs-4'>
<%= f.field_container :name do %>
<%= f.label :name %>
<%= f.text_field :name, :class => 'fullwidth' %>
<% end %>
<%= f.field_container :code do %>
<%= ... | Change skeleton to bootstrap in promotion cat. view | Change skeleton to bootstrap in promotion cat. view
| HTML+ERB | bsd-3-clause | Arpsara/solidus,pervino/solidus,pervino/solidus,Arpsara/solidus,Arpsara/solidus,pervino/solidus,pervino/solidus,Arpsara/solidus |
20e57db5d0cd41dba9eff74938bc0e9911e7f91a | templates/default/modules/http_realip.conf.erb | templates/default/modules/http_realip.conf.erb | <% node['nginx']['realip']['addresses'].each do |address| -%>
set_real_ip_from <%= address %>;
<% end -%>
real_ip_header <%= node['nginx']['realip']['header'] %>;
<% if node['nginx']['version'].to_f >= '1.2' -%>
real_ip_recursive <%= node['nginx']['realip']['real_ip_recursive'] %>;
<% end -%>
| <% node['nginx']['realip']['addresses'].each do |address| -%>
set_real_ip_from <%= address %>;
<% end -%>
real_ip_header <%= node['nginx']['realip']['header'] %>;
<% if node['nginx']['version'].to_f >= 1.2 -%>
real_ip_recursive <%= node['nginx']['realip']['real_ip_recursive'] %>;
<% end -%>
| Fix failure in real_ip module | Fix failure in real_ip module
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
| HTML+ERB | apache-2.0 | Roblox/chef_nginx,chef-cookbooks/chef_nginx,Sauraus/chef_nginx,axos88/chef_nginx,axos88/chef_nginx,axos88/chef_nginx,miketheman/nginx,Sauraus/chef_nginx,miketheman/nginx,Roblox/chef_nginx,miketheman/nginx,chef-cookbooks/chef_nginx,chef-cookbooks/chef_nginx,Roblox/chef_nginx,Sauraus/chef_nginx |
5d4984e45436af133dc97aa79ae45d4c530eaf8f | app/views/topics/index.html.erb | app/views/topics/index.html.erb | <div>
<div>
<h1>Tweet²</h1>
</div>
<hr>
<div>
<a href="/topics/all">
<div>
<h3>Start game</h3>
</div>
</a>
</div>
<div>
<div class="collection with-header">
<div class="collection-header"><h4>Or, select a topic!</h4></div>
<% @topics.each do |topic| %>
... | <div>
<nav>
<div class="nav-wrapper">
<div class="brand-logo center">Tweet²</div>
</div>
</nav>
<div class="center">
<h5>
<a href="/topics/all" class="waves-effect waves-light btn-large">
Start game
</a>
</h5>
</div>
<div>
<div class="collection with-header">... | Create navbar header, and centered elements | Create navbar header, and centered elements
| HTML+ERB | mit | tweet-squared/Tweets-Squared-App,tweet-squared/Tweets-Squared-App,tweet-squared/Tweets-Squared-App |
cc45ebd72711e7c43c1bacdba54bf0dc307182bc | lib/smart_answer_flows/check-uk-visa/outcomes/outcome_study_y.erb | lib/smart_answer_flows/check-uk-visa/outcomes/outcome_study_y.erb | <% text_for :title do %>
You’ll need a visa to study in the UK
<% end %>
<% govspeak_for :body do %>
The visa you apply for depends on your circumstances.
<%= render partial: 'stateless_or_refugee', locals: {calculator: calculator} %>
If you’re doing a short course or period of research, apply for a [Short-t... | <% text_for :title do %>
You’ll need a visa to study in the UK
<% end %>
<% govspeak_for :body do %>
The visa you apply for depends on your circumstances.
<%= render partial: 'stateless_or_refugee', locals: {calculator: calculator} %>
If you’re studying on an English language course for up to 11 months, appl... | Clarify options for studying longer than 6 months | Clarify options for studying longer than 6 months
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
595498ec563ae325d6ce78c7b97a22a7265b7da2 | app/views/smart_answers/inputs/_postcode_question.html.erb | app/views/smart_answers/inputs/_postcode_question.html.erb | <%= render "smart_answers/inputs/caption", question: question %>
<%= render "govuk_publishing_components/components/input", {
label: {
text: question.title,
is_page_heading: true
},
name: "response",
id: "response",
heading_size: "l",
width: 10,
error_message: question.error,
hint: question.body... | <%= render "smart_answers/inputs/caption", question: question %>
<%= render "govuk_publishing_components/components/input", {
label: {
text: question.title,
is_page_heading: true
},
name: "response",
id: "response",
heading_size: "l",
width: 10,
error_message: question.error,
hint: question.hint... | Use `hint` instead of body text for postcode question | Use `hint` instead of body text for postcode question
This makes the use of this question type with other question types.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
715229837d0c40f88e1f198804b86b7ded26a2dc | cookbooks/bach_spark/templates/default/spark-env.sh.erb | cookbooks/bach_spark/templates/default/spark-env.sh.erb | export SPARK_LOCAL_IP=<%= node['bcpc']['floating']['ip'] %>
export SPARK_PUBLIC_DNS=<%= float_host(node['fqdn']) %>
export HADOOP_CONF_DIR="/etc/hadoop/conf"
export SPARK_DIST_CLASSPATH=${SPARK_LIBRARY_PATH}:$(for i in $(export IFS=":"; for i in $(hadoop classpath); do find $i -maxdepth 1 -name "*.jar"; done | egrep ... | export SPARK_LOCAL_IP=<%= node['bcpc']['floating']['ip'] %>
export SPARK_PUBLIC_DNS=<%= float_host(node['fqdn']) %>
export HADOOP_CONF_DIR="/etc/hadoop/conf"
HIVE_CONF_DIR="/etc/hive/conf"
export SPARK_DIST_CLASSPATH=${HIVE_CONF_DIR}:${SPARK_LIBRARY_PATH}:$(for i in $(export IFS=":"; for i in $(hadoop classpath); do ... | Add hive-site.xml to SPARK_DIST_CLASSPATH to enable Spark SQL with Hive | Add hive-site.xml to SPARK_DIST_CLASSPATH to enable Spark SQL with Hive
| HTML+ERB | apache-2.0 | cbaenziger/chef-bach,kiiranh/chef-bach,kiiranh/chef-bach,amithkanand/chef-bach,bloomberg/chef-bach,bloomberg/chef-bach,NinjaLabib/chef-bach,NinjaLabib/chef-bach,bijugs/chef-bach,amithkanand/chef-bach,leochen4891/chef-bach,http-418/chef-bach,pu239ppy/chef-bach,bloomberg/chef-bach,http-418/chef-bach,bloomberg/chef-bach,b... |
29428bf27810c72f428f65b7b70689ee3b76dd58 | promo/app/views/admin/promotions/_promotion_action.html.erb | promo/app/views/admin/promotions/_promotion_action.html.erb | <% promotion_action = action_form.object %>
<div class="promotion_action <%= promotion_action.type.demodulize.underscore %>" id="<%= dom_id promotion_action %>">
<span class="delete">
<%= link_to_with_icon 'cross', '', admin_promotion_promotion_action_path(@promotion, promotion_action), :remote => true, :method' ... | <% promotion_action = action_form.object %>
<div class="promotion_action <%= promotion_action.type.demodulize.underscore %>" id="<%= dom_id promotion_action %>">
<span class="delete">
<%= link_to_with_icon 'cross', '', admin_promotion_promotion_action_path(@promotion, promotion_action), :remote => true, :method =... | Fix one mistake in promo action view | Fix one mistake in promo action view
| HTML+ERB | bsd-3-clause | lsirivong/spree,omarsar/spree,pervino/spree,lsirivong/spree,derekluo/spree,ckk-scratch/solidus,cutefrank/spree,pervino/spree,joanblake/spree,reinaris/spree,kewaunited/spree,Mayvenn/spree,beni55/spree,net2b/spree,jsurdilla/solidus,useiichi/spree,robodisco/spree,sunny2601/spree,net2b/spree,karlitxo/spree,derekluo/spree,e... |
cd3f1fc991ee7e34bfdae699b2b795338be3dde1 | puppet/modules/elasticsearch/templates/CirrusSearch.php.erb | puppet/modules/elasticsearch/templates/CirrusSearch.php.erb | # <?php
include_once "$IP/extensions/CirrusSearch/tests/jenkins/FullyFeaturedConfig.php";
$wgCirrusSearchExtraIndexes[ NS_FILE ] = array( 'commonswiki_file' );
$wgCirrusSearchDevelOptions['allow_nuke'] = true;
<% if @enable_eventgate -%>
$wgCirrusSearchRequestEventSampling = 1.0;
// Log api-requests via eventgate-a... | # <?php
include_once "$IP/extensions/CirrusSearch/tests/jenkins/FullyFeaturedConfig.php";
$wgCirrusSearchExtraIndexes[ NS_FILE ] = array( 'commonswiki_file' );
$wgCirrusSearchDevelOptions['allow_nuke'] = true;
<% if @enable_eventgate -%>
$wgCirrusSearchRequestEventSampling = 1.0;
// Log api-requests via eventgate-a... | Enable ORES articletopic handling in cirrussearch role | Enable ORES articletopic handling in cirrussearch role
Bug: T240550
Change-Id: Id1f7b76de89292d19f3c7bd9cfbea13ec8a280cc
| HTML+ERB | mit | wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant |
caaf6a8bd78cb980f282e88452b6901de3a99b2f | templates/project/dashboards/layout.erb | templates/project/dashboards/layout.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title><%= yield_content(:title) %></title>
<!-- The javascript and css are managed by spr... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title><%= yield_content(:title) %></title>
<!-- The javascript and css are managed by spr... | Use protocol agnostic google font url. | Use protocol agnostic google font url.
HTTPS users are happy now :)
| HTML+ERB | mit | fin-ttencza/dashing,pkdevbox/dashing,lokulin/nuvo-dashing-js,rkachowski/dashing,TOASTbranding/dashboard,Nikeshsuwal/dashing,x2on/dashing,Nikeshsuwal/dashing,TestOrgsrcclr/TestItem6,AndBicScadMedia/dashing,lokulin/nuvo-dashing-js,blairanderson/dashing,olinares/dashing,denisnurboja/dashing,Gusto/dashing,ematthews/dashing... |
2049565ef5920b20e0bd8f1e585c69df4fecbec5 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>BooksApp</title>
<meta name="description" content="Books App">
<meta name="author" content="Dmitry R... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>BooksApp</title>
<meta name="description" content="Books App">
<meta name="author" content="Dmitry R... | Replace copyright with source link. | Replace copyright with source link.
| HTML+ERB | mit | dmitryrck/books_app,dmitryrck/books_app,dmitryrck/books_app |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.