Added Gravatar as backup for user avatar

Closes #159

<%= full_name(@user) %>

    <%= if @user.avatar do %>
      <img src="<%= Vutuv.Avatar.user_url(@user, :thumb) %>"  class="pure-img" alt="failed" />
      <img src="<%= Vutuv.Avatar.user_url(@user, :medium) %>"  class="pure-img" alt="failed" />
      <img src="<%= Vutuv.Avatar.user_url(@user, :large) %>"  class="pure-img" alt="failed" />
    <%= else %>
       <img src="<%= gravatar_url(@user) %>"  class="pure-img" alt="Avatar <%= full_name(@user) %>" />
    <% end %>
    <%= if @user.id != @current_user.id do %>
      <%= unless Vutuv.UserController.visitor_is_follower?(@conn, @user.id) do %>
        <%= form_for @changeset, connection_path(@conn, :create), fn f -> %>
          <%= hidden_input f, :follower_id %>
          <%= hidden_input f, :followee_id %>

            <%= submit gettext("Follow"), class: "pure-button pure-button-primary" %>

        <% end %>
      <% end %>
    <% end %>

      <%= if @user.first_name do %>

          <%= gettext "First name:" %>
          <%= @user.first_name %>

      <% end %>

      <%= if @user.last_name do %>

          <%= gettext "Last name:" %>
          <%= @user.last_name %>

      <% end %>

      <%= if @user.middlename do %>

          <%= gettext "Middlename:" %>
          <%= @user.middlename %>

      <% end %>

      <%= if @user.nickname do %>

          <%= gettext "Nickname:" %>
          <%= @user.nickname %>

      <% end %>

      <%= if @user.honorific_prefix do %>

          <%= gettext "Honorific prefix:" %>
          <%= @user.honorific_prefix %>

      <% end %>

      <%= if @user.honorific_suffix do %>

          <%= gettext "Honorific suffix:" %>
          <%= @user.honorific_suffix %>

      <% end %>

      <%= if @user.gender do %>

          <%= gettext "Gender:" %>
          <%= @user.gender %>

      <% end %>

      <%= if @user.birthdate do %>

          <%= gettext "Birthdate:" %>
          <%= @user.birthdate %>

      <% end %>

      <%= if @user.verified do %>

          <%= gettext "Verified:" %>
          <%= @user.verified %>

      <% end %>

    <%= link gettext("Edit"), to: user_path(@conn, :edit, @user) %>
    <%= link gettext("Slugs"), to: user_slug_path(@conn, :index, @user) %>

    <%= unless @followers_count<=0 do %>
      <%= render Vutuv.FollowerView, "index.html", assigns %>

      <%= if @followers_count > 5 do %>

          <%= link gettext("List of all Followers (%{followers_count}).", followers_count: @followers_count), to: user_follower_path(@conn, :index, @user) %>

      <%= end %>
    <%= end %>

    <%= unless Enum.empty?(@user.emails) do %>
      <%= render Vutuv.EmailView, "index.html", conn: @conn, emails: @user.emails, user: @user, emails_counter: @emails_counter %>
    <% end %>

    <%= render Vutuv.PhoneNumberView, "index.html", conn: @conn, phone_numbers: @user.phone_numbers, user: @user%>

    <%= render Vutuv.UrlView, "index.html", conn: @conn, urls: @user.urls, user: @user%>

    <%= render Vutuv.WorkExperienceView, "index.html", conn: @conn, work_experience: @user.work_experiences, user: @user%>

    <%= render Vutuv.SocialMediaAccountView, "index.html", conn: @conn, social_media_accounts: @user.social_media_accounts, user: @user%>

    <%= render Vutuv.SearchTermView, "index.html", conn: @conn, search_terms: @user.search_terms, user: @user%>

    <%= render Vutuv.AddressView, "index.html", conn: @conn, addresses: @user.addresses, user: @user%>

    <%= unless @followers_count<=0 do %>
      <%= render Vutuv.FollowerView, "index.html", assigns %>

      <%= if @followers_count > 5 do %>

          <%= link gettext("List of all Followers (%{followers_count}).", followers_count: @followers_count), to: user_follower_path(@conn, :index, @user) %>

      <%= end %>
    <%= end %>

    <%= unless @followees_count<=0 do %>
      <%= render Vutuv.FolloweeView, "index.html", assigns %>

      <%= if @followees_count > 5 do %>

          <%= link gettext("List of all Followees (%{followees_count}).", followees_count: @followees_count), to: user_followee_path(@conn, :index, @user) %>

      <%= end %>
    <%= end %>

    <%= unless Enum.empty?(@user.user_skills) do %>
      <%= render Vutuv.UserSkillView, "index.html", conn: @conn, user_skills: @user.user_skills, user: @user %>
    <% else %>

<%= gettext "UserSkills" %>

      <%= link "New UserSkill", to: user_user_skill_path(@conn, :new, @user), class: "pure-button" %>
    <% end %>

    <%= if Vutuv.LayoutView.is_current_user_page?(@conn) do %>
     <%= link gettext("Delete Account"), to: user_path(@conn, :delete, @user), method: :delete, data: [confirm: "Are you sure?"] %>
    <% end %>

<%= full_name(@user) %>

    <%= if @user.avatar do %>
      <img src="<%= Vutuv.Avatar.user_url(@user, :thumb) %>"  class="pure-img" alt="failed" />
      <img src="<%= Vutuv.Avatar.user_url(@user, :medium) %>"  class="pure-img" alt="failed" />
      <img src="<%= Vutuv.Avatar.user_url(@user, :large) %>"  class="pure-img" alt="failed" />
    <% end %>
    <%= if @user.id != @current_user.id do %>
      <%= unless Vutuv.UserController.visitor_is_follower?(@conn, @user.id) do %>
        <%= form_for @changeset, connection_path(@conn, :create), fn f -> %>
          <%= hidden_input f, :follower_id %>
          <%= hidden_input f, :followee_id %>

            <%= submit gettext("Follow"), class: "pure-button pure-button-primary" %>

        <% end %>
      <% end %>
    <% end %>

      <%= if @user.first_name do %>

          <%= gettext "First name:" %>
          <%= @user.first_name %>

      <% end %>

      <%= if @user.last_name do %>

          <%= gettext "Last name:" %>
          <%= @user.last_name %>

      <% end %>

      <%= if @user.middlename do %>

          <%= gettext "Middlename:" %>
          <%= @user.middlename %>

      <% end %>

      <%= if @user.nickname do %>

          <%= gettext "Nickname:" %>
          <%= @user.nickname %>

      <% end %>

      <%= if @user.honorific_prefix do %>

          <%= gettext "Honorific prefix:" %>
          <%= @user.honorific_prefix %>

      <% end %>

      <%= if @user.honorific_suffix do %>

          <%= gettext "Honorific suffix:" %>
          <%= @user.honorific_suffix %>

      <% end %>

      <%= if @user.gender do %>

          <%= gettext "Gender:" %>
          <%= @user.gender %>

      <% end %>

      <%= if @user.birthdate do %>

          <%= gettext "Birthdate:" %>
          <%= @user.birthdate %>

      <% end %>

      <%= if @user.verified do %>

          <%= gettext "Verified:" %>
          <%= @user.verified %>

      <% end %>

    <%= link gettext("Edit"), to: user_path(@conn, :edit, @user) %>
    <%= link gettext("Slugs"), to: user_slug_path(@conn, :index, @user) %>

    <%= unless @followers_count<=0 do %>
      <%= render Vutuv.FollowerView, "index.html", assigns %>

      <%= if @followers_count > 5 do %>

          <%= link gettext("List of all Followers (%{followers_count}).", followers_count: @followers_count), to: user_follower_path(@conn, :index, @user) %>

      <%= end %>
    <%= end %>

    <%= unless Enum.empty?(@user.emails) do %>
      <%= render Vutuv.EmailView, "index.html", conn: @conn, emails: @user.emails, user: @user, emails_counter: @emails_counter %>
    <% end %>

    <%= render Vutuv.PhoneNumberView, "index.html", conn: @conn, phone_numbers: @user.phone_numbers, user: @user%>

    <%= render Vutuv.UrlView, "index.html", conn: @conn, urls: @user.urls, user: @user%>

    <%= render Vutuv.WorkExperienceView, "index.html", conn: @conn, work_experience: @user.work_experiences, user: @user%>

    <%= render Vutuv.SocialMediaAccountView, "index.html", conn: @conn, social_media_accounts: @user.social_media_accounts, user: @user%>

    <%= render Vutuv.SearchTermView, "index.html", conn: @conn, search_terms: @user.search_terms, user: @user%>

    <%= render Vutuv.AddressView, "index.html", conn: @conn, addresses: @user.addresses, user: @user%>

    <%= unless @followers_count<=0 do %>
      <%= render Vutuv.FollowerView, "index.html", assigns %>

      <%= if @followers_count > 5 do %>

          <%= link gettext("List of all Followers (%{followers_count}).", followers_count: @followers_count), to: user_follower_path(@conn, :index, @user) %>

      <%= end %>
    <%= end %>

    <%= unless @followees_count<=0 do %>
      <%= render Vutuv.FolloweeView, "index.html", assigns %>

      <%= if @followees_count > 5 do %>

          <%= link gettext("List of all Followees (%{followees_count}).", followees_count: @followees_count), to: user_followee_path(@conn, :index, @user) %>

      <%= end %>
    <%= end %>

    <%= unless Enum.empty?(@user.user_skills) do %>
      <%= render Vutuv.UserSkillView, "index.html", conn: @conn, user_skills: @user.user_skills, user: @user %>
    <% else %>

<%= gettext "UserSkills" %>

      <%= link "New UserSkill", to: user_user_skill_path(@conn, :new, @user), class: "pure-button" %>
    <% end %>

    <%= if Vutuv.LayoutView.is_current_user_page?(@conn) do %>
     <%= link gettext("Delete Account"), to: user_path(@conn, :delete, @user), method: :delete, data: [confirm: "Are you sure?"] %>
    <% end %>


removes typo (“morgify” vs “mogrify”)

removes typo (“morgify” vs “mogrify”)

libVIPS + STDIN/STDOUT/STDERR

<%= @resampler_diff %>

    <img src="data:image/png;base64,<%= @resampler_base64 %>" width="512" height="auto" />

ImageMagick + Process Forking

<%= @mogrify_diff %>

    <img src="data:image/png;base64,<%= @mogrify_base64 %>" width="512" height="auto" />

libVIPS + STDIN/STDOUT/STDERR

<%= @resampler_diff %>

    <img src="data:image/png;base64,<%= @resampler_base64 %>" width="512" height="auto" />

Morgify (ImageMagick) + Process Forking

<%= @mogrify_diff %>

    <img src="data:image/png;base64,<%= @mogrify_base64 %>" width="512" height="auto" />


Use heartbeat icon for fitbit

Use heartbeat icon for fitbit

	<%= form_tag auth_path(@conn, :callback, "identity"), [method: "POST", novalidate: true, class: "form-auth sign-up-form"] do %>

