Giter Site home page Giter Site logo

samplewebsitetheme's Introduction

SampleWebsiteTheme

Purpose of this app

This app creates the database configuration for best experience of using Starcounter Apps.

Features

The configuration consists of the following things:

  1. Desktop Surface:
    • There is a menu button in the top left corner. Clicking on it shows the response from the Launchpad app, if that app is running.
    • There is a logo in the top bar. The logo comes from the Images app, if that app is running. More info about the logo below.
  2. Login Surface:
    • Automatically presented when the user is not signed in. Shows the response from the Sign In app, if that app is running.

Planned additional surface:

  1. Mobile Surface:
    • Similar to Desktop but optimized for mobile devices

Setup

Requires Starcounter 2.3.0.6067 or newer and the apps in the following vesions (17 May 2017):

To try it out, run the following apps:

call samplewebsitetheme\run.bat
call signin\run.bat
call website\run.bat
call launchpad\run.bat
call images\run.bat

How the logo is maintained

The logo in the Desktop Surface comes from the Images app.

Desktop Surface is configured to create the data for it (Content, Illustration, Something objects) and the static file for the default logo (logo.png).

To display the logo, the partial view /images/partials/somethings-single-static/{Something ObjectID} from the Images app is pinned to the "Logo" blending point of the Desktop Surface.

To change the logo, you need to run go to the Images list http://localhost:8080/images, click the "Edit" button next to the current logo image and upload a new image. Then reload the page.

Screenshots

Desktop Suface

Desktop Suface expanded Launchpad

Login Surface

samplewebsitetheme's People

Contributors

warpech avatar patrykszwer avatar

Watchers

LumbreX avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.