roroacms 0.0.6.6 → 0.0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -234,6 +234,15 @@ responsive_app = (function() {
|
|
234
234
|
});
|
235
235
|
}
|
236
236
|
};
|
237
|
+
shrink = function() {
|
238
|
+
$('.tab-wrapper').parent().attr('id', 'collapsed_tabs');
|
239
|
+
return $(".settings-area .nav-tabs a:not([data-textref])").each(function() {
|
240
|
+
var text;
|
241
|
+
text = $(this).text().replace(" ", "");
|
242
|
+
$(this).attr("data-textref", text);
|
243
|
+
$(this).html($(this).html().replace(/&/, "&").replace(text, ""));
|
244
|
+
});
|
245
|
+
};
|
237
246
|
respond = function() {
|
238
247
|
if (app.getCookie("internal_menu_contracted") === "true") {
|
239
248
|
shrink();
|
@@ -1,9 +1,13 @@
|
|
1
1
|
<%= form_for @admin, :url => url_for(:controller => 'administrators', :action => @action) do |f| %>
|
2
|
-
<div class="panel panel-default">
|
2
|
+
<div class="panel panel-default" id="collapsed_tabs">
|
3
3
|
<div class="panel-body">
|
4
|
-
<div
|
4
|
+
<div class="tab-wrapper tab-left ">
|
5
5
|
<ul class="nav nav-tabs">
|
6
|
-
<li class="active"
|
6
|
+
<li class="active">
|
7
|
+
<a href="#general" data-toggle="tab">
|
8
|
+
<i class="fa fa-user"></i>
|
9
|
+
</a>
|
10
|
+
</li>
|
7
11
|
</ul>
|
8
12
|
<div class="tab-content">
|
9
13
|
<%= render :partial => 'roroacms/admin/partials/submit_bar' %>
|