Knack Operations
  • TABLE OF CONTENTS
  • Knack Operations Read-Only
  • Knack
    • Platform Overview
    • Functionality Guide
    • Style Guide
    • Single Sign On (SSO)
      • Configuring a new Knack App with certificates
      • Enabling SSO in Knack
      • Configuring new certificates for all Knack Apps - When certs expire!
        • SSL Certificate Management
      • Configuring an existing Knack App with certificates (Rare)
    • Banner Logos
    • Rounding Knack Costs Correctly
    • URL Parameters to populate a form
    • Importing Records
    • Copy an Application
  • Knack Integrations
    • Open Data Portal - Socrata Integration
    • ArcGIS Online Integration
    • CSR configuration prep in Knack
      • Creating CSR Page components
  • Knack Code
    • Code Version Control
    • GitHub Code Workflow
    • CODE: Retrieve builder URL of Email Rules
    • CODE: Mobile Optimization
      • Detail Labels
    • CODE: Custom Login Buttons
    • CODE: Vision Zero in Action
    • CODE: Knack Functionality
      • Big Buttons
      • Save Knack Record ID
      • Redirect Blank Menu Pages
      • Disable Trigger Buttons
      • Disable Modal Background Click/Touch
      • Disable Breadcrumb Navigation Links
      • Remove Back Links
      • Back Link Buttons
      • Return to Previous Page Button
      • Auto Input Validation Form Fields
      • Conditionally Hide/Show Form Fields
      • Return to Top Button
      • Refresh View Button
      • Detect IE
      • Set Map iFrame Source URL
    • CODE: Knack Look & Feel
      • Multipage Step Indicator
      • Modal Close Styling
      • Relabel Attachment Links
      • Navigation Dropdown Menu Buttons
      • In-Form Dropdown Menu Buttons
      • Trigger Buttons
      • Hyperlink a Form Field Label
      • Remove Table Header
      • Modify Table Summary Rows
      • Convert Values to UPPERCASE (Option A)
      • Convert Values to UPPERCASE (Option B)
      • Highlight Details View Label Body & Table Value
      • Report Headers
      • Report Filters Container Size
      • Report Element Colors
      • HighCharts Report Styling
      • Font Awesome Icons
    • CODE: Knack Print Page
      • Print Header with Page Break/Number
      • Print without overlapping views
      • Print using Menu Button
      • Print using Trigger Button
      • Show Character Limit of Input
      • Add fixed Footer on Print
  • AMD | DATA TRACKER
    • AMD | Data Tracker
    • Asset Changes
    • CSR | Flex Note Archiving
    • Cameras
    • Fix Broken CCTV Device Status Page Links
    • Performance Measures
    • Builder Notes
      • Configure New AMD Asset in Data Tracker
      • Data Tracker | Annual Signal and PHB Request Ranking
      • Page Rules (TMC) CSR
      • NOTIFICATION | Construction Status Email
      • NOTIFICATION | One Day Signal Engineer Due Date
      • DETAILS | Preventative Maintenance (PM)
      • DETAILS | Signal Detectors Object Tables, Reports, misc..
      • DETAILS | Signals
      • Signals Work Order | EDIT FORMS
      • Signals Work Order | FORM LOCATIONS
      • Editing Signals Work Order | NEW FORMS
    • Warehouse Inventory - Updating Journal Vouchers (JV) information
    • Cancel Transactions & Replenishments
    • Adjustment Transaction, Unit Cost Adjustments & Re-Stock
    • DTS | Adminstrative Action
  • DTS | Data & Technology Services Portal
    • DTS | Data & Technology Services Portal
    • Dataset inventory
    • Application Inventory
  • Finance & Purchasing
    • Finance & Purchasing Portal
    • Finance & Purchasing
      • Training, Quiz, Account Access Process
      • Statuses
      • List of emails generated
      • Re/Un-assigning Approver of a PR (Purchase Request)
      • Troubleshooting: FAQs
    • Warehouse Inventory
      • Adding a new inventory item
  • HiRe | The Hiring Resource
    • HiRe | The Hiring Resource
  • HR | Human Resources
    • HR | Human Resources Portal
    • How to add a new HR Form
  • PEP | Parking Enterprise Portal
    • PEP | Parking Enterprise Portal
    • Dispatch Resource Tracking Log Archiving
    • Update Parking Citation Report by Fiscal Year (FY)
  • ROW | Right of Way Portal
    • ROW | Right of Way Portal
    • COS JV Update
  • RPP | Residential Parking Permit Portal
    • RPP | Residential Parking Permits
    • Residential Parking Permits
    • RPP Migration
  • SBO | Street & Bridge Operations
    • SBO | Street & Bridge Operations
  • SMD | Signs & Markings Operations
    • SMD | Signs & Markings Operations
    • Table of Contents
    • Workflow
    • Markings | Work Orders
      • Process & Module Functionality
    • Markings | Service Requests
      • Process & Module Functionality
    • Signs | Work Orders
      • Process & Module Functionality
    • Signs | Service Requests
      • Process & Functionality
    • Contractor | Work Orders
      • Process & Module Functionality
    • Sign Fabrication Work Orders
      • Process and Functionality
    • Special Functions/Codes
      • Work Order Attachments
  • SMO | Smart Mobility Operations
    • SMO | Smart Mobility Portal
  • SMS | Shared Mobility Services
    • SMS | Shared Mobility Portal
    • License & Permit Management
    • Sources for Monthly Trip Records
  • STREET BANNER PROGRAM
    • Street Banner Program
    • Street Banner Program
  • TDS | Transportation Development Services
    • TDS | Transportation Development Services Portal
    • Color Palette
    • Role Permissions Guide
    • App Logic
      • Calculating Date Values for Reporting
      • Incrementing Review Cycle Automatically
      • Calculating Review Time & On Time Percentage
      • Calculating Cycle Completion Percentage
      • Calculating an Expiration Date
      • Automatic Due Date with Manual Adjustment
      • Roll up Child Object Conditionals
      • Converting an Entered Percentage to a Percentage Value
      • Create a Connection Link Field to View a Searched Record
      • Extracting Location Coordinates to add a Map Marker Map
    • TDR | Development Reviews
    • TIA | Traffic Impact Analysis
    • TDA | Transportation Development Assessments
  • Traffic Register
    • Traffic Register
    • Table of Contents
    • Workflow
    • Modules
    • Special Functions/Code
    • Permissions
  • TPW Forms
    • TPW Forms
  • VZA | Vision Zero in Action
    • VZA | Vision Zero in Action
    • Batch Copy Process for VZA Assignments
    • Calculate School Closures
    • Login Process for Officers
    • Officer Records
    • Update reports in Power BI
    • Use Tasks for Creating Child Records
    • Use Tasks for Notifications
  • O365 Resources
    • Resources
