Advertisement
Uhuuuyy

message-page.html

Jan 18th, 2024
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 1.38 KB | Source Code | 0 0
  1. <!--
  2. @license
  3. Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
  4. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
  5. The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
  6. The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
  7. Code distributed by Google as part of the polymer project is also
  8. subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
  9. -->
  10.  
  11. <link rel="import" href="../bower_components/polymer/polymer-element.html">
  12. <link rel="import" href="../bower_components/polymer/lib/elements/dom-if.html">
  13. <link rel="import" href="shared-styles.html">
  14.  
  15. <dom-module id="message-page">
  16.   <template>
  17.     <style include="shared-styles">
  18.       :host {
  19.         display: block;
  20.  
  21.         padding: 10px;
  22.       }
  23.     </style>
  24.  
  25.     <template is="dom-if" if="{{isAdmin}}">
  26.       <div class="card">
  27.         <h1>Your Message</h1>
  28.         <p>Ini pesan rahasia</p>
  29.         <p>Jangan diberitahu siapapun</p>
  30.         <p> Golang Intermediate : 100 | Java for Intermediate : 100 </p>
  31.       </div>
  32.     </template>
  33.   </template>
  34.  
  35.   <script>
  36.     class MessagePage extends Polymer.Element {
  37.       static get is() { return 'message-page'; }
  38.     }
  39.  
  40.     window.customElements.define(MessagePage.is, MessagePage);
  41.   </script>
  42. </dom-module>
Tags: Inter6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement