Improve wording

Improve wording

  <%= link "New event", to: account_event_path(@conn, :new), class: "btn btn-success" %>

    <a class="nav-link<%= if(!@conn.params["active_tab"], do: " active") %>" data-toggle="tab" href="#owner" role="tab">Own events (<%= length(@owner_memberships) %>)

    <a class="nav-link<%= if(@conn.params["active_tab"] == "open_invitations", do: " active") %>" data-toggle="tab" href="#open_invitations" role="tab">Open invitations (<%= length(@open_invitations) %>)

    <a class="nav-link<%= if(!@conn.params["active_tab"] == "attendee", do: " active") %>" data-toggle="tab" href="#attendee" role="tab">My participations (<%= length(@memberships) %>)

  <div class="tab-pane table-responsive<%= if(!@conn.params["active_tab"], do: " active") %>" id="owner" role="tabpanel">
    <%= render "_memberships.html", conn: @conn, memberships: @owner_memberships %>

  <div class="tab-pane table-responsive<%= if(@conn.params["active_tab"] == "open_invitations", do: " active") %>" id="open_invitations" role="tabpanel">
    <%= render "_open_invitations.html", conn: @conn, open_invitations: @open_invitations %>

  <div class="tab-pane table-responsive<%= if(@conn.params["active_tab"] == "attendee", do: " active") %>" id="attendee" role="tabpanel">
    <%= render "_memberships.html", conn: @conn, memberships: @memberships %>

  <%= link "New event", to: account_event_path(@conn, :new), class: "btn btn-success" %>

    <a class="nav-link<%= if(!@conn.params["active_tab"], do: " active") %>" data-toggle="tab" href="#owner" role="tab">Own events (<%= length(@owner_memberships) %>)

    <a class="nav-link<%= if(@conn.params["active_tab"] == "open_invitations", do: " active") %>" data-toggle="tab" href="#open_invitations" role="tab">Open invitations (<%= length(@open_invitations) %>)

    <a class="nav-link<%= if(!@conn.params["active_tab"] == "attendee", do: " active") %>" data-toggle="tab" href="#attendee" role="tab">Event attendee (<%= length(@memberships) %>)

  <div class="tab-pane table-responsive<%= if(!@conn.params["active_tab"], do: " active") %>" id="owner" role="tabpanel">
    <%= render "_memberships.html", conn: @conn, memberships: @owner_memberships %>

  <div class="tab-pane table-responsive<%= if(@conn.params["active_tab"] == "open_invitations", do: " active") %>" id="open_invitations" role="tabpanel">
    <%= render "_open_invitations.html", conn: @conn, open_invitations: @open_invitations %>

  <div class="tab-pane table-responsive<%= if(@conn.params["active_tab"] == "attendee", do: " active") %>" id="attendee" role="tabpanel">
    <%= render "_memberships.html", conn: @conn, memberships: @memberships %>


fix pt_BR language

fix pt_BR language

<!DOCTYPE>

<meta charset="utf-8">
	<title>NEOSCAN | <%= get_page(@conn) %></title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="format-detection" content="telephone=no"/>
	<meta name="mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<link rel="shortcut icon" href="<%= static_path(@conn, "/favicon.ico") %>">

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

	<meta property="og:title" content="NeoScan - NEO Blockchain Explorer" />
	<meta property="og:url" content="[neoscan.io]" />
	<meta property="og:type" content="website" />
	<meta property="og:description" content="A blockchain explorer for the NEO project. Track blocks, addresses, balances, transactions, NEO, GAS and other assets on the platform." />
	<meta property="og:image" content="<%= static_path(@conn, "/images/coz.png") %>" />

	<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i,700,700i|Teko:300,500" rel="stylesheet">

			<button class="hamburger hamburger--spin" type="button">

			</button>

<%= get_lang_text(@conn) %>

          <li value="en" class="<%= if get_language(@conn) == "en" do %>active-lang<% end %>">English

          <li value="nl" class="<%= if get_language(@conn) == "nl" do %>active-lang<% end %>">Nederlands

          <li value="de" class="<%= if get_language(@conn) == "de" do %>active-lang<% end %>">Deutsch

          <li value="fr" class="<%= if get_language(@conn) == "fr" do %>active-lang<% end %>">Français

          <li value="it" class="<%= if get_language(@conn) == "it" do %>active-lang<% end %>">Italiano

          <li value="pt_BR" class="<%= if get_language(@conn) == "pt_BR" do %>active-lang<% end %>">Português

          <li value="ro" class="<%= if get_language(@conn) == "ro" do %>active-lang<% end %>">Română

          <li value="ru" class="<%= if get_language(@conn) == "ru" do %>active-lang<% end %>">Русский

          <li value="zh" class="<%= if get_language(@conn) == "zh" do %>active-lang<% end %>">中文

          <li value="ja" class="<%= if get_language(@conn) == "ja" do %>active-lang<% end %>">日本語

          <img src="<%= static_path(@conn, "/images/NEOSCAN_Logo.svg") %>" alt="<%= gettext "NEOSCAN Home" %>" title="<%= gettext "NEOSCAN Home" %>" width="163px" height="32px" class="neoscan-logo" />

      <%= form_for @conn, home_path(@conn, :index), [as: :search], fn f -> %>
        <%= text_input f, :for,placeholder: gettext("Block Height, Hash, Address or Transaction id"),class: "searchbar fa fa-search", type: "search" %>
				<%= submit "", [class: "icon search-btn fa fa-search"]  %>
        <%= error_tag f, :for %>
      <% end %>

						<a href="<%= home_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_home_path(@conn), do: " active" %>"><%= gettext "Explorer" %>

						<a href="<%= transactions_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_transactions_path(@conn), do: " active" %>"><%= gettext "Transactions" %>

						<a href="<%= addresses_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_addresses_path(@conn), do: " active" %>"><%= gettext "Wallet Addresses" %>

						<a href="<%= blocks_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_blocks_path(@conn), do: " active" %>"><%= gettext "Blocks" %>

						<a href="<%= doc_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_doc_path(@conn), do: " active" %>"><%= gettext "API" %>

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

					<img src="<%= static_path(@conn, "/images/NEOSCAN_Logo.svg") %>" alt="NEOSCAN Home" title="NEOSCAN Home" class="neoscan-logo-footer" width="136px" height="27px" />

<%= gettext "The source code is" %> <a href="http://opensource.org/licenses/mit-license.php" alt="<%= gettext "View MIT License"%>" title="<%= gettext "View MIT License"%>" class="large-blue-link"><%= gettext "licensed" %> MIT

<%= gettext "The website content is licensed" %> CC ANS 4.0

<a href="https://neoscan-testnet.io/" alt="<%= gettext "NEOSCAN Testnet"%>" title="<%= gettext "NEOSCAN Testnet"%>" class="large-blue-link"><%= gettext "NEOSCAN Testnet" %>

© 2017 <a href="http://cityofzion.io/" alt="<%= gettext "Visit City of Zion"%>" title="<%= gettext "Visit City of Zion"%>" class="large-blue-link"><%= gettext "City Of Zion" %>

						<a href="https://discord.gg/Md676aR" alt="<%= gettext "NEO Discord"%>" title="<%= gettext "NEO Discord"%>" class="coz-discord"><%= gettext "NEO Discord" %>

						<a href="https://github.com/CityOfZion" alt="<%= gettext "City of Zion Github" %>" title="<%= gettext "City of Zion Github" %>" class="coz-github"><%= gettext "City of Zion Github" %>

						<a href="<%= doc_path(@conn, :index) %>" alt="<%= gettext "NEOSCAN API" %>" title="<%= gettext "NEOSCAN API" %>" class="coz-api"><%= gettext "NEOSCAN API" %>

              <%= if get_tooltips(@conn) == "on" do %><%= gettext "Tooltips On " %><% end %>
              <%= if get_tooltips(@conn) == "off" do %><%= gettext "Tooltips Off " %><% end %>

<!DOCTYPE>

<meta charset="utf-8">
	<title>NEOSCAN | <%= get_page(@conn) %></title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="format-detection" content="telephone=no"/>
	<meta name="mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<link rel="shortcut icon" href="<%= static_path(@conn, "/favicon.ico") %>">

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

	<meta property="og:title" content="NeoScan - NEO Blockchain Explorer" />
	<meta property="og:url" content="[neoscan.io]" />
	<meta property="og:type" content="website" />
	<meta property="og:description" content="A blockchain explorer for the NEO project. Track blocks, addresses, balances, transactions, NEO, GAS and other assets on the platform." />
	<meta property="og:image" content="<%= static_path(@conn, "/images/coz.png") %>" />

	<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i,700,700i|Teko:300,500" rel="stylesheet">

			<button class="hamburger hamburger--spin" type="button">

			</button>

<%= get_lang_text(@conn) %>

          <li value="en" class="<%= if get_language(@conn) == "en" do %>active-lang<% end %>">English

          <li value="nl" class="<%= if get_language(@conn) == "nl" do %>active-lang<% end %>">Nederlands

          <li value="de" class="<%= if get_language(@conn) == "de" do %>active-lang<% end %>">Deutsch

          <li value="fr" class="<%= if get_language(@conn) == "fr" do %>active-lang<% end %>">Français

          <li value="it" class="<%= if get_language(@conn) == "it" do %>active-lang<% end %>">Italiano

          <li value="pt_BR" class="<%= if get_language(@conn) == "pt-br" do %>active-lang<% end %>">Português

          <li value="ro" class="<%= if get_language(@conn) == "ro" do %>active-lang<% end %>">Română

          <li value="ru" class="<%= if get_language(@conn) == "ru" do %>active-lang<% end %>">Русский

          <li value="zh" class="<%= if get_language(@conn) == "zh" do %>active-lang<% end %>">中文

          <li value="ja" class="<%= if get_language(@conn) == "jp" do %>active-lang<% end %>">日本語

          <img src="<%= static_path(@conn, "/images/NEOSCAN_Logo.svg") %>" alt="<%= gettext "NEOSCAN Home" %>" title="<%= gettext "NEOSCAN Home" %>" width="163px" height="32px" class="neoscan-logo" />

      <%= form_for @conn, home_path(@conn, :index), [as: :search], fn f -> %>
        <%= text_input f, :for,placeholder: gettext("Block Height, Hash, Address or Transaction id"),class: "searchbar fa fa-search", type: "search" %>
				<%= submit "", [class: "icon search-btn fa fa-search"]  %>
        <%= error_tag f, :for %>
      <% end %>

						<a href="<%= home_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_home_path(@conn), do: " active" %>"><%= gettext "Explorer" %>

						<a href="<%= transactions_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_transactions_path(@conn), do: " active" %>"><%= gettext "Transactions" %>

						<a href="<%= addresses_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_addresses_path(@conn), do: " active" %>"><%= gettext "Wallet Addresses" %>

						<a href="<%= blocks_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_blocks_path(@conn), do: " active" %>"><%= gettext "Blocks" %>

						<a href="<%= doc_path(@conn, :index) %>" alt="Explorer" title="Explorer" class="nav-link <%= if is_doc_path(@conn), do: " active" %>"><%= gettext "API" %>

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

					<img src="<%= static_path(@conn, "/images/NEOSCAN_Logo.svg") %>" alt="NEOSCAN Home" title="NEOSCAN Home" class="neoscan-logo-footer" width="136px" height="27px" />

<%= gettext "The source code is" %> <a href="http://opensource.org/licenses/mit-license.php" alt="<%= gettext "View MIT License"%>" title="<%= gettext "View MIT License"%>" class="large-blue-link"><%= gettext "licensed" %> MIT

<%= gettext "The website content is licensed" %> CC ANS 4.0

<a href="https://neoscan-testnet.io/" alt="<%= gettext "NEOSCAN Testnet"%>" title="<%= gettext "NEOSCAN Testnet"%>" class="large-blue-link"><%= gettext "NEOSCAN Testnet" %>

© 2017 <a href="http://cityofzion.io/" alt="<%= gettext "Visit City of Zion"%>" title="<%= gettext "Visit City of Zion"%>" class="large-blue-link"><%= gettext "City Of Zion" %>

						<a href="https://discord.gg/Md676aR" alt="<%= gettext "NEO Discord"%>" title="<%= gettext "NEO Discord"%>" class="coz-discord"><%= gettext "NEO Discord" %>

						<a href="https://github.com/CityOfZion" alt="<%= gettext "City of Zion Github" %>" title="<%= gettext "City of Zion Github" %>" class="coz-github"><%= gettext "City of Zion Github" %>

						<a href="<%= doc_path(@conn, :index) %>" alt="<%= gettext "NEOSCAN API" %>" title="<%= gettext "NEOSCAN API" %>" class="coz-api"><%= gettext "NEOSCAN API" %>

              <%= if get_tooltips(@conn) == "on" do %><%= gettext "Tooltips On " %><% end %>
              <%= if get_tooltips(@conn) == "off" do %><%= gettext "Tooltips Off " %><% end %>


adding buttons to board list UI

adding buttons to board list UI

also turned into a table from a list.

  Welcome,
  <%= if String.length(@user[:first]) > 0 do %>
    <%= @user[:first] %>!
  <% else %>
    <%= @user[:email] %>!
  <% end %>

        Whiteboards are ephemeral. There is no guarantee that they'll
        stick around for long periods of time. If they go away, that's
        why.

        Future versions of Whiteboard will not have this limitation.

Boards

    <%= if length(@whiteboards) == 0 do %>

          You have no boards configured.
          Create one using the form on the right →

    <% else %>

          Name

      <%= Enum.map @whiteboards, fn(whiteboard) -> %>

            <a href="/whiteboards/<%= whiteboard[:key] %>" target="_blank">
              <%= whiteboard[:name] %>

            <button type="button" class="pull-right btn btn-default btn-xs">
               Invite
            </button>

            <button type="button" class="pull-right btn btn-danger btn-xs">

            </button>

      <% end %>

    <% end %>

Create Board

    <%= render "create_board_form.html" %>

  Welcome,
  <%= if String.length(@user[:first]) > 0 do %>
    <%= @user[:first] %>!
  <% else %>
    <%= @user[:email] %>!
  <% end %>

        Whiteboards are ephemeral. There is no guarantee that they'll
        stick around for long periods of time. If they go away, that's
        why.

        Future versions of Whiteboard will not have this limitation.

Boards

    <%= if length(@whiteboards) == 0 do %>

          You have no boards configured.
          Create one using the form on the right →

    <% else %>

      <%= Enum.map @whiteboards, fn(whiteboard) -> %>

          <a href="/whiteboards/<%= whiteboard[:key] %>" target="_blank">
            <%= whiteboard[:name] %>

      <% end %>

    <% end %>

Create Board

    <%= render "create_board_form.html" %>


Style open contests on registration page

<%= gettext("Registration") %>

  <%= gettext("Here you can register for your local \"Jugend musiziert\" contest.") %>

      <%= for contest <- @contests do %>

          <%= link name_with_flag(contest),
            to: performance_path(@conn, :new, contest)
            %>

      <% end %>

  <%= gettext("Already registered?") %>

<%= link gettext("Edit your registration"),
  to: page_path(@conn, :edit_registration),
  class: "btn btn-default" %>


Prettier buttons

Prettier buttons

  Door Group: <%= @door_group.name %>
  <%= link "Edit", to: door_group_path(@conn, :edit, @door_group), class: "btn btn-default btn-sm", role: "button" %>

Associated Doors

  <%= for door <- @door_group.doors do %>

<%= link door.name, to: door_path(@conn, :show, door) %>

  <% end %>

Companies with access to this group

<%= if length(@door_group.companies) > 0 do %>

    <%= for company <- @door_group.companies do %>

<%= link company.name, to: company_path(@conn, :show, company) %>

    <% end %>

<% else %>

No companies

<% end %>

Door Group: <%= @door_group.name %>

Associated Doors

  <%= for door <- @door_group.doors do %>

<%= link door.name, to: door_path(@conn, :show, door) %>

  <% end %>

Companies with access to this group

<%= if length(@door_group.companies) > 0 do %>

    <%= for company <- @door_group.companies do %>

<%= link company.name, to: company_path(@conn, :show, company) %>

    <% end %>

<% else %>

No companies

<% end %>

<%= link "Edit", to: door_group_path(@conn, :edit, @door_group) %>
<%= link "Back", to: door_group_path(@conn, :index) %>


Don't allow guests to see edit/delete

Don't allow guests to see edit/delete

Remove edit/delete buttons for guests in posts.

<%= @post.title %>

  <%= @post.content %>

      <%= @post.user.nickname %>

      Published at <%= @post.publish_date %>

    <%= if signed_in?(@conn) do %>
      <%= link "Edit", to: post_path(@conn, :edit, @post), class: "link-button" %>
      <%= link "Delete", to: post_path(@conn, :delete, @post),
          method: :delete, data: [confirm: "Are you sure?"], class: "link-button" %>
    <% end %>

<%= link "Back", to: post_path(@conn, :index), class: "link-button" %>

<%= @post.title %>

  <%= @post.content %>

    <%= @post.user.nickname %>

    Published at <%= @post.publish_date %>

      <%= link "Edit", to: post_path(@conn, :edit, @post), class: "link-button" %>

<%= link "Back", to: post_path(@conn, :index), class: "link-button" %>


make engagement fully administrable

make engagement fully administrable

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

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

  <% end %>

    <%= label f, :from, class: "control-label" %>
    <%= date_select f, :from, class: "form-control" %>
    <%= error_tag f, :from %>

    <%= label f, :until, class: "control-label" %>
    <%= date_select f, :until, class: "form-control" %>
    <%= error_tag f, :until %>

    <%= label f, :comment, class: "control-label" %>
    <%= text_input f, :comment, class: "form-control" %>
    <%= error_tag f, :comment %>

    <%= label f, :role, class: "control-label" %>
    <%= text_input f, :role, class: "form-control" %>
    <%= error_tag f, :role %>

    <%= label f, :persona_id, class: "control-label" %>
    <%= text_input f, :persona_id, class: "form-control" %>
    <%= error_tag f, :persona_id %>

    <%= label f, :podcast_id, class: "control-label" %>
    <%= text_input f, :podcast_id, class: "form-control" %>
    <%= error_tag f, :podcast_id %>

    <%= 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 %>

    <%= label f, :from, class: "control-label" %>
    <%= date_select f, :from, class: "form-control" %>
    <%= error_tag f, :from %>

    <%= label f, :until, class: "control-label" %>
    <%= date_select f, :until, class: "form-control" %>
    <%= error_tag f, :until %>

    <%= label f, :comment, class: "control-label" %>
    <%= text_input f, :comment, class: "form-control" %>
    <%= error_tag f, :comment %>

    <%= label f, :role, class: "control-label" %>
    <%= text_input f, :role, class: "form-control" %>
    <%= error_tag f, :role %>

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

<% end %>


Apparently GitHub is spelt with a capital H

<!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="An elixir regular expression editor & tester">
    <meta name="author" content="Louis Pilfold">

    <title>Elixre - An Elixir regular expression editor & tester</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/main.css") %>">

Elixre

An Elixir regular expression editor & tester

      <%= @inner %>

        Elixre is

        Free software, available under the
        GNU
          AGPL3 licence.

        The source code is freely available on
        GitHub.
        (Contributions welcome!)

        Copyright © 2015
        Louis Pilfold. All Rights
        Reserved.

<!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="An elixir regular expression editor & tester">
    <meta name="author" content="Louis Pilfold">

    <title>Elixre - An Elixir regular expression editor & tester</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/main.css") %>">

Elixre

An Elixir regular expression editor & tester

      <%= @inner %>

        Elixre is

        Free software, available under the
        GNU
          AGPL3 licence.

        The source code is freely available on
        Github.
        (Contributions welcome!)

        Copyright © 2015
        Louis Pilfold. All Rights
        Reserved.


Add padding around faq

Add padding around faq

Frequently Asked Questions

Looks cool, but... what's a retro?

'Retro' is short for retrospective. A retrospective is one of the core Agile ceremonies. Retrospectives are used by teams to reflect on the events of their past iteration, with the aim of identifying where they can improve and generating action items that will help them make those improvements.

Who can use RemoteRetro?

Anyone with a Google account of any kind can enter a retrospective!

My team is entirely colocated. Should we use RemoteRetro?

You certainly could, but we don't recommend it, as there's no substitute for face-to-face communication. Use a whiteboard!

Why is RemoteRetro open source?

The entire software development community stands on the shoulders of giants, and Stride is no exception. We talked it over and were unanimous in our desire to give back to the open source community.

Where can I learn about planned features and updates?

Our backlog resides in GitHub issues, which can be viewed in priority order via the wonderful ZenHub Chrome extension.

How many people should participate in a retro?

Ideally, a retrospective will contain no more than 10 people. Exceed 10, and participants will check out because they feel they can go unnoticed. If you can, keep the numbers low!

How can I submit feedback on my experience?

Users are presented with a survey at the close of their first retro. Additionally, bugs and feature requests can be filed via GitHub issues at https://github.com/stride-nyc/remote_retro/issues/new or via email at remote_retro@stridenyc.com


remove errant userbar

remove errant userbar

          @
          <input id="username" type="text" class="form-control" placeholder="username">

        <input id="message-input" class="form-control" />


disable turbolinks for add new variant button

closes #221

  <%= render SignDict.SharedView, "navigation.html", conn: @conn, current_user: @current_user %>

<%= render SignDict.SharedView, "searchbar.html", conn: @conn, current_user: @current_user, searchbar: assigns[:searchbar] %>

    <video class="so-video--player" playsinline controls loop src="<%= @video.video_url %>" poster="<%= @video.thumbnail_url %>"></video>

<%= @entry.text %>

      <%= if String.length(@entry.description) > 0 do %>

<%= @entry.description %>

      <% end %>

        <a class="resp-sharing-button__link" href="https://facebook.com/sharer/sharer.php?u=<%= URI.encode(@share_url) %>" target="_blank" aria-label="Facebook" rel="noopener">

              <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.77 7.46H14.5v-1.9c0-.9.6-1.1 1-1.1h3V.5h-4.33C10.24.5 9.5 3.44 9.5 5.32v2.15h-3v4h3v12h5v-12h3.85l.42-4z"/></svg>
Facebook

        <a class="resp-sharing-button__link" href="https://twitter.com/intent/tweet/?text=<%= URI.encode(@share_text) %>&url=<%= URI.encode(@share_url) %>" target="_blank" aria-label="Twitter" rel="noopener">

              <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M23.44 4.83c-.8.37-1.5.38-2.22.02.93-.56.98-.96 1.32-2.02-.88.52-1.86.9-2.9 1.1-.82-.88-2-1.43-3.3-1.43-2.5 0-4.55 2.04-4.55 4.54 0 .36.03.7.1 1.04-3.77-.2-7.12-2-9.36-4.75-.4.67-.6 1.45-.6 2.3 0 1.56.8 2.95 2 3.77-.74-.03-1.44-.23-2.05-.57v.06c0 2.2 1.56 4.03 3.64 4.44-.67.2-1.37.2-2.06.08.58 1.8 2.26 3.12 4.25 3.16C5.78 18.1 3.37 18.74 1 18.46c2 1.3 4.4 2.04 6.97 2.04 8.35 0 12.92-6.92 12.92-12.93 0-.2 0-.4-.02-.6.9-.63 1.96-1.22 2.56-2.14z"/></svg>
Twitter

              <%= cond do %>
              <% @current_user == nil -> %>

              <% @voted_video && @video.id == @voted_video.id -> %>
                <%= form_for @conn, vote_path(@conn, :delete, @video), [method: :delete, as: :vote], fn _f -> %>

                    <button type="submit" class="so-voting-box--vote-button so-voting-box--vote-button_selected">
                      <i class="fa fa-chevron-up" aria-label="<%= gettext("Don't vote this video up") %>">
                    </button>

                <% end %>
              <% true -> %>
                <%= form_for @conn, vote_path(@conn, :create, @video), [as: :vote], fn _f -> %>

                    <button type="submit" class="so-voting-box--vote-button">
                      <i class="fa fa-chevron-up" aria-label="<%= gettext("Vote this video up") %>">
                    </button>

                <% end %>
              <% end %>

              <%= @video.vote_count %>

              <%= cond do %>
                <% @current_user == nil -> %>
                  <%= raw gettext("Please login to vote for this video.", login_url: session_path(@conn, :new)) %>
                <% @voted_video && @video.id == @voted_video.id -> %>
                  <%= gettext("You voted for this video. You can remove your vote by clicking on the arrow.") %>
                <% true -> %>
                  <%= gettext("Does this video show the sign you know for this word? If yes, please vote by clicking on the up arrow.") %>
              <% end %>

          <%= link @video.user.name, to: user_path(@conn, :show, @video.user) %>

            <%= gettext("User") %>

          <%= Date.to_string @video.inserted_at %>

            <%= gettext("Date of upload") %>

      <%= if @video.original_href do %>

          <%= gettext("Source:") %>
          <%= link @video.copyright, to: @video.original_href %>

      <% end %>
      <a rel="license" href="http://creativecommons.org/licenses/<%= @video.license %>">
        <img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/<%= @video.license %>/88x31.png" />

<%= gettext("Variations »%{entry}«", entry: @entry.text) %>

          <%= if Enum.count(@videos) > 0 do %>

              <%= for video <- @videos do %>
                <li class="so-video-list--item <%= if video.id == @video.id, do: "so-video-list--item_selected" %>">

                      <a href='<%= entry_video_path(@conn, :show, @entry, video.id) %>' aria-label='<%= gettext("Choose this variant") %>'>
                        <%= img_tag(video.thumbnail_url, class: "o-image", alt: gettext("Thumbnail for Video")) %>

                          <%= gettext("by") %> <%= link video.user.name, to: user_path(@conn, :show, video.user) %>

                          <%= relative_date(video.inserted_at, past_text: gettext("${time} ago")) %>

                          <i class="fa fa-chevron-up so-video-list--details--votes <%= if @voted_video && video.id == @voted_video.id, do: "so-video-list--details--votes_voted" %>" aria-label="Votes for this video">
                          <%= video.vote_count %>

              <% end %>

          <% else %>

              <%= gettext("No other variations") %>

          <% end %>

              <%= gettext("Know another variation for this word? You do? Please help us and record it with your webcam.") %>

            <%= link gettext("Record new video"), to: recorder_path(@conn, :index, @video.entry_id), class: "sc-button sc-button--small", data: [turbolinks: "false"] %>

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

  <%= render SignDict.SharedView, "navigation.html", conn: @conn, current_user: @current_user %>

<%= render SignDict.SharedView, "searchbar.html", conn: @conn, current_user: @current_user, searchbar: assigns[:searchbar] %>

    <video class="so-video--player" playsinline controls loop src="<%= @video.video_url %>" poster="<%= @video.thumbnail_url %>"></video>

<%= @entry.text %>

      <%= if String.length(@entry.description) > 0 do %>

<%= @entry.description %>

      <% end %>

        <a class="resp-sharing-button__link" href="https://facebook.com/sharer/sharer.php?u=<%= URI.encode(@share_url) %>" target="_blank" aria-label="Facebook" rel="noopener">

              <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.77 7.46H14.5v-1.9c0-.9.6-1.1 1-1.1h3V.5h-4.33C10.24.5 9.5 3.44 9.5 5.32v2.15h-3v4h3v12h5v-12h3.85l.42-4z"/></svg>
Facebook

        <a class="resp-sharing-button__link" href="https://twitter.com/intent/tweet/?text=<%= URI.encode(@share_text) %>&url=<%= URI.encode(@share_url) %>" target="_blank" aria-label="Twitter" rel="noopener">

              <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M23.44 4.83c-.8.37-1.5.38-2.22.02.93-.56.98-.96 1.32-2.02-.88.52-1.86.9-2.9 1.1-.82-.88-2-1.43-3.3-1.43-2.5 0-4.55 2.04-4.55 4.54 0 .36.03.7.1 1.04-3.77-.2-7.12-2-9.36-4.75-.4.67-.6 1.45-.6 2.3 0 1.56.8 2.95 2 3.77-.74-.03-1.44-.23-2.05-.57v.06c0 2.2 1.56 4.03 3.64 4.44-.67.2-1.37.2-2.06.08.58 1.8 2.26 3.12 4.25 3.16C5.78 18.1 3.37 18.74 1 18.46c2 1.3 4.4 2.04 6.97 2.04 8.35 0 12.92-6.92 12.92-12.93 0-.2 0-.4-.02-.6.9-.63 1.96-1.22 2.56-2.14z"/></svg>
Twitter

              <%= cond do %>
              <% @current_user == nil -> %>

              <% @voted_video && @video.id == @voted_video.id -> %>
                <%= form_for @conn, vote_path(@conn, :delete, @video), [method: :delete, as: :vote], fn _f -> %>

                    <button type="submit" class="so-voting-box--vote-button so-voting-box--vote-button_selected">
                      <i class="fa fa-chevron-up" aria-label="<%= gettext("Don't vote this video up") %>">
                    </button>

                <% end %>
              <% true -> %>
                <%= form_for @conn, vote_path(@conn, :create, @video), [as: :vote], fn _f -> %>

                    <button type="submit" class="so-voting-box--vote-button">
                      <i class="fa fa-chevron-up" aria-label="<%= gettext("Vote this video up") %>">
                    </button>

                <% end %>
              <% end %>

              <%= @video.vote_count %>

              <%= cond do %>
                <% @current_user == nil -> %>
                  <%= raw gettext("Please login to vote for this video.", login_url: session_path(@conn, :new)) %>
                <% @voted_video && @video.id == @voted_video.id -> %>
                  <%= gettext("You voted for this video. You can remove your vote by clicking on the arrow.") %>
                <% true -> %>
                  <%= gettext("Does this video show the sign you know for this word? If yes, please vote by clicking on the up arrow.") %>
              <% end %>

          <%= link @video.user.name, to: user_path(@conn, :show, @video.user) %>

            <%= gettext("User") %>

          <%= Date.to_string @video.inserted_at %>

            <%= gettext("Date of upload") %>

      <%= if @video.original_href do %>

          <%= gettext("Source:") %>
          <%= link @video.copyright, to: @video.original_href %>

      <% end %>
      <a rel="license" href="http://creativecommons.org/licenses/<%= @video.license %>">
        <img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/<%= @video.license %>/88x31.png" />

<%= gettext("Variations »%{entry}«", entry: @entry.text) %>

          <%= if Enum.count(@videos) > 0 do %>

              <%= for video <- @videos do %>
                <li class="so-video-list--item <%= if video.id == @video.id, do: "so-video-list--item_selected" %>">

                      <a href='<%= entry_video_path(@conn, :show, @entry, video.id) %>' aria-label='<%= gettext("Choose this variant") %>'>
                        <%= img_tag(video.thumbnail_url, class: "o-image", alt: gettext("Thumbnail for Video")) %>

                          <%= gettext("by") %> <%= link video.user.name, to: user_path(@conn, :show, video.user) %>

                          <%= relative_date(video.inserted_at, past_text: gettext("${time} ago")) %>

                          <i class="fa fa-chevron-up so-video-list--details--votes <%= if @voted_video && video.id == @voted_video.id, do: "so-video-list--details--votes_voted" %>" aria-label="Votes for this video">
                          <%= video.vote_count %>

              <% end %>

          <% else %>

              <%= gettext("No other variations") %>

          <% end %>

              <%= gettext("Know another variation for this word? You do? Please help us and record it with your webcam.") %>

            <%= link gettext("Record new video"), to: recorder_path(@conn, :index, @video.entry_id), class: "sc-button sc-button--small" %>

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


Bootstrapize'd the tabular data on the cash_out page.

  <%= @game_night.yyyymmdd %>

    Player

    Chips

    Exact

    $1

<%= for attendee_result <- @game_night.attendee_results do %>

      <%= attendee_result.player.nickname %>

      <%= attendee_result.chips %>

      <%= attendee_result.exact_cents %>

      <%= attendee_result.rounded_cents %>

<% end %>

  <%= @game_night.yyyymmdd %>

attendee_result.player.id

attendee_result.player.nickname

attendee_result.chips

attendee_result.exact_cents

  <%= for attendee_result <- @game_night.attendee_results do %>

<%= attendee_result.player.id %>

<%= attendee_result.player.nickname %>

<%= attendee_result.chips %>

<%= attendee_result.exact_cents %>

  <% end %>


update video url

update video url

<!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="A liquid democracy where anyone can vote on anything.">
		<meta name="author" content="Žan Kusterle">

		<title>Liquio</title>

		<meta property="og:image" content="https://liqu.io/images/logo.png" />
		<meta property="og:description" content="A liquid democracy where anyone can vote on anything." />
		<meta property="og:url" content="https://liqu.io/" />
		<meta property="og:title" content="Liquio" />
		<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png">
		<link rel="icon" type="image/png" href="/icons/favicon-32x32.png" sizes="32x32">
		<link rel="icon" type="image/png" href="/icons/favicon-16x16.png" sizes="16x16">
		<link rel="manifest" href="/icons/manifest.json">
		<link rel="mask-icon" href="/icons/safari-pinned-tab.svg" color="#5bbad5">
		<meta name="theme-color" content="#1f8dd6">

		<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/gpnnencpnfcpdpdfbaefalokcilkkege">

Vote on anything, anywhere on the web.

					<button>Get free extension</button>


Fix broken link to github repository

Fix broken link to github repository

<!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>Überauth Example</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") %>">

              View on GitHub

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

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

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


Simply add bootstrap nav tabs

Simply add bootstrap nav tabs

System

Load Charts

Memory Allocators

Applications

Processes

Table Viewer

Trace Overview


Display fantastic logo

Display fantastic logo

        <img alt="経済実験へようこそ！" src="<%= static_path(@conn, "/assets/logo_front.png") %>" height="300em"/>

        <form method="get" action="/experiment">

            <input type="text" class="form-control input-lg" name="token" placeholder="実験記号">

            実験記号を入力してください。

          <button type="submit" class="btn btn-primary btn-lg btn-block">実験に参加する</button>
        </form>

        <img alt="経済実験へようこそ！" src="<%= static_path(@conn, "/logo_front.png") %>" height="300em"/>

        <form method="get" action="/experiment">

            <input type="text" class="form-control input-lg" name="token" placeholder="実験記号">

            実験記号を入力してください。

          <button type="submit" class="btn btn-primary btn-lg btn-block">実験に参加する</button>
        </form>


tweak homepage text and links

tweak homepage text and links

Enhanced Map

<<%= if @first_map do %>

    <%=link("Here is a sample map with overlay", to: readonly_map_path(@conn, :show, @first_map)) %>"

Want to create your own google map with an overlay?

  <%= link("Log in", to: login_path(@conn, :login)) %>

Or <%= link("Register", to: register_path(@conn, :register)) %>

<% end %>

Enhanced Map

Want to create your own google map with an overly?

  <%= link("Log in", to: login_path(@conn, :login)) %>

Or <%= link("Register", to: register_path(@conn, :register)) %>

<%= if @first_map do %>

    <a href="<%=readonly_map_path(@conn, :show, @first_map)%>">Here is a sample map

<% end %>


Show trainer invitation links of attendees

<%= if has_permission?(current_memberships(@conn), [1, 2]) do %>
  <%= render Classlab.Classroom.InvitationView, "new.html", event: @event, roles: @roles, changeset: @invitation_changeset, conn: @conn %>
<% end %>

        Attendee (<%= length(@memberships) %>)

      <%= if has_permission?(@current_memberships, [1, 2]) do %>

          Open invitations (<%= length(@open_invitations) %>)

      <% end %>

      <%= if length(@memberships) == 0 do %>

No attendees available

          <%= if @event.public do %>

Share your event with others.

            <%= link "Invite people", to: classroom_invitation_path(@conn, :new, @event), class: "btn btn-outline-primary" %>
          <% else %>

Make your event public to reach other poeple.

            <%= link "Make it public", to: classroom_event_path(@conn, :edit, @event), class: "btn btn-outline-primary" %>
          <% end %>

      <% else %>

              User
              Role

            <%= for membership <- @memberships do %>

                <%= membership.user.email %>

                  <%= if has_permission?(current_memberships(@conn), [1, 2]) do %>

                      <%= link "Attendee", to: classroom_membership_path(@conn, :update, @event, membership, role_id: 3), method: :put, class: "btn btn-outline-primary #{if(membership.role.id == 3) do "active" end}" %>
                      <%= link "Trainer", to: classroom_membership_path(@conn, :update, @event, membership, role_id: 2), method: :put, class: "btn btn-outline-primary #{if(membership.role.id == 2) do "active" end}" %>

                  <% else %>
                    <%= membership.role.name %>
                  <% end %>

                  <%= if has_permission?(current_memberships(@conn), [1, 2]) ||membership.user_id == current_user(@conn).id do %>
                    <%= link "Delete", to: classroom_membership_path(@conn, :delete, membership.event, membership), method: :delete, data: [toggle: "modal", target: "baseModal"], class: "btn btn-danger btn-sm" %>
                  <% end %>

            <% end %>

      <% end %>

    <%= if has_permission?(@current_memberships, [1, 2]) do %>

        <%= if length(@open_invitations) == 0 do %>

No open invitations available

Invite others to share your knowledge.

            <%= link "Invite people", to: classroom_invitation_path(@conn, :new, @event), class: "btn btn-outline-primary" %>

        <% else %>

                Email
                Name
                Role

              <%= for invitation <- @open_invitations do %>

                  <%= invitation.email %>
                  <%= invitation.first_name %> <%= invitation.last_name %>

                  <%= if has_permission?(current_memberships(@conn), [1, 2]) do %>

                      <%= link "Attendee", to: classroom_invitation_path(@conn, :update, @event, invitation, role_id: 3), method: :put, class: "btn btn-outline-primary #{if(invitation.role.id == 3) do "active" end}" %>
                      <%= link "Trainer", to: classroom_invitation_path(@conn, :update, @event, invitation, role_id: 2), method: :put, class: "btn btn-outline-primary #{if(invitation.role.id == 2) do "active" end}" %>

                  <% else %>
                    <%= invitation.role.name %>
                  <% end %>

                    <%= if has_permission?(current_memberships(@conn), [1, 2]) do %>
                      <%= link "Cancel invitation", to: classroom_invitation_path(@conn, :delete, @event, invitation), method: :delete, data: [toggle: "modal", target: "baseModal"], class: "btn btn-outline-danger btn-sm" %>

                        <button type="button" class="btn btn-sm btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                          Show link
                        </button>

                          <input onClick="this.select();" value="<%= membership_url(@conn, :new, @event.slug, invitation.invitation_token) %>" class="form-control" />

                    <% end %>

              <% end %>

        <% end %>

    <% end %>

<%= if has_permission?(current_memberships(@conn), [1, 2]) do %>
  <%= render Classlab.Classroom.InvitationView, "new.html", event: @event, roles: @roles, changeset: @invitation_changeset, conn: @conn %>
<% end %>

        Attendee (<%= length(@memberships) %>)

      <%= if has_permission?(@current_memberships, [1, 2]) do %>

          Open invitations (<%= length(@open_invitations) %>)

      <% end %>

      <%= if length(@memberships) == 0 do %>

No attendees available

          <%= if @event.public do %>

Share your event with others.

            <%= link "Invite people", to: classroom_invitation_path(@conn, :new, @event), class: "btn btn-outline-primary" %>
          <% else %>

Make your event public to reach other poeple.

            <%= link "Make it public", to: classroom_event_path(@conn, :edit, @event), class: "btn btn-outline-primary" %>
          <% end %>

      <% else %>

              User
              Role

            <%= for membership <- @memberships do %>

                <%= membership.user.email %>

                  <%= if has_permission?(current_memberships(@conn), [1, 2]) do %>

                      <%= link "Attendee", to: classroom_membership_path(@conn, :update, @event, membership, role_id: 3), method: :put, class: "btn btn-outline-primary #{if(membership.role.id == 3) do "active" end}" %>
                      <%= link "Trainer", to: classroom_membership_path(@conn, :update, @event, membership, role_id: 2), method: :put, class: "btn btn-outline-primary #{if(membership.role.id == 2) do "active" end}" %>

                  <% else %>
                    <%= membership.role.name %>
                  <% end %>

                  <%= if has_permission?(current_memberships(@conn), [1, 2]) ||membership.user_id == current_user(@conn).id do %>
                    <%= link "Delete", to: classroom_membership_path(@conn, :delete, membership.event, membership), method: :delete, data: [toggle: "modal", target: "baseModal"], class: "btn btn-danger btn-sm" %>
                  <% end %>

            <% end %>

      <% end %>

    <%= if has_permission?(@current_memberships, [1, 2]) do %>

        <%= if length(@open_invitations) == 0 do %>

No open invitations available

Invite others to share your knowledge.

            <%= link "Invite people", to: classroom_invitation_path(@conn, :new, @event), class: "btn btn-outline-primary" %>

        <% else %>

                Email
                Name
                Role

              <%= for invitation <- @open_invitations do %>

                  <%= invitation.email %>
                  <%= invitation.first_name %> <%= invitation.last_name %>

                  <%= if has_permission?(current_memberships(@conn), [1, 2]) do %>

                      <%= link "Attendee", to: classroom_invitation_path(@conn, :update, @event, invitation, role_id: 3), method: :put, class: "btn btn-outline-primary #{if(invitation.role.id == 3) do "active" end}" %>
                      <%= link "Trainer", to: classroom_invitation_path(@conn, :update, @event, invitation, role_id: 2), method: :put, class: "btn btn-outline-primary #{if(invitation.role.id == 2) do "active" end}" %>

                  <% else %>
                    <%= invitation.role.name %>
                  <% end %>

                    <%= if has_permission?(current_memberships(@conn), [1, 2]) do %>
                      <%= link "Cancel invitation", to: classroom_invitation_path(@conn, :delete, @event, invitation), method: :delete, data: [toggle: "modal", target: "baseModal"], class: "btn btn-outline-danger btn-sm" %>
                    <% end %>

              <% end %>

        <% end %>

    <% end %>


Implement baseline win32 support

Implement baseline win32 support

:: This batch file handles managing an Erlang node as a Windows service.
::
:: Commands provided:
::
:: * install - install the release as a Windows service
:: * start - start the service and Erlang node
:: * stop - stop the service and Erlang node
:: * restart - run the stop command and start command
:: * uninstall - uninstall the service and kill a running node
:: * ping - check if the node is running
:: * console - start the Erlang release in a `werl` Windows shell
:: * attach - connect to a running node and open an interactive console
:: * list - display a listing of installed Erlang services
:: * usage - display available commands

:: Set variables that describe the release
@set rel_name=<%= release_name %>
@set rel_vsn=<%= release_version %>
@set erts_vsn=<%= erts_vsn %>
@set erl_opts=<%= erl_opts %>

:: Discover the release root directory from the directory
:: of this script
@set script_dir=%~dp0
@for %%A in ("%script_dir%\..\..") do @(
  set release_root_dir=%%~fA
)
@set rel_dir=%release_root_dir%\releases\%rel_vsn%
@echo rel_dir is %rel_dir%

@if "%RELEASE_MUTABLE_DIR%"=="" (
  set mutable_dir=%release_root_dir%\var
) else (
  set mutable_dir=%RELEASE_MUTABLE_DIR
)
::@echo mutable_dir is %mutable_dir%

@if "%RELEASE_CONFIG_DIR%"=="" (
  set config_dir=%release_root_dir%
) else (
  set config_dir=%RELEASE_CONFIG_DIR%
)
::@echo config_dir is %config_dir%

@set log_dir=%mutable_dir%\log
::@echo log_dir is %log_dir%

:: Create directories which don't exist
@if not exist %mutable_dir% mkdir %mutable_dir%
@if not exist %config_dir% mkdir %config_dir%
@if not exist %log_dir% mkdir %log_dir%

@call :find_erts_dir
@call :find_sys_config
@call :find_vm_args
@call :set_boot_script_var

@set service_name=%rel_name%_%rel_vsn%
@set bindir=%erts_dir%\bin
@set progname=erl.exe
@set clean_boot_script=%release_root_dir%\bin\start_clean
@set erlsrv="%bindir%\erlsrv.exe"
@set epmd="%bindir%\epmd.exe"
@set escript="%bindir%\escript.exe"
@set werl="%bindir%\werl.exe"
@set nodetool="%release_root_dir%\bin\nodetool"

:: Extract node type and name from vm.args
@for /f "usebackq tokens=1-2" %%I in (`findstr /b "\-name \-sname" "%vm_args%"`) do @(
  set node_type=%%I
  set node_name=%%J
)

:: Extract cookie from vm.args
@for /f "usebackq tokens=1-2" %%I in (`findstr /b \-setcookie "%vm_args%"`) do @(
  set cookie=%%J
)

:: Write the erl.ini file to set up paths relative to this script
@call :write_ini

:: If a start.boot file is not present, copy one from the named .boot file
@if not exist "%rel_dir%\start.boot" (
  copy "%rel_dir%\%rel_name%.boot" "%rel_dir%\start.boot" >nul
)

@if %1=="install" @goto install
@if %1=="uninstall" @goto uninstall
@if %1=="start" @goto start
@if %1=="stop" @goto stop
@if %1=="restart" @call :stop && @goto start
@if %1=="upgrade" @goto relup
@if %1=="downgrade" @goto relup
@if %1=="console" @goto console
@if %1=="ping" @goto ping
@if %1=="list" @goto list
@if %1=="attach" @goto attach
@if %1=="" @goto usage
@echo Unknown command: %1

@goto :eof

:: Find the ERTS dir
:find_erts_dir
@if "%erts_vsn%"=="" (
  call :use_system_erts
) else (
  call :use_bundled_erts
)
@goto :eof

:: Load system ERTS info
:use_system_erts
@for /f "delims=" %%i in ('where erl') do set system_erl="%%i"
@if %system_erl%=="" (
  echo failed to locate the Erlang Runtime System!
  exit 1
)
@set system_root_dir_cmd=%system_erl% -noshell -eval "io:format(\"~s\", [filename:nativename(code:root_dir())])." -s init stop
@for /f "delims=" %%i in (`%%system_root_dir_cmd%%`) do set system_root=%%i
@set system_erts_vsn_cmd=%system_erl% -noshell -eval "Ver=erlang:system_info(version),io:format(\"~s\", [Ver])" -s init stop
@for /f "delims=" %%i in (`%%system_erts_vsn_cmd%%`) do set system_erts_vsn=%%i
@set erl=%system_erl%
@set erts_vsn=%system_erts_vsn%
@set rootdir=%system_root%
@set erts_dir=%rootdir%\erts-%erts_vsn%
@goto :eof

:: Load bundled ERTS info
:use_bundled_erts
@set erts_dir=%release_root_dir%\erts-%erts_vsn%
@set erl=%erts_dir%\bin\erl
@set rootdir=%release_root_dir%
@goto :eof

:: Find the sys.config file
:find_sys_config
@set possible_sys=%release_config_dir%\sys.config
@if exist %possible_sys% (
  set sys_config_src=%possible_sys%
) else (
  set sys_config_src=%rel_dir%\sys.config
)
@set sys_config_target=%config_dir%\sys.config
:: Replace environment variables
@powershell -command "$content = get-content %sys_config_src%; [regex]::matches($content, '\${[\w\d_-]+}') | foreach { $content = $content.Replace($_.value, [System.Environment]::GetEnvironmentVariable($_.value)) }; out-file -filepath %sys_config_target% -inputobject $content -encoding ascii"
@set sys_config=%sys_config_target%
@goto :eof

:find_vm_args
@set possible_vmargs=%release_config_dir%\vm.args
@if exist %possible_vmargs% (
  set vmargs_src=%possible_vmargs%
) else (
  set vmargs_src=%rel_dir%\vm.args
)
@set vmargs_target=%config_dir%\vm.args
:: Replace environment variables
@powershell -command "$content = get-content %vmargs_src%; [regex]::matches($content, '\${[\w\d_-]+}') | foreach { $content = $content.Replace($_.value, [System.Environment]::GetEnvironmentVariable($_.value)) }; out-file -filepath %vmargs_target% -inputobject $content -encoding ascii"
@set vm_args=%vmargs_target%
@goto :eof

