Skip to content

Commit

Permalink
corrected file paths for images which has incorrect paths
Browse files Browse the repository at this point in the history
  • Loading branch information
comrww committed Sep 8, 2017
1 parent 2ece7da commit 752d9f6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions documentation/page_layout.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
## Header and Footer
Header and footer are set under the *theme*. Headers and footers are just a widget defined under the theme settings.

![theme](/assets/layout/theme.png)
![theme](../assets/layout/theme.png)


## Subheader
You can define a page container as a subheader like this:
![move to header](/assets/layout/move-to-header.png)
![move to header](../assets/layout/move-to-header.png)


## Custom Layout
Service Portal uses [Bootstrap](http://getbootstrap.com/css/) layout by default. In order to add a widget, you must add first a container and then a row and a set of columns. The bootstrap will work for most of the cases but if you needto have a custom layout, for example you want to use flexbox instead of containers you can. Mark the *bootstrap alternative* option.

![Bootstrap Alternative](/assets/layout/bootstrap-alternative.png)
![Bootstrap Alternative](../assets/layout/bootstrap-alternative.png)

This option will get rid of the container class. Now you can add a *CSS class* to the container to have a different layout.
2 changes: 1 addition & 1 deletion documentation/service_catalog_patch2_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ So, for example, suppose you have a Service Catalog variable with it's Question
```

That field will be rendered like this on the Service Catalog page:
![Service Catalog HTML in Label](/assets/service_catalog_patch2_changes/label-html.png)
![Service Catalog HTML in Label](../assets/service_catalog_patch2_changes/label-html.png)
4 changes: 2 additions & 2 deletions documentation/service_portal.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Service Portal contains of two parts:

- *Framework*: a set of APIs, [Angular](https://angularjs.org/) services, directives and tools that help to build portals.

![Framework](/assets/home/sp-home.png)
![Framework](../assets/home/sp-home.png)

- [*Portals*](portal.md): a group of pages linked by their `page id`. For example: `[your instance]/sp` is the Default Service Portal.

![Service Portal](/assets/home/service-portal.png)
![Service Portal](../assets/home/service-portal.png)

***Learn more:***

Expand Down
2 changes: 1 addition & 1 deletion documentation/widget.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Since widgets are `read-only` to benefit from future updates, you can't update t
Once you drop a widget into a column using the Service Portal Designer it will create a widget instance.
A widget instace is a reference to a widget that contains: location, properties and CSS especific for that instance. A widget used multiple times in the same page, will use multiple instances.

![Widget Instance](/assets/widget/widget-instance.png)
![Widget Instance](../assets/widget/widget-instance.png)


***Learn more:***
Expand Down
6 changes: 3 additions & 3 deletions documentation/widget_embedded.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Widgets might have [options](widget_options.md) that you can setup. You can defi
<widget id="widget-cool-clock" options='{"zone": "America/Los_Angeles","title": "San Diego, CA"}'><widget>
```

![Clock Options](/assets/widget_embedded/clock-options.png)
![Clock Options](../assets/widget_embedded/clock-options.png)

You don't necessarily need to provide options in the HTML template.

Expand Down Expand Up @@ -73,7 +73,7 @@ Each instance of the clock is provided a different timezone and title.

> To see what options are configurable in the cool clock widget, open it in the widget editor. It uses the options object for the title, second hand color, and the timezone. This screenshot shows you where they're hiding.
> ![Cool clock client script](/assets/widget_embedded/example_clock_options_1.png)
> ![Cool clock client script](../assets/widget_embedded/example_clock_options_1.png)
Edit the "Embedded clock" widget and replace with the following code blocks:

Expand Down Expand Up @@ -124,7 +124,7 @@ function() {
### Result
Each instance of the clock widget has a different timezone and title.

![Embedded clock](/assets/widget_embedded/example_clock_options_2.png)
![Embedded clock](../assets/widget_embedded/example_clock_options_2.png)

---

Expand Down
2 changes: 1 addition & 1 deletion documentation/widget_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To do this, you will need to navigate to the Widget Editor and select the widget

You should be presented with something that looks like this:

![Edit Option Schema](/assets/widget_options/widget_options_schema_modal.png)
![Edit Option Schema](../assets/widget_options/widget_options_schema_modal.png)

This is where you can add and subtract widget options, along with types and hints. From here, press the + icon and give it a label, a name (snakecase, like_this), a type, and a hint. Depending on the type you select, you may be prompted to provide additional fields.

Expand Down

0 comments on commit 752d9f6

Please sign in to comment.