float: none;
margin-left: 10px;
}
+
+#new_notification {
+ width: 400px;
+}
cursor: pointer;
}
+.btn-inline-block {
+ display: inline-block;
+}
+
.form-row .btn-primary {
margin: 0.5em 0;
}
background-color: #ffffaa !important;
}
+/* Contributors */
+table.contributor-table thead tr th {
+ width: 50%;
+}
+
+/* Downloads/products */
+table.product-table thead tr th:nth-child(1) {
+ width: 60%;
+}
+table.product-table thead tr th:nth-child(2) {
+ width: 10%;
+}
+table.product-table thead tr th:nth-child(3) {
+ width: 10%;
+}
+table.product-table thead tr th:nth-child(4) {
+ width: 20%;
+}
+
+/* Professional servies */
+table.profserv-table tbody tr th {
+ width: 20%;
+}
+
+/* Sponsors */
+table.sponsor-table tbody tr th {
+ width: 20%;
+}
+table.sponsor-table tbody tr td:nth-child(2) {
+ width: 50%;
+}
+table.sponsor-table tbody tr td:nth-child(3) {
+ width: 30%;
+}
+
/** ALL RESPONSIVE QUERIES HERE */
/* Small devices (landscape phones, 576px and up)*/
{%if form.non_field_errors%}
{%for err in form.non_field_errors %}
-<div style="color:red;">{{err}}</div>
+<div class="alert alert-danger">{{err}}</div>
{%endfor%}
{%endif%}
<form action="." method="post" id="login-form">{% csrf_token %}
</ul>
<p>
{%if original.org.email%}
-New notification: <input type="text" name="new_notification" style="width:400px;" /> (<strong>Note!</strong> This comment is emailed to the organisation!)<br/>
+New notification: <input type="text" name="new_notification" id="new_notification" /> (<strong>Note!</strong> This comment is emailed to the organisation!)<br/>
To send a notification on rejection, first add the notification above and hit
"Save and continue editing". Then as a separate step, delete the record.
{%else%}
<h2>{{t.typename}}</h2>
{%if t.extrainfo%}<p>{{t.extrainfo|safe}}</p>{%endif%}
-<table class="table table-striped">
+<table class="table table-striped contributor-table">
<thead class="thead-light">
{%if t.detailed%}
<tr>
- <th scope="col" style="width: 50%">Contributor</th>
- <th scope="col" style="width: 50%">Contribution</th>
+ <th scope="col">Contributor</th>
+ <th scope="col">Contribution</th>
</tr>
{%endif%}
</thead>
{% for product in products %}
<h2 class="news"><a href="{{product.url}}" target="_blank">{{product.name}}</a></h2>
- <table class="table table-striped">
+ <table class="table table-striped product-table">
<thead class="thead-light">
<tr>
- <th scope="col" style="width: 60%">Description</th>
- <th scope="col" style="width: 10%">License</th>
- <th scope="col" style="width: 10%">Pricing</th>
- <th scope="col" style="width: 20%">Publisher</th>
+ <th scope="col">Description</th>
+ <th scope="col">License</th>
+ <th scope="col">Pricing</th>
+ <th scope="col">Publisher</th>
<th scope="col"> </th>
</tr>
</thead>
</ul>
</div>
<a href="{{link_root}}/download/" title="Download"><button type="button" class="btn btn-center btn-primary">Download</button></a>
- <a href="{{link_root}}/support/versioning/" title="Why Upgrade?"><button type="button" class="btn btn-center btn-outline-secondary" style="display: inline-block;">Why Upgrade?</button></a>
- <a href="{{link_root}}/support/security/" title="Security"><button type="button" class="btn btn-center btn-outline-secondary" style="display: inline-block;">Security</button></a>
+ <a href="{{link_root}}/support/versioning/" title="Why Upgrade?"><button type="button" class="btn btn-center btn-outline-secondary btn-inline-block">Why Upgrade?</button></a>
+ <a href="{{link_root}}/support/security/" title="Security"><button type="button" class="btn btn-center btn-outline-secondary btn-inline-block">Security</button></a>
</div>
<!-- END Feature -->
indicates that an event is recognised under the <a href="/community/recognition/#conferences">community event guidelines</a> and is directly helping the PostgreSQL community.
</p>
</div>
- <a href="/about/events/" title="Check Schedule"><button type="button" class="btn btn-center btn-primary" style="display: inline-block;">Check Schedule</button></a>
- <a href="/account/events/new/" title="Add Your Event"><button type="button" class="btn btn-center btn-primary" style="display: inline-block;">Add Your Event</button></a>
+ <a href="/about/events/" title="Check Schedule"><button type="button" class="btn btn-center btn-primary btn-inline-block">Check Schedule</button></a>
+ <a href="/account/events/new/" title="Add Your Event"><button type="button" class="btn btn-center btn-primary btn-inline-block">Add Your Event</button></a>
</div>
<!-- END Feature -->
<!-- Feature -->
<li><a href="/docs/11/release-11-1.html">PostgreSQL 11 Release Notes</a></li>
<li><a href="/download/">Download</a></li>
</ul>
- <a href="/about/newsarchive/" title="Archives"><button type="button" class="btn btn-primary btn-center" style="display: inline-block;">Browse Archives</button></a>
- <a href="/account/news/new/" title="Submit News"><button type="button" class="btn btn-primary btn-center" style="display: inline-block;">Submit News</button></a>
+ <a href="/about/newsarchive/" title="Archives"><button type="button" class="btn btn-primary btn-center btn-inline-block">Browse Archives</button></a>
+ <a href="/account/news/new/" title="Submit News"><button type="button" class="btn btn-primary btn-center btn-inline-block">Submit News</button></a>
</div>
<div class="col-lg-5">
<div class="sidebar">
<h2 class="news">
<a href="{{s.url}}" target="_blank">{{ s.org.name }}</a>
</h2>
- <table class="table table-striped">
+ <table class="table table-striped profserv-table">
<tbody>
{% if s.url %}
<tr>
</tr>
{% endif %}
<tr>
- <th scope="row" style="width: 20%">Description</th>
+ <th scope="row">Description</th>
<td>{{s.description}}</td>
</tr>
{% if s.provides_hosting and s.provides_support %}
</table>
{% endif %}
<h2>{{ sponsor.sponsortype.typename }}</h2>
- <table class="table table-striped">
+ <table class="table table-striped sponsor-table">
<tbody>
{% endifchanged%}
<tr>
- <th scope="row" style="width: 20%">
+ <th scope="row">
<a href="{{ sponsor.url }}" target="_blank">
<img width="150" src="/media/img/about/sponsors/{{ sponsor.logoname }}" alt="{{ sponsor.name }}" />
</a>
</th>
- <td style="width: 50%">
+ <td>
<a href="{{ sponsor.url }}" target="_blank">{{ sponsor.name }}</a>
</td>
- <td style="width: 30%">{{ sponsor.country }}</td>
+ <td>{{ sponsor.country }}</td>
</tr>
{% endfor %}
</tbody>