This file contains 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
{# render component #} | |
{% render '@carousel' %} | |
{# render component with arguments #} | |
{% render '@hyperlink', { | |
url: '/path/to/page', | |
link_text: 'Learn more', | |
aria_label: 'Learn more about this item', | |
target: '_blank', | |
aria_describedby: 'new-window' } |
This file contains 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
/* a11y fixes */ | |
// a11y fixes: init | |
var $slickSlide = $('.slick-slide'); | |
// a11y fixes: set aria attributes | |
$slickSlide | |
.attr('role', 'option') | |
.attr('aria-selected', 'false') | |
.removeAttr('aria-describedby'); |
This file contains 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
<script runat="server"> | |
protected override void OnDataBinding(EventArgs e) | |
{ | |
ModalBizForm.FormName = Eval<string>("HorizontalCTABizform"); | |
ModalBizForm.ReloadData(); | |
} | |
</script> | |
<div class="col-12 col-md-6 col-lg-4 mb-3 mb-lg-0"> | |
<asp:placeholder runat="server" Visible='<%# Eval<string>("HorizontalCTADisplayAs") == "link" %>'> |
This file contains 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
SELECT | |
t.NAME AS TableName, | |
s.Name AS SchemaName, | |
p.rows AS RowCounts, | |
SUM(a.total_pages) * 8 AS TotalSpaceKB, | |
CAST(ROUND(((SUM(a.total_pages) * 8) / 1024.00), 2) AS NUMERIC(36, 2)) AS TotalSpaceMB, | |
SUM(a.used_pages) * 8 AS UsedSpaceKB, | |
CAST(ROUND(((SUM(a.used_pages) * 8) / 1024.00), 2) AS NUMERIC(36, 2)) AS UsedSpaceMB, | |
(SUM(a.total_pages) - SUM(a.used_pages)) * 8 AS UnusedSpaceKB, | |
CAST(ROUND(((SUM(a.total_pages) - SUM(a.used_pages)) * 8) / 1024.00, 2) AS NUMERIC(36, 2)) AS UnusedSpaceMB |
This file contains 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
USE [master] | |
alter database exeterHospital | |
set single_user with rollback immediate; | |
Go | |
alter database exeterHospital modify name = exeterHospital_prep_for_9_to_10_upgrade | |
GO | |
alter database exeterHospital_prep_for_9_to_10_upgrade set multi_user | |
Go |
This file contains 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
<location path="App_Themes"> | |
<system.webServer> | |
<staticContent> | |
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00" /> | |
</staticContent> | |
</system.webServer> | |
</location> | |
<system.webServer> | |
<staticContent> |
This file contains 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
/* default */ | |
form.ItemID = QueryHelper.GetInteger(ItemKeyName, 0); | |
/* by `ItemGUID` */ | |
var ItemKeyNameID = QueryHelper.GetGuid(ItemKeyName, Guid.Empty); | |
/* option 1: get `ItemID` by custom table generated code */ | |
/* saved code will be placed in /App_Code/CMSClasses */ |
This file contains 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
// virtual map: handle playing of slickjs videos when slides change | |
// slickjs: main | |
$('.slickjs-media').slick({ | |
accessibility: true, | |
focusOnSelect: true, | |
pauseOnFocus: true, | |
pauseOnHover: true, | |
arrows: false, | |
fade: true, |
This file contains 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
<video id="ouazPromo" muted autoplay> | |
<source src="https://www.ottawa.edu/OttawaU/media/OttawaSurprise/Video/OUAZPromo.mp4" type="video/mp4" /> | |
<source src="https://www.ottawa.edu/OttawaU/media/OttawaSurprise/Video/OUAZPromo.webm" type="video/webm" /> | |
<source src="https://www.ottawa.edu/OttawaU/media/OttawaSurprise/Video/OUAZPromo.ogv" type="video/ogg" /> | |
</video> | |
<button id="unmuteButton" class="sr-only"></button> | |
<script> | |
var promise = document.getElementById('ouazPromo').play(); | |
This file contains 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
SELECT 0 AS TableID -- IFDA_Event Identifier | |
,EventTitle AS Title | |
,EventSummary AS EventSummary | |
,AlignContent AS AlignContent | |
,EventLocation AS LocationTopic | |
,EventDate AS ItemDate | |
,EventDateEnd AS ItemDateEnd | |
,FeaturedEvent AS Featured | |
,EventBannerImage AS BannerImage | |
,EventFacility AS Facility |
NewerOlder