mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-11 16:53:10 +00:00
updates to tabs
This commit is contained in:
parent
27889478d2
commit
fff332a196
3 changed files with 4 additions and 6 deletions
|
|
@ -39,16 +39,16 @@
|
|||
color:$color-red !important;
|
||||
|
||||
&:after{
|
||||
@include border-radius(50%);
|
||||
@include border-radius(50px);
|
||||
@include box-shadow(1px 1px 2px rgba(0, 0, 0, 0.2));
|
||||
position:absolute;
|
||||
right:-0.5em;
|
||||
top:-0.5em;
|
||||
z-index:5;
|
||||
min-width:1em;
|
||||
min-width:0.9em;
|
||||
color:white;
|
||||
background:$color-red;
|
||||
border:2px solid darken($color-red,20%);
|
||||
|
||||
content:attr(data-count);
|
||||
padding:0 0.3em;
|
||||
line-height:1.4em;
|
||||
|
|
|
|||
|
|
@ -247,7 +247,7 @@
|
|||
<li><input type="submit" value="{% trans 'Save' %}" /><a href="#" class="button button-secondary no">{% trans "Delete image" %}</a></li>
|
||||
</ul>
|
||||
</form>
|
||||
|
||||
<p>TODO: Rich text</p>
|
||||
<p>TODO: page chooser</p>
|
||||
<p>TODO: image chooser</p>
|
||||
<p>TODO: document chooser</p>
|
||||
|
|
|
|||
|
|
@ -27,10 +27,8 @@ class ExampleForm(forms.Form):
|
|||
url = forms.URLField(required=True)
|
||||
email = forms.EmailField(max_length=254)
|
||||
date = forms.DateField()
|
||||
rich_text = RichTextField()
|
||||
select = forms.ChoiceField(choices=CHOICES)
|
||||
boolean = forms.BooleanField(required=False)
|
||||
page_chooser = forms.CharField(required=True, help_text="help text")
|
||||
|
||||
@permission_required('wagtailadmin.access_admin')
|
||||
def index(request):
|
||||
|
|
|
|||
Loading…
Reference in a new issue