GithubHelp home page GithubHelp logo

peregrinetel / tekdb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ecotrust/tekdb

0.0 0.0 0.0 8 MB

Traditional Ecological Knowledge Ethnographic Database Application

License: MIT License

Python 50.90% CSS 6.56% JavaScript 16.96% HTML 22.27% Shell 2.08% PLpgSQL 1.23%

tekdb's People

Contributors

mitt4git avatar peregrinetel avatar pollardld avatar rhodges avatar

Watchers

 avatar

tekdb's Issues

Admin/Explore/Page Contents: Action drop-down menu

There is only 1 action available: "Delete selected page contents"
But, there is a button on the right that offers the option to "Add page content".

If you select a page(s), then click "Add page content", you are taken to another page where you still have to select which page to add content to.

Looks like its separate because one can only add content to one page at a time, but one can delete more than one page at a time. Still, this is confusing. Can this be done a better way?

Styling rules, align Admin button to right

The admin button is styled differently than the Explore, About, and Help buttons.

  • Why does float: right; have no effect when added to header.css (line 86-101), but does when added to the css within Chrome?
    image
  • Looks like there is quite a bit of redundant button styling. Look into this more.
  • It also looks like both type="button" (for the admin button), and the anchor tags are impacting the inheritance. Learn more about this.

No underlined text except when there is a link

On home page, no text should be underlined that is not a link. (This is the Traditional Ethnographic Knowledge Database, operated by the Tolowa Tribe.) Find a different way to emphasize this text.

(almost) All unselected and not hovered buttons should appear very similar.

Almost all buttons should have the same rounded corners and shadows (see navbar buttons),
and the same thin grey border with white shadow (see Explore page buttons)

  • Explore page: Search button (rounded corners and shadows)
  • Home page: admin button (rounded corners and shadows)
  • Navbar buttons (except TEK button?) (thin grey border with grey shadow)
  • Item Description page: Back to Search results button (thin grey border with grey shadow)
  • Search Results page: Apply Filter button (thin grey border with grey shadow)

Add a footer

Minimal information. More would need to be set up in an rtf-like editor?

Filter selection different on Explore pg vs Search Results page

  • Should filter selection on Explore page and filter selection on Search Results page look more similar to each other?

  • It would be nice if the filter selection on the Explore page offered the option to select more than one filter, as one can on the Search Results page.

  • Once this is resolved, will probably still need a back to website button for the Search Results page

Location data for my repository?

There are two "location" items in my repository. Neither of them have map data. So, that explains why I couldn't find a map. :-)
Would it be very involved/time consuming to add a few items with location data to my TEKDB copy?

Download is limited

One can only download the list information from the Search Results page. If you want to download descriptions for each item on the list, you would have to do each one individually, from each Item Description page. Will users want to download all descriptions that show up in the search results -- all at once?

Search Results table styling

  • Its kind of crowded. Especially for long search terms. (See other issue for not including "no search terms specified")
  • "Results for search...." text could be less prominent. (smaller? less bold? lighter color?)
  • Switch places of "Results for search..." text and paginating section.

Research Flexbox features

Esp. any added since CSS3.
May find some good tools for addressing things there. These newer features were not used when this site was built.

Sort arrows are too faint

Search Results page: Search results up and down arrows are too faint; they are hard to see and know the options is there. Modify by either

  1. changing the background color to make them stand out more
    or
    2)using the tool that the table was built with, a front end library called "Datatables" (built in Javascript. Or JQuery)
  • Name
  • Category
  • Definition

Find a "person" logo. "admin" button is labeled with user.username

  • checkout out Bootstrap's built-in glyphicons -- see 'glyphicon-user'

Is this intentional? I see "admin" because that is my user name. Do we want everyone to see their user name? Or, should they see a more generic label. ("admin" for everyone? Unless a user is staff, they won't see "Administration" in the drop-down -- only "Logout".

Relevant code from navbar.hmtl (lines 56-70):
{% if user.is_authenticated %} <div class="dropdown col-sm-3 col-md-3"> <button class="btn dropdown-toggle" type="button" id="userDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> {{ user.username }} </button> <ul class="dropdown-menu" aria-labelledby="userDropdown"> {% if user.is_staff %} <li><a class="dropdown-item" href="/admin">Administration</a></li> {% endif %} <li><a class="dropdown-item" href="/logout?next=/">Logout</a></li> </ul> </div> {% else %} <a class="col-sm-3 col-md-3 header-button" data-toggle="modal" data-target="#loginModal"> Login

Isolate button styling? (decide after navbar styling)

Once restyling navbar is complete, decide if button css should be isolated.

I made the same styling to buttons on several CSS sheets. It would be nice to have all that styling in the same place. What would be the best way to go about doing this? A separate css sheet just for button styling? A sheet to collect button styling and other things I add might ad that will be applied to more than one html page?
I don't think there is a single class to which all the buttons belong. "btn" is probably the most commonly applied. (Is there a tool that creates a "breadcrumb trail" or a tree like structure, but with classes instead of element names?)

Name questions

On the GitHub account, this is called "Traditional Ecological Knowledge Ethnographic Database".

On the website, it is called "Traditional Ethnographic Knowledge".

"TEK" usually means "Traditional Ecological Knowledge".

Why does the TEK on the website stand for "Traditional Ethnographic Knowledge"?

Move Download text

  • Find out if this text is within a separate document, or written twice, one for each page:
  • To immediately right of the green box containing the search results (Search Results page)
  • To immediately right of the green box containing the item description (Item Description page)

All buttons should have similar behavior when selected

  • Search results page: pagination buttons (5, 10, 50, or 100 search results seen). Currently there is inconsistent behavior. Sometimes the selected one has a blue and/or black border, sometimes it has one of the borders but a different one has the other border.
  • Explore page...
  • ...and Search Results page: Filter buttons that are currently selected (Currently, they are highlighted (blue outline) when clicked, but once the user clicks into the search form, the highlighting is gone.)
  • On Search results page, view selection buttons (gallery or list) (currently, the one selected has black fill, but should have an outline like all other selected buttons)
  • On Explore page, β€œAll” filter button should be automatically marked as selected.

Restyle buttons in navbar

  • Move button row to bottom of containing div.
  • Admin button should not overlap other buttons on narrow screens.
  • Decide: (update: used Bootsrap's tab class to restyle)
    Make buttons smaller?
    Just words?
    Create a hamburger menu instead?

Icons need improvement

Also, should there be a different icon for the Explore page?
Should other icons be added elsewhere?

  • to explore other image options, check out the website: The Noun Project (later suggestion: use Font Awesome instead)
  • add new icons (see comment below)

pagination numbers styling

Pagination numbers' styling (Search Results page) is inconsistent with itself and with other styling.

Add scroll bars

Scroll bars needed:

  • Search results box
    Question: I have datatables.min.js
    Looks like this might be where I need to go to change this. Can I see the pre-minified version?
    From https://datatables.net/reference/option/scrollY (but with "paging":true)
    $('#example').dataTable( { "scrollY": "200px", "scrollCollapse": true, "paging": false } );

All buttons should have similar behavior on hover.

Green, no border.

  • Home page: Explore button
  • Search Results page: Right button (left already does)
  • Item description page: Back to search results button
  • Explore page: search button
  • Search Results page: Apply Filter button, (left side of page)
  • Navbar: Admin button?
  • Navbar, explore, about help buttons: no black border (unless selected)
  • Login button

Maintain view choice for Explore page

Search results switch back to list view when the filter is changed. It should stay on either list or thumbnail, even as search changes, until user says otherwise.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.