Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions .idea/FOSSEE_animations.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions .idea/dataSources.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions fossee_manim/forms.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from django import forms
from django.utils import timezone
from taggit.forms import TagWidget

from .models import (
Profile, User, Animation,
Comment, AnimationStats
Expand Down Expand Up @@ -264,6 +266,9 @@ def __init__(self, *args, **kwargs):
class Meta:
model = Animation
fields = ['category', 'subcategory', 'title', 'outline', 'tags']
widgets = {
'tags': TagWidget(),
}


class CommentForm(forms.ModelForm):
Expand Down
6 changes: 6 additions & 0 deletions fossee_manim/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ def __str__(self):
return u"{0}".format(self.name)


# test
class Example(models.Model):
name = models.CharField(max_length=20)
tags = TaggableManager()


class Animation(models.Model):
title = models.CharField(max_length=255)
contributor = models.ForeignKey(User, on_delete=models.CASCADE)
Expand Down
32 changes: 31 additions & 1 deletion fossee_manim/static/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ form.example::after {
}

#btns {
padding: 25 25 25 25;
padding:25 25 25 25;
font-size: 155%;
font-family: 'Lato', sans-serif;
}
Expand Down Expand Up @@ -124,3 +124,33 @@ hr {
background-color: #ffe0b2;
border-radius: 50%;
}

.footer{
right: 0;
left: 0;
position: relative;
bottom: 0;

owerflow: hidden;
padding: 95px;
text-align: center;
}
a{
color:white;
}

a:hover{
color:white;
background-color: gray;
}

.navbar-toggler-icon {
display: inline-block;
width: 1.5em;
height: 1.5em;
vertical-align: middle;
content: "";
background: no-repeat center center;
background-size: 100% 100%;
background-color: white;
}
Binary file modified fossee_manim/static/img/logo_main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 6 additions & 3 deletions fossee_manim/templates/fossee_manim/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
{% endblock %}

{% block content %}
<div class="container-fluid jumbotron" align = "justify" style="margin-top:20px; padding:50px; background-color: transparent;">
<!-- style="padding-top:120px"> -->
<div class="container-fluid jumbotron" align = "justify" style="margin-top:20px; margin-bottom: 56px; padding:50px; background-color: transparent;">
{% comment %}style="padding-top:120px"> {% endcomment %}
<center>
<h1>About FOSSEE Animations</h1>
<h4 style= "color: #555555;"><i>What</i> do we do and <i>why</i>?</h4>
Expand All @@ -16,4 +16,7 @@ <h4 style= "color: #555555;"><i>What</i> do we do and <i>why</i>?</h4>
<hr>
</div>
</div>
{% endblock content %}
<div>
{% endblock content %}
</div>

Loading