summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2020-11-23 17:53:51 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2020-11-23 17:59:52 +0100
commit8c2f010fa3bc42a611beb956e1e66eb8dd261a04 (patch)
tree38e4dcef694e3b235e0fb6305e4726bca776f7e9
parent817d3bbb68ab977d58cf548587b45139903f9f14 (diff)
Rename application
-rw-r--r--.gitignore2
-rw-r--r--frontend/public/manifest.json4
-rw-r--r--frontend/src/flash.js2
-rw-r--r--frontend/src/index.js2
-rwxr-xr-xrun.sh2
-rw-r--r--unmess/__init__.py (renamed from inventory/__init__.py)2
-rw-r--r--unmess/api.py (renamed from inventory/api.py)0
-rw-r--r--unmess/schema.py (renamed from inventory/schema.py)0
8 files changed, 7 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index 983d38c..0591ab4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
*.pyc
__pycache__
-inventory.cfg
+unmess.cfg
diff --git a/frontend/public/manifest.json b/frontend/public/manifest.json
index e7ea515..5d86914 100644
--- a/frontend/public/manifest.json
+++ b/frontend/public/manifest.json
@@ -1,6 +1,6 @@
{
- "short_name": "Inventory",
- "name": "Inventory",
+ "short_name": "Unmess",
+ "name": "Unmess",
"icons": [],
"start_url": ".",
"display": "standalone",
diff --git a/frontend/src/flash.js b/frontend/src/flash.js
index 44b9479..96e7a19 100644
--- a/frontend/src/flash.js
+++ b/frontend/src/flash.js
@@ -23,7 +23,7 @@ class Flash extends React.Component {
let that = this;
const messages = this.state.messages.map(function(message, index) {
return <Toast key={message.seq} onClose={() => that.remove(message.seq)} autohide={true} delay={(index+1)*3000}>
- <Toast.Header><strong className="mr-auto">{message.header || 'Inventory'}</strong></Toast.Header>
+ <Toast.Header><strong className="mr-auto">{message.header || 'Unmess'}</strong></Toast.Header>
<Toast.Body>{message.text}</Toast.Body>
</Toast>;
});
diff --git a/frontend/src/index.js b/frontend/src/index.js
index 75cdf35..aa7865f 100644
--- a/frontend/src/index.js
+++ b/frontend/src/index.js
@@ -42,7 +42,7 @@ function Navigation() {
return <ThemeContext.Consumer>
{theme => (
<Navbar bg={theme.bg} variant={theme.bg} expand="lg">
- <Navbar.Brand as={Link} to="/">Inventory</Navbar.Brand>
+ <Navbar.Brand as={Link} to="/">Unmess</Navbar.Brand>
<Navbar.Toggle aria-controls="navbar-content" />
<Navbar.Collapse id="navbar-content">
<Nav className="mr-auto">
diff --git a/run.sh b/run.sh
index 0b0e6b3..94c5217 100755
--- a/run.sh
+++ b/run.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-FLASK_APP=inventory FLASK_ENV=development flask run -h ::1 "$@"
+FLASK_APP=unmess FLASK_ENV=development flask run -h ::1 "$@"
diff --git a/inventory/__init__.py b/unmess/__init__.py
index 7c12b51..a42a5f8 100644
--- a/inventory/__init__.py
+++ b/unmess/__init__.py
@@ -1,7 +1,7 @@
from flask import Flask
app = Flask(__name__)
-app.config.from_pyfile('inventory.cfg')
+app.config.from_pyfile('unmess.cfg')
with app.app_context():
from .api import app as api
diff --git a/inventory/api.py b/unmess/api.py
index 91872f5..91872f5 100644
--- a/inventory/api.py
+++ b/unmess/api.py
diff --git a/inventory/schema.py b/unmess/schema.py
index 0728aea..0728aea 100644
--- a/inventory/schema.py
+++ b/unmess/schema.py