Sha256: f01495d51b077d30bc98bd6d17acc0cb2d64bf085452364e07cb43bcf31343f1

Contents?: true

Size: 1.95 KB

Versions: 4

Compression:

Stored size: 1.95 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Assetify</title>
  <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b3/jquery.mobile-1.0b3.min.css" />
  <script src="http://code.jquery.com/jquery-1.6.3.min.js"></script>
  <script src="http://code.jquery.com/mobile/1.0b3/jquery.mobile-1.0b3.min.js"></script>
</head>

<body>

<!-- HOME -->
<div data-role="page" id="foo">

  <div data-role="header">
    <h1>Assets</h1>
  </div>

  <div data-role="content" id="one">
    <ul data-role="listview" data-theme="g">
    <h2>Assetfile</h2>
    <% for asset in @assets %>
      <li> asset </li>
    <% end %>

    <p>Test</p>

    <h3>Asset store:</h3>
    <p><a href="#two" data-role="button">Show page "two"</a></p>
    <p><a href="#popup"data-role="button" data-rel="dialog" data-transition="pop">Show page "popup" (as a dialog)</a></p>
  </div>


  <div data-role="footer" data-theme="d">
    <h4>Assetify</h4>
  </div>
</div>


<!-- NEW -->
<div data-role="page" id="two" data-theme="a">

  <div data-role="header">
    <h1>Two</h1>
  </div>

  <div data-role="content" data-theme="a">
    <h2>Two</h2>
    <p><a href="#one" data-direction="reverse" data-role="button" data-theme="b">Back to page "one"</a></p>
  </div>


  <div data-role="footer">
    <h4>Page Footer</h4>
  </div>
</div>


<!-- EDIT -->
<div data-role="page" id="popup">

  <div data-role="header" data-theme="e">
    <h1>Dialog</h1>

  </div>

  <div data-role="content" data-theme="d">
    <h2>Popup</h2>
    <p>I have an id of "popup" on my page container and only look like a dialog because the link to me had a <code>data-rel="dialog"</code> attribute which gives</p>
    <p><a href="#one" data-rel="back" data-role="button" data-inline="true" data-icon="back">Back to page "one"</a></p>
  </div>


  <div data-role="footer">
    <h4>Page Footer</h4>
  </div><!-- /footer -->
</div><!-- /page popup -->

</body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
assetify-3.0.0 lib/assetify/gui/views/home.html.erb
assetify-2.0.1 lib/assetify/gui/views/home.html.erb
assetify-2.0.0 lib/assetify/gui/views/home.html.erb
assetify-1.0.0 lib/assetify/gui/views/home.html.erb