Sign Up

		Connect with a Social Network

    or the retro way.

		<input type='email' name='email' required class='form-control login-input' placeholder="Email"/>
		<input name='name' required class='form-control login-input' placeholder="Full Name"/>
		<input type='password' name='password' required class='form-control login-input' placeholder='Password'/>
		<input type='password' name='password_confirmation' required class='form-control login-input-pass' placeholder='Password Confirmation'/>

		<button class="btn btn-danger btn-block" type="submit">Create Account</button>
	<% end %>


remove medical

remove medical

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="robots" content="noindex">

    <title>Action for Children</title>
    <link href="https://fonts.googleapis.com/css?family=Rubik:400,500" rel="stylesheet">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

    <%#  %>

<%#

     %>

        Help keep our work going - click here to donate to Action for Children and support families across the UK.

        <input id="toggle" type="checkbox" class="dn"/>

            Speak to us
            Meet our staff
            About
            Parents advice

      <%= render @view_module, @view_template, assigns %>

            Contact your local council if you are worried about a child's
            welfare. Contact 111 if you are worried about your child's health,
            or 999 in an emergency.

          <%= if @conn.assigns[:user] do %>

              You are logged in as <%= @conn.assigns.user.email %> –

            <%= link "Logout", to: session_path(@conn, :delete), class: "white"
            %>

          <% end %>
          <%= link to: page_path(@conn, :privacy), class: "white" do %>
            Privacy Policy
          <% end %>

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="robots" content="noindex">

    <title>Action for Children</title>
    <link href="https://fonts.googleapis.com/css?family=Rubik:400,500" rel="stylesheet">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

    <%#  %>

<%#

     %>

        Help keep our work going - click here to donate to Action for Children and support families across the UK.

        <input id="toggle" type="checkbox" class="dn"/>

            Speak to us
            Meet our staff
            About
            Parents advice

      <%= render @view_module, @view_template, assigns %>

            Contact your local council if you are worried about a child's
            welfare. Contact 111 if you are worried about your child's health,
            or 999 in a medical emergency.

          <%= if @conn.assigns[:user] do %>

              You are logged in as <%= @conn.assigns.user.email %> –

            <%= link "Logout", to: session_path(@conn, :delete), class: "white"
            %>

          <% end %>
          <%= link to: page_path(@conn, :privacy), class: "white" do %>
            Privacy Policy
          <% end %>


Use 'picture' for Google's avatar

Use 'picture' for Google's avatar

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>OAuth2/Phoenix!</title>
    <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

          OAuth2 Example

              View on GitHub

OAuth2/Phoenix Example Application!

        This is an application to show an example of how to wire up
        OAuth2 with
        Phoenix.

      <%= if @current_user do %>

Welcome, <%= @current_user["name"] %>!

        <img src="<%= @current_user["avatar_url"] || @current_user["picture"] %>" class="img-circle"/>
      <% else %>

        <a class="btn btn-primary btn-lg" href="<%= auth_path @conn, :index, "google" %>">

          Sign in with Google

        <a class="btn btn-primary btn-lg" href="<%= auth_path @conn, :index, "github" %>">

          Sign in with GitHub

      <% end %>

      <%= @inner %>

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>OAuth2/Phoenix!</title>
    <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

          OAuth2 Example

              View on GitHub

OAuth2/Phoenix Example Application!

        This is an application to show an example of how to wire up
        OAuth2 with
        Phoenix.

      <%= if @current_user do %>

Welcome, <%= @current_user["name"] %>!

        <img src="<%= @current_user["avatar_url"] %>" class="img-circle"/>
      <% else %>

        <a class="btn btn-primary btn-lg" href="<%= auth_path @conn, :index, "google" %>">

          Sign in with Google

        <a class="btn btn-primary btn-lg" href="<%= auth_path @conn, :index, "github" %>">

          Sign in with GitHub

      <% end %>

      <%= @inner %>


Add footer information

Add footer information

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="author" content="<%= @blog_name %>">
    <meta property="og:url" content="<%= url(@conn) <> @conn.request_path %>"/>
    <meta property="og:type" content="website"/>

    <%= render "meta.html", assigns %>
    <meta property="og:site_name" content="<%= @blog_name %>"/>
    <title><%= title @conn %></title>

    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
    <link href="<%= static_path(@conn, @blog_favicon) %>" rel="icon" type="image/x-icon">

    <link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>

    <link href='https://fonts.googleapis.com/css?family=Noticia+Text:400,400italic,700,700italic&subset=latin,vietnamese' rel='stylesheet' type='text/css'>

    <%= if @feeds_enabled do %>
      <%= if assigns[:page_type] == :tag do %>
        <link href="<%= feed_url @conn, :tag, @tag %>" rel="alternate" type="application/rss+xml" title="RSS feed for tag <%= @tag %>" />
      <% else %>
        <link href="<%= feed_url @conn, :index %>" rel="alternate" type="application/rss+xml" title="RSS feed" />
      <% end %>
    <% end %>

                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    Toggle navigation

                </button>

                  <%= @blog_name %>

                          Home

                    <%= for link <- @nav_links do %>

                        <a href="<%= link.path %>" class="navbar-brand"><%= link.name %>

                    <% end %>

    <%= render "header.html", assigns %>

      <%= @inner %>

                            <a href="https://www.facebook.com/<%= @facebook %>" target="_blank">

                            <a href="https://twitter.com/<%= @twitter %>" target="_blank">

                            <a href="https://github.com/<%= @github %>" target="_blank">

                            <a href="mailto:<%= @email %>" target="_blank">

                        <%= if @feeds_enabled do %>

                            <a href="<%= feed_url @conn, :index %>" target="_blank">

                        <% end %>

                    Copyright © <%= @blog_name %> 2015 - <% {time, unit} = request_time @conn %> Rendered in <%= time |> safe_round |> trunc %> <%= unit%>

 Powered by Elixir and Phoenix

    <%= raw extra_html %>

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="author" content="<%= @blog_name %>">
    <meta property="og:url" content="<%= url(@conn) <> @conn.request_path %>"/>
    <meta property="og:type" content="website"/>

    <%= render "meta.html", assigns %>
    <meta property="og:site_name" content="<%= @blog_name %>"/>
    <title><%= title @conn %></title>

    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
    <link href="<%= static_path(@conn, @blog_favicon) %>" rel="icon" type="image/x-icon">

    <link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>

    <link href='https://fonts.googleapis.com/css?family=Noticia+Text:400,400italic,700,700italic&subset=latin,vietnamese' rel='stylesheet' type='text/css'>

    <%= if @feeds_enabled do %>
      <%= if assigns[:page_type] == :tag do %>
        <link href="<%= feed_url @conn, :tag, @tag %>" rel="alternate" type="application/rss+xml" title="RSS feed for tag <%= @tag %>" />
      <% else %>
        <link href="<%= feed_url @conn, :index %>" rel="alternate" type="application/rss+xml" title="RSS feed" />
      <% end %>
    <% end %>

                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    Toggle navigation

                </button>

                  <%= @blog_name %>

                          Home

                    <%= for link <- @nav_links do %>

                        <a href="<%= link.path %>" class="navbar-brand"><%= link.name %>

                    <% end %>

    <%= render "header.html", assigns %>

      <%= @inner %>

                            <a href="https://www.facebook.com/<%= @facebook %>" target="_blank">

                            <a href="https://twitter.com/<%= @twitter %>" target="_blank">

                            <a href="https://github.com/<%= @github %>" target="_blank">

                            <a href="mailto:<%= @email %>" target="_blank">

                        <%= if @feeds_enabled do %>

                            <a href="<%= feed_url @conn, :index %>" target="_blank">

                        <% end %>

Copyright © <%= @blog_name %> 2015 - <% {time, unit} = request_time @conn %> Rendered in <%= time |> safe_round |> trunc %> <%= unit%>

    <%= raw extra_html %>


Improve watchdog script

Improve watchdog script


Fix path in template

Fix path in template

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="<%= @blog_name %>">

    <title><%= title @conn %></title>

    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

    <link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>

    <%= if @feeds_enabled do %>
      <%= if assigns[:page_type] == :tag do %>
        <link href="<%= @absolute_url %><%= feed_path @conn, :tag, @tag %>" rel="alternate" type="application/rss+xml" title="RSS feed for tag <%= @tag %>" />
      <% else %>
        <link href="<%= @absolute_url %><%= feed_path @conn, :index %>" rel="alternate" type="application/rss+xml" title="RSS feed" />
      <% end %>
    <% end %>

                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    Toggle navigation

                </button>

                  <%= @blog_name %>

                          Home

                        <a href="<%= page_path @conn, :page, "about" %>">About

    <%= render "header.html", assigns %>

      <%= @inner %>

Copyright © <%= @blog_name %> 2015 - <% {time, unit} = request_time @conn %> Rendered in <%= time |> safe_round |> trunc %> <%= unit%>

    <%= raw extra_html %>

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="<%= @blog_name %>">

    <title><%= title @conn %></title>

    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

    <link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>

    <%= if @feeds_enabled do %>
      <%= if assigns[:page_type] == :tag do %>
        <link href="<%= @absolute_url %><%= feed_path @conn, :tag, @tag %>" rel="alternate" type="application/rss+xml" title="RSS feed for tag <%= @tag %>" />
      <% else %>
        <link href="<%= @absolute_url %><%= feed_path @conn, :index %>" rel="alternate" type="application/rss+xml" title="RSS feed" />
      <% end %>
    <% end %>

                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    Toggle navigation

                </button>

                <a href="<%= @absolute_url %>" class="navbar-brand">
                  <%= @blog_name %>

                        <a href="<%= @absolute_url %>" class="navbar-brand">
                          Home

                        <a href="<%= page_path @conn, :page, "about" %>">About

    <%= render "header.html", assigns %>

      <%= @inner %>

Copyright © <%= @blog_name %> 2015 - <% {time, unit} = request_time @conn %> Rendered in <%= time |> safe_round |> trunc %> <%= unit%>

    <%= raw extra_html %>


#35 fix layout file locale problem

#35 fix layout file locale problem

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Hello ForEctoUpgrade!</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

            <%= render "login_bar.html", conn: @conn %>

        <a href="<%= page_path(@conn, :index, current_locale(@conn)) %>">

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

        <%= render @view_module, @view_template, assigns %>

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Hello ForEctoUpgrade!</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

            <%= render "login_bar.html", conn: @conn %>

        <a href="<%= page_path(@conn, :index, @conn.assigns.locale) %>">

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

        <%= render @view_module, @view_template, assigns %>


Add sign-in link

Add sign-in link

Welcome to Phoenix!

Most web frameworks make you choose between speed and a productive environment. Phoenix and Elixir give you both.

Sign In with Fitbit

Resources

        Guides

        Docs

        Source

Help

        Mailing list

        Issues

        #elixir-lang on freenode IRC

        @elixirphoenix

Welcome to Phoenix!

Most web frameworks make you choose between speed and a productive environment. Phoenix and Elixir give you both.

Resources

        Guides

        Docs

        Source

Help

        Mailing list

        Issues

        #elixir-lang on freenode IRC

        @elixirphoenix


responsive persona table

responsive persona table

      <%= @persona.name %>

Panoptikum-ID

<%= @persona.pid %>

Permalink (URI)

<%= PanWeb.Endpoint.url %>/<%= @persona.pid %>

