Skip to content

Commit 485a983

Browse files
committed
Release v1.0.1 - DOCS & Links Update
1 parent 638e28e commit 485a983

File tree

6 files changed

+37
-30
lines changed

6 files changed

+37
-30
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CHANGELOG
22

3+
## [1.0.1] 2023-02-27
4+
### Changes
5+
6+
- Update Links
7+
38
## [1.0.0] 2023-02-27
49
### Changes
510

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ an open-source `Bootstrap` design from [CodedThemes](https://bit.ly/37fF9RT).
2424

2525
<br />
2626

27-
## Why `Django Admin Gradient`
27+
## Why [Django Admin Gradient](https://appseed.us/product/gradient-able/django/)
2828

2929
- Modern [Bootstrap](https://www.admin-dashboards.com/bootstrap-5-templates/) Design
3030
- `Responsive Interface`
@@ -120,11 +120,10 @@ The theme used to style this starter provides the following files:
120120
|-- templates/ # Root Templates Folder
121121
| |
122122
| |-- accounts/
123-
| | |-- login.html # Sign IN Page
124-
| | |-- register.html # Sign UP Page
123+
| | |-- auth-signin.html # Sign IN Page
124+
| | |-- auth-signup.html # Sign UP Page
125125
| |
126126
| |-- includes/
127-
| | |-- footer.html # Footer component
128127
| | |-- sidebar.html # Sidebar component
129128
| | |-- navigation.html # Navigation Bar
130129
| | |-- scripts.html # Scripts Component
@@ -135,25 +134,25 @@ The theme used to style this starter provides the following files:
135134
| |
136135
| |-- pages/
137136
| |-- index.html # Dashboard Page
138-
| |-- profile.html # Profile Page
137+
| |-- user-profile.html # Profile Page
139138
| |-- *.html # All other pages
140139
|
141140
|-- ************************************************************************
142141
```
143142

144143
When the project requires customization, we need to copy the original file that needs an update (from the virtual environment) and place it in the template folder using the same path.
145144

146-
For instance, if we want to customize the `footer.html` these are the steps:
145+
For instance, if we want to customize the `index.html` these are the steps:
147146

148147
- `Step 1`: create the `templates` DIRECTORY inside your app
149148
- `Step 2`: configure the project to use this new template directory
150149
- Edit `settings.py` TEMPLATES section
151150
- `Step 3`: copy the `footer.html` from the original location (inside your ENV) and save it to the `YOUR_APP/templates` DIR
152-
- Source PATH: `<YOUR_ENV>/LIB/admin_gradient/templates/includes/footer.html`
153-
- Destination PATH: `YOUR_APP/templates/includes/footer.html`
154-
- Edit the `footer.html` (Destination PATH)
151+
- Source PATH: `<YOUR_ENV>/LIB/admin_datta/templates/pages/index.html`
152+
- Destination PATH: `YOUR_APP/templates/pages/index.html`
153+
- Edit the `index.html` (Destination PATH)
155154

156-
At this point, the default version of the `footer.html` shipped in the library is ignored by Django.
155+
At this point, the default version of the `index.html` shipped in the library is ignored by Django.
157156

158157
In a similar way, all other files and components can be customized easily.
159158

admin_gradient/templates/includes/menu-list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<a href="#" class="nav-link "><span class="pcoded-micon"><i class="feather icon-lock"></i></span><span
1414
class="pcoded-mtext">Authentication</span></a>
1515
<ul class="pcoded-submenu">
16-
<li><a href="{% url 'auth_signup' %}" target="_blank">Sign up</a></li>
17-
<li><a href="{% url 'auth_signin' %}" target="_blank">Sign in</a></li>
16+
<li><a href="{% url 'auth_signin' %}" >Sign IN</a></li>
17+
<li><a href="{% url 'auth_signup' %}" >Sign UP</a></li>
1818
</ul>
1919
</li>
2020

admin_gradient/templates/includes/navigation.html

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,26 @@
3636
<span>John Doe</span>
3737
</div>
3838
<ul class="pro-body">
39-
<li class="bg-transparent mb-2 ms-3"><a target="_blank"
40-
href="https://codedthemes.com/item/gradient-able-admin-template/"><span
41-
class="badge bg-primary">Upgrade to Pro</span></a></li>
42-
<li><a href="{% url 'user_profile' %}" class="dropdown-item"><i
43-
class="feather icon-user"></i> Profile</a></li>
39+
<li class="bg-transparent mb-2 ms-3">
40+
<a target="_blank" href="https://appseed.us/support/">
41+
<span class="badge bg-primary">Support</span>
42+
</a>
43+
</li>
4444
{% if request.user.is_authenticated %}
45-
{% if request.user.is_superuser %}
46-
<li><a href="{% url 'admin:password_change' %}" class="dropdown-item">
47-
<i class="feather icon-lock"></i> Change Password</a></li>
48-
<li><a href="{% url 'admin:logout' %}" class="dropdown-item"><i
49-
class="feather icon-lock"></i> Logout</a></li>
45+
{% if request.user.is_superuser %}
46+
<li><a href="{% url 'admin:password_change' %}" class="dropdown-item">
47+
<i class="feather icon-lock"></i> Change Password</a></li>
48+
<li><a href="{% url 'admin:logout' %}" class="dropdown-item"><i
49+
class="feather icon-lock"></i> Logout</a></li>
50+
{% else %}
51+
<li><a href="{% url 'password_change' %}" class="dropdown-item">
52+
<i class="feather icon-lock"></i> Change Password</a></li>
53+
<li><a href="{% url 'logout' %}" class="dropdown-item"><i
54+
class="feather icon-lock"></i> Logout</a></li>
55+
{% endif %}
5056
{% else %}
51-
<li><a href="{% url 'password_change' %}" class="dropdown-item">
52-
<i class="feather icon-lock"></i> Change Password</a></li>
53-
<li><a href="{% url 'logout' %}" class="dropdown-item"><i
54-
class="feather icon-lock"></i> Logout</a></li>
55-
{% endif %}
57+
<li><a href="{% url 'auth_signin' %}" class="dropdown-item"><i
58+
class="feather icon-log-in"></i> Sign IN</a></li>
5659
{% endif %}
5760
</ul>
5861
</div>

admin_gradient/templates/includes/sidebar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<i class="feather icon-sunset f-40"></i>
99
<h6 class="mt-3">Upgrade to Pro</h6>
1010
<p>To get more features and components</p>
11-
<a href="https://codedthemes.com/item/gradient-able-admin-template/" target="_blank"
12-
class="btn btn-primary btn-sm text-white m-0">Buy now</a>
11+
<a href="https://appseed.us/product/gradient-able/django/" target="_blank"
12+
class="btn btn-primary btn-sm text-white m-0">Download</a>
1313
</div>
1414
</div>
1515
</div>

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup(
1010
name='django-admin-gradient',
11-
version='1.0.0',
11+
version='1.0.1',
1212
zip_safe=False,
1313
packages=find_packages(),
1414
include_package_data=True,

0 commit comments

Comments
 (0)