diff --git a/app/models.py b/app/models.py index 8d860e5..2611ee5 100644 --- a/app/models.py +++ b/app/models.py @@ -1,18 +1,20 @@ from app import db class target(db.Model): - __tablename__ = 'targets' + __tablename__ = "targets" id = db.Column(db.Integer, primary_key = True) os = db.Column(db.String()) hostname = db.Column(db.String()) address = db.Column(db.String()) ports = db.Column(db.String()) + clientId = db.Column(db.String()) - def __init__(self, os, hostname, address, ports): + def __init__(self, os, hostname, address, ports, clientId): self.os = os self.hostname = hostname self.address = address self.ports = ports + self.clientId = clientId def __repr__(self): return '
' % self.address diff --git a/app/static/css/style.css b/app/static/css/style.css index 7f939f6..d56cb0f 100755 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -92,8 +92,9 @@ a:hover, a:link, a:visited, a:active{ input[type=text]{ background: transparent; - color: var(--header-text); border: 0; + border-bottom: 2px solid var(--accent-color); + color: var(--header-text); width: 100%; height: 100%; text-align: center; @@ -108,4 +109,15 @@ input[type=text]{ } ::-ms-input-placeholder { /* Microsoft Edge */ color: var(--header-text); +} + +.result-count { + position: fixed; + right: 0; + bottom: 0; + margin: 0.8vw; + font-size: 1vw; + border-radius: 15px; + padding: 1vw; + background: var(--accent-color); } \ No newline at end of file diff --git a/app/templates/home.html b/app/templates/home.html index 15fb396..a5141f9 100644 --- a/app/templates/home.html +++ b/app/templates/home.html @@ -8,6 +8,7 @@