Name

<%= @persona.name %>

          <%= if @persona.uri do %>

Uri

<%= @persona.uri %>

          <% end %>

Business Cards

<%= link [fa_icon("vcard-o"), " Show"], to: persona_frontend_url(@conn, :business_card, @persona) %>

        Id: <%= @persona.id %>

        <%= if @persona.image_url do %>
          <object data="<%= @persona.image_url %>"
                  alt="<%= @persona.image_title%>"
                  type="image/png"
                  width="150"
                  class="thumbnail"
                  id="photo">

          </object>
        <% else %>

        <% end %>

    <%= if @current_user do %>

        <%= like_or_unlike(@current_user.id, @persona.id) %>
        <%= follow_or_unfollow(@current_user.id, @persona.id) %>

    <% end %>

<%= if @persona.description || @persona.long_description do %>

<%= @persona.description %>

      <%= markdown(@persona.long_description) %>

<% end %>

<%= if @engagements != [] do %>

Engagements, <%= @persona.name %> has entered

            Podcast
            Role

          <%= for {podcast, engagements} <- Enum.group_by(@engagements, &Map.get(&1, :podcast)) do %>

               <%= link [fa_icon("podcast"), " ", truncate(podcast.title, 50)],
                             to: podcast_frontend_path(@conn, :show, podcast),
                             class: "btn btn-default btn-xs",
                             style: "color: #000" %>

                <%= for engagement <- engagements do %>
                  <%= engagement.role %>
                <% end %>

          <% end %>

<% end %>

<%= if @gigs != [] do %>

Gigs, <%= @persona.name %> has been engaged in

            Date
            Podcast
            Episode
            Role

          <%= for episode <- ordered_episodes(@gigs) do %>

              <%= if episode.publishing_date, do: format_date(episode.publishing_date) %>
              <%= link [fa_icon("podcast"), " ", episode.podcast.title],
                             to: podcast_frontend_path(@conn, :show, episode.podcast),
                             class: "btn btn-default btn-xs truncate",
                             style: "color: #000" %>
              <%= link [fa_icon("headphones"), " ", episode.title],
                          to: episode_frontend_path(@conn, :show, episode),
                          class: "btn btn-primary btn-xs truncate" %>

                <%= for gig <- @grouped_gigs[episode] do %>
                  <%= gig.role %>
                <% end %>

          <% end %>

<% end %>

<%= if @messages.total_entries > 0 do %>

Messages created by <%= @persona.name %>

      <%= pagination_links @conn, @messages, [Integer.to_string(@persona.id)],
                   path: &persona_frontend_path/4,
                   action: :show,
                   view_style: :bootstrap %>

        <%= for message <- @messages.entries do %>
          <li class="list-group-item message-<%= message.type %>">

              <%= if message.creator, do: message.creator.name, else: message.persona.name %>:

            <%= raw message.content %>
            <%= message.inserted_at %>

        <% end %>

<% end %>

<%= if @current_user && @current_user.podcaster == true  && @current_user.email_confirmed && @persona.email != nil do %>
  <%= link "Claim", to: persona_frontend_path(@conn, :claim, @persona),
                    class: "btn btn-normal",
                    method: :post,
                    data: [confirm: "Are you sure?"] %>

  <button class="btn btn-primary btn-sm"
          data-toggle="popover"
          data-placement="right"
          data-title="Personas"
          data-html="true"
          data-content="You can send an email to the owner of this persona and ask her for permission
                        to add you as a manifestation of this persona.

                        Your name, username and email address will be sent alongside in the email
                        to give the owner a chance to get in contact with you.">
    <%= fa_icon "info-circle" %> Help
  </button>
<% end %>


Updates basic article listing

Updates basic article listing

Your Articles

          Url

        <%= for article <- @articles do %>

            <%= article.url %>

              <%= link "Edit", to: article_path(@conn, :edit, article), class: "btn btn-default btn-xs" %>
              <%= link "Delete", to: article_path(@conn, :delete, article), method: :delete, data: [confirm: "Are you sure?"] %>

        <% end %>

Have feedback or questions? Contact us

<%= link "New article", to: article_path(@conn, :new) %>

Listing articles

      Url
      User

<%= for article <- @articles do %>

      <%= article.url %>
      <%= article.user_id %>

        <%= link "Show", to: article_path(@conn, :show, article), class: "btn btn-default btn-xs" %>
        <%= link "Edit", to: article_path(@conn, :edit, article), class: "btn btn-default btn-xs" %>
        <%= link "Delete", to: article_path(@conn, :delete, article), method: :delete, data: [confirm: "Are you sure?"], class: "btn btn-danger btn-xs" %>

<% end %>

<%= link "New article", to: article_path(@conn, :new) %>


Fix favicon links to use static_path

Fix favicon links to use static_path

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Marc Addeo's blog about code, learning, and rambling.">
    <meta name="author" content="Marc Addeo">

  <%= if assigns[:title] do %>
    <title><%= @title %> | marc.cx</title>
  <% else %>
    <title>marc.cx</title>
  <% end %>
    <link rel="icon" type="image/png" href="<%= static_path(@conn, "/favicon-16x16.png") %>" sizes="16x16" />
    <link rel="icon" type="image/png" href="<%= static_path(@conn, "/favicon-32x32.png") %>" sizes="32x32" />
    <link href="http://fonts.googleapis.com/css?family=Inconsolata:400,700|Open+Sans:300italic,400italic,700,300,800,400" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

  <%= if Mix.env == :prod do %>

  <% end %>

              <%= for item <- navigation(@conn) do %>
                <li role="presentation" <%= if item.active do %>class="active"<% end %>>
                  <a <%= if item[:target] do %>target="<%= item.target %>" <% end %>href="<%= item.href %>"><%= item.text %>

              <% end %>

            <a href="<%= page_path(@conn, :index) %>" class="title text-muted">marc.cx

      <%= @inner %>

              <img width="32" src="<%= static_path(@conn, "/images/kopimi.svg") %>" />

            hi@marc.cx

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Marc Addeo's blog about code, learning, and rambling.">
    <meta name="author" content="Marc Addeo">

  <%= if assigns[:title] do %>
    <title><%= @title %> | marc.cx</title>
  <% else %>
    <title>marc.cx</title>
  <% end %>
    <link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32" />
    <link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16" />
    <link href="http://fonts.googleapis.com/css?family=Inconsolata:400,700|Open+Sans:300italic,400italic,700,300,800,400" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

  <%= if Mix.env == :prod do %>

  <% end %>

              <%= for item <- navigation(@conn) do %>
                <li role="presentation" <%= if item.active do %>class="active"<% end %>>
                  <a <%= if item[:target] do %>target="<%= item.target %>" <% end %>href="<%= item.href %>"><%= item.text %>

              <% end %>

            <a href="<%= page_path(@conn, :index) %>" class="title text-muted">marc.cx

      <%= @inner %>

              <img width="32" src="<%= static_path(@conn, "/images/kopimi.svg") %>" />

            hi@marc.cx


fix the failing build

fix the failing build

Course Conflict

      <%= for {course_id, _courses} <- @matrix do %>
         <%= course_name(@courses, course_id) %>
      <% end %>
       Total students

    <%= for {course1_id, courses} <- @matrix do %>

         <%= course_name(@courses, course1_id) %>

        <%= for {course2_id, students} <- courses do %>
          <%= if course1_id == course2_id do %>
            NA
          <% else %>
             <%= students %>
          <% end %>
        <% end %>

         <%= total_students(@courses, course1_id) %>

    <% end %>

Course Conflict

      <%= for {course_id, courses} <- @matrix do %>
         <%= course_name(@courses, course_id) %>
      <% end %>
       Total students

    <%= for {course1_id, courses} <- @matrix do %>

         <%= course_name(@courses, course1_id) %>

        <%= for {course2_id, students} <- courses do %>
          <%= if course1_id == course2_id do %>
            NA
          <% else %>
             <%= students %>
          <% end %>
        <% end %>

         <%= total_students(@courses, course1_id) %>

    <% end %>


open tm in same tab

open tm in same tab

A liquid democracy where anyone can vote on anything.

Featured

				<%= for poll <- @examples do %>

						<a href="/polls/<%= poll.id %>">

<%= poll.title %>

							<div class="score" style="background-color: <%= Liquio.HtmlPollView.score_color poll %>;">
								<%= if poll.results.mean do %>
									<%= if poll.choice_type == "probability" do %>
										<%= round(poll.results.mean * 100) %>%
									<% else %>
										<%= number_format(poll.results.mean) %>
									<% end %>
								<% else %>
									?
								<% end %>

				<% end %>

Key features

				Delegations

				Not everyone is an expert at everything. That's why you can give your vote to people you trust, but can override it at any time.

				References

				Helping voters make more accurate decisions. People not familiar with the subject can also quickly learn more about it.

				Trust metrics

				Attempt to prevent a single person from having multiple identities. Everyone can choose their own or make a new one.

				Objectivity

				References and delegations work well with polls that are not subjective. <a href="/polls/<%= @polls.not_the_best_idea.id %>">Vanilla Ice Cream Flavor Rating — not the best idea.

				No censorship

				Trust metrics contain all subjective logic. The default trust metric lives here. You can always choose a different one.

				Transparency

				The source code is available under permissive MIT license. All the data is publicly available through the API.

	Liquio is still in early development. You can view the source code on GitHub. Feedback and contributions are welcome.


Privacy typo fix

Privacy typo fix

        Authentic Pixels

        Free & Premium Web Resources

      Free & Premium Web Resources
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
        Toggle navigation

      </button>

        <li class="<%= Ap.LayoutView.active_class(@conn, "/") %>">
          Home

        <%= for {title, slug} <- @product_categories do %>
          <li class="<%= Ap.LayoutView.active_class(@conn, product_category_path(@conn, :show, slug)) %>">
            <%= link title, to: product_category_path(@conn, :show, slug) %>

        <% end %>

        <li class="<%= Ap.LayoutView.active_class(@conn, support_message_path(@conn, :new)) %>">
          <a href="<%= support_message_path(@conn, :new) %>">Contact & Support

        <li class="<%= Ap.LayoutView.active_class(@conn, post_path(@conn, :index)) %>">
          Blog

              Pages

<a href="<%= page_path(@conn, :show, "about") %>">About

<a href="<%= page_path(@conn, :show, "privacy") %>">Privacy

<a href="<%= page_path(@conn, :show, "terms") %>">Terms

              Subscribe for freebies →

        Authentic Pixels

        Free & Premium Web Resources

      Free & Premium Web Resources
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
        Toggle navigation

      </button>

        <li class="<%= Ap.LayoutView.active_class(@conn, "/") %>">
          Home

        <%= for {title, slug} <- @product_categories do %>
          <li class="<%= Ap.LayoutView.active_class(@conn, product_category_path(@conn, :show, slug)) %>">
            <%= link title, to: product_category_path(@conn, :show, slug) %>

        <% end %>

        <li class="<%= Ap.LayoutView.active_class(@conn, support_message_path(@conn, :new)) %>">
          <a href="<%= support_message_path(@conn, :new) %>">Contact & Support

        <li class="<%= Ap.LayoutView.active_class(@conn, post_path(@conn, :index)) %>">
          Blog

              Pages

