Commit bde254c8 authored by Serge S. Koval's avatar Serge S. Koval

Adjusted button styles

parent b6614b7d
...@@ -87,17 +87,17 @@ ...@@ -87,17 +87,17 @@
<div class="btn-toolbar"> <div class="btn-toolbar">
{% if admin_view.can_upload %} {% if admin_view.can_upload %}
<div class="btn-group"> <div class="btn-group">
<a class="btn btn-primary btn-large" href="{{ get_dir_url('.upload', path=dir_path) }}">{{ _gettext('Upload File') }}</a> <a class="btn btn-large" href="{{ get_dir_url('.upload', path=dir_path) }}">{{ _gettext('Upload File') }}</a>
</div> </div>
{% endif %} {% endif %}
{% if admin_view.can_mkdir %} {% if admin_view.can_mkdir %}
<div class="btn-group"> <div class="btn-group">
<a class="btn btn-primary btn-large" href="{{ get_dir_url('.mkdir', path=dir_path) }}">{{ _gettext('Create Directory') }}</a> <a class="btn btn-large" href="{{ get_dir_url('.mkdir', path=dir_path) }}">{{ _gettext('Create Directory') }}</a>
</div> </div>
{% endif %} {% endif %}
{% if actions %} {% if actions %}
<div class="btn-group"> <div class="btn-group">
{{ actionslib.dropdown(actions, 'dropdown-toggle btn btn-primary btn-large') }} {{ actionslib.dropdown(actions, 'dropdown-toggle btn btn-large') }}
</div> </div>
{% endif %} {% endif %}
</div> </div>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
{% block body %} {% block body %}
{% macro extra() %} {% macro extra() %}
<input name="_add_another" type="submit" class="btn btn-primary btn-large" value="{{ _gettext('Save and Add') }}" /> <input name="_add_another" type="submit" class="btn btn-large" value="{{ _gettext('Save and Add') }}" />
{% endmacro %} {% endmacro %}
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
......
...@@ -97,6 +97,7 @@ ...@@ -97,6 +97,7 @@
<table class="table table-striped table-bordered model-list"> <table class="table table-striped table-bordered model-list">
<thead> <thead>
<tr> <tr>
{% block list_header scoped %}
{% if actions %} {% if actions %}
<th class="span1"> <th class="span1">
<input type="checkbox" name="rowtoggle" class="action-rowtoggle" /> <input type="checkbox" name="rowtoggle" class="action-rowtoggle" />
...@@ -125,10 +126,12 @@ ...@@ -125,10 +126,12 @@
</th> </th>
{% set column = column + 1 %} {% set column = column + 1 %}
{% endfor %} {% endfor %}
{% endblock %}
</tr> </tr>
</thead> </thead>
{% for row in data %} {% for row in data %}
<tr> <tr>
{% block list_row scoped %}
{% if actions %} {% if actions %}
<td> <td>
<input type="checkbox" name="rowid" class="action-checkbox" value="{{ get_pk_value(row) }}" /> <input type="checkbox" name="rowid" class="action-checkbox" value="{{ get_pk_value(row) }}" />
...@@ -148,7 +151,6 @@ ...@@ -148,7 +151,6 @@
</form> </form>
{%- endif -%} {%- endif -%}
</td> </td>
{% block list_columns scoped %}
{% for c, name in list_columns %} {% for c, name in list_columns %}
<td>{{ get_value(row, c) }}</td> <td>{{ get_value(row, c) }}</td>
{% endfor %} {% endfor %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment