custom css window completed

This commit is contained in:
Usman Nasir
2021-07-16 15:46:20 +05:00
parent 490b527d29
commit 4322240bbf
2 changed files with 5 additions and 9 deletions

View File

@@ -16,10 +16,10 @@
<div class="panel">
<div class="panel-body">
<h3 class="content-box-header">
{% trans "Package Details" %}
{% trans "Custom CSS" %}
</h3>
<p>Any CSS added here will apply to whole dashboard design.</p>
<div class="example-box-wrapper">
<form action="{% url 'design' %}" method="POST" class="form-horizontal bordered-row panel-body">
{% csrf_token %}
@@ -35,9 +35,9 @@
{% endif %}
<div ng-hide="keyBox" class="form-group">
<label class="col-sm-3 control-label">{% trans "Custom CSS" %}</label>
<div class="col-sm-12">
<textarea value="{{ cosmetic.MainDashboardCSS }}" name="MainDashboardCSS" rows="6" class="form-control ng-pristine ng-untouched ng-valid ng-empty"></textarea>
<textarea name="MainDashboardCSS" rows="6"
class="form-control ng-pristine ng-untouched ng-valid ng-empty">{{ cosmetic.MainDashboardCSS }}</textarea>
</div>
</div>
@@ -49,12 +49,8 @@
</div>
</form>
</div>
</div>
</div>
</div>
{% endblock %}

View File

@@ -310,7 +310,7 @@
</a>
<a href="{% url 'design' %}"
title="{% trans 'Design' %}">
<i class="glyph-icon tooltip-button icon-info"
<i class="glyph-icon tooltip-button icon-cog"
title="{% trans 'Design' %}" data-original-title=".icon-cloud-upload"
aria-describedby="tooltip896208"></i>
<span>{% trans "Design" %}</span>