Merge branch 'RebeccaBranch'

# Conflicts:
#	src/assets/pages/resources-landing-page.html
pull/3/head
David Tookey 5 years ago
commit ea7ff55eae

@ -1,25 +1,278 @@
{
"grid-container": [
"grid-container": {
"Human Resources": {
"description": "Policies, recruitment, onboarding, benefits and compensation",
"cards": [
{
"title": "Paycor",
"description": "Clock in and out, request time off, review health benefits and access paystubs using the Paycor human-resources application.",
"imagePath": "PaycorLogo2-Transparent_100x100.png",
"description": "Track your time off, manage your benefits plans, and access pay stubs using this human-resources application.",
"imagePath": "paycor-logo3-100x100.png",
"urlText": "https://www.paycor.com/",
"altText": ""
"altText": "Paycor logo"
},
{
"title": "Swag Store",
"description": "Buy polo shirts and other logo gear here. Costs are deducted from Funny Money coupons or your paycheck.",
"imagePath": "swag-store-icon-100x100.png",
"urlText": "https://www.companycasuals.com/JDSfaulknerapparel/start.jsp",
"altText": "Store icon"
},
{
"title": "Employee Handbook",
"description": "Read the handbook to learn about the companys policies related to employment, including pay and benefits.",
"imagePath": "pdf-icon-100x100.png",
"urlText": "../resources/human-resources/JDSfaulkner-Emp-Handbook-v8.0.pdf",
"altText": "PDF icon"
},
{
"title": "Direct Deposit",
"description": "Would you like have your paychecks deposited into your bank account? Fill out this form and submit it to HR.",
"imagePath": "pdf-icon-100x100.png",
"urlText": "../resources/human-resources/2-Paycor_Direct_Deposit_Worksheet.pdf",
"altText": "PDF icon"
},
{
"title": "NC-4EZ Form",
"description": "Submit this form to HR so that the correct amount of state income tax can be witheld from your paychecks.",
"imagePath": "tax-icon-100x100.png",
"urlText": "https://www.ncdor.gov/documents/employees-withholding-allowance-certificate-nc-4ez",
"altText": "tax icon"
},
{
"title": "Employment Application",
"description": "Would you or someone you know like to apply for a position? JDSfaulkner is always accepting applications.",
"imagePath": "word-icon-100x100.png",
"urlText": "../resources/human-resources/Employment-Application.docx",
"altText": "Document icon"
},
{
"title": "Drafting Quiz",
"description": "Click here to access a prequalifying quiz that is a requirement for those applying for drafting positions.",
"imagePath": "word-icon-100x100.png",
"urlText": "../resources/human-resources/JDSfaulknerDraftingQuiz_11-16-20a.docx",
"altText": "Document icon"
},
{
"title": "W-4 Form",
"description": "Fill out this form and submit to HR so that the company can withhold the correct federal income tax from your pay.",
"imagePath": "tax-icon-100x100.png",
"urlText": "https://www.irs.gov/forms-pubs/about-form-w-4",
"altText": "tax icon"
},
{
"title": "SRA",
"description": "A salary reduction agreement helps you to establish or change the part of your compensation that goes to an IRA.",
"imagePath": "pdf-icon-100x100.png",
"urlText": "../resources/human-resources/Notice-and-Agreement.pdf",
"altText": "PDF icon"
}
]
},
"Marketing": {
"description": "Client-facing media, publications, public relations and advertising",
"cards": [
{
"title": "JDSfaulkner.com",
"description": "Our website conveys the company's value and convinces visitors to choose JDSfaulkner, all in the blink of an eye.",
"imagePath": "jdsfaulkner-small-icon.png",
"urlText": "https://jdsfaulkner.com/",
"altText": "JDSfaulkner brand mark"
},
{
"title": "Salesforce",
"description": "Focus on the customer experience with the help of the Salesforce customer relationship management application.",
"imagePath": "salesforce-logo-100x100.png",
"urlText": "https://login.salesforce.com/",
"altText": "Salesforce logo"
},
{
"title": "JDSfaulkner Brochure",
"description": "Share the company's brochure with existing and potential clients to showcase the value JDSfaulkner has to offer.",
"imagePath": "pdf-icon-100x100.png",
"urlText": "../resources/coming-soon.pdf",
"altText": "PDF icon"
},
{
"title": "JDSfaulkner SOQ",
"description": "SOQs present the experience and capabilities that qualify JDSfaulkner to win contracts or new clients.",
"imagePath": "pdf-icon-100x100.png",
"urlText": "../resources/coming-soon.pdf",
"altText": "PDF icon"
},
{
"title": "JDSfaulkner Logo - EPS",
"description": "Do you need to present the logo in your work? Here's an eps format to use in collateral and merchandise.",
"imagePath": "image-eps-icon.png",
"urlText": "../resources/marketing/JDS_faulkner_Logo.eps",
"altText": "Image icon"
},
{
"title": "JDSfaulkner Logo - PNG",
"description": "Do you need to present the logo in your work? Here's a png format to use in collateral and merchandise.",
"imagePath": "image-png-icon.png",
"urlText": "../resources/marketing/JDS_faulkner_Logo.png",
"altText": "Image icon"
},
{
"title": "Marketing Contacts",
"description": "Keep track of important contacts using this list of names, mailing and e-mail addresses, and phone numbers.",
"imagePath": "pdf-icon-100x100.png",
"urlText": "../resources/coming-soon.pdf",
"altText": "PDF icon"
},
{
"title": "Facebook",
"description": "Through Facebook, the company connects with the community by sharing content and interacting with the public.",
"imagePath": "facebooklogogrey_100x100.png",
"urlText": "https://www.facebook.com/JDSfaulkner/",
"altText": "Facebook icon"
},
{
"title": "LinkedIn",
"description": "JDSfaulkner maintains a presence on LinkedIn for professional networking, posting job openings and receiving resumes.",
"imagePath": "linkedinlogo_100x100.png",
"urlText": "https://www.linkedin.com/company/jds-consulting-&-design",
"altText": "LinkedIn icon"
}
]
},
"Productivity": {
"description": "Basic work tools, e-mail, calendar, document applications and cloud storage",
"cards": [
{
"title": "Gmail",
"description": "Access your company e-mail and a suite of Google apps, including a calendar, instant messaging and cloud storage.",
"imagePath": "Gmail-Transparent_100x100.png",
"description": "Access your company e-mail along with a suite of Google apps, including a calendar, instant messaging and cloud storage.",
"imagePath": "gmail-logo2-100x100.png",
"urlText": "https://mail.google.com",
"altText": ""
"altText": "Gmail logo"
},
{
"title": "Workplace",
"description": "Get the latest news and connect with colleagues. JDSfaulkner uses Workplace by Facebook for posting and sharing.",
"imagePath": "WorkplaceLogo-Transparent_100x100.png",
"imagePath": "workplace-logo3-100x100.png",
"urlText": "https://jdsfaulkner.workplace.com",
"altText": "Workplace logo"
},
{
"title": "Google Workspace",
"description": "This suite of Google products includes Gmail, Calendar, Meet, Chat, Drive, Docs, Sheets, Slides, Forms and more.",
"imagePath": "google-logo2-100x100.png",
"urlText": "https://myaccount.google.com/",
"altText": "Google Workspace logo"
},
{
"title": "Dropbox",
"description": "The Structural Engineering Design department stores most of its files and folders in the Dropbox cloud-based system.",
"imagePath": "dropbox-logo3-100x100.png",
"urlText": "https://www.dropbox.com/login",
"altText": "Dropbox logo"
}
]
},
"Training": {
"description": "Career growth, skills development, online courses, manuals and references",
"cards": [
{
"title": "Learning Center",
"description": "Visit your central location for e-learning, offering the flexibility to learn on your own schedule and at your own pace.",
"imagePath": "learning-center-icon4-100x100.png",
"urlText": "https://jdsfaulkner.workplace.com",
"altText": ""
"altText": "Learning Center icon"
},
{
"title": "ASTM Procedures",
"description": "Log in to this website for access to current ASTM procedures. Contact the CMT Manager for the login ID and password.",
"imagePath": "astm-logo3-100x100.png",
"urlText": "https://myastm.astm.org/",
"altText": "ASTM logo"
},
{
"title": "Company Procedures",
"description": "Find out how to carry out specific tasks at JDSfaulkner in a manner that ensures company-wide consistency and quality.",
"imagePath": "learning-center-icon4-100x100.png",
"urlText": "https://learning.carolina.engineering/additional-resources/",
"altText": "Learning Center icon"
},
{
"title": "Field Guide",
"description": "This quick-reference guide helps engineering technicians find helpful charts, tables and information.",
"imagePath": "learning-center-icon4-100x100.png",
"urlText": "https://learning.carolina.engineering/additional-resources/",
"altText": "Learning Center icon"
},
{
"title": "CAD Tech Study Guide",
"description": "This guide presents lessons for drafters, each of which can help a drafter advance to CAD Tech II status.",
"imagePath": "learning-center-icon4-100x100.png",
"urlText": "https://learning.carolina.engineering/additional-resources/",
"altText": "Learning Center icon"
},
{
"title": "Deltek University",
"description": "Increase your Deltek knowledge with courses designed to teach you how to use Deltek solutions.",
"imagePath": "deltek-logo-black.png",
"urlText":"https://www.deltek.com/en/support/deltek-university",
"altText": "Deltek logo"
}
]
},
"Workflow": {
"description": "Project management, task assignment and status, client information, invoicing and reports",
"cards": [
{
"title": "Clarity",
"description": "Create, track, review and bill field-engineering projects, start to finish, with Clarity project management software.",
"imagePath": "clarity-icon-100x100.png",
"urlText": "https://learning.carolina.engineering/introduction-to-clarity/",
"altText": "Clarity image"
},
{
"title": "Project Insight",
"description": "Structural Engineering Design uses this project management software to centralize the group's work, tasks and projects.",
"imagePath": "project-insight-logo6-100x100.png",
"urlText": "https://jds.projectinsight.net/",
"altText": "Project Insight logo"
},
{
"title": "Deltek",
"description": "Project intelligence, management and collaboration software helps maximize productivity and revenue.",
"imagePath": "deltek-logo-black.png",
"urlText": "https://www.deltek.com/en",
"altText": "Deltek logo"
},
{
"title": "Procore",
"description": "Administrators for field engineering projects use Procore for collecting, reviewing and approving invoices.",
"imagePath": "ProcoreLogo2.png",
"urlText": "https://www.procore.com/",
"altText": "Procore logo"
},
{
"title": "Client W-9 Form",
"description": "A W-9 form is required by JDSfaulkner so that the company can file an information return with the IRS.",
"imagePath": "tax-icon-100x100.png",
"urlText": "https://www.irs.gov/forms-pubs/about-form-w-9",
"altText": "tax icon"
},
{
"title": "Project Folders",
"description": "Access vital information about specific projects from initial set-up to final delivery in an accessible and central location.",
"imagePath": "project-folder-icon-100x100.png",
"urlText": "../resources/coming-soon.pdf",
"altText": "Project folder icon"
}
]
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

@ -0,0 +1 @@
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-chevron-down" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>

After

Width:  |  Height:  |  Size: 288 B

@ -0,0 +1 @@
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-chevron-up" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"/></svg>

After

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

@ -1,228 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="styles/bootstrap.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="styles/Design1.css">
<title>Resources</title>
</head>
<body>
<header>
<div class="collapse bg-dark" id="navbarHeader">
<div class="container">
<div class="row">
<div class="col-sm-8 col-md-7 py-4">
<h4 class="text-white">About</h4>
<p class="text-muted">Add some information about the album below, the author, or any other background context. Make it a few sentences long so folks can pick up some informative tidbits. Then, link them off to some social networking sites or contact information.</p>
</div>
<div class="col-sm-4 offset-md-1 py-4">
<h4 class="text-white">Contact</h4>
<ul class="list-unstyled">
<li><a href="#" class="text-white">Follow on Twitter</a></li>
<li><a href="#" class="text-white">Like on Facebook</a></li>
<li><a href="#" class="text-white">Email me</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="navbar navbar-dark bg-dark shadow-sm">
<div class="container d-flex justify-content-between">
<a href="#" class="navbar-brand d-flex align-items-center">
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-book" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M1 2.828v9.923c.918-.35 2.107-.692 3.287-.81 1.094-.111 2.278-.039 3.213.492V2.687c-.654-.689-1.782-.886-3.112-.752-1.234.124-2.503.523-3.388.893zm7.5-.141v9.746c.935-.53 2.12-.603 3.213-.493 1.18.12 2.37.461 3.287.811V2.828c-.885-.37-2.154-.769-3.388-.893-1.33-.134-2.458.063-3.112.752zM8 1.783C7.015.936 5.587.81 4.287.94c-1.514.153-3.042.672-3.994 1.105A.5.5 0 0 0 0 2.5v11a.5.5 0 0 0 .707.455c.882-.4 2.303-.881 3.68-1.02 1.409-.142 2.59.087 3.223.877a.5.5 0 0 0 .78 0c.633-.79 1.814-1.019 3.222-.877 1.378.139 2.8.62 3.681 1.02A.5.5 0 0 0 16 13.5v-11a.5.5 0 0 0-.293-.455c-.952-.433-2.48-.952-3.994-1.105C10.413.809 8.985.936 8 1.783z"/>
</svg>
&nbsp;
<strong>Resources</strong>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarHeader" aria-controls="navbarHeader" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</div>
</header>
<main role="main">
<section class="jumbotron text-center">
<div class="container">
<h1>Resources</h1>
<p class="font-weight-normal" style="font-size: 17px">Whether you're looking for a folder, document, tool, website or application, you can find it here.</p>
<div>
<a href="#" class="btn btn-primary my-2">Learn more</a>
<a href="#" class="btn btn-secondary my-2">Send feedback</a>
</div>
</div>
</section>
<div class="album py-5 bg-light">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<img class="card-img-top" src="../images/InterfaceImagine_356x280.png" alt="Computer screen">
<div class="card-body">
<p class="card-text">Would you like to view a design that looks more like an application than a web page? Check out this <a href="Alternative1.html">alternative layout</a>.</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
</div>
<small class="text-muted">9 mins</small>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<img class="card-img-top" src="../images/Email-b_356x280.png" alt="Email image">
<div class="card-body">
<p class="card-text">Open your company e-mail application. Your Gmail account offers e-mail, a calendar and instant messaging.</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
</div>
<small class="text-muted">9 mins</small>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<img class="card-img-top" src="../images/SocialMedia_356x280.png" alt="Social media image">
<div class="card-body">
<p class="card-text">Get the latest company news and connect with your colleagues. JDSfaulkner uses Workplace by Facebook for sharing information.</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
</div>
<small class="text-muted">9 mins</small>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg>
<div class="card-body">
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
</div>
<small class="text-muted">9 mins</small>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg>
<div class="card-body">
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
</div>
<small class="text-muted">9 mins</small>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg>
<div class="card-body">
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
</div>
<small class="text-muted">9 mins</small>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg>
<div class="card-body">
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
</div>
<small class="text-muted">9 mins</small>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg>
<div class="card-body">
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
</div>
<small class="text-muted">9 mins</small>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm">
<svg class="bd-placeholder-img card-img-top" width="100%" height="225" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg>
<div class="card-body">
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
</div>
<small class="text-muted">9 mins</small>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<footer class="text-muted">
<div class="container">
<p class="float-right">
<a href="#">Back to top</a>
</p>
<!-- <p>Album example is &copy; Bootstrap, but please download and customize it for yourself!</p>-->
<!-- <p>New to Bootstrap? <a href="https://getbootstrap.com/">Visit the homepage</a> or read our <a href="/docs/4.5/getting-started/introduction/">getting started guide</a>.</p>-->
</div>
</footer>
<!-- Option 2: jQuery, Popper.js, and Bootstrap JS
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js" integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s" crossorigin="anonymous"></script>
-->
</body>
</html>

@ -1,157 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="styles/theme3.css">
<link rel="stylesheet" href="styles/Design3.css">
<title>ResourceFinder</title>
</head>
<body>
<header>
<div class="collapse bg-dark" id="navbarHeader">
<div class="container">
<div class="row">
<div class="col-sm-8 col-md-7 py-4">
<p class="text-muted">It's easy to find the resource you need with ResourceFinder. Enter your search term and view related resources. To access the resource, click "Go."</p>
</div>
<div class="col-sm-4 offset-md-1 py-4">
<ul class="list-unstyled">
<li><a href="#" class="text-white">Help</a></li>
<li><a href="#" class="text-white">Feedback</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="navbar navbar-dark bg-dark shadow-sm">
<div class="container d-flex justify-content-between">
<a href="#" class="navbar-brand d-flex align-items-center">
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-search" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M10.442 10.442a1 1 0 0 1 1.415 0l3.85 3.85a1 1 0 0 1-1.414 1.415l-3.85-3.85a1 1 0 0 1 0-1.415z"/>
<path fill-rule="evenodd" d="M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"/>
</svg>
&nbsp;
<strong>ResourceFinder</strong>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarHeader" aria-controls="navbarHeader" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</div>
</header>
<main role="main">
<section class="jumbotron text-center">
<div class="container">
<h1>Resources</h1>
<p class="font-weight-normal" style="font-size: 17px">What kind of resource are you looking for?</p>
<div>
<input class="form-control form-control-dark w-100 bg-secondary border-0" placeholder="Search" aria-label="Search">
</div>
</div>
</section>
<div class="album py-5">
<div class="container bg-white">
<div class="row">
<div class="col-md-4">
<div class="card mb-4 shadow-sm bg-secondary">
<div class="card-body">
<h5 class="card-text text-primary" style="text-align:center">Paycor</h5>
<p class="card-text text-primary">Clock in and out, request time off, review health benefits and access paystubs using the Paycor human-resources application.
</p>
<div class="d-flex justify-content-between align-items-center">
<img class="rounded-circle mx-auto d-block img-fluid" src="../images/PaycorLogo2-Circle_100x100.png" alt="Paycor logo" style="max-height:50px">
</div>
<hr width="95%" align="center" color="#A79D9D">
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-outline-primary">Go</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm bg-secondary">
<div class="card-body">
<h5 class="card-text text-primary" style="text-align:center">Gmail</h5>
<p class="card-text text-primary">Access your company e-mail and a suite of Google apps, including a calendar, instant messaging and cloud storage.
</p>
<div class="d-flex justify-content-between align-items-center">
<img class="rounded-circle mx-auto d-block img-fluid" src="../images/GmailCircle_100x100.png" alt="Gmail logo" style="max-height:50px">
</div>
<hr width="95%" align="center" color="#A79D9D">
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-outline-primary">Go</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4 shadow-sm bg-secondary">
<div class="card-body">
<h5 class="card-text text-primary" style="text-align:center">Workplace</h5>
<p class="card-text text-primary">Get the latest news and connect with colleagues. JDSfaulkner uses Workplace by Facebook for posting and sharing.
</p>
<div class="d-flex justify-content-between align-items-center">
<img class="rounded-circle mx-auto d-block img-fluid" src="../images/WorkplaceLogo-Circle_100x100.png" alt="Workplace logo" style="max-height:50px">
</div>
<hr width="95%" align="center" color="#A79D9D">
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-outline-primary">Go</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<footer class="text-muted">
<div class="container">
<p class="float-left">Would you like to return to the first design? Click
<a href="resources-landing-page.html"> here</a>.</p>
<p class="float-right">
<a href="#">Back to top</a>
</p>
<!-- <p>Album example is &copy; Bootstrap, but please download and customize it for yourself!</p>-->
<!-- <p>New to Bootstrap? <a href="https://getbootstrap.com/">Visit the homepage</a> or read our <a href="/docs/4.5/getting-started/introduction/">getting started guide</a>.</p>-->
</div>
</footer>
<!-- Option 2: jQuery, Popper.js, and Bootstrap JS
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js" integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s" crossorigin="anonymous"></script>
-->
</body>
</html>

@ -1,9 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>ResourceFinder</title>
<title>Resource Center</title>
<link rel="stylesheet" href="styles/resources-landing-page.css">
@ -11,67 +13,125 @@
<script>require('popper.js')</script>
<script>require('bootstrap')</script>
</head>
<body hidden ONLOAD="$('body').removeAttr('hidden');" class="bg-secondary">
<header>
<div class="collapse bg-secondary" id="navbarHeader">
<div class="container">
<div class="fixed-top d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-0 bg-primary border-top shadow-sm">
<a class="navbar-brand text-navbartext my-0 mr-md-auto">
<img src="../images/Asset4.png" height="30" class="d-inline-block align-top"
alt="JDSfaulkner logo">
&nbsp;Resource Center
</a>
<nav class="my-2 my-md-0 mr-md-3">
<a class="p-2 text-navbartext" href="#">Help</a>
<a class="p-2 text-navbartext" href="#">Feedback</a>
</nav>
<a class="btn btn-outline-themebuttonoutline" id="theme-toggle">Theme</a>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-sm-8 col-md-7 py-4">
<p class="text-success">You rely on a vast amount of resources to do your job. How can you keep track of them all? Explore ResourceFinder. From payroll to project-management, ResourceFinder can help you locate the tools you need.</p>
</div>
<div class="col-sm-4 offset-md-1 py-4">
<ul class="list-unstyled">
<li><a href="#" class="text-success">Help</a></li>
<li><a href="#" class="text-success">Feedback</a></li>
<nav class="col-md-2 d-none d-md-block bg-sidebarfill sidebar">
<div class="sidebar-sticky">
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link active text-sidebartext" href="#">
<span data-feather="home"></span>
Top <span class="sr-only">(current)</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="navbar navbar-light bg-primary shadow-sm">
<div class="container d-flex justify-content-between">
<a class="navbar-brand" href="#">
<img src="../images/JDS_faulkner_Logo_NoTextAtBottom.png" height="30" class="d-inline-block align-top" alt="JDSfaulkner logo" loading="lazy">&nbsp;&nbsp;ResourceFinder
<h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-sidebartext">
<span>Resource Categories</span>
<a class="d-flex align-items-center" href="#">
</a>
</h6>
<ul class="nav flex-column mb-2 ml-4">
<li class="nav-item">
<a class="nav-link text-sidebartext" href="#human-resources-collapser">
<span data-feather="list-ul"></span>
Human Resources
</a>
</li>
<li class="nav-item">
<a class="nav-link text-sidebartext" href="#marketing-collapser">
<span data-feather="list-ul"></span>
Marketing
</a>
</li>
<li class="nav-item">
<a class="nav-link text-sidebartext" href="#productivity-collapser">
<span data-feather="list-ul"></span>
Productivity
</a>
</li>
<li class="nav-item">
<a class="nav-link text-sidebartext" href="#training-collapser">
<span data-feather="list-ul"></span>
Training
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarHeader"
aria-controls="navbarHeader" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</li>
<li class="nav-item">
<a class="nav-link text-sidebartext" href="#workflow-collapser">
<span data-feather="list-ul"></span>
Workflow
</a>
</li>
</ul>
</div>
</nav>
<main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-md-4">
<div class="justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3">
<div class="album py-5">
<div class="sb-example-1">
<div class="search">
<input type="text" class="searchTerm" placeholder="Search">
<button type="submit" class="searchbutton">
<svg width="100%" height="auto" viewBox="-1 -3 22 22" class="bi bi-search" fill="info" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M10.442 10.442a1 1 0 0 1 1.415 0l3.85 3.85a1 1 0 0 1-1.414 1.415l-3.85-3.85a1 1 0 0 1 0-1.415z"/>
<path fill-rule="evenodd" d="M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"/>
</svg>
</button>
</div>
</div>
</header>
<main>
<div class="album py-5 bg-secondary">
<button id="theme-toggle" class="btn btn-light mb-2">Push to change theme</button>
<div class="album py-5 ">
<div class="container">
<input class="form-control form-control-dark w-100 bg-info border border-boxborder" placeholder="Search"
aria-label="Search">
<div id="grid-container">
</div>
<div class="album py-5 bg-secondary">
<div class="container bg-secondary">
<!-- div container-->
<div id="grid-container" class="row">
</div>
</div>
</div>
</div>
</main>
</body>
<footer class="page-footer">
<div class="container">
<p class="float-left text-warning">
<a href="Design3.html">Design 3</a>
<p class="float-right text-warning">
<p class="float-left">
<a href="resources-landing-page.html">&nbsp;</a>
</p>
<p class="float-right">
<a href="#">Back to top</a>
</p>
</div>
</footer>
</main>
</div>
</div>
</body>
<script src="scripts/tsUtil.js"></script>
<script>loadTSTarget("themes.js");</script>
<script src="scripts/index_app.js"></script>

@ -1,46 +0,0 @@
.jumbotron {
padding-top: 3rem;
padding-bottom: 3rem;
margin-bottom: 0;
background-color: #fff;
background-image: url('../../images/FilesImage_WebBanner_1800x600.png');
background-repeat: no-repeat;
background-position:bottom center;
background-size:cover;
}
@media (min-width: 768px) {
.jumbotron {
padding-top: 6rem;
padding-bottom: 6rem;
}
}
.jumbotron p:last-child {
margin-bottom: 0;
}
.jumbotron h1 {
font-weight: 500;
color: rgb(90,90,90);
text-shadow: 0 0 4px rgba (0,0,0,0.5);
}
.jumbotron .container {
max-width: 40rem;
background: rgba(255,255,255,0.45);
padding: 2rem;
color: white;
}
.jumbotron p {
color: rgb(55,55,55);
}
footer {
padding-top: 3rem;
padding-bottom: 3rem;
}
footer p {
margin-bottom: .25rem;
}

@ -1,13 +1,37 @@
html {
font-size: 14px;
}
@media (min-width: 768px) {
html {
font-size: 16px;
}
}
.input-group {
max-width: 960px;
margin: auto;
}
.main {
background-color: secondary;
color: warning
color: navbartext;
}
body {
font-size: 1rem;
padding-top: 80px;
padding-bottom: 20px;
}
.feather {
width: 16px;
height: 16 px;
vertical-align: text-bottom;
}
.album {
background-color: secondary;
color: warning
color: navbartext;
}
.img-thumbnail {
@ -18,40 +42,118 @@
background-color: primary;
}
.navbar {
color: #c1c0cc;
margin-bottom: 20px;
}
/*
* Sidebar
*/
.sidebar {
position: fixed;
top: 0;
bottom: 0;
left: 0;
z-index: 100; /* Behind the navbar */
padding: 0;
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}
.sidebar-sticky {
position: -webkit-sticky;
position: sticky;
top: 48px; /* Height of navbar */
height: calc(100vh - 48px);
margin-top: 6rem;
padding-left: .5rem;
overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}
.sidebar .nav-link {
font-weight: 500;
color: navbartext;
}
.form-control {
color: #searchfont;
.sidebar .nav-link .feather {
margin-right: 4px;
color: navbartextfeather;
}
.form-control:focus {
color: #searchfont;
.sidebar .nav-link.active {
color: navbartextactive;
}
.card-image-background{
.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
color: inherit;
}
.sidebar-heading {
font-size: .75rem;
text-transform: uppercase;
}
/*
* End Sidebar
*/
.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }
.nav-link {
color: navbartext;
}
@media (min-width: 768 px) {
.main {
padding-right: 40px;
padding-left: 220px; /* 180 + 40 */
}
}
.searchbutton {
background-color: transparent;
color: searchhint;
border-radius: 25px;
}
.searchbutton svg {
fill: searchhint;
}
.card-image-background {
display: flex;
}
.text-align-left{
.text-align-left {
text-align: left;
}
.form-control::-webkit-input-placeholder { color: searchfont; } /* WebKit, Blink, Edge */
.form-control:-moz-placeholder { color: searchfont; } /* Mozilla Firefox 4 to 18 */
.form-control::-moz-placeholder { color: searchfont; } /* Mozilla Firefox 19+ */
.form-control:-ms-input-placeholder { color: searchfont; } /* Internet Explorer 10-11 */
.form-control::-ms-input-placeholder { color: searchfont; } /* Microsoft Edge */
.category-header p {
margin: 0 0 .15em 0;
padding-left: 1rem;
padding-bottom: .5rem;
}
.category-header h5 {
padding-left: 1rem;
padding-top: .5rem;
}
.footer {
padding-top: 3rem;
padding-bottom: 3rem;
background: primary;
color: footertext;
}
.footer p {
margin-bottom: .25rem;
margin-left: 25rem;
padding-left: 25rem;
color: footertext;
}

@ -1,4 +1,5 @@
@use "sass:map";
$enable-rounded: true !default;
@ -11,27 +12,27 @@ $enable-rounded: true !default;
cursor: pointer;
}
.web-card-background{
.web-card-background {
background-color: map-get($theme-colors, inactivecard);
}
.web-card-background:hover{
.web-card-background:hover {
background-color: map-get($theme-colors, activecard);
}
.web-card-background:hover .text-header{
.web-card-background:hover .text-header {
color: map-get($theme-colors, headertextcolorhover);
}
.web-card-background:hover .text-paragraph{
.web-card-background:hover .text-paragraph {
color: map-get($theme-colors, paragraphtextcolorhover);
}
.web-card-background:hover .web-card-image-background{
.web-card-background:hover .web-card-image-background {
background-color: map-get($theme-colors, webcardimagebackgroundhover);
}
.web-card-image-background{
.web-card-image-background {
background-color: map-get($theme-colors, webcardimagebackground);
border-radius: 50%;
}
@ -40,14 +41,88 @@ $enable-rounded: true !default;
color: map-get($theme-colors, headertextcolor);
}
.text-paragraph{
.text-paragraph {
color: map-get($theme-colors, paragraphtextcolor);
}
html{
height:100%
.no-overflow {
overflow: hidden;
}
html {
height: 100%
}
body {
height: 100%;
}
.category-header {
border: 1px solid;
border-radius: 5px;
cursor: pointer;
margin-bottom: 4px;
background-color: map-get($theme-colors, inactiveaccordion);
color: map-get($theme-colors, inactivetextaccordion);
border-color: map-get($theme-colors, inactiveborderaccordion);
}
.category-header.active {
margin-bottom: 25px;
background-color: map-get($theme-colors, activeaccordion);
color: map-get($theme-colors, activetextaccordion);
border-color: map-get($theme-colors, activeborderaccordion);
}
.searchTerm::-webkit-input-placeholder {
color: map-get($theme-colors, searchhint) !important;
}
.sb-example-1 .search {
width: 95%;
position: relative;
display: flex;
margin: auto;
max-width: 1100px
}
body{
height:100%;
.sb-example-1 .searchTerm {
width: 100%;
border: 1px solid;
border-color: map-get($theme-colors, boxborder2);
border-right: none;
padding-left: 15px;
padding-right: 15px;
border-radius: 25px 0 0 25px;
stroke: map-get($theme-colors, searchicon);
color: map-get($theme-colors, searchhint);
background-color: map-get($theme-colors, info);
box-shadow: none;
outline: none;
}
.sb-example-1 .searchTerm:focus {
stroke: map-get($theme-colors, searchicon);
background-color: map-get($theme-colors, info);
box-shadow: none;
color: map-get($theme-colors, searchfont) !important;
outline: none;
}
.sb-example-1 .searchbutton {
width: 40px;
height: 50px;
border: 1px solid;
border-color: map-get($theme-colors, boxborder2);
background-color: map-get($theme-colors, searchbuttonfill);
text-align: center;
fill: map-get($theme-colors, searchicon);
border-radius: 0 25px 25px 0;
cursor: pointer;
font-weight: normal;
box-shadow: none;
outline: none;
}

@ -1,21 +1,48 @@
$theme-colors: (
"primary": #707070,
"secondary": #303033,
"primary": #45454c,
"secondary": #121212,
"success": #808080,
"info": #202023,
"info": #2d2d31,
"warning": #000000,
"inactivecard": #414144,
"activecard": #707070,
"boxborder": #55555c,
"navbartext": #808080,
"navbartextfeather": #303033,
"navbartextactive": #202022,
"inactivecard": #333337,
"activecard": #4f4f56,
"boxborder": #272727,
"boxborder2": #2f2f2f,
"activecardfont":#e1e4e8,
"searchfont": #808080,
"searchhint": #6b6866,
"searchfont": #9f9c9a,
"sidebarfill": #202023,
"searchbuttonfill": #39393f,
"searchicon": #737373,
"sidebartext": #787572,
"webcardimagebackground": #707070,
"webcardimagebackgroundhover": #808080,
"headertextcolor": #808080,
"headertextcolorhover": #ffffff,
"paragraphtextcolor": #808080,
"paragraphtextcolorhover":#ffffff,
"webcardimagebackgroundhover": #98928F,
"headertextcolor": #9d9d9d,
"headertextcolorhover": #d9d2d2,
"paragraphtextcolor": #9d9d9d,
"paragraphtextcolorhover":#d9d2d2,
"themebuttonoutline": #808080,
"inactiveaccordion": #202023,
"activeaccordion": #333337,
"inactivetextaccordion": #787572,
"activetextaccordion": #9d9d9d,
"inactiveborderaccordion": #180606,
"activeborderaccordion": rgba(26, 26, 26, 0),
"footertext": #7b7b7b,
);
.theme-button{
width:40px;
height: 30px;
background-size: contain;
background-color: transparent;
background-repeat: no-repeat;
background-image: url("../../images/dark-theme-toggle.png");
cursor: pointer;
}
@import "theme-base";

@ -1,21 +1,48 @@
$theme-colors: (
"primary": #2c2c2c,
"primary": #ffffff,
"secondary": #e5e5e5,
"success": #0B031C,
"info": #ffffff,
"warning": #700000,
"navbartext": #434344,
"navbartextfeather": #323233,
"navbartextactive": #212122,
"inactivecard": #ffffff,
"activecard": #13a04a,
"boxborder": #c0c2c6,
"activecardfont":#e1e4e8,
"boxborder2": #c0c2c6,
"activecardfont": #e1e4e8,
"searchhint": #c0c2c6,
"searchfont": #2c2c2c,
"sidebarfill": #f6f6f6,
"sidebartext": #545455,
"searchbuttonfill": #f6f6f6,
"searchicon": #545455,
"webcardimagebackground": #eeeeee,
"webcardimagebackgroundhover": #ffffff,
"headertextcolor": #2c2c2c,
"webcardimagebackgroundhover": #f0f0f0,
"headertextcolor": #434344,
"headertextcolorhover": #ffffff,
"paragraphtextcolor": #2c2c2c,
"paragraphtextcolorhover":#ffffff,
"paragraphtextcolor": #434344,
"paragraphtextcolorhover": #ffffff,
"themebuttonoutline": #434344,
"inactiveaccordion": #f6f6f6,
"activeaccordion": #ffffff,
"inactivetextaccordion": #434344,
"activetextaccordion": #434344,
"borderaccordion": #c0c2c6,
"inactiveborderaccordion": #c0c2c6,
"activeborderaccordion": rgba(26, 26, 26, 0),
"footertext": #434344,
);
.theme-button{
width: 40px;
height: 30px;
background-size: contain;
background-color: transparent;
background-repeat: no-repeat;
background-image: url("../../images/light-theme-toggle.png");
cursor: pointer;
}
@import "theme-base";

@ -1,14 +0,0 @@
$theme-colors: (
"primary": #393939,
"secondary": #e1e4e8,
"success": #e1e1e1,
"info": #507CBF,
"warning": #F9E3D3
);
$enable-rounded: true !default;
@import "node_modules/bootstrap/scss/bootstrap";
@import "node_modules/bootstrap/scss/functions";
@import "node_modules/bootstrap/scss/variables";
@import "node_modules/bootstrap/scss/mixins";

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

@ -0,0 +1,9 @@
<html lang="en">
<div>
<div id="{{{category-key}}}-collapser" class="category-header">
<div class="d-flex"><h5>{{{category-id-clean}}}</h5><img id="{{{category-key}}}-img" src="../images/chevron-up.svg" class="ml-auto p-2" alt="button"/></div>
<p class="align-self-center">{{{category-description}}}</p>
</div>
<div id="{{{category-key}}}-container" class="{{{category-key}}}-collapse no-overflow row" style="display:none;"></div>
</div>
</html>

@ -1,8 +1,8 @@
<html lang="en">
<div class="col-md-4 web-card" id="{{{id}}}" >
<div class="col-md-4 web-card" id="{{{id}}}">
<div class="card mb-4 shadow-sm web-card-background">
<div class="card-body text-center">
<h7 class="card-text text-header" style="text-align:center">{{title}}</h7>
<h6 class="card-text text-header" style="text-align:center">{{title}}</h6>
<p class="card-text text-paragraph text-align-left">{{description}} </p>
<div class="d-inline-block mx-auto justify-content-between align-items-center web-card-image-background">
<img class="rounded-circle mx-auto d-block img-fluid"
@ -12,3 +12,4 @@
</div>
</div>
</div>
</html>

@ -20,22 +20,20 @@ export function cacheTemplates() {
});
}
export function loadTemplate(filename: string, objs: object[], cb: TemplateCallbackType) {
export function loadTemplate(filename: string, obj: object, cb: TemplateCallbackType) {
let contents = templateCache[filename];
if (!contents) throw new Error("No such template: " + filename);
let results: string[] = []
for (let i = 0, l = objs.length; i < l; i++) {
let obj = objs[i]
let rendered = Mustache.render(contents, obj)
results.push(rendered)
if (null !== cb) {
cb(rendered)
}
cb(results)
return rendered;
}
export function loadTemplateSingle(filename: string, cardModel: CardModel, cb: (content: string, id: string) => void) {
let contents = templateCache[filename];
if (!contents) throw new Error("No such template: " + filename);
cardModel['id'] = createId(cardModel.resourcePath);
cardModel['id'] = createId(cardModel.title + cardModel.resourcePath);
let rendered = Mustache.render(contents, cardModel);
cb(rendered, cardModel['id']);
}

@ -13,15 +13,12 @@ export module Themes {
applyTheme(initTheme);
let initToggle = $('#theme-toggle');
let initThemeEnum = getThemeFromValue(initTheme);
initToggle.addClass(getButtonClassFromAppTheme(initThemeEnum));
// initToggle.addClass(getButtonClassFromAppTheme(initThemeEnum));
initToggle.on("click", () => {
let conf = Configurator.loadUserConfig(ConfigPaths.UserConfigName);
let toggle = $("#theme-toggle");
let themeValue = conf['theme'];
let currTheme = getThemeFromValue(themeValue);
let opposite = getOppositeTheme(currTheme);
toggle.removeClass(getButtonClassFromAppTheme(currTheme));
toggle.addClass(getButtonClassFromAppTheme(opposite));
applyTheme(opposite);
conf['theme'] = opposite;
Configurator.saveUserConfig(ConfigPaths.UserConfigName, conf);

@ -1,5 +1,5 @@
import {Configurator, FileUtils} from './fileutils'
import {loadTemplateSingle} from "./templates"
import {loadTemplate, loadTemplateSingle} from "./templates"
const shell = require('electron').shell;
@ -40,17 +40,54 @@ export function buildFileCard(filePath: string, elem: Element, append: boolean =
export function buildWebCardsFromConfig(configName: string) {
let elementConfig = Configurator.loadAppConfig(configName);
let $ = require('jquery')
let keys = Object.keys(elementConfig);
let containers = Object.keys(elementConfig);
for (let i = 0, l = containers.length; i < l; i++) {
let containerName = containers[i];
let containerObject = elementConfig[containerName];
let containerElem = $(`#${containerName}`);
let containerCategories = Object.keys(containerObject);
for (let j = 0, m = containerCategories.length; j < m; j++) {
let categoryMetaObjectKey = containerCategories[j];
let categoryMetaObject = containerObject[categoryMetaObjectKey];
let contentList = categoryMetaObject["cards"];//should be array of objects to render
let categoryDescription = categoryMetaObject["description"];
let categoryKey = categoryMetaObjectKey.replace(/[\s,]/ig, '-').toLowerCase();
let categoryObject = {
"category-description": categoryDescription,
"category-key": categoryKey,
"category-id-clean": categoryMetaObjectKey
};
let categoryWrapperRaw = loadTemplate("card-category.mustache", categoryObject, (x) => {
});
let categoryWrapper = $(categoryWrapperRaw);
containerElem.append(categoryWrapper);
let view = $(`#${categoryKey}-container`);
let collapseButton = $(`#${categoryKey}-collapser`);
for (let i = 0, l = keys.length; i < l; i++) {
let key = keys[i];
let contentList = elementConfig[key];
let element = $(`#${key}`);
console.log(element);
for (let j = 0, m = contentList.length; j<m;j++){
collapseButton.on("click", () => {
let collapsable = $(`#${categoryKey}-container`);
let collapseButton = $(`#${categoryKey}-collapser`);
let collapseImg = $(`#${categoryKey}-img`);
if ("none" === collapsable.css('display')) {
collapsable.css("display", "");
collapseButton.addClass("active");
collapseImg.attr("src", "../images/chevron-down.svg");
} else {
collapsable.css("display", "none");
collapseButton.removeClass("active");
collapseImg.attr("src", "../images/chevron-up.svg");
}
});
for (let j = 0, m = contentList.length; j < m; j++) {
let content = contentList[j];
buildWebCard(element, content, true, $);
buildWebCard(view, content, true, $);
}
}
}
@ -65,7 +102,6 @@ export function buildWebCard(elem: JQuery<HTMLElement>, obj, append: boolean = f
);
loadTemplateSingle("web-card.mustache", model, (content: string, id: string) => {
console.log(elem);
if (append) {
elem.append(content);
} else {
@ -100,11 +136,9 @@ function getImagePathFromDocumentName(name: string): string {
function launchDocument(filename: string) {
let fullPath = FileUtils.getPathToDocument(filename);
console.log(`Attempting to open file: ${fullPath}`);
shell.openItem(fullPath);
}
function launchWebsite(url: string) {
console.log("Attempting to launch " + url)
shell.openItem(url);
}
Loading…
Cancel
Save