Created
May 14, 2013 00:57
-
-
Save phoenixbox/5572809 to your computer and use it in GitHub Desktop.
user_show_html_wireframe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="maincontainer"> | |
<div id="topsection"> | |
<div class="innertube"> | |
<div id="logo"> | |
<h1>Tuneline</h1> | |
</div> | |
<div id="login"> | |
<% if current_user %> | |
Signed in as <%= current_user.name %>! | |
<%= link_to "Go to my page", root_url(subdomain: current_user.subdomain) %> | |
<%= link_to "Sign out", signout_path %> | |
<!-- render template for header nav --> | |
<% else %> | |
<%= link_to "Sign in with Twitter", "/auth/twitter" %> | |
<% end %> | |
</div> <!--end of #login --> | |
<% flash.each do |name, msg| %> | |
<%= content_tag :div, msg, id: "flash_#{name}" %> | |
<% end %> | |
</div> <!--end of .innertube --> | |
</div> <!--end of #topsection --> | |
<div id="contentwrapper"> | |
<div id="contentcolumn"> | |
<div class="innertube"> | |
<div class="links-inline"> | |
<ul> | |
<li><a href="#">All</a></li> | |
<li><a href="#">Re-Feeds</a></li> | |
<li><a href="#">Mics</a></li> | |
</ul> | |
</div> <!--end of .links-inline --> | |
<div id="content"> | |
<div class="item" id="tweet-sample"></div> <!--end of #tweet-sample --> | |
<div class="item" id="textpost-sample"></div> <!--end of #extpost-sample --> | |
<div class="item" id="imgpost-sample"></div> <!--end of #imgpost-sample --> | |
<div class="item" id="linkpost-sample"></div> <!--end of #linkpost-sample --> | |
<div class="item" id="albumart-sample"></div> <!--end of #albumart-sample --> | |
<div class="item" id="soundcloud-sample"></div> <!--end of #souncloud-sample --> | |
<div class="item" id="textpost-sample"></div> <!--end of #extpost-sample --> | |
<div class="item" id="linkpost-sample"></div> <!--end of #linkpost-sample --> | |
<div class="item" id="imgpost-sample"></div> <!--end of #imgpost-sample --> | |
<div class="item" id="tweet-sample"></div> <!--end of #tweet-sample --> | |
<div class="item" id="soundcloud-sample"></div> <!--end of #souncloud-sample --> | |
<div class="item" id="albumart-sample"></div> <!--end of #albumart-sample --> | |
<%= yield %> | |
</div> <!--end of #masonry-container --> | |
</div> <!--end of .innertube --> | |
</div> <!--end of #contentcolumn --> | |
</div> <!--end of #contentwrapper --> | |
<div id="leftcolumn"> | |
<div class="innertube"> | |
<div id="personal-profile"> | |
<h1><b>Personal Profile</b></h1> | |
<p>Donec id elit non mi porta gravida at eget metus. Aenean lacinia bibendum nulla sed consectetur.</p> | |
<div> <!--end of #personal-profile --> | |
<div id="user-posting"> | |
<h1>This is my profile!</h1> | |
<%= form_for @feed_item do |f| %> | |
<div class="field"> | |
<%= f.text_area :tl_text %> | |
</div> | |
<%= f.submit "Submit" %> | |
<% end %> | |
<form name="wallpost" action="#" method="post"> | |
<input name="text" id="messagetick2" type="checkbox" value="yes" />Text | |
<input name="link" id="messagetick2" type="checkbox" value="yes" />Link | |
<input name="image" id="messagetick2" type="checkbox" value="yes" />Image | |
<div id="textpost" style=display:none;>Please type your message. | |
<textarea name="setmessage" cols="23" rows="5"></textarea> | |
<input type="submit" value="Post"> | |
</div> <!--end of #textpost --> | |
<div id="linkpost" style=display:none;>Please type your message. | |
<input type="text" name="link" value="Enter your link here"><br> | |
<textarea name="setmessage" cols="23" rows="5"></textarea> | |
<input type="submit" value="Post"> | |
</div> <!--end of #linkpost --> | |
<div id="imagepost" style=display:none;>Please type your message. | |
<input type="text" name="img"><br> | |
<input type="submit" value="Upload"> | |
<textarea name="setmessage" cols="23" rows="5"></textarea> | |
<input type="submit" value="Post"> | |
</div> <!--end of #imagepost --> | |
</form> <!--end of form 'wallpost' --> | |
</div> <!--end of #user-postin --> | |
<div id="soundcloud-player"> | |
<h2>Soundcloud Player</h2> | |
</div> <!--end of #soundcloud-player --> | |
</div> <!--end of #innertube --> | |
</div><!--end of #leftcolumn --> | |
</div> <!--end of #maincontainer --> | |
<script> | |
$('input[type="checkbox"]').on('change', function () { | |
$('#' + this.name + 'post').slideToggle(this.checked) | |
.siblings('div') | |
.slideUp(); | |
$(this).siblings('input').prop('checked', false); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment