changeset 2794:1f7d8cc15805

change basic theme col-lg-* classes to col-md-* making smaller window before content wraps
author RogerHaase <haaserd@gmail.com>
date Thu, 25 Sep 2014 14:33:09 -0700
parents 5ab6c46a4b75
children 5e5b0b454e1d
files MoinMoin/themes/basic/static/css/theme.css MoinMoin/themes/basic/static/custom-less/theme.less MoinMoin/themes/basic/templates/delete.html MoinMoin/themes/basic/templates/destroy.html MoinMoin/themes/basic/templates/itemviews.html MoinMoin/themes/basic/templates/layout.html MoinMoin/themes/basic/templates/login.html MoinMoin/themes/basic/templates/modify.html MoinMoin/themes/basic/templates/register.html MoinMoin/themes/basic/templates/rename.html MoinMoin/themes/basic/templates/usersettings_forms.html
diffstat 11 files changed, 29 insertions(+), 28 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/static/css/theme.css	Tue Sep 23 09:22:54 2014 -0700
+++ b/MoinMoin/themes/basic/static/css/theme.css	Thu Sep 25 14:33:09 2014 -0700
@@ -6174,6 +6174,7 @@
   padding: 10px 15px;
   margin-bottom: -1px;
   background-color: #ffffff;
+  padding: 5px 10px;
   background-color: #c8ddf1;
   border: 1px solid #c8ddf1;
   width: 100%;
@@ -6214,7 +6215,7 @@
   float: right;
 }
 .list-group-item {
-  padding: 5px 15px;
+  padding: 5px 10px;
   background-color: #c8ddf1;
   border: 1px solid #c8ddf1;
 }
--- a/MoinMoin/themes/basic/static/custom-less/theme.less	Tue Sep 23 09:22:54 2014 -0700
+++ b/MoinMoin/themes/basic/static/custom-less/theme.less	Thu Sep 25 14:33:09 2014 -0700
@@ -86,7 +86,7 @@
 }
 
 .list-group-item {
-  padding: 5px 15px;
+  padding: 5px 10px;
   background-color: @search_option_bar_text_color;
   border: 1px solid @search_option_bar_text_color;
   > a {
--- a/MoinMoin/themes/basic/templates/delete.html	Tue Sep 23 09:22:54 2014 -0700
+++ b/MoinMoin/themes/basic/templates/delete.html	Thu Sep 25 14:33:09 2014 -0700
@@ -6,7 +6,7 @@
 {% block content %}
     <h2>{{ title }}</h2>
     <div class="row">
-        <div class="col-lg-5">
+        <div class="col-md-5">
             {{ gen.form.open(form, method="post", action=url_for('frontend.delete_item', item_name=item.name)) }}
                 {{ forms.render_errors(form) }}
 
--- a/MoinMoin/themes/basic/templates/destroy.html	Tue Sep 23 09:22:54 2014 -0700
+++ b/MoinMoin/themes/basic/templates/destroy.html	Thu Sep 25 14:33:09 2014 -0700
@@ -7,7 +7,7 @@
     {% if rev_id == None %}
         <h2>{{ title }}</h2>
         <div class="row">
-            <div class="col-lg-5">
+            <div class="col-md-5">
 
                 {{ gen.form.open(form, method="post", action=url_for('frontend.destroy_item', item_name=item.name)) }}
                     {{ forms.render_errors(form) }}
@@ -26,7 +26,7 @@
     {% else %}
         <h2>{{ _("DESTROY REVISION '%(item_name)s' (rev %(rev_id)s)", item_name=item.name, rev_id=rev_id | shorten_id) }}</h2>
         <div class="row">
-            <div class="col-lg-5">
+            <div class="col-md-5">
                 {{ gen.form.open(form, method="post", action=url_for('frontend.destroy_item', item_name=item.name, rev=rev_id)) }}
                     {{ forms.render_errors(form) }}
 
--- a/MoinMoin/themes/basic/templates/itemviews.html	Tue Sep 23 09:22:54 2014 -0700
+++ b/MoinMoin/themes/basic/templates/itemviews.html	Thu Sep 25 14:33:09 2014 -0700
@@ -6,7 +6,7 @@
 {% block views %}
     {% if navtabs %}
         <div class="row">
-            <div class="col-lg-12">
+            <div class="col-md-12">
                 <ul class="moin-nav nav-tabs moin-shadow">
                     {% for endpoint, href, maincls, iconcls, linkcls, title, label in navtabs %}
                         <li {% if maincls %}class="{{ maincls }}"{% endif %}>
--- a/MoinMoin/themes/basic/templates/layout.html	Tue Sep 23 09:22:54 2014 -0700
+++ b/MoinMoin/themes/basic/templates/layout.html	Thu Sep 25 14:33:09 2014 -0700
@@ -42,19 +42,19 @@
 {% block layout %}
     <div class="container">
         <div class="row moin-header">
-            <div class="col-lg-2 moin-logo">
+            <div class="col-md-2 moin-logo">
                 {% if logo %}
                     <a href="{{ url_for('frontend.show_item', item_name=cfg.item_root) }}">
                         <img class="img-circle" src="{{ '/static/logos/moinmoin.png' }}" alt="Site Logo"/>
                     </a>
                 {% endif %}
             </div>
-            <div class="col-lg-10">
+            <div class="col-md-10">
                 <div class="row">
-                    <div class="col-lg-12">
+                    <div class="col-md-12">
                         <nav class="navbar moin-navbar-inverse">
                             <div class="container">
-                                <div class="col-lg-3">
+                                <div class="col-md-3">
                                     <div class="moin-navbar-header">
                                         <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#target">
                                           <span class="sm-only"></span>
@@ -69,7 +69,7 @@
                                         {% endif %}
                                     </div>
                                 </div>
-                                <div class="col-lg-6 moin-loginsettings">
+                                <div class="col-md-6 moin-loginsettings">
                                     <div class="moin-navbar-collapse navbar-collapse collapse in" id="target">
                                         <ul class="nav navbar-nav moin-pull-right">
 
@@ -108,7 +108,7 @@
                                     </div>
                                 </div>
                                 {% if search_form %}
-                                    <div class="col-lg-3">
+                                    <div class="col-md-3">
                                         <form class="moin-navbar-form" action="{{ url_for('frontend.search') }}" method="get" role="search">
                                             <div class="input-group">
                                                 <input name='q' type="text" class="form-control" placeholder="Search ...">
@@ -126,7 +126,7 @@
                     </div> <!-- column-12 -->
                 </div> <!-- row for top-navbar -->
                 <div class="row">
-                    <div class="col-lg-12">
+                    <div class="col-md-12">
                         <ul class="moin-breadcrumb">
                             {% set trail_items = theme_supp.path_breadcrumbs() %}
                             {% if trail_items %}
@@ -197,13 +197,13 @@
                         </ul><!-- complete list of breadcrumbs -->
                     </div>
                 </div>
-            </div> <!-- col-lg-10 -->
+            </div> <!-- col-md-10 -->
         </div> <!-- row-topnavbar -->
 
         <div class="row moin-content">
-            <div class="col-lg-2">
+            <div class="col-md-2">
                 <div class="row">
-                    <div class="col-lg-12">
+                    <div class="col-md-12">
                         <div class="moin-sidebar">
                             {% set navibar_items = theme_supp.navibar(item_name) %}
                             {% set quicklinks = 'false' %}
@@ -239,7 +239,7 @@
                 </div><!--first row of sidebar-->
 
                 <div class="row">
-                    <div class="col-lg-12">
+                    <div class="col-md-12">
                         {% if self.local_panel %}
                             {{ self.local_panel() }}
                         {% endif %}
@@ -248,9 +248,9 @@
 
             </div><!--/span-->
 
-            <div class="col-lg-10">
+            <div class="col-md-10">
                 <div class="row">
-                    <div class="col-lg-12">
+                    <div class="col-md-12">
                         {# id -> moin-flash is used to add special alerts for ex. for changes to User Settings via JS, see common.js #}
                         <div id="moin-flash">
                             {% for category, msg in get_flashed_messages(with_categories=true) %}
@@ -268,7 +268,7 @@
                 {% endblock %}
 
                 <div class="row">
-                    {% set width = "col-lg-12" %}
+                    {% set width = "col-md-12" %}
 
                     <div class="{{width}}">
                         {% set content_id = self.local_panel and 'moin-content' or 'moin-content-no-panel' %}
@@ -285,7 +285,7 @@
 
         {% block footer %}
             <div class="row moin-footer">
-                <div class="col-lg-12">
+                <div class="col-md-12">
                     <div class="navbar"> <!--footer-->
                         {{ footer_logos }}
                         {{ credits }}
--- a/MoinMoin/themes/basic/templates/login.html	Tue Sep 23 09:22:54 2014 -0700
+++ b/MoinMoin/themes/basic/templates/login.html	Thu Sep 25 14:33:09 2014 -0700
@@ -4,7 +4,7 @@
 {% block content %}
     <h2>{{ _('Moin Login') }}</h2>
     <div class="row">
-        <div class="col-lg-4">
+        <div class="col-md-4">
             {{ forms.render_errors(form) }}
 
             {% if 'username' in login_inputs or 'password' in login_inputs %}
--- a/MoinMoin/themes/basic/templates/modify.html	Tue Sep 23 09:22:54 2014 -0700
+++ b/MoinMoin/themes/basic/templates/modify.html	Thu Sep 25 14:33:09 2014 -0700
@@ -48,11 +48,11 @@
                 </div>
                 <div class="tab-pane active" id="meta">
                     <div class="row">
-                        <div class="col-lg-6">
+                        <div class="col-md-6">
                             {{ basic_meta_editor(form['meta_form']) }}
                         </div>
                         {% set field = form['extra_meta_text'] %}
-                        <div class="col-lg-6">
+                        <div class="col-md-6">
                             <div class="form-group">
                                 {{ gen.label(field) }}
                                 {{ gen.textarea(field, rows=field.properties.rows|string, cols=field.properties.cols|string, class='form-control') }}
@@ -65,7 +65,7 @@
                 {% if user.may.admin(fqname) %}
                     <div class="tab-pane active" id="acl">
                         <div class="row">
-                            <div class="col-lg-6">
+                            <div class="col-md-6">
                                 <div class="form-group">
                                     {{ gen.label(field) }}
                                     {{ gen.textarea(field, rows='1', class='form-control') }}
--- a/MoinMoin/themes/basic/templates/register.html	Tue Sep 23 09:22:54 2014 -0700
+++ b/MoinMoin/themes/basic/templates/register.html	Thu Sep 25 14:33:09 2014 -0700
@@ -4,7 +4,7 @@
 {% block content %}
     <h2>{{ _('Create Account') }}</h2>
     <div class="row">
-        <div class="col-lg-4">
+        <div class="col-md-4">
 
             {{ gen.form.open(form, method="post", action=url_for('frontend.register')) }}
 
--- a/MoinMoin/themes/basic/templates/rename.html	Tue Sep 23 09:22:54 2014 -0700
+++ b/MoinMoin/themes/basic/templates/rename.html	Thu Sep 25 14:33:09 2014 -0700
@@ -6,7 +6,7 @@
 {% block content %}
     <h2>{{ title }}</h2>
     <div class="row">
-        <div class="col-lg-5">
+        <div class="col-md-5">
             {{ gen.form.open(form, method="post", action=url_for('frontend.rename_item', item_name=item.name)) }}
                 {{ forms.render_errors(form) }}
                 <div class="form-group">
--- a/MoinMoin/themes/basic/templates/usersettings_forms.html	Tue Sep 23 09:22:54 2014 -0700
+++ b/MoinMoin/themes/basic/templates/usersettings_forms.html	Thu Sep 25 14:33:09 2014 -0700
@@ -172,7 +172,7 @@
 {% macro all_usersettings_forms(form_objs) %}
     <div id="moin-usersettings">
         <div class="row">
-            <div class="col-lg-4">
+            <div class="col-md-4">
                 <div class="tab-content">
                     <div id="ui" class="tab-pane active">
                         {{ ui(form_objs.ui) }}