<a href="<%= page_path(@conn, :show, "about") %>">About

<a href="<%= page_path(@conn, :show, "privary") %>">Privacy

<a href="<%= page_path(@conn, :show, "terms") %>">Terms

              Subscribe for freebies →


fix texts

fix texts

A liquid democracy where anyone can vote on anything.

	Explore polls

Key features

				Delegations

				Not everyone is an expert at everything. That's why you can give your vote to people you trust, but can override it at any time.

				References

				Helping voters to make better decisions. People not familiar with the subject can also quickly learn more about it.

				Trust metrics

				Attempt to prevent a single person from having multiple identities. Everyone can choose their own or make a new one.

				Objectivity

				References and delegations work very well with objective polls. Things like your favourite ice cream flavor won't work.

				No censorship

				A trust metric contains all subjective logic. The default trust metric lives here. You can always choose a different one.

				Transparency

				The source code is available under permissive MIT license. All the data is publicly available through the API.

Examples

				<%= for poll <- @examples do %>

						<a href="/polls/<%= poll.id %>">

<%= poll.title %>

							<div class="score" style="background-color: <%= Liquio.HtmlPollView.score_color poll %>;">
								<%= if poll.results.mean do %>
									<%= if poll.choice_type == "probability" do %>
										<%= round(poll.results.mean * 100) %>%
									<% else %>
										<%= number_format(poll.results.mean) %>
									<% end %>
								<% else %>
									?
								<% end %>

				<% end %>

	Liquio is still in early development. You can view the source code on GitHub. Feedback and contributions are welcome.

A liquid democracy where anyone can vote on anything.

	Explore polls

Key features

				Delegations

				Not everyone is an expert at everything. That's why you can give your vote to people you trust, but can override it at any time.

				References

				Helping voters to make better decisions. People not familiar with the subject can also quickly learn more about it.

				Trust metrics

				Attempt to prevent a single person from having multiple identities. Everyone can choose their own or make a new one.

				Objectivity

				References and delegations work very well with objective polls. Things like your favourite ice cream flavour won't work.

				No censorship

				A trust metric contains all subjective logic. The default trust metric lives here. You can always choose a different trust metric.

				Transparency

				The source code is available under permissive MIT license. All the data is publicly available through the API.

Examples

				<%= for poll <- @examples do %>

						<a href="/polls/<%= poll.id %>">

<%= poll.title %>

							<div class="score" style="background-color: <%= Liquio.HtmlPollView.score_color poll %>;">
								<%= if poll.results.mean do %>
									<%= if poll.choice_type == "probability" do %>
										<%= round(poll.results.mean * 100) %>%
									<% else %>
										<%= number_format(poll.results.mean) %>
									<% end %>
								<% else %>
									?
								<% end %>

				<% end %>

	Liquio is still in early development. You can view the source code on GitHub. Feedback and contributions are welcome.


Make Channel Response Time graph narrower

Node name

Cluster name

0

Instances

0

Clients

0

Channels

0

Partitions

Channel Response Time


feat(admin): better object_text nested forms

<%= form_for @changeset, @action, fn f -> %>
  <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

  <% end %>

  <%= for {id, column} <- @columns do %>
    <%= if column.type == :object_texts do %>

            <%= for language <- @languages do %>

                <a class="nav-link <%= if language == List.first(@languages) do %>active<% end %>" data-toggle="tab" href="#object_text_<%= language.abbr %>" role="tab">
                  <%= language.name %>

            <% end %>

            <%= for language <- @languages do %>
              <div class="tab-pane <%= if language == List.first(@languages) do %>active<% end %>" id="object_text_<%= language.abbr %>" role="tabpanel">
                <%= form_for column.model.changeset(struct(column.model)), nil, [as: String.to_atom("object_text_" <> language.abbr)], fn nf -> %>
                  <%= for {field_id, field} <- column.model.admin_fields do %>
                    <%= render "form_group.html", f: nf, id: field_id, column: field %>
                  <% end %>
                <% end %>

            <% end %>

    <% else %>
      <%= render "form_group.html", f: f, id: id, column: column %>
    <% end %>
  <% end %>

    <%= submit "Submit", class: "btn btn-primary" %>

<% end %>

<%= form_for @changeset, @action, fn f -> %>
  <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

  <% end %>

  <%= for {id, column} <- @columns do %>
    <%= if column.type == :object_texts do %>

            <%= for language <- @languages do %>

                <a class="nav-link <%= if language == List.first(@languages) do %>active<% end %>" data-toggle="tab" href="#object_text_<%= language.abbr %>" role="tab">
                  <%= language.name %>

            <% end %>

            <%= for language <- @languages do %>
              <div class="tab-pane <%= if language == List.first(@languages) do %>active<% end %>" id="object_text_<%= language.abbr %>" role="tabpanel">
                <%= for {field_id, field} <- column.model.admin_fields do %>
                  <%= render "form_group.html", f: f, id: field_id, column: field %>
                <% end %>

            <% end %>

    <% else %>
      <%= render "form_group.html", f: f, id: id, column: column %>
    <% end %>
  <% end %>

    <%= submit "Submit", class: "btn btn-primary" %>

<% end %>


Async JS loading

Async JS loading

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <%= render_existing(@view_module, "meta." <> @view_template, assigns) || render(Ap.LayoutView, "meta.html", assigns) %>

    <link rel="stylesheet" href="<%= static_path(@conn, "/css/frontend.css") %>">

    <link rel="dns-prefetch" href="//res.cloudinary.com">

    <%= render Ap.LayoutView, "common_social_meta.html" %>
    <%= render_existing(@view_module, "social_meta." <> @view_template, assigns) || render(Ap.LayoutView, "social_meta.html", assigns) %>

    <link rel="icon" href="/favicon.ico" />
    <link rel="icon" href="/images/favicon.png" sizes="16x16" type="image/png">

    <meta name="msvalidate.01" content="3F3F0DA3D9FF8AE3DA64D767717C782B" />

    <%= render Ap.SharedView, "header.html", conn: @conn, product_categories: @product_categories %>

          <%= show_flash(@conn) %>
          <%= render @view_module, @view_template, assigns %>

    <%= render Ap.SharedView, "footer.html", conn: @conn %>


fix typo in organizer url

fix typo in organizer url

 <%= link("« All Events", to: "/events") %>

<%= @event.metadata["title"] %>

<%= at_date(@event) %>

            <div data-title="<%= #{@event.title} %> – Erlang Ecosystem Foundation" data-viewtitle="<%= @event.title %>">

                <%= raw @event.body_html %>

                <a class="btn btn-primary btn-sm" href="<%= raw @event.metadata["gcal_url"] %>" title="Add to Google Calendar">+ Google Calendar

 Details

 Date:

<abbr title="<%= year_month_day(@event.metadata["start"]) %>"> <%= month_name_and_day(@event) %>

 Time:

<div title="<%= year_month_day(@event.metadata["end"]) %>"><%= time_duration(@event) %>

 Website:

<a href="<%= @event.metadata["event_url"] %>" target="_blank"><%= @event.metadata["organizer_url"] %>

Organizer

<%=  @event.metadata["organizer"] %>

Website:

<a href="<%= @event.metadata["organizer_url"] %>" target="_blank"><%= @event.metadata["organizer_url"] %>

 Venue

 <%= @event.metadata["venue_address1"] %>

                          <address>

                              <%= @event.metadata["venue_address2"] %>

                              <%= @event.metadata["venue_territory"] %>,
                            <%= @event.metadata["venue_country"] %>
                          </address>
                          <a href="<%= raw @event.metadata["venue_gmap_url"] %>" title="Click to view a Google Map" target="_blank">+ Google Map

 Website:

 <a href="<%= @event.metadata["venue_url"] %>" target="_blank"><%= @event.metadata["venue_url"] %>

                  <iframe src="<%= @event.metadata["gmap_embed_url"] %>" width="600" height="450" frameborder="0" style="border:0" allowfullscreen>

 <%= link("« All Events", to: "/events") %>

<%= @event.metadata["title"] %>

<%= at_date(@event) %>

            <div data-title="<%= #{@event.title} %> – Erlang Ecosystem Foundation" data-viewtitle="<%= @event.title %>">

                <%= raw @event.body_html %>

                <a class="btn btn-primary btn-sm" href="<%= raw @event.metadata["gcal_url"] %>" title="Add to Google Calendar">+ Google Calendar

 Details

 Date:

<abbr title="<%= year_month_day(@event.metadata["start"]) %>"> <%= month_name_and_day(@event) %>

 Time:

<div title="<%= year_month_day(@event.metadata["end"]) %>"><%= time_duration(@event) %>

 Website:

<a href="<%= @event.metadata["event_url"] %>" target="_self"><%= @event.metadata["organizer_url"] %>

Organizer

<%=  @event.metadata["organizer"] %>

Website:

<%= @event.metadata["organizer_url"] %>" target="_self"><%= @event.metadata["organizer_url"] %>

 Venue

 <%= @event.metadata["venue_address1"] %>

                          <address>

                              <%= @event.metadata["venue_address2"] %>

                              <%= @event.metadata["venue_territory"] %>,
                            <%= @event.metadata["venue_country"] %>
                          </address>
                          <a href="<%= raw @event.metadata["venue_gmap_url"] %>" title="Click to view a Google Map" target="_blank">+ Google Map

 Website:

 <a href="<%= @event.metadata["venue_url"] %>" target="_self"><%= @event.metadata["venue_url"] %>

                  <iframe src="<%= @event.metadata["gmap_embed_url"] %>" width="600" height="450" frameborder="0" style="border:0" allowfullscreen>


fix html

fix html

<%= gettext "Address Information" %>

<%= content_tag :div, "", [{:data, [graph_data: Poison.encode!(@graph_data)]}, value: "value", id: "graph_data"] %>

<%= gettext "Address" %> | <%= @address.address %>

  <a href="<%= addresses_path(@conn, :index) %>" class="browse-wallet-back"> <%= gettext "Back to all addresses" %>

 <%= gettext "NEO Balance" %>

<%= get_NEO_balance(@address.balance) %>

  <%= gettext "GAS Balance" %>

        <%= get_GAS_balance(@address.balance) %>

<%= gettext "Loading Unclaimed Gas" %>...

  <%= for {hash , token} <- get_tokens(@address.balance) do %>

  <%= Api.get_asset_name(hash) %>

        <%= get_token_balance(token) %>

  <% end %>

    <select id="select-address-chart">
    </select>

<%= gettext "Transactions" %> (<%= number_to_delimited(@address.tx_count) %>)

<%= gettext "Type" %>

<%= gettext "Transaction ID" %>

<%= gettext "Completed on" %>

<%= gettext "All transaction information" %>

      <%= for transaction <- @transactions do %>
        <div class="full-width-bar <%= get_class(transaction.type)%>">

            <%= if transaction.type == "ContractTransaction" do %>

<%= gettext "Contract" %>

            <% end %>
            <%= if transaction.type == "ClaimTransaction" do %>

<%= gettext "Gas Claim" %>

            <% end %>
            <%= if transaction.type == "InvocationTransaction" do %>

<%= gettext "Invocation" %>

            <% end %>
            <%= if transaction.type == "EnrollmentTransaction" do %>

<%= gettext "Enrollment" %>

            <% end %>
            <%= if transaction.type == "StateTransaction" do %>

<%= gettext "State" %>

            <% end %>
            <%= if transaction.type == "IssueTransaction" do %>

<%= gettext "Asset Issue" %>

            <% end %>
            <%= if transaction.type == "RegisterTransaction" do %>

<%= gettext "Asset Register" %>

            <% end %>
            <%= if transaction.type == "PublishTransaction" do %>

<%= gettext "Contract Publish" %>

            <% end %>
            <%= if transaction.type == "MinerTransaction" do %>

<%= gettext "Miner" %>

            <% end %>

              <a href="<%=transaction_path(@conn, :index, transaction.txid )%>" alt="<%= gettext "View transaction"%>" title="<%= gettext "View transaction" %>" class="large-blue-link col-6-width"><%=transaction.txid%>…

                <%=
                  {:ok, date_time} = DateTime.from_unix(transaction.time, :second)
                  DateTime.to_date(date_time)
                %> |
                <%=
                  {:ok, date_time} = DateTime.from_unix(transaction.time, :second)
                  DateTime.to_time(date_time)
                %>

          <button class="btn-accordion"><img src="<%= static_path(@conn, "/images/ICON_DownArrow.svg") %>" alt="Accordion down arrow" title="Accordion down arrow" class="accordion-down-arrow" width="13px" height="8px" /></button>

              <%= if transaction.type != "ClaimTransaction" and transaction.vin != [] do %>

<%= gettext "Sent from" %>

                <%= for vin <- transaction.vin do %>

                    <a href='<%= address_path(@conn, :index, vin.address_hash)%>' alt="View wallet address" title="View wallet address" class="large-blue-link wallet-address"><%= vin.address_hash %>

<%= Helpers.round_or_not(vin.value) %> <%= Api.get_asset_name(vin.asset) %>

                <% end %>
              <% end %>
              <%= if transaction.type == "ClaimTransaction" do %>

<%= gettext "Claimed from" %>

                <%= for claim <- transaction.claims do %>

                    <a href='<%= address_path(@conn, :index, claim.address_hash)%>' alt="View wallet address" title="View wallet address" class="large-blue-link wallet-address"><%= claim.address_hash %>

<%= Helpers.round_or_not(claim.value) %> <%= Api.get_asset_name(claim.asset) %>

                <% end %>
              <% end %>

            <img src="<%= static_path(@conn, "/images/ICON_Sent-arrow.svg")%>" alt="Sent arrow" title="Sent arrow" class="transaction-sent-arrow" />

              <%= if transaction.vouts != [] do %>

<%= gettext "Sent to" %>

                <%= for vout <- transaction.vouts do %>

                    <a href='<%= address_path(@conn, :index, vout.address_hash)%>' alt="View wallet address" title="View wallet address" class="large-blue-link wallet-address"><%= vout.address_hash %>

<%= Helpers.round_or_not(vout.value) %> <%= Api.get_asset_name(vout.asset) %>

                <% end %>
              <% end %>
              <%= if transaction.type == "RegisterTransaction" do %>

<%= gettext "Registered" %>

                  <a href='<%= address_path(@conn, :index, transaction.asset.admin)%>' alt="View wallet address" title="View wallet address" class="large-blue-link wallet-address"><%= transaction.asset.admin %>

<%= Helpers.round_or_not(transaction.asset.amount) %> <%= Api.get_asset_name(transaction.txid) %>

              <% end %>

Network fee: <%=transaction.net_fee%> <%= gettext "GAS" %> · <%= gettext "System Fee" %>: <%=transaction.sys_fee%> <%= gettext "GAS" %> · <%= gettext "Data Size" %>: <%=transaction.size%> bytes

          <%= if transaction.transfers != [] do %>
            <%= for transfer <- transaction.transfers do %>

<%= gettext "Sent from" %>

                    <a href='<%= address_path(@conn, :index, transfer.address_from)%>' alt="View wallet address" title="View wallet address" class="large-blue-link wallet-address"><%= transfer.address_from %>

<%= Helpers.round_or_not(apply_precision(transfer.contract,transfer.amount)) %> <%= Api.get_asset_name(transfer.contract) %>

                <img src="<%= static_path(@conn, "/images/ICON_Sent-arrow.svg")%>" alt="Sent arrow" title="Sent arrow" class="transaction-sent-arrow" />

<%= gettext "Sent to" %>

                    <a href='<%= address_path(@conn, :index, transfer.address_to)%>' alt="View wallet address" title="View wallet address" class="large-blue-link wallet-address"><%= transfer.address_to %>

<%= Helpers.round_or_not(apply_precision(transfer.contract,transfer.amount)) %> <%= Api.get_asset_name(transfer.contract) %>

            <% end %>
          <% end %>

      <%end%>

<%= gettext "Transactions"%> <%= get_current_min_qtd(@page, @address.tx_count) %> <%= gettext "to"%> <%= get_current_max_qtd(@page, @address.tx_count) %>

      <%= if @page != "1" do %>
        <%= get_previous_page(@conn, @address.address, @page) %>
      <% end %>
      <%= if check_last(@page, @address.tx_count) do %>
        <%= get_next_page(@conn, @address.address, @page) %>
      <% end %>


Add author/creator to rss feed

Add author/creator to rss feed

Atom specification requires email addresses to be supplied when
using `<author>`. Use Dublic Core `<dc:creator>` instead. Replace
ampersand with and for proper rss validation.


Bugfix

Bugfix

  <%= for user <- @users do %>

        <%= link to: user_path(@conn, :show, user) do %>
          <%= if Vutuv.Avatar.sym_link_for_avatar_exists?(user) do %>
            <img src="<%= Vutuv.Avatar.webserver_static_url(user, :thumb) %>" width="50" height="50" alt="Avatar of <%= full_name(user) %>">
          <% else %>
            <img src="<%= Vutuv.Avatar.binary(user, :thumb) %>" width="50" height="50" alt="Avatar of <%= full_name(user) %>">
          <% end %>
        <%= end %>

<%= link full_name(user), to: user_path(@conn, :show, user) %>
      <%= work_information_string(user, @work_string_length) %>

      <%= if !same_user?(@current_user, user) and @current_user do %>
        <%= if user_follows_user?(@current_user, user) do %>
          <%= button to: connection_path(@conn, :delete, user_follows_user?(@current_user, user)), method: :delete , class: "button button--icon", form: [class: "button button--icon"] do %>

          <% end %>
        <%= else %>
          <%= button to: connection_path(@conn, :create, connection: %{follower_id: @current_user_id, followee_id: user.id}), method: :post , class: "button button--icon", form: [class: "button button--icon"] do %>

          <% end %>
        <% end %>
      <% end %>

  <% end %>

  <%= for user <- @users do %>

        <%= link to: user_path(@conn, :show, user) do %>
          <%= if Vutuv.Avatar.sym_link_for_avatar_exists?(user) do %>
            <img src="<%= Vutuv.Avatar.webserver_static_url(user, :thumb) %>" width="50" height="50", alt="Avatar of <%= full_name(user) %>">
          <% else %>
            <img src="<%= Vutuv.Avatar.binary(user, :thumb) %>" width="50" height="50", alt="Avatar of <%= full_name(user) %>">
          <% end %>
        <%= end %>

<%= link full_name(user), to: user_path(@conn, :show, user) %>
      <%= work_information_string(user, @work_string_length) %>

      <%= if !same_user?(@current_user, user) and @current_user do %>
        <%= if user_follows_user?(@current_user, user) do %>
          <%= button to: connection_path(@conn, :delete, user_follows_user?(@current_user, user)), method: :delete , class: "button button--icon", form: [class: "button button--icon"] do %>

          <% end %>
        <%= else %>
          <%= button to: connection_path(@conn, :create, connection: %{follower_id: @current_user_id, followee_id: user.id}), method: :post , class: "button button--icon", form: [class: "button button--icon"] do %>

          <% end %>
        <% end %>
      <% end %>

  <% end %>


Placeholder links for logged in user

Placeholder links for logged in user

<!DOCTYPE html>

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="">
  <meta name="author" content="">

  <link href="//cdnjs.cloudflare.com/ajax/libs/foundation/6.3.0/css/foundation.min.css" rel="stylesheet" >
  <link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel='stylesheet' type='text/css'>
  <link href="//cdnjs.cloudflare.com/ajax/libs/jplayer/2.9.2/skin/blue.monday/css/jplayer.blue.monday.min.css" rel="stylesheet" type="text/css">

  <title>Podbaby<%= if assigns[:page_title] do %> - <%= assigns[:page_title] %><% end %></title>

  <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

    <button class="menu-icon" type="button" data-toggle></button>

Menu

 Podbaby

        <%= if assigns[:user] do %>

           My podcasts

           Bookmarks

        <% end %>
        <%= active_link(@conn, raw(" New releases"), to: episodes_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw(" Discover"), to: podcasts_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw(" Browse"), to: categories_path(@conn, :index), wrap_tag: :li) %>

        <%= if assigns[:user] do %>

           Settings

        <%= active_link(@conn, raw(" Sign out"), to: auth_path(@conn, :logout), wrap_tag: :li) %>
        <% else %>
        <%= active_link(@conn, raw(" Login"), to: auth_path(@conn, :login), wrap_tag: :li) %>
        <%= active_link(@conn, raw(" Signup"), to: auth_path(@conn, :signup), wrap_tag: :li) %>
        <% end %>

    <%= if msg = get_flash(@conn, :info) do %>

<%= msg %>

    <% end %>
     <%= if msg = get_flash(@conn, :warning) do %>

<%= msg %>

    <% end %>
    <%= if msg = get_flash(@conn, :success) do %>

<%= msg %>

    <% end %>

    <%= render @view_module, @view_template, assigns %>

<!DOCTYPE html>

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="">
  <meta name="author" content="">

  <link href="//cdnjs.cloudflare.com/ajax/libs/foundation/6.3.0/css/foundation.min.css" rel="stylesheet" >
  <link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel='stylesheet' type='text/css'>
  <link href="//cdnjs.cloudflare.com/ajax/libs/jplayer/2.9.2/skin/blue.monday/css/jplayer.blue.monday.min.css" rel="stylesheet" type="text/css">

  <title>Podbaby<%= if assigns[:page_title] do %> - <%= assigns[:page_title] %><% end %></title>

  <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

    <button class="menu-icon" type="button" data-toggle></button>

Menu

 Podbaby

        <%= active_link(@conn, raw(" Discover"), to: podcasts_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw(" New releases"), to: episodes_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw(" Browse"), to: categories_path(@conn, :index), wrap_tag: :li) %>

        <%= if assigns[:user] do %>
        <%= active_link(@conn, raw(" Sign out"), to: auth_path(@conn, :logout), wrap_tag: :li) %>
        <% else %>
        <%= active_link(@conn, raw(" Login"), to: auth_path(@conn, :login), wrap_tag: :li) %>
        <%= active_link(@conn, raw(" Signup"), to: auth_path(@conn, :signup), wrap_tag: :li) %>
        <% end %>

    <%= if msg = get_flash(@conn, :info) do %>

