-
Notifications
You must be signed in to change notification settings - Fork 2
/
templates.js
executable file
·8 lines (8 loc) · 5.44 KB
/
templates.js
1
2
3
4
5
6
7
8
angular.module('templates', []).run(['$templateCache', function($templateCache) {$templateCache.put('./floating-button.component.html','<div class="fixed-action-btn"><a ng-href="{{$ctrl.url}}" class="btn-floating btn-large waves-effect waves-light red"><i class="large material-icons">{{$ctrl.icon}}</i></a></div>');
$templateCache.put('./navBar.component.html','<nav class="navbar-fixed cyan darken-2"><div class="nav-wrapper"><a id="navAqt" data-activates="slide-out" class="button-collapse"><i class="material-icons">menu</i> </a><a href="#/" data-activates="slide-out" class="brand-logo center button-collapse">{{$ctrl.name | translate}}</a><ul class="right"><li><a href="#/"><i class="material-icons">more_vert</i></a></li></ul></div></nav>');
$templateCache.put('./side-nav.component.html','<ul id="slide-out" class="side-nav fixed"><li><div class="userView"><div class="background cyan darken-2"><!-- <img src="assets/img/bg.jpg"> --></div><a href="{{$ctrl.user.link}}"><img class="circle" ng-src="{{$ctrl.user.profile_image}}"></a><a href="{{$ctrl.user.link}}"><span class="white-text name"><b>{{$ctrl.user.display_name}}</b></span></a> <a class="aqt-nav-site"><span class="white-text name aqt-nav-site"><small>stack Overflow em Portugu\xEAs</small></span></a></div></li><li><a href="#/new"><i class="material-icons">mode_edit</i>{{\'LB_MENU_NEW_Q\' | translate}}</a></li><li><div class="divider"></div></li><li><a href="#/main"><i class="material-icons">view_list</i>{{\'LB_MENU_MY_Q\' | translate}}</a></li><li><div class="divider"></div></li><li><a href="#/login" ng-click="$ctrl.signout()"><i class="material-icons">power_settings_new</i>{{\'LB_MENU_OUT\' | translate}}</a></li></ul>');
$templateCache.put('./suggestions.component.html','<div ng-show="$ctrl.open" {{$ctrl.open}}><div id="suggestionsModal" class="modal bottom-sheet"><div class="modal-content"><div class="row"><div class="col s9"><h4><small>{{ \'LB_SUGGESTIONS\' | translate }}</small></h4></div><div class="col s3"><!-- <button class="btn">{{ \'BT_IGNORE\' | translate }}</button> --></div></div><div class="row"><div class="col s12"><ul class="collection"><li class="collection-item" ng-repeat="sug in $ctrl.suggestions"><span class="title"><b>{{sug.header}}</b></span><br><span ng-repeat="m in sug.subHeaders"><i>{{m}}</i><br></span></li></ul></div></div></div></div></div>');
$templateCache.put('./blank.html','');
$templateCache.put('./login.html','<div class="login"><div class="section"></div><div class="section"></div><div class="container"><center><img class="responsive-img" style="width: 300px" src="../assets/img/so-logo.png"><h5><small>{{ \'LB_LOGIN_TITLE\' | translate }}</small></h5></center><div class="section"></div><form class="col s12"><div class="row"><a name="btn_login" id="btn-login" ng-click="loginCtrl.login()" class="col s12 btn btn-large waves-effect yellow darken-3">AUTHORIZE</a></div></form></div></div>');
$templateCache.put('./main.html','<main><side-nav></side-nav><center ng-show="mainCtrl.isQuestions"><h5>{{ \'LB_MAIN_TITLE\' | translate }}</h5></center><center ng-show="!mainCtrl.isQuestions" class="aqt-empty-questions"><h5>{{ \'LB_MAIN_EMPTY\' | translate }}</h5></center><div ng-repeat="question in mainCtrl.questions"><div class="row"><div class="col s12 m6"><div class="card"><div class="card-content"><span class="card-title">{{question.title}}</span><div class="card-subtitle"><div class="row"><div ng-repeat="tag in question.tags"><span class="new badge" data-badge-caption="{{tag}}"></span></div></div><div align="center" class="aqt-card-info"><div class="col s4"><span>Answers: {{question.answer_count}}</span></div><div class="col s4"><span>Votes: {{question.score}}</span></div><div class="col s4"><span>View : {{question.view_count}}</span></div></div></div></div><div align="center" class="card-action"><a href="{{question.link}}">{{ \'BT_MAIN_AUTH\' | translate }}</a></div></div></div></div></div><btn-fb url="\'#/new\'" icon="add"></btn-fb></main>');
$templateCache.put('./new-question.html','<main><side-nav></side-nav><div class="container"><center><h5>{{ \'LB_NQ_TITLE\' | translate }}</h5></center><form class="col s12" name="nqForm" ng-submit="nqForm.$valid && nqCtrl.register()" role="form" novalidate><div class="row"><div class="col s12"></div></div><div class="row"><div class="input-field col s12" ng-class="{ \'data-error\' : nqForm.title.$error.required\t}"><input class="validate" name="title" type="text" name="title" ng-model="nqCtrl.question.title" id="title" required="" aria-required="true"><label for="title">{{ \'LB_NQ_QUESTION_TITLE\' | translate }}</label></div></div><div class="row"><div class="input-field col s12"><simple-mde id="description" ng-model="nqCtrl.question.description" class="materialize-textarea language-css" required="" aria-required="true"></simple-mde></div></div><div class="row"><div class="input-field col s12"><div id="tag" aqtchip ng-model="nqCtrl.question.tags" placeholder="Question tag" secondary-placeholder="Question tag" required="" aria-required="true"></div></div></div><br><div class="row"><div class="input-field col s12"><button type="submit" class="col s12 btn btn-large waves-effect cyan darken-2">{{ \'BT_POST\' | translate }}</button></div></div><div class="row" ng-show="nqCtrl.open"><div class="input-field col s12"><button ng-click="nqCtrl.ignoreSuggestions()" class="col s12 btn btn-large waves-effect red darken-2">IGNORE AND POST</button></div></div><suggestions-modal suggestions="nqCtrl.suggestions" open="nqCtrl.open"></suggestions-modal></form></div></main>');}]);