adding noscript parsing for a topic, if accessed by a browser without javascript
parent
fa03b13209
commit
c0b018cdf4
@ -0,0 +1,15 @@
|
|||||||
|
@import "mixins";
|
||||||
|
|
||||||
|
noscript {
|
||||||
|
.posts {
|
||||||
|
li {
|
||||||
|
list-style-type: none;
|
||||||
|
padding: 1em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
|
||||||
|
&:nth-child(even) {
|
||||||
|
background: rgba(192,192,192,0.2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -1,15 +1,37 @@
|
|||||||
<div class="alert alert-error">
|
<div class="alert alert-error">
|
||||||
<p>
|
<p>
|
||||||
Your browser does not seem to support javascript. As a result, your viewing experience will be diminished.
|
Your browser does not seem to support javascript. As a result, your viewing experience will be diminished.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Please download a browser that supports javascript, or enable it, if it disabled (i.e. NoScript).
|
Please download a browser that supports javascript, or enable it, if it disabled (i.e. NoScript).
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<ul>
|
<ul class="posts">
|
||||||
<!-- BEGIN posts -->
|
<!-- BEGIN main_posts -->
|
||||||
<li>
|
<li>
|
||||||
Foo: {posts.foo}
|
<div class="row-fluid">
|
||||||
</li>
|
<div class="span2">
|
||||||
<!-- END posts -->
|
<img src="{main_posts.gravatar}" /><br />
|
||||||
</ul>
|
{main_posts.username}
|
||||||
|
</div>
|
||||||
|
<div class="span10">
|
||||||
|
{main_posts.content}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<!-- END main_posts -->
|
||||||
|
<!-- BEGIN posts -->
|
||||||
|
<li>
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span2">
|
||||||
|
<img src="{posts.gravatar}" /><br />
|
||||||
|
{posts.username}
|
||||||
|
</div>
|
||||||
|
<div class="span10">
|
||||||
|
{posts.content}
|
||||||
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<!-- END posts -->
|
||||||
|
</ul>
|
Loading…
Reference in New Issue