#Reveal.js Markdown starter (for 10)
Getting started with Reveal.js with an external markdown file
###Grocery List
- Goat
TYPES: BEGIN OF line, | |
date_from TYPE d, | |
time_from TYPE t, | |
date_to TYPE d, | |
time_to TYPE t. | |
INCLUDE TYPE crmst_date_btil. | |
TYPES: END OF line. | |
CREATE DATA rv_sample TYPE line. |
METHOD ENABLE_OCA_BUTTONS. | |
DATA: lv_status TYPE j_estat | |
, lo_current TYPE REF TO if_bol_bo_property_access | |
, table_rows TYPE i | |
. | |
FIELD-SYMBOLS: <status> type RSDSSELOPT. | |
* default condition to false and change if in correct status |
REPORT z_hello_datetime. | |
data: | |
dt type REF TO zcl_datetime | |
, fs type string | |
, ts type timestamp | |
. | |
get time STAMP FIELD ts. |
* the last two buttons are displayed only if there is data in the table | |
lv_btn_enabled = abap_true. | |
lv_col_wrapper = typed_context->builactivity->collection_wrapper. | |
IF lv_col_wrapper->size( ) > 0. | |
lv_btn_enabled = abap_false. | |
ENDIF. |
<?php | |
/** | |
* @author Nigel James | |
* @email nigel.james@sapinsidetrack.org | |
* @date 15 Apr 2013 | |
* | |
* Create an image for SAP Inside Track events with Year and City | |
*/ | |
function LoadPNG($pngName) |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Using reveal.js with external markdown</title> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
<link rel="stylesheet" href="/js/reveal.js/css/reveal.css"/> | |
<style type="text/css">code{white-space: pre;}</style> |
#Reveal.js Markdown starter (for 10)
Getting started with Reveal.js with an external markdown file
###Grocery List
function(oError) { | |
this.setBusy(false); | |
// var msg = $(oError.response.body).find('message').first().text(); | |
try { | |
var msg = JSON.parse( oError.response.body).error.message.value; | |
msg = msg.split("|")[1]; | |
} finally { | |
msg = "An error occurred on requesting access."; | |
} | |
jQuery.sap.require("sap.m.MessageBox"); |
// get data from the Model for a event (sim for a control) | |
var path = oEvent.getSource().getBindingContextPath(), | |
data = this.getView().getModel().getProperty( path ); |