:: set boot_script variable
:set_boot_script_var
@if exist %rel_dir%\%rel_name%.boot (
  set boot_script=%rel_dir%\%rel_name%
) else (
  set boot_script=%rel_dir%\start
)
@goto :eof

:: Write the erl.ini file
:write_ini
@set erl_ini=%erts_dir%\bin\erl.ini
@set converted_bindir=%bindir:\=\\%
@set converted_rootdir=%rootdir:\=\\%
@echo [erlang] > "%erl_ini%"
@echo Bindir=%converted_bindir% >> "%erl_ini%"
@echo Progname=%progname% >> "%erl_ini%"
@echo Rootdir=%converted_rootdir% >> "%erl_ini%"
@goto :eof

:: Display usage information
:usage
@echo usage: %~n0 ^(install^|uninstall^|start^|stop^|restart^|upgrade^|downgrade^|console^|ping^|list^|attach^)
@goto :eof

:: Install the release as a Windows service
:: or install the specified version passed as argument
:install
@set args=%erl_opts% -setcookie %cookie% ++ ^
       -rootdir "%rootdir%" ^
       -reldir "%release_root_dir%\releases"
@echo reldir is %release_root_dir%\releases
@set start_erl=%erts_dir%\bin\start_erl.exe
@set description=Erlang node %node_name% in %rootdir%
@if "" == "%2" (
  :: Install the service
  %erlsrv% add %service_name% ^
            -c "%description%" ^
            %node_type% "%node_name%" ^
            -w "%rootdir%\var" ^
            -m "%start_erl%" ^
            -args "%args%" ^
            -debugtype new ^
            -stopaction "init:stop()."
) else (
  :: relup and reldown
  goto relup
)
@goto :eof

:: Uninstall the Windows service
:uninstall
@%erlsrv% remove %service_name%
@%epmd% -kill
@goto :eof

:: Start the Windows service
:start
@%erlsrv% start %service_name%
@goto :eof

:: Stop the Windows service
:stop
@%erlsrv% stop %service_name%
@goto :eof

:: Relup and reldown
:relup
@if "" == "%2" (
  echo Missing version argument
  echo Usage: %rel_name% %1 {version}
  set ERRORLEVEL=1
  exit /b %ERRORLEVEL%
)
@%escript% "%rootdir%/bin/install_upgrade.escript" "%rel_name%" "%node_name%" "%cookie%" "%2"
@goto :eof

:: Start a console
:console
@start "%rel_name% console" %werl% -boot "%boot_script%" ^
       -config "%sys_config%"  ^
       -args_file "%vm_args%" ^
       -user Elixir.IEx.CLI ^
       -extra --no-halt +iex
@goto :eof

:: Ping the running node
:ping
@%escript% %nodetool% ping %node_type% "%node_name%" -setcookie "%cookie%"
@goto :eof

:: List installed Erlang services
:list
@%erlsrv% list %service_name%
@goto :eof

:: Attach to a running node
:attach
@call :ping
@if %ERRORLEVEL% GEQ 1 exit %ERRORLEVEL%
@set id=remsh%RANDOM%-%node_name%
@start "%node_name% attach" %werl% -hidden -noshell -boot "%clean_boot_script%" ^
       -user Elixir.IEx.CLI %node_type% %id% -setcookie %cookie% ^
       -extra --no-halt +iex -%node_type% %id% --cookie %cookie% --remsh %node_name%
@goto :eof

:: This batch file handles managing an Erlang node as a Windows service.
::
:: Commands provided:
::
:: * install - install the release as a Windows service
:: * start - start the service and Erlang node
:: * stop - stop the service and Erlang node
:: * restart - run the stop command and start command
:: * uninstall - uninstall the service and kill a running node
:: * ping - check if the node is running
:: * console - start the Erlang release in a `werl` Windows shell
:: * attach - connect to a running node and open an interactive console
:: * list - display a listing of installed Erlang services
:: * usage - display available commands

:: Set variables that describe the release
@set rel_name=<%= release_name %>
@set rel_vsn=<%= release_version %>
@set erts_vsn=<%= erts_vsn %>
@set erl_opts=<%= erl_opts %>

:: Discover the release root directory from the directory
:: of this script
@set script_dir=%~dp0
@for %%A in ("%script_dir%\..\..") do @(
  set release_root_dir=%%~fA
)
@set rel_dir=%release_root_dir%\releases\%rel_vsn%
@echo rel_dir is %rel_dir%

@if "%RELEASE_MUTABLE_DIR%"=="" (
  set mutable_dir=%release_root_dir%\var
) else (
  set mutable_dir=%RELEASE_MUTABLE_DIR
)
::@echo mutable_dir is %mutable_dir%

@if "%RELEASE_CONFIG_DIR%"=="" (
  set config_dir=%release_root_dir%
) else (
  set config_dir=%RELEASE_CONFIG_DIR%
)
::@echo config_dir is %config_dir%

@set log_dir=%mutable_dir%\log
::@echo log_dir is %log_dir%

:: Create directories which don't exist
@if not exist %mutable_dir% mkdir %mutable_dir%
@if not exist %config_dir% mkdir %config_dir%
@if not exist %log_dir% mkdir %log_dir%

@call :find_erts_dir
@call :find_sys_config
@call :find_vm_args
@call :set_boot_script_var

@set service_name=%rel_name%_%rel_vsn%
@set bindir=%erts_dir%\bin
@set progname=erl.exe
@set clean_boot_script=%release_root_dir%\bin\start_clean
@set erlsrv="%bindir%\erlsrv.exe"
@set epmd="%bindir%\epmd.exe"
@set escript="%bindir%\escript.exe"
@set werl="%bindir%\werl.exe"
@set nodetool="%release_root_dir%\bin\nodetool"

:: Extract node type and name from vm.args
@for /f "usebackq tokens=1-2" %%I in (`findstr /b "\-name \-sname" "%vm_args%"`) do @(
  set node_type=%%I
  set node_name=%%J
)

:: Extract cookie from vm.args
@for /f "usebackq tokens=1-2" %%I in (`findstr /b \-setcookie "%vm_args%"`) do @(
  set cookie=%%J
)

:: Write the erl.ini file to set up paths relative to this script
@call :write_ini

:: If a start.boot file is not present, copy one from the named .boot file
@if not exist "%rel_dir%\start.boot" (
  copy "%rel_dir%\%rel_name%.boot" "%rel_dir%\start.boot" >nul
)

@if "%1"=="install" @goto install
@if "%1"=="uninstall" @goto uninstall
@if "%1"=="start" @goto start
@if "%1"=="stop" @goto stop
@if "%1"=="restart" @call :stop && @goto start
@if "%1"=="upgrade" @goto relup
@if "%1"=="downgrade" @goto relup
@if "%1"=="console" @goto console
@if "%1"=="ping" @goto ping
@if "%1"=="list" @goto list
@if "%1"=="attach" @goto attach
@if "%1"=="" @goto usage
@echo Unknown command: %1

@goto :eof

:: Find the ERTS dir
:find_erts_dir
@if "%erts_vsn%"=="" (
  call :use_system_erts
) else (
  call :use_bundled_erts
)
@goto :eof

:: Load system ERTS info
:use_system_erts
@for /f "delims=" %%i in ('where erl') do set system_erl="%%i"
@if %system_erl%=="" (
  echo failed to locate the Erlang Runtime System!
  exit 1
)
@set system_root_dir_cmd=%system_erl% -noshell -eval "io:format(\"~s\", [filename:nativename(code:root_dir())])." -s init stop
@for /f "delims=" %%i in (`%%system_root_dir_cmd%%`) do set system_root=%%i
@set system_erts_vsn_cmd=%system_erl% -noshell -eval "Ver=erlang:system_info(version),io:format(\"~s\", [Ver])" -s init stop
@for /f "delims=" %%i in (`%%system_erts_vsn_cmd%%`) do set system_erts_vsn=%%i
@set erl=%system_erl%
@set erts_vsn=%system_erts_vsn%
@set rootdir=%system_root%
@set erts_dir=%rootdir%\erts-%erts_vsn%
@goto :eof

:: Load bundled ERTS info
:use_bundled_erts
@set erts_dir=%release_root_dir%\erts-%erts_vsn%
@set erl=%erts_dir%\bin\erl
@set rootdir=%release_root_dir%
@goto :eof

:: Find the sys.config file
:find_sys_config
@set possible_sys=%release_config_dir%\sys.config
@if exist %possible_sys% (
  set sys_config_src=%possible_sys%
) else (
  set sys_config_src=%rel_dir%\sys.config
)
@set sys_config_target=%config_dir%\sys.config
:: Replace environment variables
@powershell -command "$content = get-content %sys_config_src%; [regex]::matches($content, '\${[\w\d_-]+}') | foreach { $content = $content.Replace($_.value, [System.Environment]::GetEnvironmentVariable($_.value)) }; out-file -filepath %sys_config_target% -inputobject $content -encoding ascii"
@set sys_config=%sys_config_target%
@goto :eof

:find_vm_args
@set possible_vmargs=%release_config_dir%\vm.args
@if exist %possible_vmargs% (
  set vmargs_src=%possible_vmargs%
) else (
  set vmargs_src=%rel_dir%\vm.args
)
@set vmargs_target=%config_dir%\vm.args
:: Replace environment variables
@powershell -command "$content = get-content %vmargs_src%; [regex]::matches($content, '\${[\w\d_-]+}') | foreach { $content = $content.Replace($_.value, [System.Environment]::GetEnvironmentVariable($_.value)) }; out-file -filepath %vmargs_target% -inputobject $content -encoding ascii"
@set vm_args=%vmargs_target%
@goto :eof

:: set boot_script variable
:set_boot_script_var
@if exist %rel_dir%\%rel_name%.boot (
  set boot_script=%rel_dir%\%rel_name%
) else (
  set boot_script=%rel_dir%\start
)
@goto :eof

:: Write the erl.ini file
:write_ini
@set erl_ini=%erts_dir%\bin\erl.ini
@set converted_bindir=%bindir:\=\\%
@set converted_rootdir=%rootdir:\=\\%
@echo [erlang] > "%erl_ini%"
@echo Bindir=%converted_bindir% >> "%erl_ini%"
@echo Progname=%progname% >> "%erl_ini%"
@echo Rootdir=%converted_rootdir% >> "%erl_ini%"
@goto :eof

:: Display usage information
:usage
@echo usage: %~n0 ^(install^|uninstall^|start^|stop^|restart^|upgrade^|downgrade^|console^|ping^|list^|attach^)
@goto :eof

:: Install the release as a Windows service
:: or install the specified version passed as argument
:install
set args=%erl_opts% -setcookie %cookie% ++ -rootdir \"%rootdir%\"
set start_erl=%erts_dir%\bin\start_erl.exe
set description=Erlang node %node_name% in %rootdir%
@if "" == "%2" (
  :: Install the service
  %erlsrv% add %service_name% %node_type% "%node_name%" -c "%description%" ^
            -w "%rootdir%" -m "%start_erl%" -args "%args%" -args_file "%vm_args%" ^
            -stopaction "init:stop()."
) else (
  :: relup and reldown
  goto relup
)
@goto :eof

:: Uninstall the Windows service
:uninstall
@%erlsrv% remove %service_name%
@%epmd% -kill
@goto :eof

:: Start the Windows service
:start
@%erlsrv% start %service_name%
@goto :eof

:: Stop the Windows service
:stop
@%erlsrv% stop %service_name%
@goto :eof

:: Relup and reldown
:relup
@if "" == "%2" (
  echo Missing package argument
  echo Usage: %rel_name% %1 {package base name}
  echo NOTE {package base name} MUST NOT include the .tar.gz suffix
  set ERRORLEVEL=1
  exit /b %ERRORLEVEL%
)
@%escript% "%rootdir%/bin/install_upgrade.escript" "%rel_name%" "%node_name%" "%cookie%" "%2"
@goto :eof

:: Start a console
:console
@start "%rel_name% console" %werl% -boot "%boot_script%" ^
       -config "%sys_config%"  ^
       -args_file "%vm_args%" ^
       -user Elixir.IEx.CLI ^
       -extra --no-halt +iex
@goto :eof

:: Ping the running node
:ping
@%escript% %nodetool% ping %node_type% "%node_name%" -setcookie "%cookie%"
@goto :eof

:: List installed Erlang services
:list
@%erlsrv% list %service_name%
@goto :eof

:: Attach to a running node
:attach
@start "%node_name% attach" %werl% -boot "%clean_boot_script%" ^
       -remsh %node_name% %node_type% console -setcookie %cookie%
@goto :eof


fix logout

fix logout

<!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>Web QA Voting</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

          <%= if Guardian.Plug.current_resource(@conn) do %>

<%= Guardian.Plug.current_resource(@conn).email %>

<%= link("Logout", to: logout_path(@conn, :delete)) %>

          <% else %>

<%= link("Signup", to: user_path(@conn, :new)) %>

<%= link("Login", to: login_path(@conn, :create)) %>

          <% end %>

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

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

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

    <%= if Guardian.Plug.current_resource(@conn) do %>

Guardian Data

Claims

<%= inspect(Guardian.Plug.claims(@conn)) %>

Token

<%= inspect(Guardian.Plug.current_token(@conn)) %>

Resource

<%= inspect(Guardian.Plug.current_resource(@conn)) %>

Pings

    <% 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="description" content="">
    <meta name="author" content="">

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

          <%= if Guardian.Plug.current_resource(@conn) do %>

<%= Guardian.Plug.current_resource(@conn).email %>

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

          <% else %>

<%= link("Signup", to: user_path(@conn, :new)) %>

<%= link("Login", to: login_path(@conn, :create)) %>

          <% end %>

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

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

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

    <%= if Guardian.Plug.current_resource(@conn) do %>

Guardian Data

Claims

<%= inspect(Guardian.Plug.claims(@conn)) %>

Token

<%= inspect(Guardian.Plug.current_token(@conn)) %>

Resource

<%= inspect(Guardian.Plug.current_resource(@conn)) %>

Pings

    <% end %>


add google analytics

add google 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="">

    <title>404finder</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/normalize.css") %>">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/skeleton.css") %>">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

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

JavaScript Required

Sorry about that.


Fire TV Stick ad

Fire TV Stick ad

  <%= gettext("Ad") %>

Fire TV Stick

EUR 24,99

  https://www.amazon.de

  <%= gettext("Ad") %>

AMOOMA GmbH

<%= gettext("Phoenix Framework, Ruby on Rails und WebPerformance Consulting und Training durch das vutuv Entwicklerteam.") %>

  https://www.amooma.de


feat(admin): redesign objects sidebar

feat(admin): redesign objects sidebar

<%= for site <- @object_tree do %>

    <a class="nav-link <%= active_class(@conn, admin_path(@conn, :edit, "sites", site.id)) %>"
       href="<%= admin_path(@conn, :edit, "sites", site.id) %>"
    >
      site → <%= site.name %> (current)

  <%= for object <- site.children do %>

      <a class="nav-link <%= active_class(@conn, admin_path(@conn, :edit, "objects", object.id)) %>"
         href="<%= admin_path(@conn, :edit, "objects", object.id) %>"
      >
        <%= object.full_path %> (current)

  <% end %>

<% end %>

<%= for site <- @object_tree do %>

    <a class="nav-link <%= active_class(@conn, admin_path(@conn, :edit, "sites", site.id)) %>"
       href="<%= admin_path(@conn, :edit, "sites", site.id) %>"
    >
      <%= site.name %> (current)

      <%= for object <- site.children do %>

          <a class="nav-link <%= active_class(@conn, admin_path(@conn, :edit, "objects", object.id)) %>"
             href="<%= admin_path(@conn, :edit, "objects", object.id) %>"
          >
            <%= object.full_path %> (current)

      <% end %>

<% end %>


0.1 MB is enough detail and easier to read

    <%= fa_icon("podcast") %> <%= link @episode.podcast.title, to: podcast_frontend_path(@conn, :show, @episode.podcast), style: "color: #fff" %> /
    <%= fa_icon("headphones") %> <%= @episode.title %>

<%= @episode.subtitle %>

Author

<%= @episode.author %>

          <%= if @episode.payment_link_url do %>

Support

<%= link @episode.payment_link_title, to: @episode.payment_link_url %>

          <% end %>

Duration

<%= @episode.duration %>

Publishing date

<%= @episode.publishing_date %>

Link

<a href="<%= @episode.link %>"><%= @episode.link %>

Deep link

<a href="<%= @episode.deep_link %>"><%= @episode.deep_link %>

Contributors

          <%= for {gig, index} <- Enum.with_index(@episode.gigs) do %>

              <%= link [fa_icon("user-o"), " ", gig.persona.name],
                       to: persona_frontend_path(@conn, :show, gig.persona),
                       class: "btn btn-xs truncate " <> btn_cycle(index) %>
              <%= gig.role %>

          <% end %>

Enclosures

          <%= for enclosure <- @episode.enclosures do %>

<%= enclosure.type %>

              <%= link String.split(enclosure.url, "/") |> List.last, to: enclosure.url %>
              (<%= Float.round(String.to_integer(enclosure.length) / 1048576, 1) %> MB)

          <% end %>

    <%= if @current_user do %>
      <%= like_or_unlike(@current_user.id, @episode.id) %>
    <% end %>

    <%= render "_recommend_form.html",
               current_user: @current_user,
               changeset: @changeset,
               conn: @conn,
               episode: @episode %>

    <%= if @episode.description do %>

Description

<%= truncate(HtmlSanitizeEx.strip_tags(@episode.description), 1000) %>

    <% end %>

    <%= if @episode.summary && @episode.summary != @episode.description do %>

Summary

<%= truncate(@episode.summary, 1000) %>

    <% end %>

    <%= fa_icon("podcast") %> <%= link @episode.podcast.title, to: podcast_frontend_path(@conn, :show, @episode.podcast), style: "color: #fff" %> /
    <%= fa_icon("headphones") %> <%= @episode.title %>

<%= @episode.subtitle %>

Author

<%= @episode.author %>

          <%= if @episode.payment_link_url do %>

Support

<%= link @episode.payment_link_title, to: @episode.payment_link_url %>

          <% end %>

Duration

<%= @episode.duration %>

Publishing date

<%= @episode.publishing_date %>

Link

<a href="<%= @episode.link %>"><%= @episode.link %>

Deep link

<a href="<%= @episode.deep_link %>"><%= @episode.deep_link %>

Contributors

          <%= for {gig, index} <- Enum.with_index(@episode.gigs) do %>

              <%= link [fa_icon("user-o"), " ", gig.persona.name],
                       to: persona_frontend_path(@conn, :show, gig.persona),
                       class: "btn btn-xs truncate " <> btn_cycle(index) %>
              <%= gig.role %>

          <% end %>

Enclosures

          <%= for enclosure <- @episode.enclosures do %>

<%= enclosure.type %>

              <%= link String.split(enclosure.url, "/") |> List.last, to: enclosure.url %>
              (<%= round(String.to_integer(enclosure.length) / 1024) %> kB)

          <% end %>

    <%= if @current_user do %>
      <%= like_or_unlike(@current_user.id, @episode.id) %>
    <% end %>

    <%= render "_recommend_form.html",
               current_user: @current_user,
               changeset: @changeset,
               conn: @conn,
               episode: @episode %>

    <%= if @episode.description do %>

Description

<%= truncate(HtmlSanitizeEx.strip_tags(@episode.description), 1000) %>

    <% end %>

    <%= if @episode.summary && @episode.summary != @episode.description do %>

Summary

<%= truncate(@episode.summary, 1000) %>

    <% end %>


Fix login title

Fix login title

Cobalt

Channels

development

demo

lobby

notifications

Demo channel

          This is an activity

      <textarea placeholder="Message..."></textarea>

Users in channel

HashNuke

ericmj


Moves up Followers and Following in users#show

      <img src="<%= Vutuv.Avatar.binary(@user, :medium) %>">

        <%= full_name(@user) %>
        <%= if same_user?(@user, @current_user) do %>
        <%= link to: user_path(@conn, :edit, @user), class: "profile-header__edit button button--icon button--small" do %>

        <% end %>
        <% end %>

        <%= current_title(@job) %>
        <%= if(@organization != "" and @organization) do %>
          @ <%= @organization %>
        <% end %>

        <%= if(@follower_count>0) do %>

<%= String.capitalize(@user.first_name) %> has<%= @follower_count %> followers

        <% end %>
        <%= if(!same_user?(@current_user, @user)) do %>
          <%= if user_follows_user?(@current_user, @user) do %>
            <%= link to: connection_path(@conn, :delete, user_follows_user?(@current_user, @user)), method: :delete , class: "button" do %>
               Unfollow
            <% end %>
          <%= else %>
            <%= link to: connection_path(@conn, :create, connection: %{follower_id: @current_user.id, followee_id: @user.id}), method: :post , class: "button" do %>
               Follow
            <% end %>
          <% end %>
        <% end %>

<%= render Vutuv.LayoutView, "flash.html", assigns %>

  Users / <%= full_name @user %>

    <%= if same_user?(@user, @current_user) do %>
      <%= link to: user_path(@conn, :edit, @user), class: "card__edit button button--icon button--small" do %>

      <% end %>
      <% end %>

Headline

<%= @user.headline %>

      <%= if(@user.gender != "other" && @user.gender) do %>

Gender

<%= @user.gender %>

      <% end %>
      <%= if(@user.birthdate) do %>

Birthday

<%= @user.birthdate %>

      <% end %>

    <%= render Vutuv.SharedView, "_ad.html" %>

      <%= if same_user?(@user, @current_user) do %>
      <%= link to: user_email_path(@conn, :index, @user), class: "card__edit button button--icon button--small" do %>

      <% end %>
      <% end %>

Contact

<%= if (Enum.count(@emails) == 1), do: gettext("Email"), else: gettext("Emails") %>

        <%= for email <- @emails do %>

<a href="mailto:<%= email(@user) %>"><%= email.value %>

        <% end %>

Vcard

<%= link gettext("Download"), to: api_user_v_card_path(@conn, :get, @user) %>

      <%= if same_user?(@user, @current_user) do %>
      <%= link to: user_social_media_account_path(@conn, :index, @user), class: "card__edit button button--icon button--small" do %>

      <% end %>
      <% end %>

Social Media

        <%= for account <- @user.social_media_accounts do %>

<%= account.provider %>

<%= link "@#{account.value}", to: Vutuv.SocialMediaAccount.get_full_url(account) %>

        <% end %>

  <%= if Enum.count(@user_skills) > 0 or same_user?(@user, @current_user) do %>

Skills

    <%= render Vutuv.UserSkillView, "card_list.html", assigns %>

    <%= if same_user?(@user, @current_user) do %>

      <% #Form for easy skill entry %>
      <%= if Enum.count(@user_skills) == 0 do %>
        <%= form_for @conn, user_path(@conn, :skills_create, @user), [as: :skills, class: "editform"], fn f -> %>
          <div class="editform__field<%= if error_tag(f, :name), do: " editform__field--error"%>">
            <%= label f, :"Enter comma seperated skills here" %>
            <%= text_input f, :skills%>
            <%= error_tag f, :skills %>

            <%= submit gettext("Add"), class: "button" %>

        <% end %>
      <% else %>
        <%= link "Add skills", to: user_user_skill_path(@conn, :new, @current_user), class: "card__morelink" %>
        <%= link "View all skills", to: user_user_skill_path(@conn, :index, @user), class: "card__morelink" %>
      <% end %>
    <% else %>
    <%= if Enum.count(@user.user_skills) > 4 do %>
      <%= link "View #{Enum.count(@user.user_skills)-4} More", to: user_user_skill_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>
    <% end %>

  <% end %>

    <section class="card half<%= if @follower_count == 0, do: " card--empty" %>">

Followers

      <%= if(@follower_count > 0) do %>

          <%= for fconn <- @user.follower_connections do %>

                <%= link to: user_path(@conn, :show, fconn.follower) do %>
                  <img src="<%= Vutuv.Avatar.binary(fconn.follower, :thumb) %>">
                <% end %>

<%= link full_name(fconn.follower), to: user_path(@conn, :show, fconn.follower) %>

              <%= if user_follows_user?(@current_user, fconn.follower) do %>
                <%= link to: connection_path(@conn, :delete, user_follows_user?(@current_user, fconn.follower)), method: :delete , class: "button button--icon", form: [class: "button-list"] do %>

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

                <% end %>
              <% end %>

          <% end %>

      <% else %>

No Followers yet!

      <% end %>
      <%= if(@follower_count > 3) do %>
        <%= link "#{@followers_count-3} more", to: user_follower_path(@conn, :index, @user), class: "card__morelink" %>
      <% end %>

Following

      <%= if(@followee_count > 0) do %>

          <%= for fconn <- @user.followee_connections do %>

                <%= link to: user_path(@conn, :show, fconn.followee) do %>
                  <img src="<%= Vutuv.Avatar.binary(fconn.followee, :thumb) %>">
                <%= end %>

<%= link full_name(fconn.followee), to: user_path(@conn, :show, fconn.followee) %>

              <%= if user_follows_user?(@current_user, fconn.followee) do %>
                <%= link to: connection_path(@conn, :delete, user_follows_user?(@current_user, fconn.followee)), method: :delete , class: "button button--icon", form: [class: "button button--icon"] do %>

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

                <% end %>
              <% end %>

          <% end %>

      <% else %>

Not following anyone yet!

      <% end %>
      <%= if(@followee_count > 3) do %>
        <%= link "#{@followee_count-3} more", to: user_followee_path(@conn, :index, @user), class: "card__morelink" %>
      <% end %>

  <%= if Enum.count(@user.work_experiences) > 0 or same_user?(@user, @current_user) do %>

Experience

    <%= render Vutuv.WorkExperienceView, "card_list.html", assigns %>

    <%= if same_user?(@user, @current_user) do %>
      <%= link "Add experience", to: user_work_experience_path(@conn, :new, @current_user), class: "card__morelink" %>
      <%= link "View all experience", to: user_work_experience_path(@conn, :index, @user), class: "card__morelink" %>
    <% else %>
    <%= if Enum.count(@user.work_experiences)>3 do %>
      <%= link "View #{Enum.count(@user.work_experiences)-3} More", to: user_work_experience_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>
    <% end %>

  <% end %>

  <%= if Enum.count(@user.phone_numbers) > 0 or same_user?(@user, @current_user) do %>

Phone Numbers

    <%= render Vutuv.PhoneNumberView, "card_list.html", phone_numbers: @user.phone_numbers, user: @user, conn: @conn, current_user: @current_user %>
    <%= if same_user?(@user, @current_user) do %>
      <%= link "Add phone numbers", to: user_phone_number_path(@conn, :new, @current_user), class: "card__morelink" %>
      <%= link "View all phone numbers", to: user_phone_number_path(@conn, :index, @user), class: "card__morelink" %>
    <% else %>
    <%= if Enum.count(@user.phone_numbers)>3 do %>
      <%= link "View #{Enum.count(@user.phone_numbers)-3} More", to: user_phone_number_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>
    <% end %>

  <% end %>

  <%= if Enum.count(@user.urls) > 0 or same_user?(@user, @current_user) do %>

Links

    <%= render Vutuv.UrlView, "card_list.html", urls: @user.urls, user: @user, conn: @conn, current_user: @current_user %>
    <%= if same_user?(@user, @current_user) do %>
      <%= link "Add links", to: user_url_path(@conn, :new, @current_user), class: "card__morelink" %>
      <%= link "View all links", to: user_url_path(@conn, :index, @user), class: "card__morelink" %>
    <% else %>
    <%= if Enum.count(@user.urls)>3 do %>
      <%= link "View #{Enum.count(@user.urls)-3} More", to: user_url_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>
    <% end %>

  <% end %>

  <%= if Enum.count(@user.addresses) > 0 or same_user?(@user, @current_user) do %>

Addresses

    <%= render Vutuv.AddressView, "card_list.html", addresses: @user.addresses, user: @user, conn: @conn, current_user: @current_user %>
    <%= if same_user?(@user, @current_user) do %>
      <%= link "Add addresses", to: user_address_path(@conn, :new, @current_user), class: "card__morelink" %>
      <%= link "View all addresses", to: user_address_path(@conn, :index, @user), class: "card__morelink" %>
    <% else %>
    <%= if Enum.count(@user.addresses)>3 do %>
      <%= link "View #{Enum.count(@user.addresses)-3} More", to: user_address_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>
    <% end %>

  <% end %>

      <img src="<%= Vutuv.Avatar.binary(@user, :medium) %>">

        <%= full_name(@user) %>
        <%= if same_user?(@user, @current_user) do %>
        <%= link to: user_path(@conn, :edit, @user), class: "profile-header__edit button button--icon button--small" do %>

        <% end %>
        <% end %>

        <%= current_title(@job) %>
        <%= if(@organization != "" and @organization) do %>
          @ <%= @organization %>
        <% end %>

        <%= if(@follower_count>0) do %>

<%= String.capitalize(@user.first_name) %> has<%= @follower_count %> followers

        <% end %>
        <%= if(!same_user?(@current_user, @user)) do %>
          <%= if user_follows_user?(@current_user, @user) do %>
            <%= link to: connection_path(@conn, :delete, user_follows_user?(@current_user, @user)), method: :delete , class: "button" do %>
               Unfollow
            <% end %>
          <%= else %>
            <%= link to: connection_path(@conn, :create, connection: %{follower_id: @current_user.id, followee_id: @user.id}), method: :post , class: "button" do %>
               Follow
            <% end %>
          <% end %>
        <% end %>

<%= render Vutuv.LayoutView, "flash.html", assigns %>

  Users / <%= full_name @user %>

    <%= if same_user?(@user, @current_user) do %>
      <%= link to: user_path(@conn, :edit, @user), class: "card__edit button button--icon button--small" do %>

      <% end %>
      <% end %>

Headline

<%= @user.headline %>

      <%= if(@user.gender != "other" && @user.gender) do %>

Gender

<%= @user.gender %>

      <% end %>
      <%= if(@user.birthdate) do %>

Birthday

<%= @user.birthdate %>

      <% end %>

    <%= render Vutuv.SharedView, "_ad.html" %>

      <%= if same_user?(@user, @current_user) do %>
      <%= link to: user_email_path(@conn, :index, @user), class: "card__edit button button--icon button--small" do %>

      <% end %>
      <% end %>

Contact

<%= if (Enum.count(@emails) == 1), do: gettext("Email"), else: gettext("Emails") %>

        <%= for email <- @emails do %>

<a href="mailto:<%= email(@user) %>"><%= email.value %>

        <% end %>

Vcard

<%= link gettext("Download"), to: api_user_v_card_path(@conn, :get, @user) %>

      <%= if same_user?(@user, @current_user) do %>
      <%= link to: user_social_media_account_path(@conn, :index, @user), class: "card__edit button button--icon button--small" do %>

      <% end %>
      <% end %>

Social Media

        <%= for account <- @user.social_media_accounts do %>

<%= account.provider %>

<%= link "@#{account.value}", to: Vutuv.SocialMediaAccount.get_full_url(account) %>

        <% end %>

  <%= if Enum.count(@user_skills) > 0 or same_user?(@user, @current_user) do %>

Skills

    <%= render Vutuv.UserSkillView, "card_list.html", assigns %>

    <%= if same_user?(@user, @current_user) do %>

      <% #Form for easy skill entry %>
      <%= if Enum.count(@user_skills) == 0 do %>
        <%= form_for @conn, user_path(@conn, :skills_create, @user), [as: :skills, class: "editform"], fn f -> %>
          <div class="editform__field<%= if error_tag(f, :name), do: " editform__field--error"%>">
            <%= label f, :"Enter comma seperated skills here" %>
            <%= text_input f, :skills%>
            <%= error_tag f, :skills %>

            <%= submit gettext("Add"), class: "button" %>

        <% end %>
      <% else %>
        <%= link "Add skills", to: user_user_skill_path(@conn, :new, @current_user), class: "card__morelink" %>
        <%= link "View all skills", to: user_user_skill_path(@conn, :index, @user), class: "card__morelink" %>
      <% end %>
    <% else %>
    <%= if Enum.count(@user.user_skills) > 4 do %>
      <%= link "View #{Enum.count(@user.user_skills)-4} More", to: user_user_skill_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>
    <% end %>

  <% end %>

  <%= if Enum.count(@user.work_experiences) > 0 or same_user?(@user, @current_user) do %>

Experience

    <%= render Vutuv.WorkExperienceView, "card_list.html", assigns %>

    <%= if same_user?(@user, @current_user) do %>
      <%= link "Add experience", to: user_work_experience_path(@conn, :new, @current_user), class: "card__morelink" %>
      <%= link "View all experience", to: user_work_experience_path(@conn, :index, @user), class: "card__morelink" %>
    <% else %>
    <%= if Enum.count(@user.work_experiences)>3 do %>
      <%= link "View #{Enum.count(@user.work_experiences)-3} More", to: user_work_experience_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>
    <% end %>

  <% end %>

  <%= if Enum.count(@user.phone_numbers) > 0 or same_user?(@user, @current_user) do %>

Phone Numbers

    <%= render Vutuv.PhoneNumberView, "card_list.html", phone_numbers: @user.phone_numbers, user: @user, conn: @conn, current_user: @current_user %>
    <%= if same_user?(@user, @current_user) do %>
      <%= link "Add phone numbers", to: user_phone_number_path(@conn, :new, @current_user), class: "card__morelink" %>
      <%= link "View all phone numbers", to: user_phone_number_path(@conn, :index, @user), class: "card__morelink" %>
    <% else %>
    <%= if Enum.count(@user.phone_numbers)>3 do %>
      <%= link "View #{Enum.count(@user.phone_numbers)-3} More", to: user_phone_number_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>
    <% end %>

  <% end %>

  <%= if Enum.count(@user.urls) > 0 or same_user?(@user, @current_user) do %>

Links

    <%= render Vutuv.UrlView, "card_list.html", urls: @user.urls, user: @user, conn: @conn, current_user: @current_user %>
    <%= if same_user?(@user, @current_user) do %>
      <%= link "Add links", to: user_url_path(@conn, :new, @current_user), class: "card__morelink" %>
      <%= link "View all links", to: user_url_path(@conn, :index, @user), class: "card__morelink" %>
    <% else %>
    <%= if Enum.count(@user.urls)>3 do %>
      <%= link "View #{Enum.count(@user.urls)-3} More", to: user_url_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>
    <% end %>

  <% end %>

  <%= if Enum.count(@user.addresses) > 0 or same_user?(@user, @current_user) do %>

Addresses

    <%= render Vutuv.AddressView, "card_list.html", addresses: @user.addresses, user: @user, conn: @conn, current_user: @current_user %>
    <%= if same_user?(@user, @current_user) do %>
      <%= link "Add addresses", to: user_address_path(@conn, :new, @current_user), class: "card__morelink" %>
      <%= link "View all addresses", to: user_address_path(@conn, :index, @user), class: "card__morelink" %>
    <% else %>
    <%= if Enum.count(@user.addresses)>3 do %>
      <%= link "View #{Enum.count(@user.addresses)-3} More", to: user_address_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>
    <% end %>

  <% end %>

  <section class="card half<%= if @follower_count == 0, do: " card--empty" %>">

Followers

    <%= if(@follower_count > 0) do %>

        <%= for fconn <- @user.follower_connections do %>

              <%= link to: user_path(@conn, :show, fconn.follower) do %>
                <img src="<%= Vutuv.Avatar.binary(fconn.follower, :thumb) %>">
              <% end %>

<%= link full_name(fconn.follower), to: user_path(@conn, :show, fconn.follower) %>

            <%= if user_follows_user?(@current_user, fconn.follower) do %>
              <%= link to: connection_path(@conn, :delete, user_follows_user?(@current_user, fconn.follower)), method: :delete , class: "button button--icon", form: [class: "button-list"] do %>

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

              <% end %>
            <% end %>

        <% end %>

    <% else %>

