Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 8553-cap-additional-padding
- Loading branch information
Showing
56 changed files
with
507 additions
and
80 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
|
||
<div class="row"> | ||
<div class="twelve columns"> | ||
|
||
<div class="form-layout-compact"> | ||
<div class="field"> | ||
<label for="fileupload">File Upload</label> | ||
<input type="file" class="fileupload" id="fileupload" name="fileupload" data-init="false"/> | ||
</div> | ||
</div> | ||
|
||
<div class="form-layout-compact"> | ||
<div class="field"> | ||
<label for="fileupload-readonly">File Upload (Readonly)</label> | ||
<input type="file" class="fileupload" id="fileupload-readonly" readonly="true" name="fileupload" value="Readme.txt" data-init="false"/> | ||
</div> | ||
</div> | ||
|
||
<div class="form-layout-compact"> | ||
<div class="field"> | ||
<label for="fileupload-disabled">File Upload (Disabled)</label> | ||
<input type="file" class="fileupload" id="fileupload-disabled" disabled="true" name="fileupload" value="Readme.txt"/> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
<script> | ||
$('#fileupload').fileupload({ | ||
attributes: [ | ||
{ | ||
name: 'id', | ||
value: 'fileupload' | ||
}, | ||
{ | ||
name: 'data-automation-id', | ||
value: 'fileupload-automation-id' | ||
} | ||
] | ||
}); | ||
|
||
$('#fileupload-readonly').fileupload({ | ||
attributes: [ | ||
{ | ||
name: 'id', | ||
value: 'fileupload-readonly' | ||
}, | ||
{ | ||
name: 'data-automation-id', | ||
value: 'fileupload-readonly-automation-id' | ||
} | ||
] | ||
}); | ||
|
||
$('#fileupload-disabled').fileupload({ | ||
attributes: [ | ||
{ | ||
name: 'id', | ||
value: 'fileupload-disabled' | ||
}, | ||
{ | ||
name: 'data-automation-id', | ||
value: 'fileupload-disabled-automation-id' | ||
} | ||
] | ||
}); | ||
</script> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
<div class="homepage page-container scrollable" data-init="false" id="maincontent" data-columns="3" role="main"> | ||
<div class="content"> | ||
<div class="widget double-width"> | ||
<div class="widget-header"> | ||
<h2 class="widget-title">Chart Example</h2> | ||
</div> | ||
<div class="widget-content"> | ||
<div id="chart-example-bar" class="chart-container"> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="widget double-width"> | ||
<div class="widget-header"> | ||
<h2 class="widget-title">Chart Example</h2> | ||
</div> | ||
<div class="widget-content"> | ||
<div id="chart-example-column" class="chart-container"> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="widget double-width"> | ||
<div class="widget-header"> | ||
<h2 class="widget-title">Chart Example</h2> | ||
</div> | ||
<div class="widget-content"> | ||
<div id="chart-example-donut" class="chart-container"> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="widget double-width"> | ||
<div class="widget-header"> | ||
<h2 class="widget-title">Chart Example</h2> | ||
</div> | ||
<div class="widget-content"> | ||
<div id="chart-example-line" class="chart-container"> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script> | ||
$('body').on('initialized', function() { | ||
$('.homepage').on('resize', function (e, rows, metadata) { | ||
console.log(this, this.offsetHeight, metadata); | ||
}); | ||
|
||
$('.homepage').homepage(); | ||
|
||
var dataset = [{ | ||
data: [{ | ||
name: 'Automotive', | ||
shortName: 'Auto', | ||
abbrName: 'A', | ||
value: 7, | ||
tooltip: 'Custom Tooltip - {{value}}', | ||
attributes: [ | ||
{ name: 'id', value: 'auto' }, | ||
{ name: 'data-automation-id', value: 'automation-id-auto' } | ||
] | ||
}, { | ||
name: 'Distribution', | ||
shortName: 'Dist', | ||
abbrName: 'D', | ||
value: 10, | ||
attributes: [ | ||
{ name: 'id', value: 'dist' }, | ||
{ name: 'data-automation-id', value: 'automation-id-dist' } | ||
] | ||
}, { | ||
name: 'Equipment', | ||
shortName: 'Equip', | ||
abbrName: 'E', | ||
value: 14, | ||
attributes: [ | ||
{ name: 'id', value: 'equip' }, | ||
{ name: 'data-automation-id', value: 'automation-id-equip' } | ||
] | ||
}, { | ||
name: 'Fashion', | ||
shortName: 'Fash', | ||
abbrName: 'F', | ||
value: 10, | ||
attributes: [ | ||
{ name: 'id', value: 'fash' }, | ||
{ name: 'data-automation-id', value: 'automation-id-fash' } | ||
] | ||
}, { | ||
name: 'Food', | ||
shortName: 'Food', | ||
abbrName: 'F', | ||
value: 14, | ||
attributes: [ | ||
{ name: 'id', value: 'food' }, | ||
{ name: 'data-automation-id', value: 'automation-id-food' } | ||
] | ||
}, { | ||
name: 'Healthcare', | ||
shortName: 'Health', | ||
abbrName: 'H', | ||
value: 8, | ||
attributes: [ | ||
{ name: 'id', value: 'health' }, | ||
{ name: 'data-automation-id', value: 'automation-id-health' } | ||
] | ||
}, { | ||
name: 'Other', | ||
shortName: 'Other', | ||
abbrName: 'O', | ||
value: 7, | ||
attributes: [ | ||
{ name: 'id', value: 'other' }, | ||
{ name: 'data-automation-id', value: 'automation-id-other' } | ||
] | ||
}] | ||
}]; | ||
|
||
$('#chart-example-bar').chart({type: 'bar', dataset: dataset}); | ||
$('#chart-example-column').chart({type: 'column', dataset: dataset}); | ||
$('#chart-example-donut').chart({type: 'donut', dataset: dataset}); | ||
$('#chart-example-line').chart({type: 'line', dataset: dataset}); | ||
}); | ||
</script> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
<div class="row top-padding"> | ||
<div class="twelve columns"> | ||
|
||
<button class="btn-secondary" type="button" id="show">Show Modal</button> | ||
|
||
<div id="modal" class="modal"> | ||
<div class="modal-content"> | ||
|
||
<div class="modal-header"> | ||
<h1 class="modal-title" >Add Comment</h1> | ||
</div> | ||
|
||
<div class="modal-body-wrapper"> | ||
<div class="modal-body"> | ||
<div class="form-layout-compact"> | ||
<div class="field"> | ||
<label for="fileupload">Upload a File</label> | ||
<input type="file" class="fileupload" id="fileupload" name="fileupload" /> | ||
</div> | ||
</div> | ||
|
||
<div class="modal-buttonset"> | ||
<button type="button" class="btn-modal">Cancel</button> | ||
<button type="button" id="submit" class="btn-modal-primary">Submit</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
<script> | ||
$('#show').on('click', function () { | ||
|
||
$('body').modal({ | ||
content: $('#modal') | ||
}); | ||
|
||
}); | ||
</script> |
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
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
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
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
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
Oops, something went wrong.