This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Create a new custom widget and place the following code in the Content area --> | |
| <h2>Need help? Having trouble?</h2> | |
| <ul> | |
| <li><a href="/Shared/documentation/help.html?role={rolename}" target="_blank">Online Help</a></li> | |
| <li><a href="#">Quick Reference Guides</a></li> | |
| <li>Call the HelpDesk (865.694.6537) or <a href="#">email them</a></li> | |
| </ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Vapor | |
| import HTTP | |
| public class AdminAuthMiddleware: Middleware { | |
| public let error: Error | |
| public let authLevel: UserRole | |
| public init(error: Error, authLevel: UserRole) { | |
| self.error = error | |
| self.authLevel = authLevel | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html | |
| xmlns="http://www.w3.org/1999/xhtml" lang="en"> | |
| <head> | |
| <!-- Required meta tags --> | |
| <meta charset="utf-8"/> | |
| <meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport"/> | |
| <system-page-meta-keywords/> | |
| <system-page-meta-description/> | |
| <meta content="Pellissippi State Webmaster" name="author"/> | |
| <title>Pellissippi State Community College</title> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div aria-multiselectable="true" id="accordion" role="tablist"> | |
| <div class="card"> | |
| <div class="card-header" id="heading-1" role="tab"> | |
| <h3 class="mb-0"><a aria-controls="collapse-1" aria-expanded="true" data-parent="#accordion" data-toggle="collapse" href="#collapse-1"> What is my P Number? | |
| </a></h3> | |
| </div> | |
| <div aria-labelledby="heading-1" class="collapse show" id="collapse-1" role="tabpanel"> | |
| <div class="card-block"> | |
| <p>This is where the actual text goes</p> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import SwiftUI | |
| struct DeviceRotationViewModifier: ViewModifier { | |
| let action: (UIDeviceOrientation) -> Void | |
| func body(content: Content) -> some View { | |
| content | |
| .onReceive(NotificationCenter.default.publisher(for: UIDevice.orientationDidChangeNotification)) { _ in | |
| action(UIDevice.current.orientation) | |
| } |
OlderNewer