Closed postmodern closed 7 months ago
Is this simple form enough? Or maybe you want it to look different?
@AI-Mozi yes, perfect! I would move the Import
button so it's on the same line as the input field. You can use a div
and Bulma's field has-addons
classes (see views/spider.erb
for an example).
Also, here are the database models that implement a self.import
method:
lib/ronin/db/address.rb: def self.import(address)
lib/ronin/db/advisory.rb: def self.import(id)
lib/ronin/db/cert.rb: def self.import(cert)
lib/ronin/db/cert_issuer.rb: def self.import(name)
lib/ronin/db/cert_name.rb: def self.import(name)
lib/ronin/db/cert_subject.rb: def self.import(name)
lib/ronin/db/credential.rb: def self.import(cred)
lib/ronin/db/email_address.rb: def self.import(email)
lib/ronin/db/host_name.rb: def self.import(name)
lib/ronin/db/organization.rb: def self.import(name)
lib/ronin/db/password.rb: def self.import(password)
lib/ronin/db/person.rb: def self.import(name)
lib/ronin/db/phone_number.rb: def self.import(number)
lib/ronin/db/port.rb: def self.import(number)
lib/ronin/db/service.rb: def self.import(name)
lib/ronin/db/url.rb: def self.import(uri)
lib/ronin/db/user_name.rb: def self.import(name)
@postmodern thanks for the list
Implemented by PR #98.
Add an Add button/link or a form to all database views. This form could possibly be added to the top of all
db/*/index.erb
views. The add form could also have it's own page which is linked to from their respectiveindex.erb
pages.