No Followers yet!

    <% end %>
    <%= if(@follower_count > 3) do %>
      <%= link "#{@followers_count-3} more", to: user_follower_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>

Following

    <%= if(@followee_count > 0) do %>

        <%= for fconn <- @user.followee_connections do %>

              <%= link to: user_path(@conn, :show, fconn.followee) do %>
                <img src="<%= Vutuv.Avatar.binary(fconn.followee, :thumb) %>">
              <%= end %>

<%= link full_name(fconn.followee), to: user_path(@conn, :show, fconn.followee) %>

            <%= if user_follows_user?(@current_user, fconn.followee) do %>
              <%= link to: connection_path(@conn, :delete, user_follows_user?(@current_user, fconn.followee)), method: :delete , class: "button button--icon", form: [class: "button button--icon"] do %>

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

              <% end %>
            <% end %>

        <% end %>

    <% else %>

Not following anyone yet!

    <% end %>
    <%= if(@followee_count > 3) do %>
      <%= link "#{@followee_count-3} more", to: user_followee_path(@conn, :index, @user), class: "card__morelink" %>
    <% end %>


Remove module prefix in TOC

Remove module prefix in TOC

<?xml version='1.0' encoding='utf-8'?>
<ncx xmlns:ncx="http://www.daisy.org/z3986/2005/ncx/"
     xmlns="http://www.daisy.org/z3986/2005/ncx/"
     version="2005-1"
     xml:lang="en">
  <head>
    <meta name="dtb:uid" content="urn:uuid:0cc33cbd-94e2-49c1-909a-72ae16bc2658"/>
    <meta name="dtb:depth" content="1"/>
    <meta name="dtb:totalPageCount" content="0"/>
    <meta name="dtb:maxPageNumber" content="0"/>
  </head>
  <docTitle>
    <text><%= config.project %> - <%= config.version %></text>
  </docTitle>
  <navMap>
    <navPoint id="navpoint-1" playOrder="1">
      <navLabel>
        <text>Book cover</text>
      </navLabel>
      <content src="title.html"/>
    </navPoint>
    <%= for {node, index} <- Enum.with_index(nodes) do %>
      <navPoint id="<%= valid_id node.id %>" playOrder="<%= index + 2 %>">
      <navLabel>
        <text><%= node.id %></text>
      </navLabel>
      <content src="modules/<%= node.id %>.html"/>
    </navPoint>
    <% end %>
  </navMap>
</ncx>

<?xml version='1.0' encoding='utf-8'?>
<ncx xmlns:ncx="http://www.daisy.org/z3986/2005/ncx/"
     xmlns="http://www.daisy.org/z3986/2005/ncx/"
     version="2005-1"
     xml:lang="en">
  <head>
    <meta name="dtb:uid" content="urn:uuid:0cc33cbd-94e2-49c1-909a-72ae16bc2658"/>
    <meta name="dtb:depth" content="1"/>
    <meta name="dtb:totalPageCount" content="0"/>
    <meta name="dtb:maxPageNumber" content="0"/>
  </head>
  <docTitle>
    <text><%= config.project %> - <%= config.version %></text>
  </docTitle>
  <navMap>
    <navPoint id="navpoint-1" playOrder="1">
      <navLabel>
        <text>Book cover</text>
      </navLabel>
      <content src="title.html"/>
    </navPoint>
    <%= for {node, index} <- Enum.with_index(nodes) do %>
      <navPoint id="<%= valid_id node.id %>" playOrder="<%= index + 2 %>">
      <navLabel>
        <text>Module: <%= node.id %></text>
      </navLabel>
      <content src="modules/<%= node.id %>.html"/>
    </navPoint>
    <% end %>
  </navMap>
</ncx>


[WIP] Show icon for door status

[WIP] Show icon for door status

Listing doors

      Name

<%= for door <- @doors do %>

      <%= door.name %>

        <% [btn_status, icon] = case @door_statuses[door.id] do
          :unknown ->
            ["warning", "star"]
          :locked ->
            ["info", "leaf"]
          :unlocked ->
            ["danger", "question-sign"]
        end %>
        <%= link(to: door_door_path(@conn, :flipflop, door), class: "btn btn-#{btn_status} btn-xs") do %>
          <span class="glyphicon glyphicon-<%= icon %>" aria-hidden="true">
          <%= to_string(@door_statuses[door.id]) %>
        <% end %>
        <%= link "Show", to: door_path(@conn, :show, door), class: "btn btn-default btn-xs" %>
        <%= link "Edit", to: door_path(@conn, :edit, door), class: "btn btn-default btn-xs" %>

<% end %>

<%= link "New door", to: door_path(@conn, :new) %>

Listing doors

      Name

<%= for door <- @doors do %>

      <%= door.name %>

        <% btn_status = case @door_statuses[door.id] do
          :unknown ->
            "warning"
          :locked ->
            "success"
          :unlocked ->
            "danger"
        end %>
        <%= link(to_string(@door_statuses[door.id]), to: door_door_path(@conn, :flipflop, door), class: "btn btn-#{btn_status} btn-xs") %>
        <%= link "Show", to: door_path(@conn, :show, door), class: "btn btn-default btn-xs" %>
        <%= link "Edit", to: door_path(@conn, :edit, door), class: "btn btn-default btn-xs" %>

<% end %>

<%= link "New door", to: door_path(@conn, :new) %>


added link to navbar for hello world 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">
    <meta name="description" content="">
    <meta name="author" content="">

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

      <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">

      </button>
      ResuGen

          <%= if Coherence.logged_in?(@conn) do %>

<%= link "Resume", to: pdf_path(@conn, :export) , class: "nav-link" %>

<%= link "Elm Test", to: pdf_path(@conn, :new) , class: "nav-link" %>

<%= link "Show", to: registration_path(@conn, :show) , class: "nav-link" %>

<%= link "Edit", to: registration_path(@conn, :edit) , class: "nav-link" %>

              Add

                <%= link "Skill", to: skill_path(@conn, :new), class: "nav-link" %>
                <%= link "Experience", to: experience_path(@conn, :new), class: "nav-link" %>
                <%= link "Education", to: education_path(@conn, :new), class: "nav-link" %>
                <%= link "Award", to: award_path(@conn, :new), class: "nav-link" %>
                <%= link "Reference", to: reference_path(@conn, :new), class: "nav-link" %>

              <%= link "Sign Out", to: session_path(@conn, :delete), method: :delete, class: "btn btn-danger" %>

          <% else %>

<%= link "Sign In", to: session_path(@conn, :new) , class: "nav-link" %>

<%= link "Register", to: registration_path(@conn, :new), class: "nav-link" %>

          <% 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="">

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

      <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">

      </button>
      ResuGen

          <%= if Coherence.logged_in?(@conn) do %>

<%= link "Resume", to: pdf_path(@conn, :export) , class: "nav-link" %>

<%= link "Show", to: registration_path(@conn, :show) , class: "nav-link" %>

<%= link "Edit", to: registration_path(@conn, :edit) , class: "nav-link" %>

              Add

                <%= link "Skill", to: skill_path(@conn, :new), class: "nav-link" %>
                <%= link "Experience", to: experience_path(@conn, :new), class: "nav-link" %>
                <%= link "Education", to: education_path(@conn, :new), class: "nav-link" %>
                <%= link "Award", to: award_path(@conn, :new), class: "nav-link" %>
                <%= link "Reference", to: reference_path(@conn, :new), class: "nav-link" %>

              <%= link "Sign Out", to: session_path(@conn, :delete), method: :delete, class: "btn btn-danger" %>

          <% else %>

<%= link "Sign In", to: session_path(@conn, :new) , class: "nav-link" %>

<%= link "Register", to: registration_path(@conn, :new), class: "nav-link" %>

          <% end %>

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


reformat intro text

reformat intro text

<%= gettext "Welcome to %{name}", name: "kikr!" %>

A web app that ranks table
football players amongst each other.


Fix CONSOLIDATED_DIR export

Fix CONSOLIDATED_DIR export

#!/usr/bin/env bash

set -e

unset CDPATH

SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)"
RELEASE_ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
RELEASES_DIR="${RELEASE_ROOT_DIR}/releases"
REL_NAME="${REL_NAME:-<%= release_name %>}"
REL_VSN="${REL_VSN:-$(cut -d' ' -f2 "${RELEASES_DIR}"/start_erl.data)}"
ERTS_VSN="${ERTS_VSN:-$(cut -d' ' -f1 "${RELEASES_DIR}"/start_erl.data)}"
<%= if (include_erts == false or is_nil(erts_vsn)) do %>USE_HOST_ERTS=true<% end %>
# The location of consolidated protocol .beams
CONSOLIDATED_DIR="${RELEASE_ROOT_DIR}/lib/${REL_NAME}-${REL_VSN}/consolidated"

export RELEASE_ROOT_DIR
export RELEASES_DIR
export REL_NAME
export REL_VSN
export ERTS_VSN
export USE_HOST_ERTS
export DEBUG_BOOT
export CONSOLIDATED_DIR

# Set DEBUG_BOOT to output verbose debugging info during execution
if [ ! -z "$DEBUG_BOOT" ]; then
    export PS4='+\D{%s} '
    set -x
fi

# Ensure TERM is set to something usable
# for remote shells. The only time we'll
# override this value is if it is set to "dumb"
export TERM="${TERM:-xterm}"
if [ "$TERM" = "dumb" ]; then
    TERM=xterm
fi

exec "$RELEASES_DIR/$REL_VSN/$REL_NAME.sh" "$@"

#!/usr/bin/env bash

set -e

unset CDPATH

SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)"
RELEASE_ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
RELEASES_DIR="$RELEASE_ROOT_DIR/releases"
REL_NAME="${REL_NAME:-<%= release_name %>}"
REL_VSN="${REL_VSN:-$(cut -d' ' -f2 "$RELEASES_DIR"/start_erl.data)}"
ERTS_VSN="${ERTS_VSN:-$(cut -d' ' -f1 "$RELEASES_DIR"/start_erl.data)}"
<%= if (include_erts == false or is_nil(erts_vsn)) do %>USE_HOST_ERTS=true<% end %>
# The location of consolidated protocol .beams
CONSOLIDATED_DIR="$ROOT/lib/${REL_NAME}-${REL_VSN}/consolidated"

export RELEASE_ROOT_DIR
export RELEASES_DIR
export REL_NAME
export REL_VSN
export ERTS_VSN
export USE_HOST_ERTS
export DEBUG_BOOT
export CONSOLIDATED_DIR

# Set DEBUG_BOOT to output verbose debugging info during execution
if [ ! -z "$DEBUG_BOOT" ]; then
    export PS4='+\D{%s} '
    set -x
fi

# Ensure TERM is set to something usable
# for remote shells. The only time we'll
# override this value is if it is set to "dumb"
export TERM="${TERM:-xterm}"
if [ "$TERM" = "dumb" ]; then
    TERM=xterm
fi

exec "$RELEASES_DIR/$REL_VSN/$REL_NAME.sh" "$@"


fix: p-name for replies

fix: p-name for replies

<%= @reply.title %>

			<a rel="author" href="<%= @reply.author_url %>"><img alt="" class="u-photo avatar" src="<%= cache_path(@conn, :show, url: @reply.author_avatar) %>">
      <a class="p-name u-url" rel="author" href="<%= @reply.author_url %>"><%= @reply.author %>
    ,

    <time class="dt-published" datetime="<%= Wwwtech.Mention.inserted_at_timex(@reply) |> DateFormat.format!("%FT%T%:z", :strftime) %>">
      <a class="u-url" href="<%= @reply.source_url %>"><%= Wwwtech.LayoutView.time_ago_in_words(Wwwtech.Mention.inserted_at_timex(@reply)) %>
    </time>

<%= @reply.excerpt %>


Change login layout

Change login layout

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

Login

          <%= input f, :email %>
          <%= submit "Login", class: "btn btn-primary btn-block" %>

<% end %>

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

  <%= inspect @changeset %>

  <%= input f, :email %>

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


Adding generation of an unique, secure token.