<%= msg %>

    <% end %>
     <%= if msg = get_flash(@conn, :warning) do %>

<%= msg %>

    <% end %>
    <%= if msg = get_flash(@conn, :success) do %>

<%= msg %>

    <% end %>

    <%= render @view_module, @view_template, assigns %>


left aligned cards

left aligned cards

Show account

    Name:
    <%= @user.name %>

<%= @user.job_title %>

<%= @user.phone %>

<%= @user.address %>

  <%= unless (login_field = Coherence.Config.login_field) == :email do %>

      <%= humanize login_field %>
      <%= Map.get(@user, login_field) %>

  <% end %>

    Email:
    <%= @user.email %>

<%= link "Edit", to: registration_path(@conn, :edit), class: "btn" %>
<%= link "Delete", to: registration_path(@conn, :delete), method: :delete, data: [confirm: "Are you sure?"], class: "btn" %>

Show Resume

    <%= for skill <- @user.skills  do %>

<%= skill.name %>

            <%= link "Edit", to: skill_path(@conn, :edit, skill.id), alt: "Edit", class: "btn" %>
            <%= link "Delete", to: skill_path(@conn, :delete, skill.id), method: :delete, data: [confirm: "Are you sure?"], alt: "Delete", class: "btn" %>

    <% end %>

    <%= for exp <- @user.experiences  do %>

<%= exp.organization %>

<%= exp.from %> - <%= exp.to %>

<%= exp.category %>

<%= exp.position %>

            <%= unless exp.description_one == nil do %>

<%= exp.description_one %>

            <%= end %>

            <%= unless exp.description_two == nil do %>

<%= exp.description_two %>

            <%= end %>

            <%= unless exp.description_three == nil do %>

<%= exp.description_three %>

            <%= end %>

          <%= link "Edit", to: experience_path(@conn, :edit, exp.id), class: "btn" %>
          <%= link "Delete", to: experience_path(@conn, :delete, exp.id), method: :delete, data: [confirm: "Are you sure?"], class: "btn" %>

    <% end %>

    <%= for edu <- @user.educations  do %>

<%= edu.organization %>

<%= edu.from %> - <%= edu.to %>

<%= edu.status %> <%= edu.degree %>

<%= edu.gpa %>

          <%= link "Edit", to: education_path(@conn, :edit, edu.id), class: "btn" %>
          <%= link "Delete", to: education_path(@conn, :delete, edu.id), method: :delete, data: [confirm: "Are you sure?"], class: "btn" %>

    <% end %>

    <%= for aw <- @user.awards  do %>

<%= aw.title %>

<%= aw.on %>

            <%= link "Edit", to: award_path(@conn, :edit, aw.id), class: "btn" %>
            <%= link "Delete", to: award_path(@conn, :delete, aw.id), method: :delete, data: [confirm: "Are you sure?"], class: "btn" %>

    <% end %>

    <%= for ref <- @user.references  do %>

<%= ref.name %>

<%= ref.association %>

<%= ref.phone %>

<%= ref.email %>

            <%= link "Edit", to: reference_path(@conn, :edit, ref.id), class: "btn" %>
            <%= link "Delete", to: reference_path(@conn, :delete, ref.id), method: :delete, data: [confirm: "Are you sure?"], class: "btn" %>

    <% end %>


Add `Back` to back arrow on new transaction page

              Back

New transaction

        <%= form_for @changeset, mobile_transaction_path(@conn, :create), [method: :post, class: "ajax-submit"], fn f -> %>

Amount

                    <%= text_input(f, :amount, placeholder: "0.00", id: "new-transaction-amount", style: "text-align: right") %>

                      Expense
                      Income

                    <%= hidden_input(f, :type, value: "expense") %>

                <%= select(f, :account_id, @accounts) %>

Account

                <%= select(f, :category_id, @categories) %>

Category

Made on

                    <%= text_input(f, :made_on, placeholder: "Date", style: "text-align: right") %>

Note

                    <%= text_input(f, :description, placeholder: "Note", style: "text-align: right") %>

                  <button class="button active button-big" type="submit">Add</button>

        <% end %>


remove templates directory

remove templates directory

#!/bin/bash
# Fleet Journal Retrieval Script
#

# Set up SSH Keys for pswgithub and github.com
echo "Prepping SSH keys..."
eval `ssh-agent -s`
if [ -f /root/.ssh/id_rsa ]; then
  chmod 0600 /root/.ssh/id_rsa > /dev/null
  if [ $? -ne 0 ]; then
    echo "ERROR: adding key for OpenAperture to ssh agent." 1>&2
  fi

  ssh-add /root/.ssh/id_rsa 1> /dev/null 2> /dev/null
fi

echo "Current running image is:"
yes | fleetctl --tunnel=<%= host_ip %> cat <%= unit_name %> | grep ExecStart= | awk '{print $NF}'

# Done setting up SSH keys
echo "Executing journal command:  yes | fleetctl --tunnel=<%= host_ip %> journal <%= unit_name %>"
yes | fleetctl --tunnel=<%= host_ip %> journal <%= unit_name %>
#future version:
#fleetctl --skip-host-verification --tunnel=<%= host_ip %> journal <%= unit_name %>

if [ $? -ne 0 ]; then
  if [ <%= verify_result %> = true ] ; then
    echo "Journal command has failed!!"
    ssh-agent -k
    exit 1
  fi
fi

ssh-agent -k
echo "Journal command finished successfully!"


Fix comma in internal appearance partial template

<%= for appearance <- @appearances do %>
  <%= if @style == :detail do %>
    <%= full_name(appearance.participant) %>,
  <% else %>
    <%= full_name(appearance.participant) %>,
  <% end %>
  <%= instrument_name(appearance.instrument) %>
  <%= age_group_badge(appearance) %>

<% end %>

<%= for appearance <- @appearances do %>
  <%= if @style == :detail do %>
    <%= full_name(appearance.participant) %>
  <% else %>
    <%= full_name(appearance.participant) %>
  <% end %>
  ,
  <%= instrument_name(appearance.instrument) %>
  <%= age_group_badge(appearance) %>

<% end %>


Delete a record.

Delete a record.

Add Activity

    <%= form_for @changeset, activity_feed_path(@conn, :create), fn f -> %>

          Date
          <%= text_input f, :date, value: @date, type: "date" %>

          Activity

            <input type="hidden" name="record[activity_id]" />

Select an activity

              <%= for activity <- @activities do %>
                <div class="item" data-value="<%= activity.id %>" data-duration="<%= activity.default_duration %>"><%= activity.name %>

              <% end %>

          Duration
          <%= number_input f, :duration, value: 1, min: 0, step: "any" %>

          Notes
          <%= textarea f, :note, rows: 2 %>

      <button type="submit" class="ui primary basic right floated button">Add</button>

    <% end %>

      <%= for item <- @records do %>
          <%= render "event.html", e: item %>
      <% end %>


Disable editing of historical games. TODO: a "totals" row at the bottom, just like on the cashout page. TODO: order players by winnings and then names. TODO: connect to a mailer so Jay doesn't care.

  <%= @game_night.yyyymmdd %>

      Player
      Chips
      Exact
      $1

    <% is_historical_game = @game_night.yyyymmdd < PhoenixPoker.Utils.yyyymmdd_now() %>
    <%= for attendee_result <- @attendees do %>
      <% selected_player = Integer.to_string(attendee_result.player_id) == @selected_player_id %>

          <%= if selected_player && !is_historical_game do %>
            <%= render("cash_out_player_button.html",
                  game_night_id: @game_night.id,
                  player_id: -1,
                  nickname: attendee_result.player.nickname,
                  classname: "btn-primary") %>
          <%= else %>
            <%= render("cash_out_player_button.html",
                  game_night_id: @game_night.id,
                  player_id: attendee_result.player_id,
                  nickname: attendee_result.player.nickname,
                  classname: "btn-default") %>
          <%= end %>

          <%= attendee_result.chips / 100 %>

        <%= if selected_player && !is_historical_game do %>

            <a href="/attendee_result/<%= attendee_result.id %>/add/1000" >

                + 10

            <a href="/attendee_result/<%= attendee_result.id %>/add/500" >

                + 5

            <a href="/attendee_result/<%= attendee_result.id %>/add/100" >

                + 1

            <a href="/attendee_result/<%= attendee_result.id %>/add/025" >

                +25c

            <a href="/attendee_result/<%= attendee_result.id %>/subtract/100" >

                - 1

            <a href="/attendee_result/<%= attendee_result.id %>/subtract/500" >

                - 5

        <%= else %>

            <%= dollars_n_cents(attendee_result.exact_cents) %>

            $<%= round(attendee_result.rounded_cents / 100) %>

        <%= end %>

    <%= end %>

        TOTALS:

        <%= @total_chips %>

        <%= dollars_n_cents(@exact_cents) %>

        $<%= round(@rounded_1_cents / 100) %>

<%= if !is_historical_game do %>
  <a href="<%= @mailto_link %>" >

      Send Email with Results

  <textarea rows="9" cols="80">
    <%= @mailto_link %>
  </textarea>
<%= end %>

  <%= @game_night.yyyymmdd %>

      Player
      Chips
      Exact
      $1

    <%= for attendee_result <- @attendees do %>
      <% selected_player = Integer.to_string(attendee_result.player_id) == @selected_player_id %>

          <%= if selected_player do %>
            <%= render("cash_out_player_button.html",
                  game_night_id: @game_night.id,
                  player_id: -1,
                  nickname: attendee_result.player.nickname,
                  classname: "btn-primary") %>
          <%= else %>
            <%= render("cash_out_player_button.html",
                  game_night_id: @game_night.id,
                  player_id: attendee_result.player_id,
                  nickname: attendee_result.player.nickname,
                  classname: "btn-default") %>
          <%= end %>

          <%= attendee_result.chips / 100 %>

        <%= if selected_player do %>

            <a href="/attendee_result/<%= attendee_result.id %>/add/1000" >

                + 10

            <a href="/attendee_result/<%= attendee_result.id %>/add/500" >

                + 5

            <a href="/attendee_result/<%= attendee_result.id %>/add/100" >

                + 1

            <a href="/attendee_result/<%= attendee_result.id %>/add/025" >

                +25c

            <a href="/attendee_result/<%= attendee_result.id %>/subtract/100" >

                - 1

            <a href="/attendee_result/<%= attendee_result.id %>/subtract/500" >

                - 5

        <%= else %>

            <%= dollars_n_cents(attendee_result.exact_cents) %>

            $<%= round(attendee_result.rounded_cents / 100) %>

        <%= end %>

    <%= end %>

        TOTALS:

        <%= @total_chips %>

        <%= dollars_n_cents(@exact_cents) %>

        $<%= round(@rounded_1_cents / 100) %>

<a href="<%= @mailto_link %>" >

    Send Email with Results

<textarea rows="9" cols="80">
  <%= @mailto_link %>
</textarea>


Add link to GitHub

Add link to GitHub

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Gomoku</title>
    <link rel="stylesheet" href="/css/phoenix.css">
    <link rel="stylesheet" href="/css/app.css">
    <link rel="icon" type="image/x-icon" href="/images/logo.png">

Gomoku

      <%= render @view_module, @view_template, assigns %>

        See on GitHub


add link to wobserver to layout

add link to wobserver to layout

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" type="image/png" href="/favicon.png" />
    <title>Slack Coder</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
    <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
    <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">

            Slack Coder

Monitoring your dead pull requests

        <%= if @current_user do %>

              <img src="<%= @current_user.avatar_url %>" class="img-xs img-circle"/>
              <%= if @current_user.id do %>
                <%= link @current_user.github, to: user_path(@conn, :edit, @current_user.id)%>
              <% else %>
                <%= link @current_user.github, to: user_path(@conn, :new)%>
              <% end %>

            |
            <%= link "Logout", to: auth_path(@conn, :delete), method: :delete %>

            <%= link to: user_path(@conn, :index) do %>
               Users
            <% end %>

        <% end %>

             Application Metrics

          |
          <%= link to: "/errors" do %>
             Errors
          <% end %>

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

      <%= if @current_user do %>
        <%= render @view_module, @view_template, assigns %>
      <% else %>

          <a class="btn btn-default btn-xxl" href="<%= auth_path @conn, :index, "github" %>">

            Sign in with GitHub

      <% end %>

    <%= if @current_user do %>

    <% end %>


Remove tiny ui class from create retro button

    Get Better With Your Team

Remote Retro lets you get together, even when you're far apart.

  <%= form_for @conn, retro_path(@conn, :create), [as: :retro, class: "ui form"], fn _f -> %>
    <%= submit "Create a Retrospective", class: "ui button teal" %>
  <% end %>

    Get Better With Your Team

Remote Retro lets you get together, even when you're far apart.

  <%= form_for @conn, retro_path(@conn, :create), [as: :retro, class: "ui form"], fn _f -> %>
    <%= submit "Create a Retrospective", class: "ui tiny button teal" %>
  <% end %>


Removes a link.

Removes a link.


inverse references score

inverse references score

<%= if @poll.topics != nil do %>

		<%= for topic <- @poll.topics do %>
			<a href="<%= html_explore_path(@conn, :show, topic) %>/top" class="topic">#<%= topic %>
		<% end %>

<% end %>

<%= @poll.title %>

	<%= render "score.html", poll: @poll %>

	 Details
	 Vote

<%= unless Enum.empty?(@references) do %>
	<%= if @poll.choice_type == "probability" do %>

References

	<% else %>

References for quantity

	<% end %>
	<%= render "references.html", poll: @poll, references: @references %>
<% else %>

There are no references here

<% end %>

<%= unless Enum.empty?(@inverse_references) do %>

Inverse references

	<%= for reference <- @inverse_references do %>

			<a href="/polls/<%= reference.poll.id %>"><%= reference.poll.title %>

				<%= render Liquio.HtmlPollView, "score_reference.html",
					choice_type: reference.poll.choice_type,
					results: reference.poll.results %>

	<% end %>
<% end %>

<form action="/polls/<%= @poll.id %>/references" class="pure-form " style="margin-top: 40px;">
	<input name="reference_poll_id" type="url" required placeholder="Poll URL" class="pure-input-1 url-input" />
	<button type="submit" class="pure-button poll-button">Vote for reference</button>
</form>

<paper-dialog id="details_dialog" modal on-iron-overlay-closed="dismissDialog" style="width: 600px;">
	<%= render "details.html", poll: @poll, contributions: @contributions %>
</paper-dialog>

<paper-dialog id="vote_dialog" modal on-iron-overlay-closed="dismissDialog" style="width: 600px;">
	<%= render Liquio.HtmlVoteView, "index.html", poll: @poll, own_vote: @own_vote, own_poll: @own_poll %>
</paper-dialog>

<paper-dialog id="preferences_dialog" modal on-iron-overlay-closed="dismissDialog" style="width: 600px;">

Fine tune how results are calculated

	<form id="preferences_form" method="POST" action="/identities/me/preferences" class="pure-form">
		<input type="hidden" name="_csrf_token" value="<%= get_csrf_token() %>" />

			<input type="range" name="minimum_voting_power" id="minimum_voting_power_range" value="<%= @calculation_opts.minimum_turnout || 0 %>" min="0" max="1" step="any" oninput="minimum_voting_power_value.value = 'Expecting at least ' + Math.round(100 * minimum_voting_power_range.value) + '% turnout.'" style="margin: 0 auto;" />
			<output id="minimum_voting_power_value"><%= "Expecting at least #{round(100 * (@calculation_opts.minimum_turnout || 0))}% turnout." %></output>

			<input type="range" name="vote_weight_halving_days" id="vote_weight_halving_days_range" value="<%= @calculation_opts.vote_weight_halving_days || 1000 %>" min="1" max="1000" step="1" oninput="vote_weight_halving_days_value.value = Math.round(vote_weight_halving_days_range.value) == 1000 ? 'Votes don\'t lose power with time.' : 'Votes will lose half remaining power every ' + Math.round(vote_weight_halving_days_range.value) + ' days.'" style="margin: 0 auto;" />
			<output id="vote_weight_halving_days_value">
				<%= if @calculation_opts.vote_weight_halving_days do "Votes will lose half remaining power every #{round(@calculation_opts.vote_weight_halving_days)} #{ngettext("day", "days", round(@calculation_opts.vote_weight_halving_days))}." else "Votes don't lose power with time." end %>
			</output>

	</form>

		<paper-button dialog-dismiss>Close</paper-button>
		<paper-button dialog-confirm raised class="primary" onclick="preferences_form.submit()">Change preferences for polls</paper-button>

</paper-dialog>

<%= if @poll.topics != nil do %>

		<%= for topic <- @poll.topics do %>
			<a href="<%= html_explore_path(@conn, :show, topic) %>/top" class="topic">#<%= topic %>
		<% end %>

<% end %>

<%= @poll.title %>

	<%= render "score.html", poll: @poll %>

	 Details
	 Vote

<%= unless Enum.empty?(@references) do %>
	<%= if @poll.choice_type == "probability" do %>

References

	<% else %>

References for quantity

	<% end %>
	<%= render "references.html", poll: @poll, references: @references %>
<% else %>

There are no references here

<% end %>

<%= unless Enum.empty?(@inverse_references) do %>

Inverse references

	<%= for reference <- @inverse_references do %>

			<a href="/polls/<%= reference.poll.id %>"><%= reference.poll.title %>

	<% end %>
<% end %>

<form action="/polls/<%= @poll.id %>/references" class="pure-form " style="margin-top: 40px;">
	<input name="reference_poll_id" type="url" required placeholder="Poll URL" class="pure-input-1 url-input" />
	<button type="submit" class="pure-button poll-button">Vote for reference</button>
</form>

<paper-dialog id="details_dialog" modal on-iron-overlay-closed="dismissDialog" style="width: 600px;">
	<%= render "details.html", poll: @poll, contributions: @contributions %>
</paper-dialog>

<paper-dialog id="vote_dialog" modal on-iron-overlay-closed="dismissDialog" style="width: 600px;">
	<%= render Liquio.HtmlVoteView, "index.html", poll: @poll, own_vote: @own_vote, own_poll: @own_poll %>
</paper-dialog>

<paper-dialog id="preferences_dialog" modal on-iron-overlay-closed="dismissDialog" style="width: 600px;">

Fine tune how results are calculated

	<form id="preferences_form" method="POST" action="/identities/me/preferences" class="pure-form">
		<input type="hidden" name="_csrf_token" value="<%= get_csrf_token() %>" />

			<input type="range" name="minimum_voting_power" id="minimum_voting_power_range" value="<%= @calculation_opts.minimum_turnout || 0 %>" min="0" max="1" step="any" oninput="minimum_voting_power_value.value = 'Expecting at least ' + Math.round(100 * minimum_voting_power_range.value) + '% turnout.'" style="margin: 0 auto;" />
			<output id="minimum_voting_power_value"><%= "Expecting at least #{round(100 * (@calculation_opts.minimum_turnout || 0))}% turnout." %></output>

			<input type="range" name="vote_weight_halving_days" id="vote_weight_halving_days_range" value="<%= @calculation_opts.vote_weight_halving_days || 1000 %>" min="1" max="1000" step="1" oninput="vote_weight_halving_days_value.value = Math.round(vote_weight_halving_days_range.value) == 1000 ? 'Votes don\'t lose power with time.' : 'Votes will lose half remaining power every ' + Math.round(vote_weight_halving_days_range.value) + ' days.'" style="margin: 0 auto;" />
			<output id="vote_weight_halving_days_value">
				<%= if @calculation_opts.vote_weight_halving_days do "Votes will lose half remaining power every #{round(@calculation_opts.vote_weight_halving_days)} #{ngettext("day", "days", round(@calculation_opts.vote_weight_halving_days))}." else "Votes don't lose power with time." end %>
			</output>

	</form>

		<paper-button dialog-dismiss>Close</paper-button>
		<paper-button dialog-confirm raised class="primary" onclick="preferences_form.submit()">Change preferences for polls</paper-button>

</paper-dialog>


align links in footer

align links in footer

                <img src="<%=  Routes.static_path(@conn, "/images/eef-logo-transparent-inverted.png") %>" width="75" height="75" alt="">

Supporting the BEAM community

                  Contact us : eef@erlef.org

Links

                        <form action="https://ErlangEcosystemFoundation.wildapricot.org/sys/login/OAuthLogin"
                            method="get" class="mt-2">
                          <input type="hidden" name="scope" value="contacts_me" />
                          <input type="hidden" name="client_id" value="5fl5gzaiih" />
                          <input type="hidden" name="response_type" value="authorization_code" />
                          <input type="hidden" name="claimed_account_id" value="292325" />
                          <input type="hidden" name="state" value="WaWpIntegrationLogin" />
                          <input type="hidden" name="redirect_uri" value="https://erlef.org/" />
                          <input type="submit" name="waLoginAction"
                                             style="padding: 0px;
                                                    background:
                                                    none;border: none;
                                                    color: rgba(255, 255, 255, 0.7);
                                                    text-decoration: underline;
                                                    cursor: pointer;"
                                             value="Membership details" title="Login" />
                      </form>

Join us!

Sponsors

Become a sponsor!

Working Groups

Grants

News

Events

Contact

Bylaws

FAQ

Recent Tweets

                      Tweets by TheErlef

                  <% now = DateTime.utc_now() %>

Upcoming events

                  <%= for event <- @events  do %>
                    <% {:ok, date, _offset} = DateTime.from_iso8601(event["datetime"]) %>
                    <%= if Timex.diff(now, date, :months) == 0 do %>

                        <a href="<%= event["url"] %>"><%= event["title"] %>

                    <% end %>
                  <% end %>

This work is licensed under a
       Creative Commons Attribution-ShareAlike 4.0 International License.


Remove debugging

Remove debugging

<%= form_for @changeset, @action, fn f -> %>
  <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below:

        <%= for {attr, message} <- f.errors do %>

<%= humanize(attr) %> <%= message %>

        <% end %>

  <% end %>

    <%= label f, :name, "Name", class: "control-label" %>
    <%= text_input f, :name, class: "form-control" %>

    <%= label f, :join_date, "Join date", class: "control-label" %>
    <%= datetime_select f, :join_date, class: "form-control" %>

