only one test failing :-)

only one test failing :-)

<!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="Podcasting Social Network">
    <meta name="author" content="Stefan Haslinger">
    <meta name="theme-color" content="#434a54">

    <title>Panoptikum</title>
    <link rel="stylesheet"
          href="<%= static_path(@conn, "/css/app.css") %>">
    <link rel="icon" sizes="192x192" href="/images/icon.png">

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

            </button>

            Panoptikum.io

<%= link "Home", to: category_frontend_path(@conn, :index) %>

About

Blog

<%= link "Podcasters", to: persona_frontend_path(@conn, :index) %>

<%= link "Users", to: user_frontend_path(@conn, :index) %>

<%= link ["Random ", fa_icon("podcast")], to: recommendation_frontend_path(@conn, :random) %>

        This page could not be found!

        Did you mistype the url?

Panoptikum.io

META

Code of Conduct

Privacy

Complaints

Community

Imprint

ABOUT

About

Blog

Talks

FAQ

DEMO

Random

Podcasters + Personas

New podcasts

New episodes

Podcast Buttons

SUPPORTED BY

Stefan a.k.a. Informatom

Community Manager Sonja

Mittenin.at

Vienna Beamers

          Hosted by Informatom EDV-Dienstleistungen e.U.


adds div wrapper to tag template

adds div wrapper to tag template

Tagged: <%= @name %>

  <%= for post <- @posts do %>

    <a href="/posts/<%= post.id %>">
<%= post.title %>

<%= raw(BigSnips.Post.tag_link(post.tags)) %>

    <%= for snippet <- post.snippets do %>

<%= snippet.filename %>

<code class="language-<%= snippet.language %>"><%= snippet.body %>

    <% end %>

  <% end %>

  <%= pagination_links @page %>


Fix docker stop timeout with phx.gen.release (#4650)

Use 'exec form' instead of 'shell form' ( https://docs.docker.com/engine/reference/builder/ ) because shell form does not forward signals (used by docker stop).

# Find eligible builder and runner images on Docker Hub. We use Ubuntu/Debian instead of
# Alpine to avoid DNS resolution issues in production.
#
# https://hub.docker.com/r/hexpm/elixir/tags?page=1&name=ubuntu
# https://hub.docker.com/_/ubuntu?tab=tags
#
#
# This file is based on these images:
#
#   - https://hub.docker.com/r/hexpm/elixir/tags - for the build image
#   - https://hub.docker.com/_/debian?tab=tags&page=1&name=bullseye-20210902-slim - for the release image
#   - https://pkgs.org/ - resource for finding needed packages
#   - Ex: hexpm/elixir:<%= elixir_vsn %>-erlang-<%= otp_vsn %>-debian-bullseye-20210902-slim
#
ARG BUILDER_IMAGE="hexpm/elixir:<%= elixir_vsn %>-erlang-<%= otp_vsn %>-debian-bullseye-20210902-slim"
ARG RUNNER_IMAGE="debian:bullseye-20210902-slim"

FROM ${BUILDER_IMAGE} as builder

# install build dependencies
RUN apt-get update -y && apt-get install -y build-essential git \
    && apt-get clean && rm -f /var/lib/apt/lists/*_*

# prepare build dir
WORKDIR /app

# install hex + rebar
RUN mix local.hex --force && \
    mix local.rebar --force

# set build ENV
ENV MIX_ENV="prod"

# install mix dependencies
COPY mix.exs mix.lock ./
RUN mix deps.get --only $MIX_ENV
RUN mkdir config

# copy compile-time config files before we compile dependencies
# to ensure any relevant config change will trigger the dependencies
# to be re-compiled.
COPY config/config.exs config/${MIX_ENV}.exs config/
RUN mix deps.compile

COPY priv priv

# note: if your project uses a tool like https://purgecss.com/,
# which customizes asset compilation based on what it finds in
# your Elixir templates, you will need to move the asset compilation
# step down so that `lib` is available.
COPY assets assets

# compile assets
RUN mix assets.deploy

# Compile the release
COPY lib lib

RUN mix compile

# Changes to config/runtime.exs don't require recompiling the code
COPY config/runtime.exs config/

COPY rel rel
RUN mix release

# start a new build stage so that the final image will only contain
# the compiled release and other runtime necessities
FROM ${RUNNER_IMAGE}

RUN apt-get update -y && apt-get install -y libstdc++6 openssl libncurses5 locales \
  && apt-get clean && rm -f /var/lib/apt/lists/*_*

# Set the locale
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen

ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

WORKDIR "/app"
RUN chown nobody /app

# Only copy the final release from the build stage
COPY --from=builder --chown=nobody:root /app/_build/prod/rel/<%= otp_app %> ./

USER nobody

CMD ["/app/bin/server"]

# Find eligible builder and runner images on Docker Hub. We use Ubuntu/Debian instead of
# Alpine to avoid DNS resolution issues in production.
#
# https://hub.docker.com/r/hexpm/elixir/tags?page=1&name=ubuntu
# https://hub.docker.com/_/ubuntu?tab=tags
#
#
# This file is based on these images:
#
#   - https://hub.docker.com/r/hexpm/elixir/tags - for the build image
#   - https://hub.docker.com/_/debian?tab=tags&page=1&name=bullseye-20210902-slim - for the release image
#   - https://pkgs.org/ - resource for finding needed packages
#   - Ex: hexpm/elixir:<%= elixir_vsn %>-erlang-<%= otp_vsn %>-debian-bullseye-20210902-slim
#
ARG BUILDER_IMAGE="hexpm/elixir:<%= elixir_vsn %>-erlang-<%= otp_vsn %>-debian-bullseye-20210902-slim"
ARG RUNNER_IMAGE="debian:bullseye-20210902-slim"

FROM ${BUILDER_IMAGE} as builder

# install build dependencies
RUN apt-get update -y && apt-get install -y build-essential git \
    && apt-get clean && rm -f /var/lib/apt/lists/*_*

# prepare build dir
WORKDIR /app

# install hex + rebar
RUN mix local.hex --force && \
    mix local.rebar --force

# set build ENV
ENV MIX_ENV="prod"

# install mix dependencies
COPY mix.exs mix.lock ./
RUN mix deps.get --only $MIX_ENV
RUN mkdir config

# copy compile-time config files before we compile dependencies
# to ensure any relevant config change will trigger the dependencies
# to be re-compiled.
COPY config/config.exs config/${MIX_ENV}.exs config/
RUN mix deps.compile

COPY priv priv

# note: if your project uses a tool like https://purgecss.com/,
# which customizes asset compilation based on what it finds in
# your Elixir templates, you will need to move the asset compilation
# step down so that `lib` is available.
COPY assets assets

# compile assets
RUN mix assets.deploy

# Compile the release
COPY lib lib

RUN mix compile

# Changes to config/runtime.exs don't require recompiling the code
COPY config/runtime.exs config/

COPY rel rel
RUN mix release

# start a new build stage so that the final image will only contain
# the compiled release and other runtime necessities
FROM ${RUNNER_IMAGE}

RUN apt-get update -y && apt-get install -y libstdc++6 openssl libncurses5 locales \
  && apt-get clean && rm -f /var/lib/apt/lists/*_*

# Set the locale
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen

ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

WORKDIR "/app"
RUN chown nobody /app

# Only copy the final release from the build stage
COPY --from=builder --chown=nobody:root /app/_build/prod/rel/<%= otp_app %> ./

USER nobody

CMD /app/bin/server


specified model for view

specified model for view

                        <select ng-model="position.type" class="option-type-selector">
                            <option>Select...</option>
                            <option value="Call">Call</option>
                            <option value="Put">Put</option>
                            <option value="Stock">Stock</option>
                        </select>

                        $
                        <input type="text" class="form-control option-strike" aria-label="Strike" value="{{position.strike}}" />

                        #
                        <input type="text" class="form-control option-quantity" aria-label="Quantity" value="{{position.quantity}}" />

                        $
                        <input type="text" class="form-control option-price" aria-label="Price" value="{{position.price}}" />

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.11.0/css/bootstrap-select.min.css">


update ticket show page

update ticket show page

Add the URL of the page, to share with other team-members

Ticket

<%= ticket_url(@conn, :show, @ticket) %>

  Share this URL with your team

  URL/Title

    <%= link @ticket.url, to: @ticket.url %>

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

<%= link "Back to team", to: team_path(@conn, :show, @ticket.team_id) %>

Ticket

  URL: <%= @ticket.url %>

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

<%= link "Back", to: team_path(@conn, :show, @ticket.team_id) %>


Avoid the error

Avoid the error

"Target container is not a DOM element"

<div id="content">
</div>
<script src="<%= static_path(@conn, "/js/app.js") %>"></script>
<script>
var ex = require("web/static/js/app");
<%= raw @javascript %>
_experiment = new ex.Experiment("<%= @topic %>", "<%= @token %>", onUpdate)
function send_data(data) {
  _experiment.send_data(data)
}
</script>

<script src="<%= static_path(@conn, "/js/app.js") %>"></script>
<script>
var ex = require("web/static/js/app");
<%= raw @javascript %>
_experiment = new ex.Experiment("<%= @topic %>", "<%= @token %>", onUpdate)
function send_data(data) {
  _experiment.send_data(data)
}
</script>
<div id="content">
</div>


Last minute reflection fix

Last minute reflection fix

<%= if @reflection && @reflection.response do %>

<% end %>

 <%= form_for @conn, reflection_path(@conn, :submit), [name: :search], fn _ -> %>
  <%= raw ParamSession.form_session @conn %>
  <input type='hidden' name='reflection_id' value='<%= @id %>'>
  <%= raw @html %>

  <% end %>

Submit

    <%#  %>

<%= if @reflection.response do %>

<% end %>

 <%= form_for @conn, reflection_path(@conn, :submit), [name: :search], fn _ -> %>
  <%= raw ParamSession.form_session @conn %>
  <input type='hidden' name='reflection_id' value='<%= @id %>'>
  <%= raw @html %>

  <% end %>

Submit

    <%#  %>


Add characters link to homepage, reduce logo size

<!DOCTYPE html>

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

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

Homepage

Users

Characters

Campaigns

Encounters

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

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

      <%= @inner %>

<!DOCTYPE html>

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

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

Homepage

Users

Campaigns

Encounters

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

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

      <%= @inner %>


fix templete

fix templete

defmodule <%= module %>.<%= base %> do
  use <%= module %>.Web, :model

  schema "<%= plural %>" do
    field :email, :string
    field :password, :string, virtual: true
    field :encrypted_password, :string

    timestamps
  end
end

defmodule <%= module %>.<%= base %> do
  use <%= module %>.Web, :model

  schema "<%= plural %>" do
    field :email, :string
    filed :password, :string, virtual: true
    field :encrypted_password, :string

    timestamps
  end
end


Use d-md-flex on volunteer gallery

Use d-md-flex on volunteer gallery

   - the volunteer gallery was not collapsing on smaller device screens
   per using d-flex class

<%= for list <- Enum.chunk_every(@members, 4) do %>

  <%= for %{name: name, image: image} <- list do %>

      <img class="img-fluid" src="/images/<%= image %>" alt="<%= name %>">

    <%= name %>

  <% end %>

<% end %>


change links in posts template

change links in posts template

<%= for post <- @posts do %>
<% img_src = hd(post.json_metadata["image"]) %>
<a class="ui card" href="/post/<%= post.permlink %>">

    <img src="<%= img_src %>">

 <%= post.title %>

<% end %>

<%= for post <- @posts do %>
<% img_src = hd(post.json_metadata["image"]) %>
<a class="ui card" href="<%= post.permlink %>">

    <img src="<%= img_src %>">

 <%= post.title %>

<% end %>


Fix registration name input

Fix registration name input

Create a account

<%= form_for @changeset, registration_path(@conn, :create), fn form -> %>
  <%= if form.errors != [] do %>

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

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

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

        <% end %>

  <% end %>

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

    <%= label form, :path, "Email", class: "control-label" %>
    <%= email_input form, :email, class: "form-control" %>

    <%= label form, :path, "Password", class: "control-label" %>
    <%= password_input form, :password, class: "form-control" %>

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

<% end %>

Create a account

<%= form_for @changeset, registration_path(@conn, :create), fn form -> %>
  <%= if form.errors != [] do %>

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

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

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

        <% end %>

  <% end %>

    <%= label form, :path, "Name", class: "control-label" %>
    <%= email_input form, :name, class: "form-control" %>

    <%= label form, :path, "Email", class: "control-label" %>
    <%= email_input form, :email, class: "form-control" %>

    <%= label form, :path, "Password", class: "control-label" %>
    <%= password_input form, :password, class: "form-control" %>

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

<% end %>


testing

testing

Statistics

    <%= link "Compare Previous Years", to: statistics_path(@conn, :yearly) %>

Cards
Charts
Share Progress

    <%= render "statistic_card.html", conn: @conn, stat: @stats.current_month, previous: @stats.previous_month, title: "Current Month", type: "current_month" %>

    <%= render "statistic_card.html", conn: @conn, stat: @stats.current_year, previous: @stats.previous_year, title: "Current Year", type: "current_year" %>

    <%= render "statistic_card.html", conn: @conn, stat: @stats.all_time, previous: 0, title: "All Time", type: "all_time"  %>