Merge pull request #217 from OWASP/fontfix

disabling turbolinks for the font links. the style does not seem to b…
This commit is contained in:
Ken Johnson
2016-01-07 17:23:59 -05:00
+4 -2
View File
@@ -1,10 +1,12 @@
<% if current_user %> <% if current_user %>
<header> <header>
<span style="color:#eee;margin-left:10px;"> <span style="color:#eee;margin-left:10px;">
Font Size: Font Size:
<a href="<%= home_dashboard_index_path %>?font=8pt" style="font-size:10pt;color:#eee;">A</a> <a data-no-turbolink='true' href="/dashboard/home?font=8pt" style="font-size:10pt;color:#eee;">A</a>
<a href="<%= home_dashboard_index_path %>?font=200%25" style="font-size:18pt;color:#eee;">A</a> <a data-no-turbolink='true' href="/dashboard/home?font=200%25" style="font-size:18pt;color:#eee;">A</a>
</span> </span>
<div class="user-profile"> <div class="user-profile">
<a data-toggle="dropdown" class="dropdown-toggle"> <a data-toggle="dropdown" class="dropdown-toggle">
<img src=" <%= image_path('profile_color.jpg')%>" alt="profile"> <img src=" <%= image_path('profile_color.jpg')%>" alt="profile">