mirror of
https://github.com/EyeTrackVR/EyeTrackVR-Docs.git
synced 2025-11-04 14:49:44 +08:00
- Added example usages for all alert_alternatives - Added bootstrap.min.css file and font-awesome.min.css file.
43 lines
1.7 KiB
YAML
43 lines
1.7 KiB
YAML
tip: '<div class="alert alert-success" role="alert"><i class="fa fa-check-square-o"></i> <b>Tip: </b>'
|
|
note: '<div class="alert alert-info" role="alert"><i class="fa fa-info-circle"></i> <b>Note: </b>'
|
|
important: '<div class="alert alert-warning" role="alert"><i class="fa fa-warning"></i> <b>Important: </b>'
|
|
warning: '<div class="alert alert-danger" role="alert"><i class="fa fa-exclamation-circle"></i> <b>Warning: </b>'
|
|
end: "</div>"
|
|
|
|
callout_danger: '<div class="bs-callout bs-callout-danger">'
|
|
callout_default: '<div class="bs-callout bs-callout-default">'
|
|
callout_primary: '<div class="bs-callout bs-callout-primary">'
|
|
callout_success: '<div class="bs-callout bs-callout-success">'
|
|
callout_info: '<div class="bs-callout bs-callout-info">'
|
|
callout_warning: '<div class="bs-callout bs-callout-warning">'
|
|
|
|
hr_faded: '<hr class="faded"/>'
|
|
hr_shaded: '<hr class="shaded"/>'
|
|
|
|
# A work in progress
|
|
|
|
# To use these, add the following to a file:
|
|
#
|
|
# {{site.data.alerts_alternative.note}}
|
|
# {{site.data.alerts_alternative.tip}}
|
|
# {{site.data.alerts_alternative.important}}
|
|
# {{site.data.alerts_alternative.warning}}
|
|
# {{site.data.alerts_alternative.callout_danger}}
|
|
# {{site.data.alerts_alternative.callout_default}}
|
|
# {{site.data.alerts_alternative.callout_primary}}
|
|
# {{site.data.alerts_alternative.callout_success}}
|
|
# {{site.data.alerts_alternative.callout_info}}
|
|
# {{site.data.alerts_alternative.callout_warning}}
|
|
# {{site.data.alerts_alternative.hr_faded}}
|
|
# {{site.data.alerts_alternative.hr_shaded}}
|
|
#
|
|
# Example of a note with code:
|
|
#
|
|
# {{site.data.alerts_alternative.note}}
|
|
# <p>This is a note with code:</p>
|
|
# <pre>
|
|
# def foo(x): <br>
|
|
# return x+1
|
|
# </pre>
|
|
# {{site.data.alerts.end}}
|
|
# |