Permalink
Browse files

fix #41

  • Loading branch information...
1 parent 8a76141 commit 7158d6bb4d5aad60337bd106067a2f7763f21578 @brunosardinepi committed Jan 7, 2017
Showing with 54 additions and 1 deletion.
  1. +50 −0 locations/migrations/0001_initial.py
  2. +4 −1 static/css/layout.css
@@ -0,0 +1,50 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.10.2 on 2017-01-07 16:35
+from __future__ import unicode_literals
+
+from django.conf import settings
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Location',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('created_at', models.DateTimeField(auto_now_add=True)),
+ ('name', models.CharField(max_length=255)),
+ ('content', models.TextField(blank=True)),
+ ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
+ ],
+ options={
+ 'ordering': ['name'],
+ },
+ ),
+ migrations.CreateModel(
+ name='World',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('created_at', models.DateTimeField(auto_now_add=True)),
+ ('name', models.CharField(max_length=255)),
+ ('content', models.TextField(blank=True)),
+ ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
+ ],
+ options={
+ 'ordering': ['name'],
+ },
+ ),
+ migrations.AddField(
+ model_name='location',
+ name='world',
+ field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='locations.World'),
+ ),
+ ]
@@ -97,7 +97,10 @@ a.dropdown-cog:hover, a.dropdown-cog:active, li.open a.dropdown-cog {
.width-eighty {
width: 80%;
}
-.width-ten input[id*='order'], .width-ten input[id*='title'], .width-eighty input[id*='order'], .width-eighty input[id*='title'] {
+.width-ninety {
+ width: 90%;
+}
+.width-ten input[id*='order'], .width-ten input[id*='title'], .width-eighty input[id*='order'], .width-eighty input[id*='title'], .width-ninety input[id*='order'], .width-ninety input[id*='name'] {
width: 100%;
height: 34px;
padding: 6px 12px;

0 comments on commit 7158d6b

Please sign in to comment.