Skip to content

Commit d8d3a4d

Browse files
committed
Add previous & next links
1 parent 2035e64 commit d8d3a4d

10 files changed

+51
-9
lines changed

tutorial/step01-initial-setup.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -152,5 +152,9 @@ You should see the development start successfully. Open NetBox in a new browser
152152

153153
This completes our initial setup. Now, onto the fun stuff!
154154

155-
:arrow_right: [Step 2: Models](/tutorial/step02-models.md)
155+
<div align="center">
156+
157+
[Step 2: Models](/tutorial/step02-models.md) :arrow_right:
158+
159+
</div>
156160

tutorial/step02-models.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -373,5 +373,9 @@ And a few rules to go with it:
373373

374374
Excellent! We can now create access lists and rules in the database. The next few steps will work on expsoing this functionality in the NetBox user interface.
375375

376-
:arrow_right: [Step 3: Tables](/tutorial/step03-tables.md)
376+
<div align="center">
377+
378+
:arrow_left: [Step 1: Initial Setup](/tutorial/step01-initial-setup.md) | [Step 3: Tables](/tutorial/step03-tables.md) :arrow_right:
379+
380+
</div>
377381

tutorial/step03-tables.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,9 @@ class AccessListRuleTable(NetBoxTable):
9191

9292
This should be all we need to display objects. Next, we'll define some forms to enable creating and modifying objects.
9393

94-
:arrow_right: [Step 4: Models](/tutorial/step04-forms.md)
94+
<div align="center">
95+
96+
:arrow_left: [Step 2: Models](/tutorial/step02-models.md) | [Step 4: Forms](/tutorial/step04-forms.md) :arrow_right:
97+
98+
</div>
9599

tutorial/step04-forms.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,9 @@ class AccessListRuleForm(NetBoxModelForm):
9292

9393
With our models, tables, and forms all in place, next we'll create some views to bring everything together!
9494

95-
:arrow_right: [Step 5: Views](/tutorial/step05-views.md)
95+
<div align="center">
96+
97+
:arrow_left: [Step 3: Tables](/tutorial/step03-tables.md) | [Step 5: Views](/tutorial/step05-views.md) :arrow_right:
98+
99+
</div>
96100

tutorial/step05-views.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -246,5 +246,9 @@ However, if you click the link to the access list object, you'll be met by a `Te
246246

247247
:blue_square: **Note:** You might notice that the "add" view for access list rules still doesn't work, raising a `NoReverseMatch` exception. This is because we haven't yet defined the REST API backends required to support the dynamic form fields. We'll take care of this in step nine.
248248

249-
:arrow_right: [Step 6: Templates](/tutorial/step06-templates.md)
249+
<div align="center">
250+
251+
:arrow_left: [Step 4: Forms](/tutorial/step04-forms.md) | [Step 6: Templates](/tutorial/step06-templates.md) :arrow_right:
252+
253+
</div>
250254

tutorial/step06-templates.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -229,5 +229,9 @@ You'll probably be able to figure out most of this for yourself by now, but here
229229

230230
Feel free to experiment with different layouts and content before proceeding with the next step.
231231

232-
:arrow_right: [Step 7: Navigation](/tutorial/step07-navigation.md)
232+
<div align="center">
233+
234+
:arrow_left: [Step 5: Views](/tutorial/step05-views.md) | [Step 7: Navigation](/tutorial/step07-navigation.md) :arrow_right:
235+
236+
</div>
233237

tutorial/step07-navigation.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,9 @@ Now we should see green "add" buttons appear next to our menu links.
110110

111111
![Navigation menu items with buttons](/images/step07-menu-items2.png)
112112

113-
:arrow_right: [Step 8: Filer Sets](/tutorial/step08-filter-sets.md)
113+
<div align="center">
114+
115+
:arrow_left: [Step 6: Templates](/tutorial/step06-templates.md) | [Step 8: Filter Sets](/tutorial/step08-filter-sets.md) :arrow_right:
116+
117+
</div>
114118

tutorial/step08-filter-sets.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -122,5 +122,9 @@ If you haven't already, create a few more access lists and rules, and experiment
122122

123123
:green_circle: **Tip:** You may notice that we did not add a form field for the model's `id` filter: This is because it is unlikely to be useful for a human utilizing the UI. However, we still want to support filtering object by their primary keys, because it _is_ very helpful for consumers of NetBox's REST API, which we'll cover next.
124124

125-
:arrow_right: [Step 9: REST API](/tutorial/step09-rest-api.md)
125+
<div align="center">
126+
127+
:arrow_left: [Step 7: Navigation](/tutorial/step07-navigation.md) | [Step 9: REST API](/tutorial/step09-rest-api.md) :arrow_right:
128+
129+
</div>
126130

tutorial/step09-rest-api.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -237,5 +237,9 @@ With all of our REST API components now in place, we should be able to make API
237237

238238
![REST API - Access list rules](/images/step09-rest-api2.png)
239239

240-
:arrow_right: [Step 10: GraphQL API](/tutorial/step10-graphql-api.md)
240+
<div align="center">
241+
242+
:arrow_left: [Step 8: Filter Sets](/tutorial/step08-filter-sets.md) | [Step 10: GraphQL API](/tutorial/step10-graphql-api.md) :arrow_right:
243+
244+
</div>
241245

tutorial/step10-graphql-api.md

+6
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,9 @@ You should receive a response showing the ID, name, and rules for each access li
8383

8484
This completes the tutorial. Well done! Now you're all set to make a plugin of your own!
8585

86+
<div align="center">
87+
88+
:arrow_left: [Step 9: REST API](/tutorial/step09-rest-api.md)
89+
90+
</div>
91+

0 commit comments

Comments
 (0)