Guest User

Untitled

a guest
Jul 15th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.68 KB | None | 0 0
  1. <head>
  2. <meta name="viewport" content="width=device-width, initial-scale=1,minimum- scale=1, maximum-scale=1, user-scalable=no"/>
  3. </head>
  4.  
  5. <apex:page standardController="Account" extensions="Account_Controller_2" action="{!displayAccount}" docType="html-5.0" standardStylesheets="true" showheader="false" sidebar="false">
  6. <script>
  7. function ExitButton()
  8. {
  9. sforce.one.navigateToURL("/home/home.jsp");
  10. }
  11. </script>
  12. <style type="text/css">
  13. .tg {border-collapse:collapse;border-spacing:0;}
  14. .tg td{font-family:Arial, sans-serif; font-size:12px;padding:1px 2px;border-style:solid;word-break:normal;}
  15. .tg .tg-io3b{font-size:12px;font-family:Arial, Helvetica, sans-serif; color:#6090F0;}
  16. .tg .tg-nuj7{font-size:12px;font-family:Arial, Helvetica, sans-serif; color:#000000;}
  17. .forcePanelOverlay .panel{display:block; overflow:y;}
  18. </style>
  19. <head>
  20. <meta name="viewport" content="width=device-width, height=800px, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
  21. </head>
  22. <apex:form id="theForm">
  23. <section id="status" style="text-align: center; display: none;"></section>
  24. <div id="Account Section">
  25. <div style="font-family:Arial, sans-serif; font-size:14px;"><b>Account<apex:inlineEditSupport /></b></div>
  26. <table class="tg">
  27. <tr>
  28. <td class="tg-io3b">
  29. <b><apex:outputLabel value="Name"/></b>
  30. </td>
  31. <td class="tg-nuj7">
  32. <apex:outputField value="{!account.Name}"/>
  33. </td>
  34. </tr>
  35. <tr>
  36. <td class="tg-io3b">
  37. <b><apex:outputLabel value="Current Status"/></b>
  38. </td>
  39. <td class="tg-nuj7">
  40. <apex:inputField style="width:250px;height:50px" id="Status" required="false" value="{!account.Last_Status__c}"/>
  41. </td>
  42. </tr>
  43. <tr>
  44. <td class="tg-io3b">
  45. <b><apex:outputLabel value="Additional Info"/></b>
  46. </td>
  47. <td class="tg-nuj7">
  48. <apex:outputField value="{!account.Additional_Information__c}"/>
  49. </td>
  50. </tr>
  51. <tr>
  52. <td class="tg-io3b">
  53. <b><apex:outputLabel value="Last contact"/></b>
  54. </td>
  55. <td class="tg-nuj7">
  56. <apex:outputField value="{!account.Last_Update__c}"/>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td class="tg-io3b">
  61. <b><apex:outputLabel value="Problem?"/></b>
  62. </td>
  63. <td class="tg-nuj7">
  64. <apex:outputField value="{!account.Ongoing_Problem__c}"/>
  65. </td>
  66. </tr>
  67. </table>
  68. </div>
  69. <div id="Buttons Section" style="display:block;overflow:auto;">
  70. <apex:pageBlock >
  71. <apex:pageBlockButtons location="Top" style="position:fixed;width:300px;left:0;right:0;margin-left:10px;margin-top:0px;margin-bottom:0px;">
  72. <apex:commandButton style="background:#6090F0;height:20px;width:60px;color:#000000;" value="OK" action="{!OK}" id="OKButton"/>
  73. <apex:commandButton style="background:#6090F0;height:20px;width:60px;color:#000000;" value="NOT OK" action="{!notOK}" id="NotOKButton"/>
  74. <input type="button" value="EXIT" onclick="ExitButton()" id="btnExit" style="background:#6090F0;height:20px;width:60px;color:#000000;"/>
  75. </apex:pageBlockButtons>
  76. </apex:pageBlock>
  77. </div>
  78. <div id="Contacts Section" style="display:block;overflow:auto;">
  79. <div style="font-family:Arial, sans-serif; font-size:14px"><b>Contacts</b></div>
  80. <style type="text/css">
  81. .tg {border-collapse:collapse;border-spacing:0;display:block;overflow:visible}
  82. .tg td{font-family:Arial, sans-serif; font-size:11px;padding:3px 2px;border-style:none;overflow:hidden;word-break:normal;}
  83. .tg .tg-io3b{font-size:11px;font-family:Arial, Helvetica, sans-serif; color:#6090F0;}
  84. .tg .tg-nuj7{font-size:11px;font-family:Arial, Helvetica, sans-serif; color:#000000;}
  85. </style>
  86. <table class="tg">
  87. <thead>
  88. <tr class="tg-io3b">
  89. <th>Name</th>
  90. <th>Phone</th>
  91. <th>E-Mail</th>
  92. </tr>
  93. </thead>
  94. <tbody>
  95. <apex:repeat value="{!contacts}" var="cont_acc">
  96. <tr class="tg-nuj7">
  97. <td>{!cont_acc.Name}</td>
  98. <td><apex:outputLink value="tel:{!SUBSTITUTE(cont_acc.Phone,' ', '')}">{!cont_acc.Phone}</apex:outputLink></td>
  99. <td><apex:outputLink value="mailto:{!cont_acc.Email}">{!cont_acc.Email}</apex:outputLink></td>
  100. </tr>
  101. </apex:repeat>
  102. </tbody>
  103. </table>
  104. </div>
  105. </apex:form>
  106. <div style="display:block;height:88px;overflow:visible"></div>
  107.  
  108. <div style="display:block;height:88px;overflow:visible">
  109. </div>
  110.  
  111. <style type="text/css">
  112. .tg {border-collapse:collapse;border-spacing:0;}
  113. .tg td{font-family:Arial, sans-serif; font-size:12px;padding:1px 2px;border-style:solid;overflow:hidden;word-break:normal;}
  114. .tg .tg-io3b{font-size:12px;font-family:Arial, Helvetica, sans-serif; color:#6090F0;}
  115. .tg .tg-nuj7{font-size:12px;font-family:Arial, Helvetica, sans-serif; color:#000000;}
  116.  
  117. .forcePanelOverlay .panel { overflow-y:scroll !important; }
  118.  
  119. </style>
Add Comment
Please, Sign In to add comment