[ui] [website]
This commit is contained in:
parent
3a4185387d
commit
940b62e2cf
6 changed files with 11 additions and 11 deletions
2
frappe/public/css/bootstrap.css
vendored
2
frappe/public/css/bootstrap.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -10,7 +10,7 @@
|
|||
<hr>
|
||||
{% endif %}
|
||||
{% if login_required and frappe.user=="Guest" %}
|
||||
<div class="alert alert-info">
|
||||
<div class="text-muted">
|
||||
{{ _("Please login to create a new {0}").format(_(doc_type)) }}
|
||||
</div>
|
||||
<p>
|
||||
|
|
@ -54,13 +54,13 @@
|
|||
{% macro label(field) %}<label for="{{ field.fieldname }}" class="col-sm-3 control-label">{{ field.label }}</label>{% endmacro %}
|
||||
|
||||
|
||||
<div class="form-message alert alert-info hide"></div>
|
||||
<div class="form-message text-muted hide"></div>
|
||||
<form class="form-horizontal" role="form"
|
||||
data-web-form="{{ name }}">
|
||||
{% if params.name and web_page_link_text %}
|
||||
<div class="row">
|
||||
<div class="col-sm-offset-3 col-sm-9">
|
||||
<div class="alert alert-info">
|
||||
<div class="text-muted">
|
||||
<a href="{{ ('/' + doc.parent_website_route) if doc.parent_website_route else '' }}/{{ doc.page_name }}">
|
||||
{{ web_page_link_text }}</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{% if not comment_list %}
|
||||
<div class="no-comment">
|
||||
<div class="alert alert-info">Start a new discussion.</div>
|
||||
<p class="text-muted">Start a new discussion.</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<header>
|
||||
<nav class="navbar navbar-default navbar-main" role="navigation">
|
||||
<nav class="navbar navbar-main" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse"
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
{% endfor %}
|
||||
{% else %}
|
||||
{% if limit_start %}
|
||||
<div class="no-posts alert alert-info">No more posts.</div>
|
||||
<div class="no-posts text-muted">No more posts.</div>
|
||||
{% else %}
|
||||
<div class="no-posts alert alert-info">Nothing posted yet.</div>
|
||||
<div class="no-posts text-muted">Nothing posted yet.</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
|
|||
|
|
@ -108,11 +108,11 @@
|
|||
else ("#" + doc[doc.meta.title_field or "name"]) }}</h4>
|
||||
</div>
|
||||
{%- if doc.meta.is_submittable and doc.docstatus==0-%}
|
||||
<div class="alert alert-info text-center">
|
||||
<div class="text-center">
|
||||
<h4 style="margin: 0px;">{{ _("DRAFT") }}</h4></div>
|
||||
{%- endif -%}
|
||||
{%- if doc.meta.is_submittable and doc.docstatus==2-%}
|
||||
<div class="alert alert-danger text-center">
|
||||
<div class="text-center">
|
||||
<h4 style="margin: 0px;">{{ _("CANCELLED") }}</h4></div>
|
||||
{%- endif -%}
|
||||
{% if max_pages > 1 %}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue