forked from coolaj86/walnut.js
		
	
		
			
	
	
		
			199 lines
		
	
	
		
			8.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
		
		
			
		
	
	
			199 lines
		
	
	
		
			8.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| 
								 | 
							
								<!doctype html>
							 | 
						||
| 
								 | 
							
								<!--[if lt IE 7]>      <html ng-app="yololiumApp" ng-strict-di ng-csp class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
							 | 
						||
| 
								 | 
							
								<!--[if IE 7]>         <html ng-app="yololiumApp" ng-strict-di ng-csp class="no-js lt-ie9 lt-ie8"> <![endif]-->
							 | 
						||
| 
								 | 
							
								<!--[if IE 8]>         <html ng-app="yololiumApp" ng-strict-di ng-csp class="no-js lt-ie9"> <![endif]-->
							 | 
						||
| 
								 | 
							
								<!--[if gt IE 8]><!--> <html ng-app="yololiumApp" ng-strict-di ng-csp class="no-js"> <!--<![endif]-->
							 | 
						||
| 
								 | 
							
								  <head>
							 | 
						||
| 
								 | 
							
								    <meta charset="utf-8">
							 | 
						||
| 
								 | 
							
								    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
							 | 
						||
| 
								 | 
							
								    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <title>Daplie Connect - Sign on to the Web</title>
							 | 
						||
| 
								 | 
							
								    <meta http-equiv="Content-Security-Policy" content="default-src 'self'; connect-src 'self' https:; script-src 'self' https://www.google-analytics.com/; img-src https: data: blob: filesystem:; child-src 'self' https://oauth3.org/">
							 | 
						||
| 
								 | 
							
								    <meta name="description" content="Sign on to the Web.">
							 | 
						||
| 
								 | 
							
								    <meta name="viewport" content="user-scalable=0, initial-scale=1.0">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <!-- Canonical self-reference-->
							 | 
						||
| 
								 | 
							
								    <link rel="canonical" href="https://daplie.com/connect/">
							 | 
						||
| 
								 | 
							
								    <link rel="icon" href="favicon.ico" />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <!-- build:css({.tmp,app}) styles/main.css -->
							 | 
						||
| 
								 | 
							
								    <link rel="stylesheet" href="styles/style.css">
							 | 
						||
| 
								 | 
							
								    <!-- endbuild -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <!-- link href="//netdna.bootstrapcdn.com/bootswatch/3.2.0/united/bootstrap.min.css" rel="stylesheet" -->
							 | 
						||
| 
								 | 
							
								    <link href="styles/bootstrap.cerulean.min.css" rel="stylesheet">
							 | 
						||
| 
								 | 
							
								    <link href="styles/bootstrap-social.min.css" rel="stylesheet">
							 | 
						||
| 
								 | 
							
								    <link href="styles/font-awesome.min.css" rel="stylesheet">
							 | 
						||
| 
								 | 
							
								    <!-- fontawesome fonts MUST exist in ../fonts/ -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <link href="styles/less.css" rel="stylesheet">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <!-- BEGIN TRACKJS
							 | 
						||
| 
								 | 
							
								    <script type="text/javascript">window._trackJs = { token: '08e32e4a81cf4515ab1197ec57a901c5' };</script>
							 | 
						||
| 
								 | 
							
								    <script type="text/javascript" src="//d2zah9y47r7bi2.cloudfront.net/releases/current/tracker.js" crossorigin="anonymous"></script>
							 | 
						||
| 
								 | 
							
								    -->
							 | 
						||
| 
								 | 
							
								    <!-- END TRACKJS -->
							 | 
						||
| 
								 | 
							
								  </head>
							 | 
						||
| 
								 | 
							
								  <body class="aj-pad-top fade" ng-class="{ in: R.ready }">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<pre><code>HTML packages go in /srv/walnut/packages/pages
							 | 
						||
| 
								 | 
							
								REST packages go in /srv/walnut/packages/rest
							 | 
						||
| 
								 | 
							
								API packages go in /srv/walnut/packages/api
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								There are two ways to set up a site.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								The first is to create a site package yourself by adding files.
							 | 
						||
| 
								 | 
							
								/srv/walnut/packages/sites/example.com/index.html
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								The other is by providing a single text file of the name of the site with the name of the package to load
							 | 
						||
| 
								 | 
							
								/srv/walnut/packages/sites/example.com => com.example</code></pre>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <!--[if lt IE 10]>
							 | 
						||
| 
								 | 
							
								      <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
							 | 
						||
| 
								 | 
							
								    <![endif]-->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <!--[if lt IE 9]>
							 | 
						||
| 
								 | 
							
								      <script src="bower_components/es5-shim/es5-shim.js"></script>
							 | 
						||
| 
								 | 
							
								      <script src="bower_components/json3/lib/json3.min.js"></script>
							 | 
						||
| 
								 | 
							
								    <![endif]-->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <!-- Add your site or application content here -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <div ng-include="'views/nav.html'"></div>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <div ng-if="R.dev" class="text-center aj-max-width alert alert-warning">
							 | 
						||
| 
								 | 
							
								      <h4>This is the developer (beta) site.</h4>
							 | 
						||
| 
								 | 
							
								      <p>Please visit
							 | 
						||
| 
								 | 
							
								        <!-- TODO replace hard-coded links (build with Desi?) -->
							 | 
						||
| 
								 | 
							
								        <a href="https://daplie.com/connect/">https://daplie.com/connect/</a> for the real site.
							 | 
						||
| 
								 | 
							
								      </p>
							 | 
						||
| 
								 | 
							
								    </div>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <div class="ui-view-body" ui-view="body" autoscroll="false">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								      <div class="landing-page aj-landing-page">
							 | 
						||
| 
								 | 
							
								        <div class="jumbotron tac">
							 | 
						||
| 
								 | 
							
								          <h1>Sign on to the Web!</h1>
							 | 
						||
| 
								 | 
							
								          <p>A single-puprose sign-in to share an identity without being tied to a social network.</p>
							 | 
						||
| 
								 | 
							
								          <!-- a href="https://www.kickstarter.com/projects/coolaj86/1917612991?token=3e083307" target="_kickstarter"><img class="pull-right aj-badge-pad" src="images/back-us-on-kickstarter.png"/></a -->
							 | 
						||
| 
								 | 
							
								          <!-- TODO input search -->
							 | 
						||
| 
								 | 
							
								        </div>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <div class="container ">
							 | 
						||
| 
								 | 
							
								          <div class="row">
							 | 
						||
| 
								 | 
							
								            <div class="col-xs-12">
							 | 
						||
| 
								 | 
							
								              <div class="input-group">
							 | 
						||
| 
								 | 
							
								                <span class="input-group-addon">
							 | 
						||
| 
								 | 
							
								                  <i class="fa fa-search"></i>
							 | 
						||
| 
								 | 
							
								                </span>
							 | 
						||
| 
								 | 
							
								                <input class="form-control" type="text" placeholder="Search" ng-model="R.search"/>
							 | 
						||
| 
								 | 
							
								              </div>
							 | 
						||
| 
								 | 
							
								            </div>
							 | 
						||
| 
								 | 
							
								          </div>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								          <br/>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								          <div class="row">
							 | 
						||
| 
								 | 
							
								            <div ng-repeat="app in R.apps | filter:R.search" class="pull-left col-sm-6 aj-app-container">
							 | 
						||
| 
								 | 
							
								              <div class="media">
							 | 
						||
| 
								 | 
							
								                <div class="pull-left"><img ng-if="app.logo" ng-src="{{app.logo}}" class="media-object aj-app-object"/><img ng-if="!app.logo" src="//i.imgur.com/1uZWJA4.png" class="media-object aj-app-object"/></div>
							 | 
						||
| 
								 | 
							
								                <div class="media-body">
							 | 
						||
| 
								 | 
							
								                  <h4 ng-bind="app.name" class="media-heading"></h4>
							 | 
						||
| 
								 | 
							
								                  <div class="desc" ng-bind="app.desc"></div>
							 | 
						||
| 
								 | 
							
								                  <a class="link" ng-href="{{app.urls[0]}}" ng-bind="app.urls[0]" target="_blank"></a> <br>
							 | 
						||
| 
								 | 
							
								                  <a class="btn btn-primary" href="{{app.urls[0]}}">Launch {{ app.name }}</a>
							 | 
						||
| 
								 | 
							
								                </div>
							 | 
						||
| 
								 | 
							
								              </div>
							 | 
						||
| 
								 | 
							
								            </div>
							 | 
						||
| 
								 | 
							
								            <div ng-if="R.search && !(R.apps | filter:R.search).length">
							 | 
						||
| 
								 | 
							
								              <center>
							 | 
						||
| 
								 | 
							
								                <p class="alert alert-info">Sorry, we don't have any apps for that yet.</p>
							 | 
						||
| 
								 | 
							
								                Are you a developer? Would you like to <a href="https://oauth3.org" target="oauth3">create one</a>?
							 | 
						||
| 
								 | 
							
								              </center>
							 | 
						||
| 
								 | 
							
								            </div>
							 | 
						||
| 
								 | 
							
								          </div>
							 | 
						||
| 
								 | 
							
								        </div>
							 | 
						||
| 
								 | 
							
								      </div>
							 | 
						||
| 
								 | 
							
								    </div>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <div class="footer non-print">
							 | 
						||
| 
								 | 
							
								      <div class="row">
							 | 
						||
| 
								 | 
							
								        <div class="col-sm-12">
							 | 
						||
| 
								 | 
							
								          <center>
							 | 
						||
| 
								 | 
							
								            © 2015 by Daplie
							 | 
						||
| 
								 | 
							
								            <span> • </span>
							 | 
						||
| 
								 | 
							
								            <a target="dapliecom-main" href="https://daplie.com" tabindex="-1">Daplie.com</a>
							 | 
						||
| 
								 | 
							
								            <span> • </span>
							 | 
						||
| 
								 | 
							
								            <a target="oauth3org-main" href="https://oauth3.org" tabindex="-1">Developer API</a>
							 | 
						||
| 
								 | 
							
								            <span> • </span>
							 | 
						||
| 
								 | 
							
								            <a href="mailto:support@daplie.com"  tabindex="-1">support@daplie.com</a>
							 | 
						||
| 
								 | 
							
								          </center>
							 | 
						||
| 
								 | 
							
								          <br/>
							 | 
						||
| 
								 | 
							
								          <center><span>Built with </span>
							 | 
						||
| 
								 | 
							
								            <!-- a target="_blank" href="https://daplie.com/vids/built-with-love" class="aj-built-with-footer">♥</a -->
							 | 
						||
| 
								 | 
							
								            <a
							 | 
						||
| 
								 | 
							
								              target="_blank"
							 | 
						||
| 
								 | 
							
								              href="https://www.youtube.com/watch?v=hkOnH36S_pY"
							 | 
						||
| 
								 | 
							
								              class="aj-built-with-footer"
							 | 
						||
| 
								 | 
							
								              tabindex="-1"
							 | 
						||
| 
								 | 
							
								            >♥</a>
							 | 
						||
| 
								 | 
							
								            <span> by </span><a target="_blank" href="https://coolaj86.com" tabindex="-1">AJ</a><span> (</span><a target="_blank" href="https://AJ.the.DJ" tabindex="-1">the DJ</a><span>)</span>
							 | 
						||
| 
								 | 
							
								          </center>
							 | 
						||
| 
								 | 
							
								        </div>
							 | 
						||
| 
								 | 
							
								      </div>
							 | 
						||
| 
								 | 
							
								    </div>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <script src="bower_components/jquery/dist/jquery.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="bower_components/angular/angular.js"></script>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <!-- build:js scripts/plugins.js -->
							 | 
						||
| 
								 | 
							
								    <script src="bower_components/forge/js/forge.bundle.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="bower_components/unibabel/index.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="bower_components/unibabel/unibabel.hex.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="bower_components/recase/recase.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="bower_components/angular-ui-router/release/angular-ui-router.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
							 | 
						||
| 
								 | 
							
								    <!-- endbuild -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <!-- build:js scripts/modules.js -->
							 | 
						||
| 
								 | 
							
								    <script src="scripts/client-config.js"></script>
							 | 
						||
| 
								 | 
							
								    <!-- endbuild -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <!-- build:js({.tmp,app}) scripts/scripts.js -->
							 | 
						||
| 
								 | 
							
								    <script src="scripts/daplie-pbkdf2.js"></script>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <script src="scripts/daplie.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="scripts/services/st-api.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="scripts/controllers/login-v3.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="scripts/controllers/lds-account.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="scripts/services/lds-account.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="scripts/controllers/nav.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="scripts/controllers/authorization-dialog.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="scripts/controllers/verify-contact-details.js"></script>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <script src="daplie-scripts/oauth3.new/oauth3.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="daplie-scripts/oauth3.new/angular-oauth3.js"></script>
							 | 
						||
| 
								 | 
							
								    <!-- script src="bower_components/oauth3/angular-oauth3.min.js"></script -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <script src="daplie-scripts/canned-storage.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="daplie-scripts/oauth3-config.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="daplie-scripts/johnny-cache.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="daplie-scripts/therapy-session.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="daplie-scripts/daplie-api.js"></script>
							 | 
						||
| 
								 | 
							
								    <script src="daplie-scripts/daplie-app.js"></script>
							 | 
						||
| 
								 | 
							
								    <!-- script src="daplie-scripts/daplie.min.js"></script -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <script src="scripts/controllers/my-account.js"></script>
							 | 
						||
| 
								 | 
							
								    <!-- endbuild -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <script src="scripts/ga.js"></script>
							 | 
						||
| 
								 | 
							
								  </body>
							 | 
						||
| 
								 | 
							
								</html>
							 |