datasette-edit-schema 0.8a2__tar.gz → 0.8a3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of datasette-edit-schema might be problematic. Click here for more details.
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/PKG-INFO +1 -1
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/datasette_edit_schema/templates/edit_schema_table.html +13 -12
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/datasette_edit_schema.egg-info/PKG-INFO +1 -1
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/pyproject.toml +1 -1
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/LICENSE +0 -0
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/README.md +0 -0
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/datasette_edit_schema/__init__.py +0 -0
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/datasette_edit_schema/static/draggable.1.0.0-beta.11.bundle.js +0 -0
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/datasette_edit_schema/static/draggable.1.0.0-beta.11.bundle.min.js +0 -0
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/datasette_edit_schema/templates/edit_schema_create_table.html +0 -0
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/datasette_edit_schema/templates/edit_schema_database.html +0 -0
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/datasette_edit_schema/templates/edit_schema_index.html +0 -0
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/datasette_edit_schema/utils.py +0 -0
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/datasette_edit_schema.egg-info/SOURCES.txt +0 -0
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/datasette_edit_schema.egg-info/dependency_links.txt +0 -0
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/datasette_edit_schema.egg-info/entry_points.txt +0 -0
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/datasette_edit_schema.egg-info/requires.txt +0 -0
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/datasette_edit_schema.egg-info/top_level.txt +0 -0
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/setup.cfg +0 -0
- {datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/tests/test_edit_schema.py +0 -0
|
@@ -14,13 +14,14 @@ html body input[type="search"] {
|
|
|
14
14
|
font-size: 1em;
|
|
15
15
|
font-family: Helvetica, sans-serif;
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
background-color: red;
|
|
19
|
-
border-color: red;
|
|
20
|
-
}
|
|
21
|
-
body form .button-small {
|
|
17
|
+
input[type=submit].button-small {
|
|
22
18
|
font-size: 0.7em;
|
|
23
19
|
}
|
|
20
|
+
form input[type=submit].button-red {
|
|
21
|
+
background: red;
|
|
22
|
+
border-color: rgb(171, 112, 112);
|
|
23
|
+
}
|
|
24
|
+
|
|
24
25
|
select {
|
|
25
26
|
border: 1px solid #ccc;
|
|
26
27
|
border-radius: 3px;
|
|
@@ -91,7 +92,7 @@ html body label {
|
|
|
91
92
|
{% if can_rename_table %}
|
|
92
93
|
<h2>Rename table</h2>
|
|
93
94
|
|
|
94
|
-
<form action="{{ base_url }}-/edit-schema/{{ database.name|quote_plus }}/{{ tilde_encode(table) }}" method="post">
|
|
95
|
+
<form class="core" action="{{ base_url }}-/edit-schema/{{ database.name|quote_plus }}/{{ tilde_encode(table) }}" method="post">
|
|
95
96
|
<input type="hidden" name="csrftoken" value="{{ csrftoken() }}">
|
|
96
97
|
<p><label>New name <input type="text" name="name"></label>
|
|
97
98
|
<input type="hidden" name="rename_table" value="1">
|
|
@@ -99,7 +100,7 @@ html body label {
|
|
|
99
100
|
</form>
|
|
100
101
|
{% endif %}
|
|
101
102
|
|
|
102
|
-
<form action="{{ base_url }}-/edit-schema/{{ database.name|quote_plus }}/{{ tilde_encode(table) }}" method="post">
|
|
103
|
+
<form class="core" action="{{ base_url }}-/edit-schema/{{ database.name|quote_plus }}/{{ tilde_encode(table) }}" method="post">
|
|
103
104
|
<h2>Change existing columns</h2>
|
|
104
105
|
<ul class="sortable-columns">
|
|
105
106
|
{% for column in columns %}
|
|
@@ -134,7 +135,7 @@ html body label {
|
|
|
134
135
|
|
|
135
136
|
<h2>Add a column</h2>
|
|
136
137
|
|
|
137
|
-
<form action="{{ base_url }}-/edit-schema/{{ database.name|quote_plus }}/{{ tilde_encode(table) }}" method="post">
|
|
138
|
+
<form class="core" action="{{ base_url }}-/edit-schema/{{ database.name|quote_plus }}/{{ tilde_encode(table) }}" method="post">
|
|
138
139
|
<input type="hidden" name="csrftoken" value="{{ csrftoken() }}">
|
|
139
140
|
<input type="hidden" name="add_column" value="1">
|
|
140
141
|
<p><label>Name <input type="text" name="name"></label>
|
|
@@ -156,7 +157,7 @@ table.foreign-key-options td {
|
|
|
156
157
|
}
|
|
157
158
|
</style>
|
|
158
159
|
|
|
159
|
-
<form action="{{ base_url }}-/edit-schema/{{ database.name|quote_plus }}/{{ tilde_encode(table) }}" method="post">
|
|
160
|
+
<form class="core" action="{{ base_url }}-/edit-schema/{{ database.name|quote_plus }}/{{ tilde_encode(table) }}" method="post">
|
|
160
161
|
<input type="hidden" name="csrftoken" value="{{ csrftoken() }}">
|
|
161
162
|
<input type="hidden" name="action" value="update_foreign_keys">
|
|
162
163
|
<table class="foreign-key-options">
|
|
@@ -180,7 +181,7 @@ table.foreign-key-options td {
|
|
|
180
181
|
|
|
181
182
|
<p>The primary key column uniquely identifies each row in the table.</p>
|
|
182
183
|
|
|
183
|
-
<form action="{{ base_url }}-/edit-schema/{{ database.name|quote_plus }}/{{ tilde_encode(table) }}" method="post">
|
|
184
|
+
<form class="core" action="{{ base_url }}-/edit-schema/{{ database.name|quote_plus }}/{{ tilde_encode(table) }}" method="post">
|
|
184
185
|
<input type="hidden" name="csrftoken" value="{{ csrftoken() }}">
|
|
185
186
|
<input type="hidden" name="action" value="update_primary_key">
|
|
186
187
|
<label for="primary_key">Primary key column </label>
|
|
@@ -201,7 +202,7 @@ table.foreign-key-options td {
|
|
|
201
202
|
|
|
202
203
|
<p>Indexes can speed up filter and sort operations against indexed columns.</p>
|
|
203
204
|
|
|
204
|
-
<form action="{{ base_url }}-/edit-schema/{{ database.name|quote_plus }}/{{ tilde_encode(table) }}" method="post">
|
|
205
|
+
<form class="core" action="{{ base_url }}-/edit-schema/{{ database.name|quote_plus }}/{{ tilde_encode(table) }}" method="post">
|
|
205
206
|
<input type="hidden" name="csrftoken" value="{{ csrftoken() }}">
|
|
206
207
|
{% if non_primary_key_columns %}
|
|
207
208
|
<p><label for="id_add_index_column">
|
|
@@ -233,7 +234,7 @@ table.foreign-key-options td {
|
|
|
233
234
|
{% if can_drop_table %}
|
|
234
235
|
<h2>Drop table</h2>
|
|
235
236
|
|
|
236
|
-
<form id="drop-table-form" action="{{ base_url }}-/edit-schema/{{ database.name|quote_plus }}/{{ tilde_encode(table) }}" method="post">
|
|
237
|
+
<form class="core" id="drop-table-form" action="{{ base_url }}-/edit-schema/{{ database.name|quote_plus }}/{{ tilde_encode(table) }}" method="post">
|
|
237
238
|
<input type="hidden" name="csrftoken" value="{{ csrftoken() }}">
|
|
238
239
|
<input type="hidden" name="drop_table" value="1">
|
|
239
240
|
<input type="submit" class="button-red" value="Drop this table">
|
|
File without changes
|
|
File without changes
|
{datasette_edit_schema-0.8a2 → datasette_edit_schema-0.8a3}/datasette_edit_schema/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|