comparison app/views/pastes/show.html.erb @ 115:546381cf83c2

auto sounds better than full.
author Edho Arief <edho@myconan.net>
date Mon, 12 Nov 2012 13:35:11 +0700
parents b72f99d7b8cf
children 64f73525503b
comparison
equal deleted inserted replaced
114:b72f99d7b8cf 115:546381cf83c2
10 <li><%= link_to 'Highlight', '#highlight', :data => { :toggle => 'tab' } %></li> 10 <li><%= link_to 'Highlight', '#highlight', :data => { :toggle => 'tab' } %></li>
11 <li><%= link_to 'Markdown', '#markdown', :data => { :toggle => 'tab' } %></li> 11 <li><%= link_to 'Markdown', '#markdown', :data => { :toggle => 'tab' } %></li>
12 <li class="pull-right"> 12 <li class="pull-right">
13 <div class="btn-group" id="tab-resize"> 13 <div class="btn-group" id="tab-resize">
14 <a class="btn btn-inverse dropdown-toggle" data-toggle="dropdown" href="#"> 14 <a class="btn btn-inverse dropdown-toggle" data-toggle="dropdown" href="#">
15 Width: full 15 Width: auto
16 <span class="caret"></span> 16 <span class="caret"></span>
17 </a> 17 </a>
18 <ul class="dropdown-menu"> 18 <ul class="dropdown-menu">
19 <li><a href="#" data-size="full">full</a></li> 19 <li><a href="#" data-size="auto">auto</a></li>
20 <li><a href="#" data-size="560px">560px</a></li> 20 <li><a href="#" data-size="560px">560px</a></li>
21 <li><a href="#" data-size="760px">760px</a></li> 21 <li><a href="#" data-size="760px">760px</a></li>
22 <li><a href="#" data-size="960px">960px</a></li> 22 <li><a href="#" data-size="960px">960px</a></li>
23 </ul> 23 </ul>
24 </div> 24 </div>
25 </li> 25 </li>
26 </ul> 26 </ul>
27 <div id="paste" data-mode="plain" data-width="full" class="tab-content"> 27 <div id="paste" data-mode="plain" data-width="auto" class="tab-content">
28 <div class="tab-pane active" id="plain"> 28 <div class="tab-pane active" id="plain">
29 <pre><%= @paste.paste %></pre> 29 <pre><%= @paste.paste %></pre>
30 </div> 30 </div>
31 <div class="tab-pane" id="highlight"> 31 <div class="tab-pane" id="highlight">
32 <pre class="prettyprint linenums"></pre> 32 <pre class="prettyprint linenums"></pre>