Doors Groups

Check each door group to which this company should have access

      <% door_group_ids = Enum.map @company.door_groups, &(&1.id) %>
      <%= for door_group <- @door_groups do %>

          <input name="company[door_groups][<%= door_group.id %>]" type="checkbox" <%= (door_group.id in door_group_ids) && "checked" %>>
          <%= door_group.name %>

      <%= end %>

    <%= submit "Submit", class: "btn btn-primary" %>

<% end %>

<%= form_for @changeset, @action, fn f -> %>
  <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below:

        <%= for {attr, message} <- f.errors do %>

<%= humanize(attr) %> <%= message %>

        <% end %>

  <% end %>

    <%= label f, :name, "Name", class: "control-label" %>
    <%= text_input f, :name, class: "form-control" %>

    <%= label f, :join_date, "Join date", class: "control-label" %>
    <%= datetime_select f, :join_date, class: "form-control" %>

Doors Groups

Check each door group to which this company should have access

      <% IO.puts inspect @company %>
      <% door_group_ids = Enum.map @company.door_groups, &(&1.id) %>
      <%= for door_group <- @door_groups do %>

          <input name="company[door_groups][<%= door_group.id %>]" type="checkbox" <%= (door_group.id in door_group_ids) && "checked" %>>
          <%= door_group.name %>

      <%= end %>

    <%= submit "Submit", class: "btn btn-primary" %>

<% end %>


bug fix

bug fix

<a href="https://steemit.com/@<%= @post.author %>/<%= @post.permlink %>"><%= @post.permlink %>

Author: <a href="https://steemit.com/@<%= @post.author %>/"><%= @post.author %>

      <%= raw(@post.body) %>

		  Home
		  /
		  Author
		  /

<a href="https://beyondboinc.net/authors/@<%= @post.author %>/"><%= @post.author %>

		  /

<a href="https://steemit.com/@<%= @post.author %>/<%= @post.permlink %>"><%= @post.permlink %>

<a href="https://steemit.com/@(<%= post.author %>)/(<%= post.permlink %>)"><%= post.permlink %>

Author: <a href="https://steemit.com/@(<%= post.author %>)/"><%= post.author %>

      <%= raw(@post.body) %>

		  Home
		  /
		  Author
		  /

<a href="https://beyondboinc.net/authors/(@<%= post.author %>)/"><%= post.author %>

		  /

<a href="https://steemit.com/@(<%= post.author %>)/(<%= post.permlink %>)"><%= post.permlink %>


Fix typo in link to Slack

Fix typo in link to Slack

Welcome to Montreal Elixir!

Montreal's community for Elixir, a dynamic, functional language designed for building scalable and maintainable applications.

Monthly Meetup

        Become a member

        Come to a meetup

        Prepare and present a talk

        Watch our meetup presentations

        Sponsor an event

Resources

        View the community playbook

        Follow us on Twitter

        Contribute to this website

        Get help from community members on Slack (#montrealelixir)

Welcome to Montreal Elixir!

Montreal's community for Elixir, a dynamic, functional language designed for building scalable and maintainable applications.

Monthly Meetup

        Become a member

        Come to a meetup

        Prepare and present a talk

        Watch our meetup presentations

        Sponsor an event

Resources

        View the community playbook

        Follow us on Twitter

        Contribute to this website

        Get help from community members on Slack (#montrealeixir)


Remove analytics

Remove analytics

<!DOCTYPE html>

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="">
  <meta name="author" content="">
  <meta name="csrf-token" content="<%= get_csrf_token() %>">

  <link rel="icon" type="image/png" href="<%= static_path(@conn, "/images/favicon.png") %>" />

  <link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel='stylesheet' type='text/css'>

  <title>Podbaby<%= if assigns[:page_title] do %> - <%= assigns[:page_title] %><% end %> [BETA]</title>

  <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

    <button class="menu-icon" type="button" data-toggle></button>

Menu

<a id="index-link" href="<%= if assigns[:user] do subscriptions_path(@conn, :index) else page_path(@conn, :index) end %>"> Podbaby

        <%= if assigns[:user] do %>
        <%= active_link(@conn, raw(" My podcasts"), to: subscriptions_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw(" Bookmarks"), to: bookmarks_path(@conn, :index), wrap_tag: :li) %>
        <% end %>
        <%= active_link(@conn, raw(" New releases"), to: episodes_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw(" Discover"), to: podcasts_path(@conn, :index), wrap_tag: :li) %>
        <%= active_link(@conn, raw(" Browse"), to: categories_path(@conn, :index), wrap_tag: :li) %>
        <%= if assigns[:is_admin] do %>
        <%= active_link(@conn, raw(" Add new"), to: admin_podcasts_path(@conn, :new), wrap_tag: :li) %>
        <% end %>

      <%= if assigns[:user] do %>

          <%= assigns[:user].name %>

<%= link(raw(" Change email"), to: auth_path(@conn, :change_email)) %>

<%= link(raw(" Change password"), to: auth_path(@conn, :change_password)) %>

<%= link(raw(" Sign out"), to: auth_path(@conn, :logout)) %>

<%= link(raw(" Change email"), to: auth_path(@conn, :change_email)) %>

<%= link(raw(" Change password"), to: auth_path(@conn, :change_password)) %>

<%= link(raw(" Sign out"), to: auth_path(@conn, :logout)) %>

      <% else %>

        <%= active_link(@conn, raw(" Login"), to: login_url(@conn), wrap_tag: :li, active: ~r/\/login*/) %>
        <%= active_link(@conn, raw(" Signup"), to: auth_path(@conn, :signup,  next: @conn.request_path), wrap_tag: :li, active: ~r/\/signup*/) %>

      <% end %>

    <%= if msg = get_flash(@conn, :info) do %>

<%= msg %>

    <% end %>
    <%= if msg = get_flash(@conn, :warning) do %>

<%= msg %>

    <% end %>
    <%= if msg = get_flash(@conn, :error) do %>

<%= msg %>

    <% end %>
    <%= if msg = get_flash(@conn, :success) do %>

<%= msg %>

    <% end %>

    <%= render @view_module, @view_template, assigns %>


Improve 404 page

Improve 404 page

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Not Found</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
    <link rel="shortcut icon" href="<%= static_path(@conn, "/images/favicon.png") %>">

404 Not Found

This page doesn't exist. Sorry!


updating layout

updating layout

<!DOCTYPE html>

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="">
  <meta name="author" content="">
  <title>Glasnost: <%= naive_translate("head title", @conn.assigns[:lang])%></title>
  <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
  <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.9/semantic.min.css"></link>

          <img class="logo" src="/images/<%=naive_image_chooser("logo", @conn.assigns[:lang])%>">

        <%=naive_translate("home", @conn.assigns[:lang])%>

        <a href="/authors/<%=@conn.assigns[:about_blog_author]%>/<%=@conn.assigns[:about_blog_permlink]%>" class="item"><%=naive_translate("about", @conn.assigns[:lang])%>
        <a href="<%=if @conn.assigns[:lang] == "ru", do: "https://golos.io", else: "https://steemit.com"%>" class="item"><%=naive_translate("about_steemlike_chain", @conn.assigns[:lang])%>

        <%= if get_flash(@conn, :info) do %>

<%= get_flash(@conn, :info) %>

        <% end %>
        <%= if get_flash(@conn, :error) do %>

<%= get_flash(@conn, :error) %>

        <% end %>

      <%= render @view_module, @view_template, assigns %>


Make commit hashes monospaced

Make commit hashes monospaced

    <a href="<%= Confex.fetch_env!(:bors, :html_github_root) %>/<%= @project.name %>/">
      <%= @project.name %>

  Pull requests
  <%= if @mode == :rw do %>
  <%= link "History", to: project_path(@conn, :log, @project), class: "tab" %>
  <%= link "Settings", to: project_path(@conn, :settings, @project), class: "tab" %>
  <% end %>

<%= if empty?(@unbatched_patches) and empty?(@batches) do %>
  Nothing to see here
<% else %>

<%= for batch <- @batches do %>

      <a href="../batches/<%= batch.id %>">Batch <%= batch.id %>

        <%= stringify_state batch.state %>
        <%= Enum.count(batch.patches) %>

#	Mergeable	Title	Priority	Commit

  <%= for patch <- batch.patches do %>

        <%= patch.pr_xref %>

      <td class=span--<%= if patch.is_mergeable do %>ok<% else %>error<% end %> aria-label="<%= if patch.is_mergeable do %><%= if patch.is_draft do %>Draft<% else %>Yes<% end %><% else %>No<% end %>" title="<%= if patch.is_mergeable do %><%= if patch.is_draft do %>Draft<% else %>Yes<% end %><% else %>No<% end %>">
        <%= if patch.is_mergeable do %>
            <%= if patch.is_draft do %>
            ✎ Draft
            <% else %>
            ✓ Yes
            <% end %>
        <% else %>
            ⚠ No
        <% end %>

        <a href="<%= Confex.fetch_env!(:bors, :html_github_root) %>/<%= @project.name %>/pull/<%= patch.pr_xref %>">
          <%= patch.title %>

        <%= patch.priority %>
        <%= if patch.is_single do %>S<% end %>

        <%= truncate_commit(patch.commit) %>

  <% end %>

<% end %>
<%= if @unbatched_patches != [] do %>

        Awaiting review
        <%= Enum.count(@unbatched_patches) %>

#	Mergeable	Title	Priority	Commit

  <%= for patch <- @unbatched_patches do %>

        <%= patch.pr_xref %>

      <td class=span--<%= if patch.is_mergeable do %>ok<% else %>error<% end %> aria-label="<%= if patch.is_mergeable do %><%= if patch.is_draft do %>Draft<% else %>Yes<% end %><% else %>No<% end %>" title="<%= if patch.is_mergeable do %><%= if patch.is_draft do %>Draft<% else %>Yes<% end %><% else %>No<% end %>">
        <%= if patch.is_mergeable do %>
            <%= if patch.is_draft do %>
            ✎ Draft
            <% else %>
            ✓ Yes
            <% end %>
        <% else %>
            ⚠ No
        <% end %>

        <a href="<%= Confex.fetch_env!(:bors, :html_github_root) %>/<%= @project.name %>/pull/<%= patch.pr_xref %>">
          <%= patch.title %>

        <%= patch.priority %>
        <%= if patch.is_single do %>S<% end %>

        <%= truncate_commit(patch.commit) %>

  <% end %>

<% end %>

<% end %>

<%= if @mode == :rw do %>

<%= if @is_synchronizing do %>
  Synchronizing...
<% else %>
  <%= link "Sync pull requests", to: project_path(@conn, :synchronize, @project), method: :put, class: "toolbar-item" %>
<% end %>
<%= if @batches != [] do %>
  <%= link "Cancel all", to: project_path(@conn, :cancel_all, @project), method: :delete, class: "toolbar-item toolbar-item--remove", data: [confirm: "Commenting `bors r-` on a PR will cancel just the one. You asked to cancel all of them, which is a PITA to undo.\n\nAre you sure you want to cancel all running and waiting pull requests?"] %>
<% end %>

<% end %>