Powered by GitBook
On this page
  • Table of Contents
  • Banner Image
  • Overall Knack Naming Conventions
  • Page/View Naming Conventions
  • Field Naming Conventions
  • Object Naming Conventions
  • Colors
  • Status Colors
  • Signs & Markings Data Tracker Colors & Icons
  • Arterial Management Data Tracker Colors & Icons
  • Service Request Colors
  • Finance and Purchasing Colors & Icons
  • Layout
  • Form Layout
  • Button Layout
  • Button Styles
  • Links
  • Out of the box "links"
  • Using field labels & instructions to add links

Was this helpful?

  1. Knack

Style Guide

PreviousFunctionality GuideNextSingle Sign On (SSO)

Last updated 4 years ago

Was this helpful?

Table of Contents

  • Banner Image

  • Knack Naming Conventions (Pages/Views, Fields, and Objects)

  • Colors

  • Icons

  • Layout

  • Button Styles

  • Links

Banner Image

You can find the original banner assets and a template for creating a new application banner in the corresponding G drive folder: G:\ATD\ATD_GIS\03_RESOURCES\Seals_Logos\ATD App Banner Assets

  • You can use the .xcf GIMP template file or an .xcf GIMP file for an existing application and edit the text layer of the banner image

  • Banner Size: 800 x 160px

  • Font: Standard or Roboto[Roboto Bold = 1st line, Roboto #1(not bolded) = 2nd line]

    Gimp may automatically bold the second line due to the text formatting of the first line so be sure to un-bold it

  • Font Color: White

  • Font Size: 45px for first line (bold), 36px for second line

    • If text length exceeds banner size, adjust font size smaller until it fits appropriately

  • Layout: City Logo left side, first line: Name of Application, second line: Austin Transportation Department

  • Save as .xcf GIMP file in the logo folder for the application on the G Drive

  • Export as .png file in the logo folder for the application on the G Drive

Overall Knack Naming Conventions

  • No Special Characters

  • No Double Spaces

  • Try not to exceed 63 characters for any name

  • Use singular names over plural names, for example: 'Comment Table' instead of 'Comments Table'

Page/View Naming Conventions

  • Use a unique and descriptive name that no other page will use since the page URL is sourced from its page name

  • Use Title Case

  • Use action verbs where appropriate

  • For example: Instead of an 'Add Attachment' page, use 'Add Attachment to TIA Review' instead

Field Naming Conventions

  • Do not begin a field with a number. For example: use 'Five Day Work Week' instead of '5 Day Work Week'

  • Do not use generic names such as 'ID', instead use descriptive names like 'productID'

  • Use Title Case for fields that will be exposed to end-users in the app

  • The use of # or % symbols in field names is acceptable if exposed to end-users

  • Use camelCase for fields that are only on the backend and not exposed to the user. For formulas and calculations for example use: 'countTasksCompleted' or 'sumOrangeDistrictTransactions'

  • Use the (default) lower_case_object_name for connection fields, unless they are directly exposed to the user, in which case, use Title Case.

  • Field names should not be renamed in a production application without following a change management process. This is critically important if the application has been integrated with external systems.

Object Naming Conventions

  • Use snake_case

  • Order objects alphabetically in Knack

  • Renaming objects should follow a change management process, however renaming objects will not break API integrations.

  • In the ATD Forms app, prepend objects with the acronym for the program or division that owns them and the word PROGRAM or DIVISION, e.g. HR_DIVISION_awards_and_recognition_nominations

Colors

Status Colors

Link

HEX Code

Swatch

Name

HTML Code

Font Awesome Icons

#ff9b9c

Inactive/No

------------

------------

#80d07e

Active/Yes

------------

------------

#f6fa6b

Yellow

------------

------------

#0028ff

Blue

------------

------------

Signs & Markings Data Tracker Colors & Icons

Link

HEX Code

Swatch

Name

HTML Code

Font Awesome Icons

#E41A1C

Need To Be Issued

<i class="fa fa-exclamation-triangle"></i>

#367DB7

Issued

<i class="fa fa-truck"></i>

#ADADAD

On Hold

<i class="fa fa-clock-o"></i>

#974DA2

Needs GIS

<i class="fa fa-map-marker"></i>

4CAE49

Final Review

<i class="fa fa-flag-checkered"></i>

#777777

Closed

<i class="fa fa-checked-circle"></i>

#777777

Cancelled

<i class="fa fa-times"></i>

Arterial Management Data Tracker Colors & Icons

Link

HEX Code

Swatch

Name

HTML Code

Font Awesome Icons

#777777

Unassigned

<i class="fa fa-asterisk"></i>

#777777

In Progress

<i class="fa fa-wrench"></i>

#777777

Assigned

<i class="fa fa-bullhorn"></i>

#777777

Submit

<i class="fa fa-flag-checkered"></i>

#777777

Closed

<i class="fa fa-checked-circle"></i>

#777777

Cancelled

------------

------------

Service Request Colors

Link

HEX Code

Swatch

Name

HMTL Code

Font Awesome Icons

#cd7070

New

------------

------------

#5c68ff

In Progress

------------

------------

#67b36a

Repairs Completed

------------

------------

------------

------------

------------

Close (Resolved)

------------

------------

------------

------------

------------

Close (Duplicate)

------------

------------

Finance and Purchasing Colors & Icons

Link

HEX Code

Swatch

Name

HTML Code

Font Awesome Icons

#ff9b9c

Not Submitted

------------

------------

#377eb8

Waiting for Approval

------------

------------

#ff9b9c

Returned

------------

------------

#6a6565

Rejected

------------

------------

#41ae76

Budget Review

<i class="fa fa-money"></i>

#41ae76

Purchase Review

<i class="fa fa-clipboard"></i>

#41ae76

Processing| Purchasing

<i class="fa fa-cogs"></i>

#41ae76

Processing| Accounts Payable

<i class="fa fa-credit-card"></i>

#f5901f

Pending Invoice

<i class="fa fa-clock-o"></i>

#6a6565

Cancelled

------------

------------

------------

------------

Closed

------------

Layout

Form Layout

  • Follow one column form layout (typically best responsive layout, optimized for tablet/phones)

  • Use default settings for layout

  • Add Attachments, Add Comments

    • (Setup: Display page in modal popup)

      • If modal popup, can remove the title of the form as it is redundant

Button Layout

  • Depending on business process we do two things

  • Add menu, add new page for form/button (cleaner look, not as efficient)

  • Add form directly onto page (not as clean of a look, but usually highly efficient for user especially if they have to enter lots of information)

  • More about BUTTON STYLES

Button Styles

Out of the box "buttons"

  • Add Menu>Link to a new page

  • Add Menu>Link to a existing page

  • Choose icon for button

HTML Buttons

CSS Code:

.block { display: block; width: 20%; border: none; background-color: #4CAE49; color: white; padding: 5px 5px; font-size: 20px; cursor: pointer; text-align: center; }

  • width changes the width of the HTML Button

  • background HTML color code

  • padding is the top and bottom border of the HTML Button

    • first number: 5px (top)

    • second number: 5px (bottom)

  • font-size can change font to different size

Trigger function and Details

  • Used a trigger function from a Details page and replaced the Link Text with HTML

  • In Trigger configuration page, html goes here into this field: Link Text

Enter into Link Text field:

<h2><button class="block><i class="fa fa-plus-circle"></i><strong> New Submission</strong></button></h2>

Looks like this in the live app

Links

Out of the box "links"

Option 1: Add Menu>Link to a URL

Option 2: Add Rich Text

    • Add text for link

    • Click link icon on toolbar

    • Click Insert link

      • Enter URL

      • Enter Text

      • Select Open link in new tab

Using field labels & instructions to add links

Example 1: Form Title or Instructions

Option 1: Link, Link Text and Icon

<a href="https://atd.knack.com/parking#verify/"> Look up address <i class="fa fa-search"><i></a>

Option 2: Form field label text, link that is an icon

Number of Resident Decals <a href="https://atd.knack.com/parking#permit-costs/"></i class="fa fa-info-circle"></i></a>

Option 3: Link and icon that opens in new tab

<a href="https://purchweb.austintexas.gov/search/RTMATSSelect.cfm" target=_blank> Contract Agreement </i class="fa fa-external-link-square"></i></a>

Use to create or update a Knack application banner

HTML: #163f63 - Background Color (make sure Knack Header color is the same)

RGB: #163f63 - Background Color

#ADADAD

Knack references

#80d07e

#367DB7

Gimp software
Font Awesome 4.7.0
#ff9b9c
#80d07e
#f6fa6b
#0028ff
#E41A1C
#367DB7
#ADADAD
#974DA2
#4CAE4
#777777
#777777
#777777
#777777
#777777
#777777
#777777
#777777
#cd7070
#5c68ff
#67b36a
#ff9b9c
#377eb8
#ff9b9c
#6a6565
#41ae76
#41ae76
#41ae76
#41ae76
#f5901f
#6a6565
#367DB7
#163f63
#22, 63, 110
#80d07e
CSS Code - screen shot