Skip to content

Commit d5da7b4

Browse files
#2 Some structure added
1 parent 0b77b2b commit d5da7b4

File tree

9 files changed

+21
-0
lines changed

9 files changed

+21
-0
lines changed

api/fantasyforgeapp/models.py

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
from django.db import models
22

33
# Create your models here.
4+
5+
# for intermediate eval enough:
6+
7+
#User
8+
#Character (for now name enough)
9+
#Class(?)
10+
11+
class Character(models.Model):
12+
name = models.CharField(max_length=100)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
<!-- minimal: button with label of character name and link towards char page-->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- name and (?) class enough for creation -->

frontend/src/components/NavBar.vue

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
<!-- for now : main, about, 'log out' button or profile link (depending on tool used for authorisation) -->

frontend/src/components/functional/NumberSpinner.vue

Whitespace-only changes.

frontend/src/components/functional/SearchElement.vue

Whitespace-only changes.

frontend/src/views/CharacterSheet.vue

Whitespace-only changes.

frontend/src/views/HomeView.vue

+7
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@
22
import TheWelcome from '../components/TheWelcome.vue'
33
</script>
44

5+
<!-- Only for logged in access-->
6+
57
<template>
68
<main>
9+
10+
<!-- Uses CharacterButton components for listing available characters for clicking-->
11+
12+
<!-- have a button that will call CreateCharacter component to create another one-->
13+
714
<TheWelcome />
815
</main>
916
</template>

frontend/src/views/Login.vue

Whitespace-only changes.

0 commit comments

Comments
 (0)