Sha256: 103babe4d0599ce9be6a1e421af37c7e4549c35c07624459dc4fbc8f254805b1

Contents?: true

Size: 1.44 KB

Versions: 2

Compression:

Stored size: 1.44 KB

Contents

<html>
  <head>
    <title>Databases</title>

    <style>
      body {
        font-family: Helvetica;
        margin: 0px;
      }

      h1 {
        font-size: 30px;
        margin: 10px;

      }

      .database a {
        margin-right: 10px;
        color: darkblue;
        font-size: 16px;
      }

      .database h2 {
        margin: 0px;
        font-size: 20px;
        font-weight: bold;
      }

      .database p {
        margin: 0px;
        margin-top: 10px;
        font-size: 16px;
      }

      .database {
        margin: 0px;
        padding: 10px;
        cursor: pointer;
        border-bottom: 1px solid #eeeeee;
      }

      .database:last-child {
        border-bottom: none;
      }

      .database:hover {
        background: #eee;
      }
    </style>
  </head>

  <body>
    <h1><% config.name %> Databases</h1>
    <% config.database_configs.each do |database_config| %>
      <div class="database" onclick="window.location='<%= "#{database_config.url_path}/app" %>'">
      <h2 class='name'><%= database_config.display_name %></h2>
      <a class='query-link' href="<%= database_config.url_path %>/app">query</a>
      <a class='saved-link' href="<%= database_config.url_path %>/app?tab=saved">saved</a>
      <a class='structure-link' href="<%= database_config.url_path %>/app?tab=structure">structure</a>
      <p class='description'>
        <%= database_config.description %>
      </p>
    </div>
    <% end %>
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sqlui-0.1.20 app/views/databases.erb
sqlui-0.1.19 app/views/databases.erb