Sha256: 1c32dec165c95dbfff18e24852c39848479c6b856d9b1b851ceb7aa02f4f0808

Contents?: true

Size: 1.39 KB

Versions: 10

Compression:

Stored size: 1.39 KB

Contents

% if tests.empty?
  <br>
  <br>
  <div id='well'>
    <h3>No {{section}} defined</h3>
  </div>
  <br>
  <br>
% else

  <div class="panel panel-default">
    <div class="panel-heading">
      <h4>{{section.capitalize}}</h4>
    </div>
    <table class="table table-striped table-hover">
      <tbody>
        % tests.each do |test|
          <tr>
            {{ partial('tests/_test', test: test) }}
          </tr>
        % end
      </tbody>
    </table>
  </div>
  <div class="panel panel-default">
    <div class="panel-body">
      {{Mutx::View.icon_for("info")}}: Information about task<br>
      {{Mutx::View.icon_for("cron")}}: Cronned task<br>
      {{Mutx::View.icon_for("lock")}}: Protected<br>
      {{Mutx::View.icon_for("notification")}}: Send notification<br>
      {{Mutx::View.icon_for("attachment")}}: Last execution sent attachment<br>
      {{Mutx::View.icon_for("results")}}: Results for task<br>
      {{Mutx::View.icon_for("off")}}: Task is off<br>
      {{Mutx::View.icon_for("on")}}: Task is on<br>
    </div>
  </div>
% end

<style>
#well {
  aling: right;
  height: 50px;
  background: #F5F5F5;
  width: 600px;
  font-size: 20px;
  #font-style: oblique;
  color: #696969;
  text-align: center;
  padding: 0 20px;
  margin: 20px;
  display: flex;
  justify-content: center;
  /* align horizontal */
  align-items: center;
  /* align vertical */
  margin-right: auto;
  margin-left: auto;
}
</style>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mutx-0.2.9 lib/mutx/view/tests/index.mote
mutx-0.2.8 lib/mutx/view/tests/index.mote
mutx-0.2.7 lib/mutx/view/tests/index.mote
mutx-0.2.6 lib/mutx/view/tests/index.mote
mutx-0.2.5 lib/mutx/view/tests/index.mote
mutx-0.2.4 lib/mutx/view/tests/index.mote
mutx-0.2.3 lib/mutx/view/tests/index.mote
mutx-0.2.2 lib/mutx/view/tests/index.mote
mutx-0.2.1 lib/mutx/view/tests/index.mote
mutx-0.2.0 lib/mutx/view/tests/index.mote